Wykres commitów

104 Commity (d69476158b2ee1fe726a8e0c8b1fea8f91fb061c)

Autor SHA1 Wiadomość Data
Fabian P. Schmidt 81fccc154e gateway: Add callback 'process_beacon'
This change enables us to define a custom callback which is
called when the gateway receives a packet
(e.g. save the incoming beacon in a database and generate
some statistics/aggregate data).
2015-11-30 15:11:10 +01:00
Fabian P. Schmidt 851559aced Logging: Enable custom logfile location. 2015-11-30 15:03:38 +01:00
Fabian P. Schmidt 6af31fe7a7 Move ogn client (gateway) to a separate file.
The documentation[1] says:
> In the simplest case, __init__.py can just be an empty file,
> but it can also execute initialization code for the package or
> set the __all__ variable, described later.

A class like 'ognGateway' can't be considered 'initialization code'.

[1]: https://docs.python.org/3/tutorial/modules.html#packages
2015-11-29 21:59:34 +01:00
Fabian P. Schmidt 57f51ec111 Fix pep8 again. 2015-11-29 21:52:21 +01:00
Fabian P. Schmidt 316f71c8e4 Fix pep8. 2015-11-29 21:37:41 +01:00
Fabian P. Schmidt b391fca45b Fix show.receiver statistics.
Use current time for calculations,
not the start-time of celery.
2015-11-29 21:23:25 +01:00
Konstantin Gründger c5693ba00e IDs to address 2015-11-27 21:29:00 +01:00
Konstantin Gründger 82efb81fba Logbook: recalculate last 5 minutes 2015-11-24 23:29:27 +01:00
Konstantin Gründger ceca97b47c Added logbook to manage.py 2015-11-24 21:00:31 +01:00
Konstantin Gründger e5b771fc19 Add failed line to parser exception 2015-11-24 20:07:20 +01:00
Konstantin Gründger 6ce599fbb0 Changed port for unfiltered beacons 2015-11-24 20:06:06 +01:00
Konstantin Gründger 46e60b4693 ddb import from ogn and from file 2015-11-24 08:20:28 +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 92d2fa084d Test the gateway 2015-11-21 23:05:22 +01:00
Konstantin Gründger e66291e5ea Changed exception handling 2015-11-19 23:17:12 +01:00
Konstantin Gründger be4b4fdc22 ReceiverDevice to Receiver 2015-11-16 20:09:26 +01:00
Konstantin Gründger 82b03f991a Renamed Flarm to Device 2015-11-16 20:04:54 +01:00
Konstantin Gründger ab8f43077c Local ddb file 2015-11-15 19:57:01 +01:00
Konstantin Gründger e69966414e Cleanup 2015-11-15 19:54:11 +01:00
Fabian P. Schmidt bda6310ff6 Cleanup 2015-11-15 19:41:13 +01:00
Fabian P. Schmidt d863aaf76d Reimplement ddb import from file as celery task. 2015-11-15 19:36:28 +01:00
Fabian P. Schmidt 5ce9dec34c Add AprsParseError. 2015-11-15 19:36:28 +01:00
Konstantin Gründger 120d5daf6b Cleanup 2015-11-15 12:10:20 +01:00
Konstantin Gründger 7d53ab30bb Added ReceiverDevice 2015-11-15 11:59:52 +01:00
Konstantin Gründger 6a54e520dc Typos 2015-11-15 11:54:01 +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 156b69a27d Take ReceiverDevice instead of ReceiverBeacon 2015-11-15 10:00:09 +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
Konstantin Gründger d1c4d7c226 Fixed sphere calculation 2015-11-15 08:51:40 +01:00
Meisterschueler fdf4719280 Fixed coordinates extension 2015-11-15 00:44:11 +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 b925f05ff4 simple ogn stats 2015-11-11 08:08:51 +01:00
Konstantin Gründger ce8fc7dd5f simple logbook 2015-11-11 08:04:42 +01:00
Konstantin Gründger c3066c1d1b changed device db import/handling 2015-11-11 08:03:42 +01:00
Konstantin Gründger 2ce8947fff Removed obsolete code 2015-11-06 22:36:01 +01:00
Konstantin Gründger c3b33ccde4 Added ognutils 2015-11-06 22:34:19 +01:00
Konstantin Gründger e0145de086 Small bugs 2015-11-04 08:16:49 +01:00
Konstantin Gründger 30599c4c35 Cosmetics 2015-10-30 23:51:16 +01:00
Konstantin Gründger 21573ae829 Cosmetics 2015-10-30 21:19:03 +01:00
Konstantin Gründger fbbf65f2de db creation fixes 2015-10-30 20:25:50 +01:00
Konstantin Gründger b5c3b1d8d7 Test FL pattern 2015-10-29 08:34:20 +01:00
Meisterschueler 73a574320d fixed platform test 2015-10-28 15:47:53 +01:00
Konstantin Gründger 661ecad822 Removed unused imports 2015-10-27 20:18:04 +01:00
Konstantin Gründger e3e4d12ef9 Changed scheme 2015-10-27 20:17:39 +01:00
Konstantin Gründger bd6da1dd2a Test dmsToDeg 2015-10-27 20:17:11 +01:00
Meisterschueler 9102fdda8c Update position.py
Removed bad import
2015-10-27 11:48:58 +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 2f456a0eef Initial release 2015-10-24 23:13:21 +02:00