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
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
c584c33e07
Code refactor, split out class User, deduplicate some code
2023-08-30 00:36:06 +02:00
Tomasz Golinski
d00a852295
Move some constants (like urls) to common.h
2022-07-14 14:39:47 +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
6de198b9c6
Templates for common functions like average or sum
2022-07-13 18:56:48 +02:00
Tomasz Golinski
89e9b4d8c6
Change some int to uint and thus silence warnings
2022-07-13 18:30:26 +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
ff95bc6be4
Replace long map type by correct typedef
2021-04-20 22:44:03 +02:00
Tomasz Golinski
25ae4af2a8
Add codes tag to all other matrices
2021-04-20 22:41:20 +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
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
193d6931a8
Histograms related to region data should use filtered cache list
2020-07-17 19:58:03 +02:00
Tomasz Golinski
3d33de5a23
Simplify streak calculations
2020-07-06 18:29:23 +02:00
Tomasz Golinski
37f945c70a
Add some more averages to the html output
2020-07-05 23:30:51 +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
a4a90d0fc9
Merge subregions into regions histogram by nesting it inside
2020-05-03 01:26:03 +02:00
Tomasz Golinski
d1fa8363d5
Split out simple function to check and convert a c-string to a number
2020-02-23 01:41:15 +01:00
Tomasz Golinski
2ab560f172
CPPCHECK: Change arguments to references, add some consts
2020-02-11 17:34:23 +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
113d639cda
Don't need to export helper function in common.h
2020-01-25 12:39:55 +01:00
Tomasz Golinski
560284bc9a
Use reference instead of pointer in class show_histogram
2020-01-25 12:20:41 +01:00
Tomasz Golinski
272e2903f4
Split HTML tool from command line tool to simplify the code
2020-01-25 12:05:38 +01:00