Wykres commitów

358 Commity (master)

Autor SHA1 Wiadomość Data
Tomasz Golinski 81bf5a09cd Change table width to 900px 2024-04-01 12:41:56 +02:00
Tomasz Golinski 4efce13974 Merge remote-tracking branch 'origin/master' 2023-12-24 23:40:36 +01:00
Tomasz Golinski 26d3bc56d2 Trivial cppcheck fixes 2023-12-24 23:38:55 +01:00
Tomasz Golinski 48e43613d1 clang-format 2023-09-25 19:01:46 +02:00
Tomasz Golinski 816c94049a Add some constexpr to some functions 2023-09-25 18:35:05 +02:00
Tomasz Golinski 10c9aee6f2 Rearange geofriends output 2023-09-01 14:47:34 +02:00
Tomasz Golinski 48f92e64d8 Maybe it makes sense to use later of date_created and date_hidden? And what about events in the future? 2023-08-31 23:19:58 +02:00
Tomasz Golinski 2e08a99d20 Sort FTFs by find date, add events, use date_hidden 2023-08-31 22:13:21 +02:00
Tomasz Golinski 2a2a77caf3 Some cppcheck fixes 2023-08-30 22:43:49 +02:00
Tomasz Golinski 868b62bb2e Further refactor and simplifications 2023-08-30 17:01:22 +02:00
Tomasz Golinski 3f109a7047 Move around some consts, comment out code unused for now 2023-08-30 15:53:47 +02:00
Tomasz Golinski 03b8952fac Update config_user_example.h according to last refactor 2023-08-30 15:13:35 +02:00
Tomasz Golinski ee0704c539 Fix daylight saving problems
std::get_time doesn't set daylight saving time information, it causes various problems with std::mktime later on causing drifts of +/- 1h
2023-08-30 15:10:54 +02:00
Tomasz Golinski c584c33e07 Code refactor, split out class User, deduplicate some code 2023-08-30 00:36:06 +02:00
Tomasz Golinski 653e1c31c6 Fix stupid mistake in previous commit 2023-03-27 20:56:01 +02:00
Tomasz Golinski 2801ac29f1 Ugly fix for traildb: increase hardcoded trails limit, change output files names, install binary 2023-03-27 20:51:41 +02:00
Tomasz Golinski ccfcef272b Ugly fix for powertrails: do not display less than zero values 2023-03-27 20:50:40 +02:00
Tomasz Golinski dc6d088479 Add maps of a few cities for testing 2023-01-31 01:36:26 +01:00
Tomasz Golinski bde35a83b4 Fix FTF code, I don't know what changed, was cache_id really reported as string before? 2022-09-30 21:29:08 +02:00
Tomasz Golinski fdce7bc17c Cppcheck: add some consts 2022-09-01 17:23:29 +02:00
Tomasz Golinski 6cbd0e6efa Do not install extra files for now 2022-07-20 15:01:03 +02:00
Tomasz Golinski 5573a6d929 Try to prepare standalone library to hold common code 2022-07-20 14:22:11 +02:00
Tomasz Golinski d4d8011be1 Add some more data to powertrails table 2022-07-18 22:13:27 +02:00
Tomasz Golinski 30d38d8fc4 Precompute treshold for powertrails, note rounding is always up 2022-07-18 22:12:31 +02:00
Tomasz Golinski 6706ef9898 Grab more data about powertrails (type, active caches) 2022-07-18 19:36:46 +02:00
Tomasz Golinski 637a637626 Move constants around 2022-07-18 19:05:52 +02:00
Tomasz Golinski d33957af6c Fix segfault in traildb by fixing shallow copy of PowertrailDB 2022-07-18 19:00:48 +02:00
Tomasz Golinski add9b37d2a Fix rounding and optimize code a bit 2022-07-15 20:26:07 +02:00
Tomasz Golinski 70499296d7 clang-format 2022-07-14 14:47:15 +02:00
Tomasz Golinski d00a852295 Move some constants (like urls) to common.h 2022-07-14 14:39:47 +02:00
Tomasz Golinski 277cdc058e Protect OCpl only features like FTF and trails with if, so they don't appear for other users 2022-07-14 14:27:22 +02:00
Tomasz Golinski 91d250cb3a Replace trails histogram with a table and add some convenience functions to powertrail.h 2022-07-14 14:23:30 +02:00
Tomasz Golinski 68813370b0 Apparently some OC sites store internal_id as a string (e.g. OCde) 2022-07-13 21:22:11 +02:00
Tomasz Golinski 3d5887218b Add links in histogram of powertrails 2022-07-13 19:52:55 +02:00
Tomasz Golinski 5cc8291488 Add some more uint 2022-07-13 19:40:26 +02:00
Tomasz Golinski 6de198b9c6 Templates for common functions like average or sum 2022-07-13 18:56:48 +02:00
Tomasz Golinski d673bdd7b9 cppcheck partial cleanup 2022-07-13 18:37:55 +02:00
Tomasz Golinski 89e9b4d8c6 Change some int to uint and thus silence warnings 2022-07-13 18:30:26 +02:00
Tomasz Golinski 87b35c5594 Try to write each "see more" entry in new line 2022-07-13 17:48:27 +02:00
Tomasz Golinski 54b077de6d Include list of FTFs 2022-07-13 01:11:44 +02:00
Tomasz Golinski fc0372a887 Minor style updates 2022-07-12 12:55:11 +02:00
Tomasz Golinski ffa05441c7 Rudimentary power trail support
Relies on pre-existing JSON databases generated by traildb. Note that completion of trail is calculated basing on current treshold and number of caches.
2022-07-12 12:54:56 +02:00
Tomasz Golinski fd8ceea907 Make explicit conversion to string in JSON parsing
For some reason old code no longer works, but including explicit request for string fixes the problem.
2022-05-16 21:11:43 +02:00
Tomasz Golinski 59d8b7007c Fix debug so that multithreaded output doesn't overlap (not needed here, just for consistency with other projects) 2021-10-07 14:58:52 +02:00
Tomasz Golinski dcaa8fbf71 Merge branch 'master' of gitlab.com:tomaszg/geostat 2021-09-05 19:47:19 +02:00
Tomasz Golinski c29f97546a Add distance to the Moon 2021-09-05 19:47:13 +02:00
Tomasz Golinski 47f7edf3bc Add countries histogram 2021-09-05 19:44:44 +02:00
Tomasz Golinski dc1bcdb009 Add per row completion percentage to some tables 2021-09-05 19:36:33 +02:00
Tomasz Golinski c133eb70ca Comment out highest rating table, it's rather pointless. 2021-08-08 19:18:51 +02:00
Tomasz Golinski f4dd497639 Add region info to tables. 2021-08-08 19:15:12 +02:00