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
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
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
c584c33e07
Code refactor, split out class User, deduplicate some code
2023-08-30 00:36:06 +02:00
Tomasz Golinski
d4d8011be1
Add some more data to powertrails table
2022-07-18 22:13:27 +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
3d5887218b
Add links in histogram of powertrails
2022-07-13 19:52:55 +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
87b35c5594
Try to write each "see more" entry in new line
2022-07-13 17:48:27 +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
490714ec43
Make sure we don't crash on empty lists and we don't divide by zero
2021-01-03 04:51:54 +01:00
Tomasz Golinski
9a13be52f0
Add some consts to make cppcheck happy
2020-12-04 18:51:00 +01:00
Tomasz Golinski
900f913d50
CSS fixup to make gif centered again
2020-11-13 20:52:41 +01: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
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
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
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
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
ad30216a7f
Separate a helper function from histogram code
2020-05-03 01:17:32 +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
f4e6a3575a
Add extra class specifier also to details/summary box for histogram
2020-03-20 01:47:46 +01:00
Tomasz Golinski
62129dca09
Add extra class specifier to histograms
2020-03-19 18:31:35 +01:00
Tomasz Golinski
fe6f540bd7
Correct off-by-one error in histogram html generation
2020-03-19 17:40:43 +01:00
Tomasz Golinski
fb78f3a9b6
Remove fancy collapsible code and replace it by plain HTML5 details-summary tags
2020-03-09 13:20:49 +01:00
Tomasz Golinski
315590215f
Make HTML more compliant, dl and dd needed also dt. Easier just to use divs
2020-02-29 13:38:46 +01: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
f4c861867a
clang-format
2020-02-17 21:27:51 +01:00
Tomasz Golinski
add05af439
Change raw loop to std::algorithm copy
2020-02-16 20:17:06 +01:00
Tomasz Golinski
2ab560f172
CPPCHECK: Change arguments to references, add some consts
2020-02-11 17:34:23 +01:00
Tomasz Golinski
bc00c5cbd8
Remove :
2020-01-31 14:38:06 +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
f56b8a7c33
Make others in histogram a collapsible
2020-01-28 05:59:53 +01:00
Tomasz Golinski
bbb6ed0301
Add a missing include
2020-01-28 05:59:04 +01:00
Tomasz Golinski
7a1502dae9
Include count in other list in histogram
2020-01-25 13:24:43 +01:00
Tomasz Golinski
8bf2411ebd
Fix streak computation again
2020-01-25 12:51:11 +01:00
Tomasz Golinski
113d639cda
Don't need to export helper function in common.h
2020-01-25 12:39:55 +01:00