1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00
Commit Graph

190 Commits

Author SHA1 Message Date
Ferdinand Mütsch
964405f349 chore: refine report scheduling 2022-12-01 10:57:51 +01:00
Ferdinand Mütsch
21f6809f05 refactor: split utility functions into utils and helpers 2022-12-01 10:57:07 +01:00
Ferdinand Mütsch
c13fc96a16 refactor: use job queue for data imports 2022-11-20 11:09:51 +01:00
Ferdinand Mütsch
99e50b1062 chore: logging 2022-11-20 10:12:34 +01:00
Ferdinand Mütsch
fcca881cfc refactor: move more background jobs to using job queue 2022-11-20 10:10:24 +01:00
Ferdinand Mütsch
e2ef54152d refactor(wip): introduce job processing system
refactor: adapt report generation scheduling
2022-11-19 22:21:51 +01:00
xiecang
ae407fffca fix: ignore error "starttls command has been already sent" 2022-11-16 12:29:20 +08:00
Ferdinand Mütsch
94e0d06e5d fix: user agents and machine names in wakatime import 2022-11-15 23:53:30 +01:00
Ferdinand Mütsch
4cc8c21f67 fix: importing data from wakapi instance (resolve #428) 2022-11-13 19:27:44 +01:00
Ferdinand Mütsch
efd6ba36e3 fix: errors during leaderboard generation 2022-10-20 08:33:12 +02:00
Ferdinand Mütsch
b1d7f87095 chore: add maximum default leaderboard length 2022-10-19 18:28:30 +02:00
Ferdinand Mütsch
ffbcfc7467 fix: cache key 2022-10-19 17:23:40 +02:00
Ferdinand Mütsch
41f6db8f34 feat(wip): leaderboard pagination (resolve #417) [ci-skip] 2022-10-16 19:38:43 +02:00
Ferdinand Mütsch
1632cea949 fix: clear leaderboard after user opted out 2022-10-06 14:52:06 +02:00
Ferdinand Mütsch
a27fe04919 feat: leaderboard aggregation functionality
feat: leaderboard ui design
2022-10-03 23:53:47 +02:00
Ferdinand Mütsch
dba4da8641 chore: caching for leaderboard 2022-10-02 10:31:01 +02:00
Ferdinand Mütsch
4a22a19cb0 chore: generate leaderboard when enabled in user settings 2022-10-02 10:13:39 +02:00
Ferdinand Mütsch
13a3d9f03a feat: leaderboard generation and querying 2022-10-02 00:01:39 +02:00
Ferdinand Mütsch
c5da5e4622 fix: bug in same day comparison 2022-07-02 00:28:56 +02:00
Ferdinand Mütsch
4a4e19fcbd fix: error when querying with label filter (resolve #374) 2022-05-16 23:23:18 +02:00
Ferdinand Mütsch
4bd58789f4 fix: server error when passing empty heartbeats slice
fix: do not allow to set id for diagnostics inputs
chore: remove authentication for diagnostics endpoint from swagger docs
2022-05-13 16:12:18 +02:00
Ferdinand Mütsch
09d1124794 fix: work around invalid all_time_since_today data schema to fix failing import (resolve #370) 2022-05-12 00:59:42 +02:00
Ferdinand Mütsch
a76db3e95f fix: clear summary cache on new project label (resolve #369) 2022-05-07 09:37:10 +02:00
Ferdinand Mütsch
ff7d595a86 chore: do not run expensive jobs initially but only scheduled 2022-04-18 21:16:27 +02:00
Ferdinand Mütsch
91c765202c fix: prevent large difference between aggregated and recomputed summaries (resolve #354) 2022-04-18 16:06:32 +02:00
Ferdinand Mütsch
5276f68918 fix: double counting when using precise missing intervals 2022-04-18 15:18:01 +02:00
Ferdinand Mütsch
5aae18e241 refactor: replace most custom date util functions by lancet ones
refactor: add precision mode to missing intervals function
2022-03-25 12:51:40 +01:00
Ferdinand Mütsch
8a731a252a chore: ditch lo module again 2022-03-25 11:34:16 +01:00
Ferdinand Mütsch
8fc0d78f64 refactor: include generics based utility lib and refactor some parts accordingly [ci-skip] 2022-03-20 16:40:14 +01:00
Ferdinand Mütsch
bbc85de34b chore: metrics performance improvements 2022-03-19 10:30:32 +01:00
Ferdinand Mütsch
91b4cb2c13 fix: explicit milliseconds precision of timestamp columns 2022-03-18 13:48:28 +01:00
Ferdinand Mütsch
a3acdc7041 fix: duration aggregation for heartbeats with identical timestamps (resolve #340) 2022-03-18 12:29:43 +01:00
Ferdinand Mütsch
e7e5254673 feat: ability to clear all user data (resolve #339) 2022-03-17 11:55:13 +01:00
Ferdinand Mütsch
647bf1781d chore: apply filters in database query (see #335) 2022-03-13 08:49:03 +01:00
Ferdinand Mütsch
965d8e22b3 chore: fix typo in error message 2022-03-06 11:52:03 +01:00
Soner Sayakci
ed6e51b4df add error when no authentication is configured 2022-03-04 17:03:04 +01:00
Steven Tang
6d762f5fd6
ref: remove unnecessary unicode characters 2022-02-18 19:52:55 +11:00
Ferdinand Mütsch
e21788b8b5 chore: minor fixes 2022-02-13 11:03:10 +01:00
Steven Tang
e7f3432113 feat: GET /heartbeat endpoint (resolves #241) 2022-02-13 11:03:10 +01:00
Ferdinand Mütsch
7159df30c2 feat: allow to configure custom api url for relay and import (resolve #105) 2022-01-21 12:35:05 +01:00
Ferdinand Mütsch
67f0d19a65 fix: allow to create labels for aliased projects (resolve #231) 2022-01-13 17:10:24 +01:00
Ferdinand Mütsch
2bc53e6f11 feat: basic implementation of branch statistics 2022-01-02 13:39:20 +01:00
Ferdinand Mütsch
fd6c36832e fix: critical infinite loop at the date of switch to daylight saving time 2022-01-02 13:17:30 +01:00
Ferdinand Mütsch
bf82935849 chore: add more filtering unit tests 2022-01-02 12:03:20 +01:00
Ferdinand Mütsch
d80c1a4c4b feat: ability to filter by project labels 2022-01-02 12:03:20 +01:00
Ferdinand Mütsch
a279548c89 feat: comprehensive summary-level filtering (resolve #262) 2022-01-02 12:03:19 +01:00
Ferdinand Mütsch
8a3e6f0179 chore: more verbose logging with regard to reports 2022-01-02 12:02:17 +01:00
Ferdinand Mütsch
92f6d44606 feat: total heartbeats per summary (resolve #283) 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
ee501ca3c5 fix: mocks 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
148f581906 fix: properly sort durations to prevent heartbeats from being counted twice 2022-01-02 12:02:12 +01:00