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

206 Commits

Author SHA1 Message Date
xxchan
9751f8d11d fix: when importing from wakapi, os & editor are reversed 2023-01-19 23:52:53 +01:00
Ferdinand Mütsch
a1048d480a chore: introduce dry run flag for data cleanup [skip ci] 2023-01-18 09:26:01 +01:00
Ferdinand Mütsch
3922c3767d chore: fix log line [ci-skip] 2023-01-14 17:08:48 +01:00
Ferdinand Mütsch
ef5b49ebd8 chore: clear user cache upon logout 2023-01-02 14:53:21 +01:00
Ferdinand Mütsch
bfd2832846 fix: minor fixes 2022-12-31 16:03:44 +01:00
Ferdinand Mütsch
731598fa38 fix: critical bug with data retention / cleanup 2022-12-30 13:32:05 +01:00
Ferdinand Mütsch
8e521741f8 refactor(subscriptions): store stripe customer id with user 2022-12-30 13:14:24 +01:00
Ferdinand Mütsch
50c54685ec feat: subscription expiry notification mails 2022-12-29 17:12:34 +01:00
Ferdinand Mütsch
dc0bcbe65d chore: cap data import according to max data retention time 2022-12-29 12:33:21 +01:00
Ferdinand Mütsch
bafbc34706 refactor: minor code refactorings 2022-12-29 11:55:09 +01:00
Ferdinand Mütsch
8ca1404f8b fix: dont clean data for subscribed users 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
8a94fef06b feat: implement computation of users first heartbeats data time 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
5ae7527b7b feat: implement data retention mechanism 2022-12-01 20:26:03 +01:00
Ferdinand Mütsch
0e5c5a56d2 chore: dependency upgrades 2022-12-01 15:31:19 +01:00
Ferdinand Mütsch
a4b89d3a69 fix: concurrency bugs with summary aggregation and user counting 2022-12-01 14:13:52 +01:00
Ferdinand Mütsch
aab9e98ebd fix: error handling for user counting
fix: make user counting thread-safe
2022-12-01 13:46:06 +01:00
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