Matthias Wirth
486015a378
Graphs: Display percentage of Messages >-3dBFS
2018-10-14 14:02:03 +02:00
Matthias Wirth
1197a5493d
Graphs: Fix strong_signals data collection
...
dump1090 produces stats.json, this is read to produce the database the
graphs are based on. strong_signals is a counter which logs every message
with an RSSI of bigger than -3dBFS.
Currently this message counter is unlike the other message counters read
from the last1min instead of the total bucket. This creates bad data as
the rrd data source type used assumes a constantly increasing counter,
which the last1min bucket is not. When the last1min strong_signals
bucket decreases the database logs unkown, when last1min strong_signals
increase it logs the increase and divides it by the elapsed time which
assuming a relatively constant number of strong_signals per minute can
greatly underestimate the actual value of strong_signals received.
Change the data collection to use the total strong_signals bucket like
the other message logs. The data collection will log the difference
between readings and create a correct rate.
2018-10-13 17:58:43 +02:00
Joe Prochazka
cee2774291
Merge pull request #472 from jprochazka/2.7.0
...
2.7.0 pre-release
2018-10-04 10:48:13 -04:00
target-drone
c60777626c
'deprecated' :)
2018-07-03 15:26:46 +01:00
target-drone
bcb6051269
Update flights.py to run with python2 and python3
...
urllib2 is depreciated in python3.
Small edit to detect the calling version and import the relevant module.
2018-06-28 10:45:01 +01:00
Joe Prochazka
53c3cca439
Admins can now specify historical plot map center.
2018-06-26 14:24:22 -04:00
Joe Prochazka
f1b18d0f30
Moved chmod command to proper place.
2018-06-22 12:41:49 -04:00
Joe Prochazka
d189f31e80
Reverted unneeded change.
2018-06-22 11:23:30 -04:00
Joe Prochazka
54a8a98fff
Default to mbps instead of kbps.
2018-06-22 11:20:47 -04:00
Joe Prochazka
2d7ec771e5
Upgrade to v2.3.6
2018-06-22 11:00:29 -04:00
Joe Prochazka
8f6cbc3f58
Bumped up the bandwidth max a bit.
2018-06-22 10:46:56 -04:00
Joe Prochazka
8e54ea2b4a
Updated CHANGELOG. Added v2.6.3 portal upgrade file.
2018-06-21 16:53:57 -04:00
Joe Prochazka
2691cc2c33
Merge pull request #423 from vitaliy-sk/fix-havbar-hiding
...
Fix havbar-footer auto hiding
2018-06-21 11:20:07 -04:00
Vitaliy Skrypnyk
cddaf45c3d
Add navbar id
2018-04-29 15:34:58 +03:00
Vitaliy Skrypnyk
05271b7220
Add missed hideNavbarAndFooter setting to installation script
2018-04-29 15:34:58 +03:00
Vitaliy Skrypnyk
5720f8321f
Fix sql-lite installation
...
* Fix wrong sql
* Fix permission:
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 8 attempt to write a readonly database'
2018-04-28 16:04:21 +03:00
Joe Prochazka
b6b2538852
Upgrade to v2.6.2.
2018-04-06 20:41:52 -04:00
Joe Prochazka
478ca80626
Layout changes.
2018-03-23 14:24:52 -04:00
Joe Prochazka
1dfbbbb6ec
Fixed if statement and added v2.6.2 PHP upgrade file.
2018-03-23 13:50:51 -04:00
jprochazka
ea73ade7cb
Added option to auto hide portal nav and footer.
2018-03-22 14:31:02 -04:00
Joe Prochazka
c01bdc4c19
Forgot to commit upgrade.php.
2018-03-01 17:43:49 -05:00
Joe Prochazka
f71633717a
Minor bug fixes and marked as v2.6.1.
2018-02-28 20:51:00 -05:00
jprochazka
7a30480044
Fixed password retrieval functionality.
2018-02-28 17:30:58 -05:00
jprochazka
c15feeae65
Fixed SQLite update procedure.
2018-02-28 17:27:50 -05:00
jprochazka
677655ea1a
Query fixes and consolidations.
2018-02-28 16:37:57 -05:00
Michal Krzysztofowicz
18e7648074
Fix errors in maintenance.py
...
- import time module for time.sleep() to work
- change all occurrences of true to True and false to False. In Python
these have to be capitalised.
- add initial state to purge_aircraft, purge_flights, purge_positions,
purge_days_old; set it to False
- cursor.fetchone() returns a single row; change the assignment to
purge_aircraft accordingly (otherwise the script fails with an "out of
range" error)
- calculate purge_date only if purge_days_old is not None (otherwise set
it to None too). This stops the script from failing when the date was
not set
- run the database purging only if both
purge_(aircraft|flights|positions) and purge_date exist
2017-12-17 15:39:35 +00:00
Joe Prochazka
a02546ac42
Fixed v2.6.0 upgrade file.
2017-10-21 17:49:07 -04:00
Joe Prochazka
e912a8ae48
Added missing v2.6.0 portal upgrade file.
2017-10-21 15:17:31 -04:00
Joe Prochazka
d6067e6a55
Rolled back changes from previously planed 2.7.0 branch.
2017-10-20 12:04:00 -04:00
Joe Prochazka
e8a0148a19
Added jquery.bootpag.min.js to default template.
2017-10-19 15:34:54 -04:00
Joe Prochazka
50d6a163a0
Merge pull request #355 from bitpixdigital/hotfix
...
Changed the $start value within flights.php to zero so that searching for flights with one result are returned by the database.
2017-10-19 11:33:04 -04:00
Joe Prochazka
e1951cb9a4
Enabled and disabled a couple features by default.
2017-10-12 18:42:33 -04:00
jprochazka
17a9b89a53
Version changes for portal setup.
2017-10-12 13:07:07 -04:00
jprochazka
4bc5c153bb
Version changes for portal setup.
2017-10-12 13:01:39 -04:00
Angel Hernandez III
e1270a18e1
Changed $start value to 0 so that searching for flights with one result work properly.
2017-10-11 18:22:28 -04:00
jprochazka
18a041a76d
Copy don't move packages to archives.
2017-10-05 13:07:13 -04:00
jprochazka
79aad377a0
Master branch now contains Romeo-Golf's 2.6.0 branch with fixes added to it.
2017-10-02 15:36:29 -04:00
Joe Prochazka
1c8eddee71
Merge pull request #326 from target-drone/patch-2
...
2 syntax errors
2017-10-02 15:08:06 -04:00
jprochazka
569279229b
Multiple changes helping to bring the scripts up to date.
2017-09-27 17:18:13 -04:00
target-drone
dc71d1b509
2 syntax errors
...
Python requires True and False to be as capitalised.
rogue space on line 153 throws an indentation error.
2017-03-14 07:26:45 +03:00
Joe Prochazka
84bd030726
Merge pull request #270 from jprochazka/2.5.0
...
2.5.0
2016-12-05 22:30:08 -05:00
Joe Prochazka
2e7a5754d1
Fixed SQLite query.
2016-12-05 18:49:30 -05:00
Joe Prochazka
635131b50f
SQLite upgrade fix.
2016-12-05 17:12:55 -05:00
Joe Prochazka
85fecdc76c
Wording fix.
2016-12-05 16:29:00 -05:00
Joe Prochazka
aac778adc4
Flight notification fix for lite.
2016-12-05 15:46:25 -05:00
Joe Prochazka
1e8ce8d5c7
Require python-dev and SQLite query fix.
2016-12-05 15:08:10 -05:00
Joe Prochazka
abd1ec2129
Fixes applied after MySQL portal testing.
2016-12-05 14:37:59 -05:00
Joe Prochazka
0d31a60716
Remove stop points and minnor fixes.
2016-12-05 13:08:58 -05:00
Joe Prochazka
44f7e72a26
Removed notification work.
2016-12-01 13:42:34 -05:00
Joe Prochazka
b4f1ed361c
Fix for newer versions of rrdtool.
2016-12-01 13:14:18 -05:00