Wykres commitów

358 Commity (master)

Autor SHA1 Wiadomość Data
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
Tomasz Golinski 67d05f0742 Cppcheck: use more STD algorithms instead of loops 2020-07-06 17:06:59 +02:00
Tomasz Golinski f2b0be9e99 Cppcheck: decrease variable scope 2020-07-06 17:06:40 +02:00
Tomasz Golinski 750d620223 Cppcheck: add explicit to some constructors in region.h 2020-07-06 13:59:11 +02:00
Tomasz Golinski cc8415d258 Cppcheck: make sure some struct members are initialized 2020-07-06 13:57:51 +02:00
Tomasz Golinski c8d6c6f3fc Cppcheck: change argument to reference 2020-07-06 13:56:59 +02:00
Tomasz Golinski 99e322d2a3 Cppcheck: simplify condition 2020-07-06 13:46:43 +02:00
Tomasz Golinski a2e4fd3acf Add caching days per month timeline 2020-07-06 00:01:26 +02:00
Tomasz Golinski 37f945c70a Add some more averages to the html output 2020-07-05 23:30:51 +02:00
Tomasz Golinski 0c511abb5e Cleanup related to previous commit 2020-06-04 00:11:37 +02:00
Tomasz Golinski 23f5a7dd46 Variable was not reset correctly for counting entries in DT matrix 2020-06-04 00:06:49 +02:00
Tomasz Golinski 527c3f6ea0 Show a completion percentage for regions on not-found stats page 2020-06-03 00:30:05 +02:00
Tomasz Golinski 38c3fc56ef Add a way to show histogram from data prepared beforehand 2020-06-03 00:26:45 +02:00
Tomasz Golinski 942c52b998 OCDB: Function to get cache count for regions 2020-06-03 00:24:54 +02:00
Tomasz Golinski fe071c6e67 OCDB: Was there any sane reason why it was commented out? 2020-06-03 00:24:02 +02:00
Tomasz Golinski 3b232142b4 OCDB: Prevent data bleeding through from one cache to another 2020-06-03 00:21:31 +02:00
Tomasz Golinski cc40e470ea Move debug output from cout to cerr not to mess up generated HTML 2020-06-03 00:19:19 +02:00
Tomasz Golinski 3901dfafc7 Add region histogram for caches not found 2020-05-24 16:56:10 +02:00
Tomasz Golinski 6d1852c4f7 Make a top banner a link to the top page 2020-05-24 14:30:31 +02:00
Tomasz Golinski 07a49306bb Fix installation paths for subfolders 2020-05-24 14:14:57 +02:00
Tomasz Golinski cf38881248 gpxlib now supports pkgconfig, so we can use it 2020-05-20 13:57:59 +02:00