Tomasz Golinski
72dc1292da
clang-format
2020-08-06 23:58:14 +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
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
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
c1958baa11
Initial support for processing owned cache lists
2020-08-01 23:00:50 +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
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
3d33de5a23
Simplify streak calculations
2020-07-06 18:29:23 +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
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
ba8efbda97
Reorder stats on the page
2020-05-03 23:14:37 +02:00
Tomasz Golinski
566ca7db22
A bit of frames to contain the timeline
2020-05-03 01:39:17 +02:00
Tomasz Golinski
a4a90d0fc9
Merge subregions into regions histogram by nesting it inside
2020-05-03 01:26:03 +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
0727ad0b17
Reenable debug option for geostat, even though it get mixed in with html
2020-04-03 02:18:57 +02:00
Tomasz Golinski
8add963fed
Fix the counter for the tables broken a few commits ago
2020-03-30 02:20:38 +02:00
Tomasz Golinski
babd56a70f
Do not include in the tables days that are not in the calendar
2020-03-30 02:10:56 +02:00
Tomasz Golinski
dcbd57e22e
Minor textual update
2020-03-30 01:59:10 +02:00
Tomasz Golinski
fe16f07dd7
Fix a mess caused by coping too big block of code
2020-03-21 05:02:23 +01:00
Tomasz Golinski
1c2bcf0cdc
Add a reasonably working caching timeline
2020-03-21 04:52:52 +01:00
Tomasz Golinski
120f083749
Remove unused variable from table generation code
2020-03-21 03:52:28 +01: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
1ad7ab0399
Add some semantic html5 tags
2020-03-19 18:31:55 +01:00
Tomasz Golinski
0c67ff047c
Fix float output format
2020-03-13 20:53:17 +01:00
Tomasz Golinski
12556926c6
Bump CSS pseudoversion for new detail code
2020-03-09 20:42:53 +01:00
Tomasz Golinski
3012bfba95
Make distance a float and set precision for output accordingly
2020-03-09 20:36:08 +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
542dcb013d
Print out number of archived caches
2020-03-06 10:56:11 +01:00
Tomasz Golinski
b5fc394a6e
Drop support of GPX files from geostat web version temporarily
2020-02-29 23:19:45 +01:00
Tomasz Golinski
75850d6441
Make HTML more compliant, add alt to imgs. Also fix one image url
2020-02-29 13:40:32 +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
f4547a2737
Change doctype to html5
2020-02-29 02:45:35 +01:00
Tomasz Golinski
2ed5aa1dfa
Add a class to links of recommended caches, show a star via CSS
2020-02-29 02:39:50 +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
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
c2532a181e
Sanity check for trail
2020-02-23 03:52:30 +01:00
Tomasz Golinski
8e0909a64c
Shorted html output of date
2020-02-23 03:05:36 +01:00
Tomasz Golinski
87d8277922
Add info about time range to html, update README.md
2020-02-23 02:42:25 +01:00
Tomasz Golinski
2be5e5b143
Add option to limit time for computed statistics
2020-02-23 02:26:23 +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
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
bada68f34c
Don't compute unnecessary things when looking for caches not found
2020-02-17 00:37:03 +01:00
Tomasz Golinski
ea14939ac3
A bit of CSS polish - add gradients to histograms, use <th> instead of extra classes, use nth child
2020-02-07 15:20:38 +01:00
Tomasz Golinski
7c2b751f16
Fix missing arg check in geostat
2020-02-02 12:53:51 +01:00
Tomasz Golinski
9acc262739
Not sure it makes sense, but draw a path connecting caches
2020-02-02 12:27:32 +01:00
Tomasz Golinski
4bf03ddfa3
Add most/least found caches and some columns to other tables
2020-02-01 12:36:39 +01:00
Tomasz Golinski
e8c4c5bd3c
Align logos vertically
2020-02-01 12:20:51 +01:00
Tomasz Golinski
fe0e6e7c4d
Add OC images with flags
2020-01-31 14:37:11 +01:00
Tomasz Golinski
5974dbc382
Fix OC profile links
2020-01-31 14:37:00 +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
37efbff68a
Simplify collapsible code a bit.
...
Needs checking how to get rid of one of the nested divs e.g. content-inner.
2020-01-28 05:59:34 +01:00
Tomasz Golinski
6e200ee00d
Fix user profile links on the top
2020-01-25 22:22:25 +01:00
Tomasz Golinski
03d6188758
Possibility to exclude quizes from not found
2020-01-25 16:34:18 +01:00
Tomasz Golinski
849eeaf1a5
Correct off-by-one error in avg distance and avoid division by zero
2020-01-25 16:15:21 +01:00
Tomasz Golinski
5296e11a21
Add stats based on recommendations
2020-01-25 16:12:29 +01:00
Tomasz Golinski
f5f19b3581
Fix off-by-one error in numbering of months in std::tm
2020-01-25 15:47:50 +01:00
Tomasz Golinski
6559de770f
Fix CSS header text decoration
2020-01-25 15:39:29 +01:00
Tomasz Golinski
038c2a6edb
Add matrices of hidden/found days
2020-01-25 15:36:29 +01:00
Tomasz Golinski
f23739062c
Get rid of unnecessary arrays in computation of matrices
2020-01-25 15:30:57 +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
ac7a677924
Add caching days matrix
2020-01-25 13:51:22 +01:00
Tomasz Golinski
8672d9ca23
Add world map
2020-01-25 12:37:00 +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
Tomasz Golinski
3234258bca
Use reference instead of pointer in class Heat constructor, add an assert
2020-01-25 11:44:29 +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
ccf444edeb
Fix find_streak() for the case of streak=1
2020-01-15 20:49:12 +01:00
Tomasz Golinski
958834553c
Some formatting and clang-format
2020-01-04 19:27:04 +01:00
Tomasz Golinski
e3087f3695
Include link to user profile in HTML output
2020-01-04 19:24:00 +01:00
Tomasz Golinski
b45b329003
Fix command line switch -N
2020-01-04 19:14:29 +01:00
Tomasz Golinski
12e292200c
Some formatting in HTML
2020-01-04 18:47:04 +01:00
Tomasz Golinski
74eadf16ec
Add computation of longest caching streak
2020-01-04 18:33:53 +01:00
Tomasz Golinski
257fd39c6f
Fix wrong CSS selectors causing bleeding of footer link atributes to other links
2020-01-02 01:20:10 +01:00
Tomasz Golinski
cdf0e63a7c
Add a footer to results HTML page
2020-01-02 00:54:01 +01:00
Tomasz Golinski
1c3e1ec0f1
Try to support other OC servers
...
It changed options layout, so beware. It also removed an option to set debug level.
Moreover some/all services seem to need some deduplication in cache codes in their OKAPI queries.
2020-01-02 00:37:28 +01:00
Tomasz Golinski
a9d41f9382
Update README.md and usage outputs
2019-11-18 16:06:20 +01:00
Tomasz Golinski
c42361fdab
Fix CSS rule for collapsible that broke checkboxes on main page
2019-11-18 13:57:33 +01:00
Tomasz Golinski
43ad475c4a
Fix some errors in HTML code
2019-11-17 20:30:05 +01:00
Tomasz Golinski
e20dbd2f48
Show day of the week stats
2019-11-17 19:42:32 +01:00
Tomasz Goliński
ad98624734
Add fake version string to CSS
2019-11-12 02:01:35 +01:00
Tomasz Goliński
38a349e484
Add summary to D/T matrix
2019-11-11 23:33:43 +01:00
Tomasz Goliński
679eaf4092
Add collapsible list of all days
2019-11-11 23:28:37 +01:00
Tomasz Goliński
f2b6a1ad5b
Fix a typo
2019-11-11 21:12:06 +01:00
Tomasz Goliński
ab283c8672
Show number of caches in html output if "not found" is enabled
2019-11-11 21:10:58 +01:00
Tomasz Goliński
f8b78acaca
Fix: do not show stats in html output if "not found" is enabled
2019-11-11 21:05:42 +01:00
Tomasz Goliński
665c39e917
Refactor html output a bit
2019-11-10 21:03:11 +01:00
Tomasz Goliński
86de83a74c
Add some extra stats to web output
2019-11-10 20:59:21 +01:00
Tomasz Goliński
55e4953d76
CSS custom properties are fun
2019-11-09 11:32:41 +01:00
Tomasz Goliński
08464564ee
Add display of cache sizes
2019-11-08 22:50:21 +01:00