]> git.ipfire.org Git - pbs.git/log
pbs.git
6 years agoLoad templates and static files from the right locations
Michael Tremer [Sat, 7 Oct 2017 11:38:59 +0000 (12:38 +0100)] 
Load templates and static files from the right locations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoTranslate a few SQL statements from MySQL to PostgreSQL syntax
Michael Tremer [Sat, 7 Oct 2017 11:33:22 +0000 (12:33 +0100)] 
Translate a few SQL statements from MySQL to PostgreSQL syntax

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd debug logging information when connecting to the database
Michael Tremer [Sat, 7 Oct 2017 11:29:27 +0000 (12:29 +0100)] 
Add debug logging information when connecting to the database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAlways load default configuration file
Michael Tremer [Sat, 7 Oct 2017 11:22:32 +0000 (12:22 +0100)] 
Always load default configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoProperly load translation files
Michael Tremer [Sat, 7 Oct 2017 11:17:31 +0000 (12:17 +0100)] 
Properly load translation files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoGenerate paths in constants.py by configure
Michael Tremer [Sat, 7 Oct 2017 11:08:15 +0000 (12:08 +0100)] 
Generate paths in constants.py by configure

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd a Dockerfile
Jonatan Schlag [Sat, 7 Oct 2017 09:04:06 +0000 (11:04 +0200)] 
Add a Dockerfile

To create a container for our pbs service we add a Docker
image based on ipfire/pakfire:latest.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agodb: Add view to view size of relations on disk
Michael Tremer [Sat, 7 Oct 2017 10:35:56 +0000 (11:35 +0100)] 
db: Add view to view size of relations on disk

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd tool to dump database schema
Michael Tremer [Sat, 7 Oct 2017 10:35:47 +0000 (11:35 +0100)] 
Add tool to dump database schema

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoRefactor session handling
Michael Tremer [Sat, 7 Oct 2017 10:30:11 +0000 (11:30 +0100)] 
Refactor session handling

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoMake "make distcheck" happy
Michael Tremer [Fri, 6 Oct 2017 18:37:12 +0000 (19:37 +0100)] 
Make "make distcheck" happy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd pointer for translators
Michael Tremer [Fri, 6 Oct 2017 18:34:49 +0000 (19:34 +0100)] 
Add pointer for translators

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoReplace geoip database by local database
Michael Tremer [Fri, 6 Oct 2017 18:17:26 +0000 (19:17 +0100)] 
Replace geoip database by local database

Fixes #11493

The MySQL had a copy of a geoip database which was queries
to estimate the position of a host on the globe.

The database was huge and querying it was slow because
MySQL is not very good with spacial queries. On top of that,
this precision wasn't really needed.

