Commit Graph

459 Commits

Author SHA1 Message Date
Matthias Wirth
dafba9971c always load type / reg for pTracks from client side db even with server side db 2023-12-06 22:50:40 +01:00
Katia Esposito
2f5541ebe6 Remove route spam 2023-10-14 08:24:15 +02:00
Dirk Hohndel
fe7a522a64 remove unnecessary and misleading header
This has nothing to do with CORS. There is no need for this header.

This should address a change requested by Ramon (@kx1t)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-10-14 08:23:14 +02:00
Matthias Wirth
a84872257f sync up webgl / non webgl outlineWidth better
decrease default outline width by 10%
2023-08-17 07:25:30 +02:00
Dirk Hohndel
05d1e0f0d4 only have one route check API call in flight
As requested by the API server maintainer, this will keep unresolved
callsigns queued until the previous API request has been completed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-20 04:52:22 +02:00
Dirk Hohndel
86aeaa96d9 lower the route API wait to 1 second
With the limit of 100 callsigns per API call, sending these
requests every second should create a more responsive experience
while still not overloading the server.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-10 17:24:56 +02:00
Dirk Hohndel
657c3f6437 prevent bursts to the route API
Never send more than 100 callsigns to the route server. If there
are more queued up (for example on an aggregator when the user
zooms out), they are sent in batches of 100 callsigns every 10
seconds.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-10 17:24:56 +02:00
Matthias Wirth
77ca5c7f5d some adjustments to the routeset merge 2023-04-18 18:29:53 +02:00
Matthias Wirth
ba61924a02 Merge branch 'routesets' of https://github.com/dirkhh/tar1090 2023-04-18 18:04:00 +02:00
Jonathan Jackson
895e19150a fix undefined variable (wrong case) 2023-04-01 16:15:38 +02:00
Dirk Hohndel
ef3d383a30 show implausible routes
Feedback was to show routes that seem implausible and simply clearly mark them.
Hopefully two leading questionmarks is sufficient.

I haven't figured out how to add a link to a page where people could suggest an
update for the data.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-03-21 13:57:01 -07:00
Dirk Hohndel
166e03c604 show IATA airport codes
The ICAO codes are not as commonly used and less familiar to many people.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-03-21 13:55:24 -07:00
Dirk Hohndel
91585be45d add some limited logging
This shouldn't be too verbose, but should help us understand
what's going on.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-03-21 07:54:48 -07:00
Dirk Hohndel
98dc25d5fe Add ability to download route information from an API server
This collects the callsigns in question in batches - the first one
after 5 seconds, after that every 10 seconds, and calls a (configurable)
backend server. This server can be run locally or a public server can be
used - right now this is configured for api.adsb.lol.

The feature is turned off by default.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-03-21 07:48:06 -07:00
Matthias Wirth
db1bbc9c85 support updating db features without aircraft going out of view or
reloading the page
2022-10-05 08:24:59 +02:00
Matthias Wirth
7b8fb3286e message rate / binCraft mods 2022-09-16 12:58:24 +02:00
Matthias Wirth
7f86b207ca fix aircraft disappearing when deselecting in replay mode 2022-09-07 17:37:27 +02:00
Matthias Wirth
6e4ddbeee4 fix trace display error when addrtype null 2022-09-06 23:34:19 +02:00
Matthias Wirth
ed0c43fe3b avoid unnecessary trace draws 2022-09-05 16:47:34 +02:00
Matthias Wirth
995d60f76b fix callsign filter 2022-09-04 13:40:42 +02:00
Matthias Wirth
3ef0cdd6b3 more filters
overhaul filter system
2022-09-03 20:11:06 +02:00
Matthias Wirth
2b7949090f uat bias variable
show dual source UAT data in preference when setting that in config.js
2022-08-28 08:42:26 +02:00
Matthias Wirth
80acc40f4e properly update features after processing trace 2022-08-11 20:04:46 +02:00
Matthias Wirth
45ce321a81 minor fixes 2022-08-08 23:40:01 +02:00
Matthias Wirth
70cd38d9a5 icaofilter 2022-08-08 23:17:57 +02:00
Matthias Wirth
5f147ed3d8 make callsigns persist for 30 minutes in the webinterface
if no new callsign is broadcast
2022-08-04 09:26:54 +02:00
Matthias Wirth
7742c0ceaf max dist for ptracks 2022-08-02 12:52:56 +02:00
Matthias Wirth
33747c1e3c misc stuff 2022-08-01 02:03:06 +02:00
Matthias Wirth
441c0e8398 configurable seenTimeout 2022-08-01 00:45:08 +02:00
Matthias Wirth
53b6ebdb51 delay type_cache loading 2022-07-31 23:59:58 +02:00
Matthias Wirth
3be811f66d tweak noinfotimeout 2022-07-29 17:39:09 +02:00
Matthias Wirth
dc2af3d243 fix aircraft not being cleared off the map 2022-07-26 13:40:26 +02:00
Matthias Wirth
1132d1af70 make remakeTrails redraw trail immediately again 2022-07-25 15:19:43 +02:00
Matthias Wirth
3ef92e98fe don't "round" ground / null alt colors 2022-07-25 15:10:01 +02:00
Matthias Wirth
6a20896711 no prefetch, show icons better without webgl 2022-07-25 15:07:29 +02:00
Matthias Wirth
7eac6edebe mess with stuff 2022-07-25 14:17:44 +02:00
Matthias Wirth
39ba3ee1e5 replay: fix planes showing intermittently 2022-07-25 08:42:44 +02:00
Matthias Wirth
78d23aa962 mess with line visibility when all planes are selected and on globeindex 2022-07-24 18:34:35 +02:00
Matthias Wirth
6a0f3dc01a don't deselect when plane no longer visible
not sure why that didn't trigger before
2022-07-24 18:22:59 +02:00
Matthias Wirth
a7dbef2414 remove planes (especially ADS-C) if no info from server for some time 2022-07-24 18:19:43 +02:00
Matthias Wirth
250d7fcf3e remove some redundancy in visibility updating logic 2022-07-24 17:47:54 +02:00
Matthias Wirth
8d8e3f410b fix releaseMem ...
this time without flashing icons
2022-07-24 09:02:37 +02:00
Matthias Wirth
efaf88795a fix icon flashing / vanishing 2022-07-24 00:48:54 +02:00
Matthias Wirth
aa285ef6ca reduce checkforDB() churn a bit 2022-07-23 21:36:51 +02:00
Matthias Wirth
57a14bac42 dbloader: replace jquery.Deferred() with a native promise object
thought this would improve memory usage, it doesn't
2022-07-23 19:01:40 +02:00
Matthias Wirth
59096a565a maybe reduce mem leaks 2022-07-23 15:27:08 +02:00
Matthias Wirth
fa52fe3b9a trace stuff 2022-07-20 17:09:39 +02:00
Matthias Wirth
f653654576 trace stuff 2022-07-20 09:48:14 +02:00
Matthias Wirth
4eb0d607b6 so apparently this was still broken, fix it
fixes: https://github.com/wiedehopf/tar1090/issues/111
2022-07-19 18:39:13 +02:00
Matthias Wirth
aad646dd43 fix speed in dump1090-mutability #2
(don't use that old software)

fixes: https://github.com/wiedehopf/tar1090/issues/111
2022-07-14 17:01:37 +02:00