Wykres commitów

35 Commity (c4a58021c90a50ec5a3c2470424350fcaf7c475f)

Autor SHA1 Wiadomość Data
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 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 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 d2688336e4 Change cache date from hidden to created 2020-03-21 04:52:11 +01:00
Tomasz Golinski f13f9782a1 Add timeout of 5s to Okapi connections 2020-03-21 04:00:19 +01:00
Tomasz Golinski 8edb4893f0 Fetch cache status 2020-03-06 10:55:57 +01:00
Tomasz Golinski 9a25aa1f33 Cache codes on OCde can be 7 chars long... 2020-02-29 23:20:03 +01:00
Tomasz Golinski d961ae6dab Fix a bug reintroduced while changing the containers: need to use set for codes to get rid of duplicates 2020-02-29 23:05:11 +01:00
Tomasz Golinski 3c2d9962d1 Get rid of explicit values of 500 and 1000 as max number of items per request in Okapi 2020-02-29 02:18:01 +01:00
Tomasz Golinski fc98a0a858 Fetch information if the cache was recommended by the user from Okapi 2020-02-29 02:14:31 +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 f4c861867a clang-format 2020-02-17 21:27:51 +01:00
Tomasz Golinski 397eaf415f Change raw loop to std::algorithm find_if 2020-02-16 19:06:23 +01:00
Tomasz Golinski 2ab560f172 CPPCHECK: Change arguments to references, add some consts 2020-02-11 17:34:23 +01:00
Tomasz Golinski c59e01b556 Fix a problem when a cache had two "found" logs by the same user
Okapi produces an error if a cache code appers twice in a request. Simply replace a std::vector by std::map.
2020-01-28 04:49:11 +01:00
Tomasz Golinski e6dc8e930a Fill out correctly the source of a cache 2020-01-25 16:49:32 +01:00
Tomasz Golinski 5296e11a21 Add stats based on recommendations 2020-01-25 16:12:29 +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 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 Goliński 83273c8af4 Fix broken OKApi code 2019-11-10 14:59:31 +01:00
Tomasz Goliński 1f5338ffd2 Refactor code around textual data field in Cache class 2019-11-09 14:37:48 +01:00
Tomasz Goliński 08464564ee Add display of cache sizes 2019-11-08 22:50:21 +01:00
Tomasz Goliński ccf2ec1f28 Add histogram for years 2019-11-07 18:07:22 +01:00
Tomasz Goliński 53dc1f1c57 Add support from histograms sorted by first key and apply it to get month histogram 2019-11-07 17:45:55 +01:00
Tomasz Goliński 7aa45dc1cb Since C++ doesn't allow nesting pointers to members of a class, the simplest way to get a histogram for date components was to duplicate some of them as plain members
At the same time it was possible to convert month number to name.
2019-11-07 17:25:17 +01:00
Tomasz Goliński 6ccd8fcbcb Add date of find to Cache structure. Update OKApi source to grab it. It is not the cleanest solution possible.
Maybe Caches should be a std::map, not std::set...
2019-11-05 20:39:33 +01:00
Tomasz Golinski 6ba1da6203 Silence unused variable/parameter warnings 2019-10-06 02:58:24 +02:00
Tomasz Golinski 36eaed4953 Minor restruct 2019-10-04 00:23:03 +02:00
Tomasz Golinski dc91a5c1ed Possibility to apply changelogs grabbed from OKapi 2019-10-01 01:49:25 +02:00
Tomasz Golinski 1942df93e5 Fetch regions and print out histogram 2019-09-12 13:58:54 +02:00
Tomasz Golinski 25b407f02f Add an option to print out histograms of owners/types/services 2019-09-11 19:48:03 +02:00
Tomasz Golinski 3218af8d99 Minor cleanup 2019-09-10 14:03:01 +02:00
Tomasz Golinski 54e240f910 Initial commit 2019-09-08 19:13:06 +02:00