Tomasz Golinski
89e9b4d8c6
Change some int to uint and thus silence warnings
2022-07-13 18:30:26 +02:00
Tomasz Golinski
54b077de6d
Include list of FTFs
2022-07-13 01:11:44 +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
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
f262101468
Might as well use M_PI instead of defining our own
2021-01-03 05:51:33 +01:00
Tomasz Golinski
5e7a4a8a4b
Owned caches: average finds per cache per day
2020-09-06 19:44:34 +02:00
Tomasz Goliński
e6909c1575
Get ratings from OKapi
2020-08-28 17:38:28 +02:00
Tomasz Golinski
de2beddbee
Cppcheck: remove get_lat_lon function in Api class and morph it into a constructor of Position class
2020-07-06 17:15:28 +02:00
Tomasz Golinski
cc8415d258
Cppcheck: make sure some struct members are initialized
2020-07-06 13:57:51 +02:00
Tomasz Golinski
37f945c70a
Add some more averages to the html output
2020-07-05 23:30:51 +02:00
Tomasz Golinski
7d9e978543
Initial support for reverse-geocoding for Poland - data about powiaty.
2020-04-03 02:23:16 +02:00
Tomasz Golinski
cfd521b43c
Add (disabled) histogram with caching timeline.
...
Disabled since it gets too wide for old users. Maybe it would be better to css style a table to become a histogram.
2020-03-20 03:28:20 +01:00
Tomasz Golinski
8edb4893f0
Fetch cache status
2020-03-06 10:55:57 +01:00
Tomasz Golinski
8d548e7002
Extract snippet for writing a HTML version of cache name with link to separate function
2020-02-29 02:26:43 +01:00
Tomasz Golinski
fc98a0a858
Fetch information if the cache was recommended by the user from Okapi
2020-02-29 02:14:31 +01:00
Tomasz Golinski
1a3a7e0747
Change containers used to store caches. std::set didn't allow to change elements inside and it was the easiest way to deal with extra data from the logs.
2020-02-29 02:04:55 +01:00
Tomasz Golinski
f28ca37ee1
Another overkill, store datas in Cache class also as std::time_t (timestamp), makes it simpler afterwards without the need to convert back and forth
2020-02-23 02:00:29 +01:00
Tomasz Golinski
59a5b4423d
Do a more thorough html escaping in cache names and user nicks
2020-01-28 06:13:11 +01:00
Tomasz Golinski
5296e11a21
Add stats based on recommendations
2020-01-25 16:12:29 +01:00
Tomasz Golinski
74f220302c
Redo cache list style and add stats related to hidden date
2020-01-25 15:26:14 +01:00
Tomasz Golinski
a5abf529bb
Make more stats use only filtered list of caches in a consistent way
2020-01-25 11:40:56 +01:00
Tomasz Golinski
c72de14d78
Add extra "const"
2020-01-04 18:26:07 +01:00
Tomasz Golinski
e20dbd2f48
Show day of the week stats
2019-11-17 19:42:32 +01:00
Tomasz Goliński
86de83a74c
Add some extra stats to web output
2019-11-10 20:59:21 +01:00
Tomasz Goliński
1f5338ffd2
Refactor code around textual data field in Cache class
2019-11-09 14:37:48 +01:00
Tomasz Goliński
4c9995dccf
Lambdafy some comparison functions
2019-11-07 18:00:05 +01:00
Tomasz Goliński
7aa45dc1cb
Since C++ doesn't allow nesting pointers to members of a class, the simplest way to get a histogram for date components was to duplicate some of them as plain members
...
At the same time it was possible to convert month number to name.
2019-11-07 17:25:17 +01:00
Tomasz Goliński
6ccd8fcbcb
Add date of find to Cache structure. Update OKApi source to grab it. It is not the cleanest solution possible.
...
Maybe Caches should be a std::map, not std::set...
2019-11-05 20:39:33 +01:00
Tomasz Goliński
91fc2ff7e4
Support for HTML output together with a sample CSS style
2019-11-04 21:13:20 +01:00
Tomasz Golinski
10b4562ac0
Set numerical fields in Cache class to zero by default
2019-10-21 15:10:18 +02:00
Tomasz Golinski
1942df93e5
Fetch regions and print out histogram
2019-09-12 13:58:54 +02:00
Tomasz Golinski
25b407f02f
Add an option to print out histograms of owners/types/services
2019-09-11 19:48:03 +02:00
Tomasz Golinski
6f440ed97e
Make it easier to support other map backgrounds, added Europe map
2019-09-08 22:22:14 +02:00
Tomasz Golinski
54e240f910
Initial commit
2019-09-08 19:13:06 +02:00