Wykres commitów

15 Commity (141e92ba7c3fce5c1e7146587ea298a42514ef05)

Autor SHA1 Wiadomość Data
Fabian P. Schmidt d8046043ae CLI: Add command db.upgrade
This command is a shortcut for "alembic upgrade head".
2016-01-31 02:25:21 +01:00
Fabian P. Schmidt 794ab5748f CLI: Move alembic imports inside the calling function
Reduces execution time of "manage.py" a bit.

An import of alembic.config takes a relatively long time and
"manage.py" by itself is slow.
2016-01-29 03:44:21 +01:00
Fabian P. Schmidt 0d30b141c6 CLI: Add command db.drop 2016-01-12 18:36:08 +01:00
Fabian P. Schmidt 6222e13225 Stamp alembic version at db.init 2016-01-12 18:35:33 +01:00
Fabian P. Schmidt b3e1f7b0a7 CLI: Remove celery dependency for simple tasks
Only `logbook.compute` still requires a running celery backend.

The celery tasks 'update_ddb_from_*' were renamed to
'database.import_ddb' and 'database.import_file'.
2015-12-09 12:07:55 +01:00
Fabian P. Schmidt 27db22d8c8 CLI: Rename 'db.stats' to 'show.devices.stats' 2015-12-09 12:07:55 +01:00
Fabian P. Schmidt cb3ebf4988 Model: Change type of AddressOrigin again.
Fixes db.update_ddb_ogn by removing the type Enum of AddressOrigin.

Partly reverts commit 04137acaf6 since
this commit broke db.update_ddb_ogn.
2015-12-09 02:50:27 +01:00
Konstantin Gründger 93ac44e574 Devices stats 2015-12-02 12:52:16 +01:00
Fabian P. Schmidt 57f51ec111 Fix pep8 again. 2015-11-29 21:52:21 +01:00
Konstantin Gründger 46e60b4693 ddb import from ogn and from file 2015-11-24 08:20:28 +01:00
Fabian P. Schmidt bda6310ff6 Cleanup 2015-11-15 19:41:13 +01:00
Konstantin Gründger 120d5daf6b Cleanup 2015-11-15 12:10:20 +01:00
Fabian P. Schmidt 37d7afd15e Fix module imports; Readd aprs settings. 2015-11-15 10:31:35 +01:00
Fabian P. Schmidt 371e4564e8 Handle tasks (eg. updateddb) with celery.
New dependencies: celery and redis.
2015-11-15 09:59:48 +01:00
Fabian P. Schmidt 6cb9dd7801 Add common CLI manage.py.
New dependency: manage.py
2015-11-15 09:59:48 +01:00