Wykres commitów

26 Commity (4fa4c69b594826613458c2fcedfbb5770d3ca53f)

Autor SHA1 Wiadomość Data
Konstantin Gründger 4fa4c69b59 Skip import file if beacons of this day already exist 2017-06-12 20:52:19 +02:00
Konstantin Gründger e8b00af976 Import logfile parameter can be a folder (with gzipped or unzipped files) or a file (gzipped or unzipped) 2017-06-12 19:25:24 +02:00
Konstantin Gründger 04bb38501e DROP temporary table if exists before CREATE 2017-06-04 13:38:49 +02:00
Konstantin Gründger c61dc393fe Move opener to utils and implement batch cdv import 2017-06-04 11:52:48 +02:00
Konstantin Gründger 0cf6eb56f7 Use temporary tables for import and updating relations (AircraftBeacon->Device, AircraftBeacon->Receiver, ReceiverBeacon->Receiver) 2017-06-03 12:02:17 +02:00
Konstantin Gründger 51ea4e2fad New command: update_relations 2016-10-31 13:47:27 +01:00
Konstantin Gründger 759026b015 Delete entries before import new device infos 2016-07-17 22:57:54 +02:00
Konstantin Gründger 98489cdba5 Added DeviceInfo, fixes #53 2016-06-21 19:34:05 +02:00
Konstantin Gründger 9768229993 Create PostGIS extension 2016-06-05 08:33:13 +02:00
Konstantin Gründger 70ce7eebff Import Welt2000 waypoints instead of germany 2016-05-30 21:24:46 +02:00
Konstantin Gründger 201c41f12f Introduce Airport 2016-04-22 10:44:39 +02:00
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