Wykres commitów

67 Commity (3b074ff0b1e090e69c6314f492fd1ff36f68c63b)

Autor SHA1 Wiadomość Data
Konstantin Gründger a9bdd8176a New igc file export module 2017-06-23 08:14:42 +02:00
Konstantin Gründger 5a4ce57db9 Move convert_logfile to bulkimport module 2017-06-23 08:13:51 +02:00
Konstantin Gründger 82e92bc1e0 Moved bulkimport to new module 2017-06-19 20:59:00 +02:00
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 943203804f Optional: filter airports by country 2016-07-14 21:14:55 +02:00
Konstantin Gründger acd1128dc0 Split logbook and make it testable 2016-07-02 20:07:22 +02:00
Konstantin Gründger 6d1d68e948 Get airports by relationship 2016-07-02 17:59:57 +02:00
Konstantin Gründger 89a3a659ac Refactoring 2016-07-01 07:19:31 +02:00
Konstantin Gründger f08bf220c8 Persist logbook 2016-06-29 23:26:30 +02:00
Konstantin Gründger 998cbf4990 Use utc_timedelta only for splitting of takeoff and landing 2016-06-28 20:00:24 +02:00
Konstantin Gründger e495d52234 flake8 beautifications 2016-06-26 17:59:43 +02:00
Konstantin Gründger 475364fd0c Fixed stats about Device and DeviceInfo 2016-06-24 08:03:22 +02:00
Konstantin Gründger b80b5d9720 Replace Device with DeviceInfo 2016-06-21 20:24:15 +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 f935f0b583 Improve recognition of different takeoff and landing dates 2016-06-03 19:08:12 +02:00
Konstantin Gründger cb28d56cea Flake8 fixes 2016-06-02 19:53:53 +02:00
Konstantin Gründger 894cf3183b Optional date filter 2016-06-01 19:41:32 +02:00
Konstantin Gründger 2b59894664 Remark if different airport used for takeoff or landing 2016-05-31 21:27:24 +02:00
Konstantin Gründger 70ce7eebff Import Welt2000 waypoints instead of germany 2016-05-30 21:24:46 +02:00
Konstantin Gründger 132ae96499 Introduce relations - scheme refactoring 2016-05-30 21:24:46 +02:00
Konstantin Gründger 61f6194d8c Added airport manager 2016-05-30 21:24:46 +02:00
Konstantin Gründger f812b0af4d Fixed logbook.show
Cosmetics
2016-04-28 21:51:01 +02:00
Konstantin Gründger 84cb2d264f From lat/lon to POINT
Flake8 suggestions

Add shapely

Fixed update_receivers

migrate table takeoff_landing
2016-04-28 21:50:59 +02:00
Konstantin Gründger 201c41f12f Introduce Airport 2016-04-22 10:44:39 +02:00
Konstantin Gründger 23a364761f fixed flake8 2016-02-04 19:14:31 +01:00
Konstantin Gründger 528bcd8e91 Removed obsolete string formatting operations 2016-02-03 23:22:04 +01:00
Konstantin Gründger 018ea8c549 Changed obsolete string formatting operations 2016-02-03 23:19:25 +01:00
Konstantin Gründger b135a9dfd0 Update receivers 2016-02-03 23:09:11 +01: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 ae3788764d celery: Add task update_beacon_receiver_distance
Replaces ogn.commands.dbutils.update_receiver_childs
2016-01-29 06:42:56 +01:00
Fabian P. Schmidt d3c38924e2 ogn/utils.py: Rename wgs84_to_sphere to haversine_distance 2016-01-29 06:42:56 +01:00
Konstantin Gründger 6cc6378496 Add (slow) [radius, theta, phi] calculation 2016-01-29 03:47:58 +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 6aec9ee35d Add central configuration by python modules
Configuration module is loaded from environment variable
OGN_CONFIG_MODULE, defaults to "config/defaults.py".
2016-01-29 03:44:20 +01:00
Fabian P. Schmidt d5dfbc6ea1 logbook.py: Add missing keyword "return"
Bug introduced in 15bcbc2971.
2016-01-12 22:33:37 +01:00
Fabian P. Schmidt 15bcbc2971 logbook.py: Fix PEP8
"Always use a def statement instead of an assignment statement  that
binds a lambda expression directly to a name."
2016-01-12 22:27:23 +01:00
Fabian P. Schmidt 07bde91c59 Add "NOT IMPLEMENTED" to show.receiver.list_all
In fact, the command is correctly implemented
but the receiver table is always empty.
2016-01-12 19:28:03 +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 4baeb83516 Cleanup 2016-01-06 00:23:45 +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