Wykres commitów

41 Commity (stationdb_debug)

Autor SHA1 Wiadomość Data
Alexander Kurpiers 0b26c7c957 Store Station Database update timestimes in the databsae itself
Previously it was stored in Settings.Default - but that is application
specific and separated from the database (so if you delete the database
the timestamps are still there).
So we store the timestamps of the web JSON source in the database itself.

There is an additional timestamp for the database itself - that is
probably not needed and should be removed.
2024-06-10 20:56:52 +02:00
Alexander Kurpiers 320a1af5a7 Revert "StationDB - hack to force QRV database update despite "correct" timestamp"
This reverts commit 61a9d160fa.
2024-06-10 20:51:59 +02:00
Alexander Kurpiers 0733419366 fix LastUpdated handling for Location and QRV
While working on the database code, I realized that QRVFindLastUpdated()
and LocationFindLastUpdated() did not actually return the LastUpdated
timestamp. These functions are used by QRVInsertOrUpdateIfNewer() and
LocationInsertOrUpdateIfNewer(). As the DateTime returned was 1970 (1)
the database was updated even if the timestamp was the same, so no
big deal.
2024-06-09 17:57:26 +02:00
Alexander Kurpiers 61a9d160fa StationDB - hack to force QRV database update despite "correct" timestamp
Currently the time stamps of the input files used for updates of the
database are stored in Settings.Default. If the database is cleared
or the stations.db3 file is deleted, the time stamps survive, as they are
stored separately.

That triggers a subtle bug: the location table is updated first and
updates the DB status.
The qrv table than checks the DB status - which is "up-to-date" - and
the timestamp - which may still be set correctly from previous updates.
The qrv table then will never be updated.

Work-around: delete QRV_Update_TimeStamp key in user.config

Hack here: make sure to fill the table if it is empty.

Correct way moving forward: the time stamp needs to go into the database
instead of Settings.Default
2024-05-01 18:57:14 +02:00
Alexander Kurpiers a397486143 StationDB - mark DB update done only if no error occured
Especially if you would cancel an update, it would be marked as complete
nevertheles, leaving the database update incomplete.
2024-05-01 18:52:01 +02:00
Alexander Kurpiers 2b29a5f2f4 StationDB fix typo in comment (no functional change) 2024-05-01 18:50:00 +02:00
Alexander Kurpiers d3f5dfa0e6 StationDB update quicker
If we sleep after every entry, database update will take ages
2024-05-01 18:48:32 +02:00
dl2alf 9916d150a8 V1.4.2.0 2023-01-30 07:00:58 +01:00
Alexander Kurpiers 05485dc1a4 ScoutBase.CAT: Make compile
ScoutBase.CAT needs INIFileParser package
2022-08-28 11:30:08 +02:00
dl2alf 0982b2d34f
Merge pull request #15 from dl2alf/V1.4
V1.4
2022-08-27 14:16:31 +02:00
dl2alf a32eb15ff5 V1.4.1.0 2022-08-27 14:13:47 +02:00
dl2alf 81f655791d
Merge pull request #2 from dl2alf/master
Merge V1.3.3.6 with V1.4.x
2022-01-03 10:51:02 +01:00
dl2alf 6fdbbcb313
Merge branch 'V1.4' into master 2022-01-03 10:50:24 +01:00
dl2alf 3131374390 Merge V1.3.3.6 with V1.4x (2) 2022-01-03 10:31:10 +01:00
dl2alf c1c1ef72f7 Merge branch 'master' of https://github.com/dl2alf/AirScout 2022-01-02 14:22:39 +01:00
dl2alf 5d83dce0a8 Merge with V1.4.x (2)V1.3.3.6 2022-01-02 14:21:52 +01:00
dl2alf f0d4484c89 Merge V1.3.3.6 with V1.4.x 2022-01-02 14:12:12 +01:00
dl2alf 8653f6f95e V1.3.3.6 Merge with V1.4.x 2022-01-02 09:22:23 +01:00
dl2alf 342219c9bb V1.4.1.0 Merge with V1.3.x 2022-01-02 09:03:27 +01:00
dl2alf c463c0ba5a V1.4.1.0 2021-12-31 09:08:48 +01:00
dl2alf 8a6f8748e5 CAT & Doppler correction 2021-12-27 16:38:17 +01:00
dl2alf 36b8938a32 V1.3.3.6 2021-12-23 17:01:43 +01:00
dl2alf 6fa8277f34 V1.3.3.6 2021-12-23 16:59:04 +01:00
dl2alf a8c7eac509 V1.3.3.6 2021-12-23 16:18:53 +01:00
dl2alf 8f3f6132d8 V1.4.0.0 2020-04-25 08:00:15 +02:00
dl2alf f46e8efd92 V1.3.3.4 2020-04-25 07:45:47 +02:00
dl2alf 6b962d23eb V1.3.3.3 2020-04-21 06:54:27 +02:00
dl2alf 09113b0c54 V1.3.3.2 2020-04-19 09:23:30 +02:00
dl2alf caad9f27c9 V1.3.3.2 2020-04-19 09:19:07 +02:00
dl2alf b5c4265ebe V1.3.3.0 2020-04-10 17:36:18 +02:00
dl2alf 51cbeabd7b V1.3.2.0 2020-03-15 15:29:02 +01:00
dl2alf c1b5b7b82e V1.3.1.0 2020-03-01 16:12:08 +01:00
dl2alf 14eeaf8ffe
Merge pull request #1 from dl8aau/master
fix hard coded path in PostBuild (make it build)
2020-03-01 11:18:44 +01:00
Alexander Kurpiers 0dac67819d fix hard coded path in PostBuild (make it build)
Use macros instead to make it portable
2020-02-16 12:25:52 +01:00
dl2alf dedfbd3a4c V1.3.0.7 2020-02-12 11:45:19 +01:00
dl2alf 0218e42825 AirScoutDatabaseManager updated 2019-03-22 08:17:11 +01:00
dl2alf 3939690be5 Tried to fix project configuration 2019-03-21 16:57:36 +01:00
dl2alf 00b34f156b Code changes in Planefeeds
Included zlib.dll project
2019-03-21 12:25:33 +01:00
dl2alf faca122f83
Create README.md 2019-03-20 14:14:21 +01:00
dl2alf 9a020ccaef Iniital upload 2019-03-19 22:09:03 +01:00
dl2alf 9b4effb8ea 🎊 Added .gitattributes & .gitignore files 2019-03-19 21:57:04 +01:00