A local database is way quicker to query and provides us
with the country an IP address is assumed to be in. That
will allow us to select a few mirror servers as preferred
mirrors.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoRemove Transifex configuration
Michael Tremer [Fri, 6 Oct 2017 17:35:32 +0000 (18:35 +0100)] 
Remove Transifex configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoMakefile: Forgot to remove some deleted files
Michael Tremer [Fri, 6 Oct 2017 17:33:52 +0000 (18:33 +0100)] 
Makefile: Forgot to remove some deleted files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoImport __version__ into main module
Michael Tremer [Fri, 6 Oct 2017 17:33:39 +0000 (18:33 +0100)] 
Import __version__ into main module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoCleanup expired sessions once a day
Michael Tremer [Fri, 6 Oct 2017 17:29:48 +0000 (18:29 +0100)] 
Cleanup expired sessions once a day

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoCleanup uploads a few times a day
Michael Tremer [Fri, 6 Oct 2017 17:26:23 +0000 (18:26 +0100)] 
Cleanup uploads a few times a day

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agomanager: Remove old message queue processing
Michael Tremer [Fri, 6 Oct 2017 17:22:24 +0000 (18:22 +0100)] 
manager: Remove old message queue processing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoInitialise memcache only when we need it
Michael Tremer [Fri, 6 Oct 2017 17:20:59 +0000 (18:20 +0100)] 
Initialise memcache only when we need it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoInitialise database connection only when we need it
Michael Tremer [Fri, 6 Oct 2017 17:02:59 +0000 (18:02 +0100)] 
Initialise database connection only when we need it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agocli: Add command to send all emails
Michael Tremer [Fri, 6 Oct 2017 17:02:15 +0000 (18:02 +0100)] 
cli: Add command to send all emails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd new command to run functions from command line
Michael Tremer [Fri, 6 Oct 2017 16:48:05 +0000 (17:48 +0100)] 
Add new command to run functions from command line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoSimplify settings
Michael Tremer [Fri, 6 Oct 2017 16:30:56 +0000 (17:30 +0100)] 
Simplify settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoRename main object from Pakfire to Backend
Michael Tremer [Fri, 6 Oct 2017 16:26:16 +0000 (17:26 +0100)] 
Rename main object from Pakfire to Backend

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agobuilder: Base Builder on DataObject class
Michael Tremer [Fri, 6 Oct 2017 16:23:03 +0000 (17:23 +0100)] 
builder: Base Builder on DataObject class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoarches: Base Arch class on DataObject
Michael Tremer [Fri, 6 Oct 2017 16:06:28 +0000 (17:06 +0100)] 
arches: Base Arch class on DataObject

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoRename self.pakfire to self.backend
Michael Tremer [Fri, 6 Oct 2017 16:03:50 +0000 (17:03 +0100)] 
Rename self.pakfire to self.backend

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agobase: Remove local cache
Michael Tremer [Fri, 6 Oct 2017 16:01:32 +0000 (17:01 +0100)] 
base: Remove local cache

This is never being used anywhere

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd DataObject type
Michael Tremer [Fri, 6 Oct 2017 15:58:16 +0000 (16:58 +0100)] 
Add DataObject type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agobase: Add custom constructor to Object
Michael Tremer [Fri, 6 Oct 2017 15:52:24 +0000 (16:52 +0100)] 
base: Add custom constructor to Object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoAdd @lazy_property decorator
Michael Tremer [Fri, 6 Oct 2017 15:49:01 +0000 (16:49 +0100)] 
Add @lazy_property decorator

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years ago.gitignore: Ignore .vscode files
Michael Tremer [Fri, 6 Oct 2017 15:41:38 +0000 (16:41 +0100)] 
.gitignore: Ignore .vscode files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoUpdate translations
Michael Tremer [Fri, 6 Oct 2017 15:40:29 +0000 (16:40 +0100)] 
Update translations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoUse relative imports everywhere
Michael Tremer [Fri, 6 Oct 2017 15:07:29 +0000 (16:07 +0100)] 
Use relative imports everywhere

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoMove main.py to __init__.py
Michael Tremer [Fri, 6 Oct 2017 14:18:17 +0000 (15:18 +0100)] 
Move main.py to __init__.py

There is no need for an extra file like this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoUse autotools
Michael Tremer [Fri, 6 Oct 2017 14:07:38 +0000 (15:07 +0100)] 
Use autotools

This will break the application since the name of the
modules inside the applications has not been updated
and paths have not been updated, either.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoDrop dependency on textile
Michael Tremer [Fri, 6 Oct 2017 12:45:55 +0000 (13:45 +0100)] 
Drop dependency on textile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoReplace database driver for PostgreSQL
Michael Tremer [Sun, 24 Sep 2017 17:02:59 +0000 (18:02 +0100)] 
Replace database driver for PostgreSQL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agodatabase: Convert data types to PostgreSQL native types
Michael Tremer [Sun, 24 Sep 2017 16:26:48 +0000 (17:26 +0100)] 
database: Convert data types to PostgreSQL native types

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agodatabase: Add foreign keys where ever possible
Michael Tremer [Sun, 24 Sep 2017 11:17:04 +0000 (12:17 +0100)] 
database: Add foreign keys where ever possible

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 years agoMigrate database schema to PostgreSQL
Michael Tremer [Sat, 23 Sep 2017 18:45:11 +0000 (19:45 +0100)] 
Migrate database schema to PostgreSQL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoFix typos.
Michael Tremer [Mon, 27 Apr 2015 10:45:32 +0000 (12:45 +0200)] 
Fix typos.

