Tomasz Golinski
a98472eb1c
SQL: update comments with database layout
2021-01-03 03:00:42 +01:00
Tomasz Golinski
6aa8e1426e
SQL: change cache status to integer using pre-existing enum
2021-01-03 03:00:42 +01:00
Tomasz Golinski
e23fdcfcb8
Fix function to grab only ratings from OKapi - should use simpler OKapi call
2020-12-04 18:54:50 +01:00
Tomasz Golinski
9a13be52f0
Add some consts to make cppcheck happy
2020-12-04 18:51:00 +01:00
Tomasz Golinski
6b88624da6
Support in geodb for ocde and ocus
2020-11-14 18:46:03 +01:00
Tomasz Golinski
19df0988be
Update README.md
2020-11-14 18:30:16 +01:00
Tomasz Golinski
706e9d9436
Merge branch 'master' of gitlab.com:tomaszg/geostat
2020-11-13 20:52:45 +01:00
Tomasz Golinski
900f913d50
CSS fixup to make gif centered again
2020-11-13 20:52:41 +01:00
Tomasz Golinski
7b2a64e2ef
Use filtered cache list for animation
2020-11-13 20:05:28 +01:00
Tomasz Golinski
f0b18db02d
Use stamp size for size of a dot in animation
2020-11-13 19:58:49 +01:00
Tomasz Golinski
baa4a51400
Try to use <gif-player> to control gif playback
...
From https://github.com/CaptainCodeman/gif-player
2020-11-13 19:51:09 +01:00
Tomasz Golinski
9f5e87e603
Fix another Imagemagick problem
...
Apparently IM doesn't set background color on newly created image.
2020-11-02 21:41:14 +01:00
Tomasz Golinski
f3020c4bfa
Fix compilation with Imagemagick
...
Imagine that, Imagemagick doesn't follow its own API documentation. They introduced an enum but forgot to update docs... Worked fine with Graphicsmagick though.
2020-11-02 21:11:50 +01:00
Tomasz Golinski
155943a6c9
Initial support for animated GIFs instead of heatmaps
2020-11-02 21:01:27 +01:00
Tomasz Golinski
32e1053c6b
geofriends: add missing okapi bits
2020-10-31 21:51:25 +01:00
Tomasz Golinski
b52f0f23e6
geofriends: heat-style css for 'progressbar'
2020-10-31 21:49:48 +01:00
Tomasz Golinski
c81912b4b3
geofriends: add a 'progressbar'
2020-10-31 21:20:45 +01:00
Tomasz Golinski
15b7949559
Not-found caches: add powiaty
2020-09-06 19:51:14 +02:00
Tomasz Golinski
5e7a4a8a4b
Owned caches: average finds per cache per day
2020-09-06 19:44:34 +02:00
Tomasz Golinski
ef334790f4
Add a missing bit to the previous commit (show caches by rating)
2020-08-28 18:58:52 +02:00
Tomasz Goliński
0a86f18d7e
Function to grab only ratings from OKapi
2020-08-28 18:42:54 +02:00
Tomasz Goliński
cf48fc55c8
Display rating stats
2020-08-28 18:40:48 +02:00
Tomasz Goliński
e6909c1575
Get ratings from OKapi
2020-08-28 17:38:28 +02:00
Tomasz Goliński
3a3c275954
Add -O option to usage screen
2020-08-28 17:35:19 +02:00
Tomasz Golinski
5c37309c3d
Fix a bug introduced while reworking ocdb code
2020-08-18 12:28:15 +02:00
Tomasz Golinski
70d6da5747
Minor cppcheck fixes
2020-08-07 00:02:11 +02:00
Tomasz Golinski
72dc1292da
clang-format
2020-08-06 23:58:14 +02:00
Tomasz Golinski
c4a58021c9
Remove unused variable
2020-08-06 23:51:29 +02:00
Tomasz Golinski
1c5f7bfe98
Escape username in CURL requests
2020-08-06 21:53:27 +02:00
Tomasz Golinski
8c2d633a51
Restructure CURL code. There is no need to initialize CURL handle for each request, it can be reused.
2020-08-06 21:53:13 +02:00
Tomasz Golinski
b9f611f0b1
Drop unneeded reference to GPX files.
2020-08-06 21:14:10 +02:00
Tomasz Golinski
1cb10f3ce2
Move code for printing out header html to common.h
2020-08-06 21:13:40 +02:00
Tomasz Golinski
ea4be4b4fe
Add geofriends tool to compute stats related to interaction of two given users
2020-08-06 16:56:01 +02:00
Tomasz Golinski
6cb9b771f8
Move code for printing out footer html to common.h
2020-08-06 16:54:11 +02:00
Tomasz Golinski
e96a2ded1e
Add some total counts to owned caches stats
2020-08-05 02:37:38 +02:00
Tomasz Golinski
2ef585d4a0
Compute more statistics for owned caches thanks to Okapi update call
2020-08-05 02:27:17 +02:00
Tomasz Golinski
9215f6ace9
Okapi function to update list of caches with full data.
...
Maybe SQL request to db should be made slimmer by using this function.
2020-08-05 02:26:40 +02:00
Tomasz Golinski
c7d0ae948a
Protect timeline computation from division by zero
2020-08-05 02:25:06 +02:00
Tomasz Golinski
3ad92da629
Forgot to close one div
2020-08-05 01:48:23 +02:00
Tomasz Golinski
7e3e9adb56
OCdb: get name for found and owned caches, don't get it for not found.
2020-08-05 01:32:32 +02:00
Tomasz Golinski
c1958baa11
Initial support for processing owned cache lists
2020-08-01 23:00:50 +02:00
Tomasz Golinski
3c188ca1ff
Add function to get owned caches from local db
2020-08-01 22:14:02 +02:00
Tomasz Golinski
aea061b968
Geostat_cli should also parse region data
2020-07-17 19:58:47 +02:00
Tomasz Golinski
193d6931a8
Histograms related to region data should use filtered cache list
2020-07-17 19:58:03 +02:00
Tomasz Golinski
f03e3345f7
Increase a bit verbosity in geostat_cli cache list by adding region info
2020-07-17 19:56:58 +02:00
Tomasz Golinski
7e95d1fbce
Turns out std::fixed modificator was not needed and was messing up other floats
2020-07-13 22:09:11 +02:00
Tomasz Golinski
9148516ac6
Fix a trivial bug with fixed point average calculation introduced by careless copying a few commits below
2020-07-06 18:39:52 +02:00
Tomasz Golinski
3d33de5a23
Simplify streak calculations
2020-07-06 18:29:23 +02:00
Tomasz Golinski
c97c017ecc
Cppcheck: fix argument name mismatch
2020-07-06 17:15:53 +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