Wykres commitów

77 Commity (f829c9996a1c4d18eb94eb69520e7fdaaf04d219)

Autor SHA1 Wiadomość Data
Konstantin Gründger eba91c5f5c Test and fix update_receivers 2017-12-16 21:40:12 +01:00
Konstantin Gründger 52c40582c4 Test and fix update_devices 2017-12-16 21:11:05 +01:00
Konstantin Gründger 1da1d472df Refactoring 2017-12-16 17:28:32 +01:00
Konstantin Gründger 307278221a Better logbook testing and refactoring 2017-12-16 15:54:04 +01:00
Konstantin Gründger 150491a830 Huge speedup (factor 30+) for update_receiver and update_device due to multi-column indices 2017-12-16 10:36:11 +01:00
Konstantin Gründger 6aa99bd18f Test all model classes 2017-12-13 14:22:31 +01:00
Konstantin Gründger acc4b858a8 Test DeviceStats 2017-12-13 14:13:55 +01:00
Konstantin Gründger 99c07fed5b Fix travis build 2017-12-13 11:36:08 +01:00
Konstantin Gründger 145f21604a Better logbook testing 2017-12-12 09:59:38 +01:00
Konstantin Gründger 28a25048f6 Refactoring 2017-12-10 17:30:27 +01:00
Konstantin Gründger 3b074ff0b1 Fix string representation of models 2017-10-03 12:59:45 +02:00
Konstantin Gründger 825765fd26 Fixed test (relative paths) 2017-10-03 12:49:36 +02:00
Konstantin Gründger 276763f37f Prepare csv and use super fast „COPY FROM“ sql command 2017-05-30 21:45:57 +02:00
Konstantin Gründger b414d5ba84 Fixed test 2016-11-05 09:16:58 +01:00
dspreitz e8c3e44138 Addes test for import_logfile 2016-09-28 11:31:40 +02:00
Konstantin Gründger bbe167a8de Flake8 fixes... again 2016-07-14 21:29:27 +02:00
Konstantin Gründger 08c0a73d54 Update: complete flights only 2016-07-06 19:34:55 +02:00
Konstantin Gründger d857f88512 Fixed tests... 2016-07-04 22:54:37 +02:00
Konstantin Gründger b164217329 Test takeoff_landing computation 2016-07-02 22:30:54 +02:00
Konstantin Gründger c84b44d1aa Create db 2016-07-02 20:47:06 +02:00
Konstantin Gründger 9d3fea118b Test logbook 2016-07-02 20:20:04 +02:00
Konstantin Gründger 3e2b5455a1 Fixed get_ddb test 2016-06-02 20:32:04 +02:00
Konstantin Gründger 70ce7eebff Import Welt2000 waypoints instead of germany 2016-05-30 21:24:46 +02:00
Meisterschueler 81b80559e4 Drop get_airports "Test" 2016-05-18 13:30:47 +02:00
Konstantin Gründger b5f111c257 Remove obsolete pre postgis stuff
Removed obsolete test
2016-04-28 21:51:03 +02:00
Konstantin Gründger 201c41f12f Introduce Airport 2016-04-22 10:44:39 +02:00
Fabian P. Schmidt 86f2a606e5 Use python-ogn-client and remove duplicated code
This repository splitted up into two separate repositories:
- python-ogn-client, including an APRS- & OGN-Parser and an APRS-Client
- ogn-python (the repository this commit belongs to), including a database, CLI and logbook
2016-03-18 22:58:49 +01:00
Konstantin Gründger 76362ddfbf Parse hardware version as hex 2016-02-19 17:59:23 +01:00
Fabian P. Schmidt d69476158b ogn.gateway: Remove implicit sqlalchemy dependency
The callback gets the beacon data by a python dict instead of a sqlalchemy class
2016-02-18 22:49:56 +01:00
Fabian P. Schmidt 6a31a648cb Move parsing from 'ogn.model.*' to 'ogn.parser'
Use named capture groups for parsing.
Regular expressions for receiver and aircraft beacons are from ruby ogn-client.
The separated regular expressions for parsing of aircraft beacons were
concatenated to harmonize with other ogn clients (at zero costs,
currently all packets stick to the common token sequence).

regexp for receiver and aircraft beacons:
Copyright (c) 2015 Sven Schwyn; licensed under The MIT License
2016-02-18 22:49:56 +01:00
Fabian P. Schmidt 2012310ad2 Rename module ogn.exceptions to ogn.parser.exceptions 2016-02-18 16:01:06 +01:00
Fabian P. Schmidt 756ac0e337 Rename module ogn.aprs_utils to 'ogn.parser.utils' 2016-02-18 15:49:55 +01:00
Fabian P. Schmidt 37ab7991f3 Move function 'create_aprs_login' to ogn.gateway 2016-02-18 15:42:21 +01:00
Konstantin Gründger 03ea96c71e Added GeocoderTimedOut exception 2016-02-03 23:11:54 +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 4baeb83516 Cleanup 2016-01-06 00:23:45 +01:00
Fabian P. Schmidt d5dc94903d utils: Remove unused wgs84_to_sphere
Use an external package[1] instead.

[1]: eg. https://pypi.python.org/pypi/haversine
2016-01-06 00:06:27 +01:00
Konstantin Gründger c284272109 Test default reference_date 2015-12-16 18:28:03 +01:00
Konstantin Gründger 661f174f38 Fixed test 2015-12-10 21:56:06 +01:00
Fabian P. Schmidt 757e9143a8 aprs_utils: Raise AmbigousTimeError for outdated packets
The aprs string only contains time information, no date.
Manual date correction is applied +-one hour around midnight.
Thus, packets older than one hour are dropped.
2015-12-10 17:44:13 +01:00
Konstantin Gründger 60745fb6f3 Bugfixed createTimestamp 2015-12-10 07:43:18 +01:00
Konstantin Gründger e62203638e Separated valid OGN messages 2015-12-09 23:16:21 +01:00
Fabian P. Schmidt 8313ac180c Model: Fix hyphenation of keyword 'user_defined' 2015-12-09 12:07:47 +01:00
Fabian P. Schmidt bebf11edf3 ogn.utils: Add get_trackable. 2015-12-01 20:41:29 +01:00
Fabian P. Schmidt eb7ccf3ab9 Tests: Add tests for ogn.gateway.client.ognGateway 2015-11-30 17:29:20 +01:00
Fabian P. Schmidt e77ce6db0a Tests: Remove test_run_multiple_errors
Since commit 81fccc154e,
the class ognGateway catchs all socket exceptions,
thus this test is obsolete now.
2015-11-30 17:23:19 +01:00
Konstantin Gründger c5693ba00e IDs to address 2015-11-27 21:29:00 +01:00
Konstantin Gründger 31ed15a314 Let disconnect crash once 2015-11-24 08:18:36 +01:00
Konstantin Gründger 3ab10cfb68 Create aprs login string 2015-11-23 20:40:44 +01:00