Reported-by: Tom Rymes <tomvend@rymes.com>
Fixes: #10731 https://bugzilla.ipfire.org/show_bug.cgi?id=10731
10 years agohub: Add handlers for statistics.
Michael Tremer [Sun, 19 Jan 2014 11:39:31 +0000 (12:39 +0100)] 
hub: Add handlers for statistics.

11 years agohub: Add functions to query job lists.
Michael Tremer [Fri, 29 Mar 2013 12:55:31 +0000 (13:55 +0100)] 
hub: Add functions to query job lists.

11 years agoFix for release builds that are not in a repository.
Michael Tremer [Sat, 2 Mar 2013 18:38:22 +0000 (19:38 +0100)] 
Fix for release builds that are not in a repository.

11 years agopackages: Add page to see scratch builds.
Michael Tremer [Sat, 2 Mar 2013 13:37:53 +0000 (14:37 +0100)] 
packages: Add page to see scratch builds.

11 years agoAdd Romanian as a language option.
Michael Tremer [Sat, 2 Mar 2013 12:16:02 +0000 (13:16 +0100)] 
Add Romanian as a language option.

11 years agoUpdate translations.
Michael Tremer [Sat, 2 Mar 2013 12:05:47 +0000 (13:05 +0100)] 
Update translations.

11 years agoDon't regenerate pot when mo files are generated.
Michael Tremer [Sat, 2 Mar 2013 12:05:10 +0000 (13:05 +0100)] 
Don't regenerate pot when mo files are generated.

11 years agojobs: Cache arch.
Michael Tremer [Sat, 2 Mar 2013 11:57:06 +0000 (12:57 +0100)] 
jobs: Cache arch.

11 years agosettings: Add lazy caching for settings.
Michael Tremer [Sat, 2 Mar 2013 11:54:49 +0000 (12:54 +0100)] 
settings: Add lazy caching for settings.

11 years agoRemove using memcache.
Michael Tremer [Sat, 2 Mar 2013 11:32:42 +0000 (12:32 +0100)] 
Remove using memcache.

Basically we don't need that, but have to optimize our
application a little bit.

11 years agoFix typo in tornado module name.
Michael Tremer [Sat, 2 Mar 2013 10:58:30 +0000 (11:58 +0100)] 
Fix typo in tornado module name.

11 years agoarches: Remove noarch as always supported.
Michael Tremer [Sat, 2 Mar 2013 10:56:29 +0000 (11:56 +0100)] 
arches: Remove noarch as always supported.

This is usually true, but the data should come
from the database.

11 years agoUpdate hub.
Michael Tremer [Thu, 28 Feb 2013 10:32:58 +0000 (11:32 +0100)] 
Update hub.

Remove XMLRPC communication backend and replace it with
a proper API.

11 years agoRemove FULLTEXT index from users table.
Michael Tremer [Sun, 17 Feb 2013 18:36:17 +0000 (19:36 +0100)] 
Remove FULLTEXT index from users table.

11 years agoDon't show ETA on front page.
Michael Tremer [Sun, 17 Feb 2013 17:38:26 +0000 (18:38 +0100)] 
Don't show ETA on front page.

Because it takes too much performance.

11 years agoDivide stddev by two where ever it is shown.
Michael Tremer [Sun, 17 Feb 2013 17:37:13 +0000 (18:37 +0100)] 
Divide stddev by two where ever it is shown.

11 years agoFix formatting error with translations.
Michael Tremer [Sun, 17 Feb 2013 17:36:59 +0000 (18:36 +0100)] 
Fix formatting error with translations.

