Wykres commitów

148 Commity (master)

Autor SHA1 Wiadomość Data
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
Konstantin Gründger 4fe0a29793 Added logger 2015-11-22 21:11:55 +01:00
Konstantin Gründger d1a4fdecfc Forgot the socket error 2015-11-21 23:17:15 +01:00
Konstantin Gründger 92d2fa084d Test the gateway 2015-11-21 23:05:22 +01:00
kammermark@gmx.de 6801b55585 Test case cleanup 2015-11-20 11:36:42 +01:00
Konstantin Gründger e66291e5ea Changed exception handling 2015-11-19 23:17:12 +01:00
Konstantin Gründger 120d5daf6b Cleanup 2015-11-15 12:10:20 +01:00
Konstantin Gründger 024158513f Merge branch 'flask_stuff'
Conflicts:
	tests/test_ognutils.py
2015-11-15 10:44:59 +01:00
Fabian P. Schmidt 37d7afd15e Fix module imports; Readd aprs settings. 2015-11-15 10:31:35 +01:00
Konstantin Gründger 5108c65f53 fixed test 2015-11-15 08:53:39 +01:00
Konstantin Gründger 1d49a3417b compute sphere coordinates 2015-11-15 01:16:19 +01:00
Meisterschueler fca0d713b6 Update test_aircraft_beacon.py 2015-11-15 00:43:13 +01:00
Konstantin Gründger 3ee5ca9044 Fixed extended lat/lon bug and added radius, theta, phi 2015-11-14 10:42:41 +01:00
Konstantin Gründger 8fa4f16a96 Fixed get_country_code 2015-11-12 08:38:43 +01:00
Konstantin Gründger e20e886952 position --> aircraft_beacon, receiver --> receiver_beacon 2015-11-11 18:43:39 +01:00
Konstantin Gründger bc86e6d4c3 added local ddb for testing 2015-11-11 08:06:35 +01:00
Konstantin Gründger c3066c1d1b changed device db import/handling 2015-11-11 08:03:42 +01:00
Konstantin Gründger b241e2f220 test cosmetics 2015-11-06 22:36:43 +01:00
Konstantin Gründger c3b33ccde4 Added ognutils 2015-11-06 22:34:19 +01:00
Konstantin Gründger b5c3b1d8d7 Test FL pattern 2015-10-29 08:34:20 +01:00
Meisterschueler 9a9e3ff14f test platform 2015-10-28 15:45:29 +01:00
Konstantin Gründger f790111180 more testing 2015-10-27 20:50:39 +01:00
Konstantin Gründger bd6da1dd2a Test dmsToDeg 2015-10-27 20:17:11 +01:00
Konstantin Gründger 765974bd99 implemented v0.2.4 tokens 2015-10-26 23:50:16 +01:00
Konstantin Gründger e7854411a3 Corrected Beacon 2015-10-25 14:23:25 +01:00
Konstantin Gründger f416e9bfcd Test None fail 2015-10-24 23:57:31 +02:00
Konstantin Gründger c3ceda888c Test empty string 2015-10-24 23:44:07 +02:00
Konstantin Gründger 2f456a0eef Initial release 2015-10-24 23:13:21 +02:00