Konstantin Gründger
7729dca315
Add backend for live.glidernet.org and ognrange.onglide.com (WIP)
2017-12-31 12:01:05 +01:00
Konstantin Gründger
faf04d6449
Added test for bulkimport
2017-12-30 21:35:01 +01:00
Konstantin Gründger
0dbc101c72
Test import_ddb_file
2017-12-19 08:00:42 +01:00
Konstantin Gründger
d5d6781cd0
Better test of update_devices
2017-12-19 07:38:49 +01:00
Konstantin Gründger
5a544122eb
Test get_airports
2017-12-19 07:37:01 +01:00
Konstantin Gründger
184853fa59
Test process
2017-12-18 23:57:20 +01:00
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
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