11 years agoChange format of build time.
Michael Tremer [Sun, 17 Feb 2013 17:36:07 +0000 (18:36 +0100)] 
Change format of build time.

11 years agobuilds: Active builds must be of type 'release'.
Michael Tremer [Sun, 17 Feb 2013 17:34:05 +0000 (18:34 +0100)] 
builds: Active builds must be of type 'release'.

11 years agoShow ETA of build jobs.
Michael Tremer [Sun, 17 Feb 2013 15:47:09 +0000 (16:47 +0100)] 
Show ETA of build jobs.

11 years agoSimplify finding the right locale.
Michael Tremer [Sun, 17 Feb 2013 14:57:10 +0000 (15:57 +0100)] 
Simplify finding the right locale.

11 years agoMake debug mode configurable.
Michael Tremer [Sun, 17 Feb 2013 14:49:41 +0000 (15:49 +0100)] 
Make debug mode configurable.

Default is false.

11 years agoChange default port to 7001 and start as many frontends as CPU cores are available.
Michael Tremer [Sun, 17 Feb 2013 14:45:34 +0000 (15:45 +0100)] 
Change default port to 7001 and start as many frontends as CPU cores are available.

11 years agoUpdate Font Awesome.
Michael Tremer [Sun, 17 Feb 2013 14:25:21 +0000 (15:25 +0100)] 
Update Font Awesome.

11 years agoRemove unused function.
Michael Tremer [Sun, 17 Feb 2013 14:18:30 +0000 (15:18 +0100)] 
Remove unused function.

11 years agoUpdate database schema.
Michael Tremer [Sun, 17 Feb 2013 14:02:27 +0000 (15:02 +0100)] 
Update database schema.

11 years agoAlter search so that no FULLTEXT index is required.
Michael Tremer [Sun, 17 Feb 2013 13:58:41 +0000 (14:58 +0100)] 
Alter search so that no FULLTEXT index is required.

Our version of MySQL does not support FULLTEXT indexes
with InnoDB.

11 years agoOptimize getting the latest build.
Michael Tremer [Sun, 17 Feb 2013 13:24:57 +0000 (14:24 +0100)] 
Optimize getting the latest build.

11 years agopackages overview: Also show recent packages, which are not in a repository.
Michael Tremer [Sun, 17 Feb 2013 13:09:57 +0000 (14:09 +0100)] 
packages overview: Also show recent packages, which are not in a repository.

11 years agoUpdate translations.
Michael Tremer [Sat, 16 Feb 2013 20:43:50 +0000 (21:43 +0100)] 
Update translations.

11 years agoForgot to add times.html template.
Michael Tremer [Sat, 16 Feb 2013 17:11:21 +0000 (18:11 +0100)] 
Forgot to add times.html template.

11 years agoAdd autocompletion of package names for search.
Michael Tremer [Sat, 16 Feb 2013 17:10:56 +0000 (18:10 +0100)] 
Add autocompletion of package names for search.

11 years agoAdd new build time statistics page.
Michael Tremer [Sat, 16 Feb 2013 16:45:36 +0000 (17:45 +0100)] 
Add new build time statistics page.

11 years agoAdd links for scratch and test builds.
Michael Tremer [Fri, 15 Feb 2013 14:55:37 +0000 (15:55 +0100)] 
Add links for scratch and test builds.

11 years agoOnly show active builds on package overview.
Michael Tremer [Fri, 15 Feb 2013 14:05:21 +0000 (15:05 +0100)] 
Only show active builds on package overview.

11 years agoBigger design changes on the package and builds pages.
Michael Tremer [Fri, 15 Feb 2013 12:36:24 +0000 (13:36 +0100)] 
Bigger design changes on the package and builds pages.

11 years agoMove builders templates to own directory.
Michael Tremer [Thu, 14 Feb 2013 16:12:50 +0000 (17:12 +0100)] 
Move builders templates to own directory.

11 years agoBuildHeadline: Slink header.
Michael Tremer [Thu, 14 Feb 2013 16:07:49 +0000 (17:07 +0100)] 
BuildHeadline: Slink header.

