Wykres commitów

187 Commity (1ae811dccc028ec7cc6334c6ecbdc710b0bb7587)

Autor SHA1 Wiadomość Data
Fabian P. Schmidt 1ae811dccc gitignore: Remove unused constraints 2016-02-17 18:25:16 +01:00
Fabian P. Schmidt eedfad205f README: Add postgresql recommendation 2016-02-17 17:06:38 +01:00
Fabian P. Schmidt 4b3302b79e Merge pull request #41 from Meisterschueler/fix/addreceiver
Bugfix: If an existing receiver was updated, a new receiver was not added
2016-02-15 20:17:06 +01:00
Konstantin Gründger 9b4a0124e8 flake8 fixes 2016-02-11 08:08:11 +01:00
Konstantin Gründger f3da85576c Fix: receiver sometimes not added 2016-02-11 07:40:36 +01:00
Fabian P. Schmidt ad362fcc1e Merge pull request #40 from Meisterschueler/fix/nullvalue
ogn.collect.receiver: Replace wrong keyword, use null() instead of  "" or None
2016-02-05 15:16:13 +01:00
Konstantin Gründger eb772bdc92 Fix: "" is not "null()" (sqlalchemy) or "None" (python) 2016-02-05 07:20:58 +01:00
Meisterschueler 0fcbd069d9 Merge pull request #39 from kerel-fs/format/update_receivers
Add note about special backend requirements
2016-02-04 23:24:04 +01:00
Fabian P. Schmidt b5b39825d7 README: Fix description of custom config loading 2016-02-04 23:15:54 +01:00
Fabian P. Schmidt ae3b08722f Add note about special backend requirements for some tasks 2016-02-04 23:12:16 +01:00
Fabian P. Schmidt 2b4985330d README: Add section about starting celery tasks manually 2016-02-04 23:12:16 +01:00
Fabian P. Schmidt a71d5862f7 config/default: Add scheduled tasks update-logbook and update-ddb 2016-02-04 23:12:16 +01:00
Fabian P. Schmidt 65aefc39a4 collect/receiver: Improve formatting 2016-02-04 23:12:16 +01:00
Fabian P. Schmidt de97480ee7 Merge pull request #38 from Meisterschueler/update_receivers
Add celery task update-receivers
2016-02-04 23:09:51 +01:00
Konstantin Gründger e85e01e2c1 Corrected path 2016-02-04 19:18:57 +01:00
Konstantin Gründger 23a364761f fixed flake8 2016-02-04 19:14:31 +01:00
Konstantin Gründger 7543130c22 Removed (NOT IMPLEMENTED) 2016-02-04 18:33:16 +01:00
Konstantin Gründger 0cd46d2be2 Moved receiver update from ogn.collect.database to ogn.collect.receiver 2016-02-04 18:31:58 +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 03ea96c71e Added GeocoderTimedOut exception 2016-02-03 23:11:54 +01:00
Konstantin Gründger b135a9dfd0 Update receivers 2016-02-03 23:09:11 +01:00
Meisterschueler 141e92ba7c Merge pull request #37 from kerel-fs/alembic/+config
Simplify alembic usage
2016-01-31 17:03:16 +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 0e66e77b3e alembic: Link metadata to enable autogeneration of migrations 2016-01-31 02:23:26 +01:00
Fabian P. Schmidt 6511d6da38 alembic: Load configuration from ogn config
If environment variable OGN_CONFIG_MODULE is defined,
load configuration from this python module, otherwise load "config.default".
2016-01-31 02:20:00 +01:00
Fabian P. Schmidt 7727f0c606 Merge pull request #36 from kerel-fs/fix/missingfile
celery: Add missing file ogn.collect.heatmap
Fixes regression introduced by ae3788764d
2016-01-29 08:18:51 +01:00
Fabian P. Schmidt 81f05c2102 celery: Add missing ogn.collect.heatmap 2016-01-29 08:12:28 +01:00
Meisterschueler 1b526e5a03 Merge pull request #35 from kerel-fs/feature/receiverdistance
Add central configuration & spherical calculations & other stuff
2016-01-29 07:38:19 +01:00
Fabian P. Schmidt 31b2aaddda celery: Add scheduled task update_beacon_receiver_distance
Celery beat is used to call update_beacon_receiver_distance_all
every five minutes.
The time interval is configurable by adjusting the configuration file.
2016-01-29 06:42:56 +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 88406a31d0 setup.py: Add optional postresql requirement
To install ogn-python with postresql support (currently
required for logbook.compute/.show), use
```
pip install -e .[postgresql]
```
2016-01-29 03:44:21 +01:00
Fabian P. Schmidt e22e6a619e gateway: Add logging of dropped packets 2016-01-29 03:44:21 +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
Konstantin Gründger 539630ea91 persist relevant receiver_beacon data 2016-01-21 23:18:02 +01:00
Fabian P. Schmidt 85a8a1c143 Merge pull request #30 from kerel-fs/fix/regression
logbook.py: Add missing keyword "return"
2016-01-12 22:39:30 +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
Meisterschueler 7352261c27 Merge pull request #29 from kerel-fs/feature/cli+drop
CLI: Add command db.drop & fix db.init
2016-01-12 22:09:47 +01:00
Fabian P. Schmidt 4aa55d96bd Update README.md 2016-01-12 19:37:38 +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 2c9fb287dc Add MANIFEST.in to include README,LICENSE & tests
Include these files in the source distribution
2016-01-12 17:24:28 +01:00
Meisterschueler bbe66553f2 Merge pull request #27 from kerel-fs/pypi/+package
Add setup.py to create a package
2016-01-12 14:07:37 +01:00
Fabian P. Schmidt 3a0a91527f Add setup.py to create a package
Fixes glidernet/ogn-python#16.
2016-01-12 13:56:18 +01:00
Meisterschueler 0e49511127 Merge pull request #26 from kerel-fs/travis/+flake8
Travis CI: Replace pep8 with flake8
2016-01-09 09:25:39 +01:00