11 years agoFix uninitialized variable and change "running" colour.
Michael Tremer [Thu, 14 Feb 2013 15:49:53 +0000 (16:49 +0100)] 
Fix uninitialized variable and change "running" colour.

11 years ago.diff files are viewable.
Michael Tremer [Sat, 12 Jan 2013 10:46:51 +0000 (11:46 +0100)] 
.diff files are viewable.

11 years agoUpdate translations.
Michael Tremer [Sat, 12 Jan 2013 10:45:44 +0000 (11:45 +0100)] 
Update translations.

New languages: Dutch and Ukrainian (forgot to add that .po file).

11 years agoLanguage update.
Michael Tremer [Fri, 21 Dec 2012 15:58:29 +0000 (16:58 +0100)] 
Language update.

Add Ukrainian and sort languages in the dropdown menu
after their English name.

11 years agoFix some wording (#10111).
Michael Tremer [Fri, 21 Dec 2012 15:47:15 +0000 (16:47 +0100)] 
Fix some wording (#10111).

11 years agoRewrite bigger chunks of the job schedulung code.
Michael Tremer [Fri, 21 Dec 2012 15:44:11 +0000 (16:44 +0100)] 
Rewrite bigger chunks of the job schedulung code.

This patch fixes #10164 and some more parts have been
rewritten/duplicate code has been removed.

11 years agoCreate an actual pakfire instance when reading packages.
Michael Tremer [Fri, 21 Dec 2012 15:41:54 +0000 (16:41 +0100)] 
Create an actual pakfire instance when reading packages.

11 years agomanager: Update dist and repository update jobs.
Michael Tremer [Fri, 21 Dec 2012 15:40:14 +0000 (16:40 +0100)] 
manager: Update dist and repository update jobs.

11 years agoscheduler: Add function to fork worker process.
Michael Tremer [Fri, 21 Dec 2012 15:38:31 +0000 (16:38 +0100)] 
scheduler: Add function to fork worker process.

It is much better to let some jobs run in their own process,
because that helps us to deal with memory-leaks and saves
the main process from being terminated by an unforeseen error.

11 years agobuilders: Fix comparisons with None.
Michael Tremer [Fri, 21 Dec 2012 15:37:18 +0000 (16:37 +0100)] 
builders: Fix comparisons with None.

11 years agobuilders: Catch problems when the database returned nothing.
Michael Tremer [Fri, 21 Dec 2012 15:23:46 +0000 (16:23 +0100)] 
builders: Catch problems when the database returned nothing.

11 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/pbs
Michael Tremer [Thu, 13 Dec 2012 23:20:15 +0000 (00:20 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/pbs

11 years agojobs: Allow passing the database row to get_by_id().
Michael Tremer [Thu, 13 Dec 2012 23:19:57 +0000 (00:19 +0100)] 
jobs: Allow passing the database row to get_by_id().

11 years agohub: Fix wrong function call.
Michael Tremer [Thu, 13 Dec 2012 23:19:47 +0000 (00:19 +0100)] 
hub: Fix wrong function call.

11 years agoInitial import of the new manager daemon.
Michael Tremer [Thu, 13 Dec 2012 23:18:54 +0000 (00:18 +0100)] 
Initial import of the new manager daemon.

11 years agobuilders: Fix counting active jobs.
Michael Tremer [Thu, 13 Dec 2012 21:03:52 +0000 (22:03 +0100)] 
builders: Fix counting active jobs.

11 years agoImport database schema.
Michael Tremer [Wed, 12 Dec 2012 16:40:57 +0000 (17:40 +0100)] 
Import database schema.

11 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/pbs
Michael Tremer [Wed, 12 Dec 2012 16:31:30 +0000 (17:31 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/pbs

11 years agoFix for newer versions of tornado.
Michael Tremer [Wed, 12 Dec 2012 16:31:04 +0000 (17:31 +0100)] 
Fix for newer versions of tornado.