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

44 Commits

Author SHA1 Message Date
Ferdinand Mütsch
5ae7527b7b feat: implement data retention mechanism 2022-12-01 20:26:03 +01: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
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
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
2bc53e6f11 feat: basic implementation of branch statistics 2022-01-02 13:39:20 +01:00
Ferdinand Mütsch
7cae3c43d0 chore: enhanced caching for user entity sets (resolve #264) 2021-10-14 10:22:59 +02:00
Ferdinand Mütsch
533b5d62fc fix: speed up settings page (resolve #226) 2021-08-06 16:37:01 +02:00
Ferdinand Mütsch
48513b660d chore: configurable count cache ttl 2021-06-27 12:08:11 +02:00
Ferdinand Mütsch
181aefa2f9 chore: further optimizations and caching to speed up metrics endpoint (resolve #215) 2021-06-27 11:33:14 +02:00
Ferdinand Mütsch
561198b203 chore: minor ui improvements 2021-06-12 12:01:20 +02:00
Ferdinand Mütsch
cf3d293688 feat: implement wakatime projects endpoint (resolve #196) 2021-05-01 13:52:03 +02:00
Ferdinand Mütsch
1beca82875 feat: implement wakatime users endpoint (resolve #193) 2021-04-30 10:13:32 +02:00
Ferdinand Mütsch
292ae41c58 fix: batch insert conflict bug (resolve #139) 2021-03-05 21:39:21 +01:00
Ferdinand Mütsch
daf67b844a refctor: change active users query 2021-02-13 11:23:58 +01:00
Ferdinand Mütsch
88eb68b1a9 feat: add prometheus metrics without external standalone exporter 2021-02-12 18:50:13 +01:00
Ferdinand Mütsch
161e375f74 chore: optimize import date range 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
fd9e2acdf1 feat: wakatime data import (resolve #87) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
35cdc7b485 refactor: define interface types for all services and repositories 2020-11-08 10:12:49 +01:00
Ferdinand Mütsch
7befb82814 chore: remove clean up related parameters 2020-11-07 12:34:17 +01:00
Ferdinand Mütsch
2f12d8efde refactor: simplify summary generation (resolve #68) 2020-11-07 12:01:35 +01:00
Ferdinand Mütsch
e6a04cc76d chore: remove cleanup functionality
chore: minor code changes
2020-11-06 14:07:07 +01:00
Ferdinand Mütsch
8efc3854ab refactor: migrate to latest gorm version
refactor: language mappings implementation
2020-11-01 20:14:10 +01:00
Ferdinand Mütsch
755cabb5f4 refactor: introduce repositories as an additional layer of abstraction to allow for better testability 2020-11-01 16:56:36 +01:00
Ferdinand Mütsch
54a944ec41 fix: critical summary computation bug (faulty intervals)
fix: doubly included heartbeats
fix: cross-day heartbeats are ignored for consistency
2020-10-16 12:00:20 +02:00
Ferdinand Mütsch
f843be8d12 refactor: move config to separate package
chore: load config from main method
2020-09-29 18:55:07 +02:00
Ferdinand Mütsch
21567e7601 feat: implement summaries compat endpoint (resolve #44)
fix: fix all time view model
2020-09-11 23:24:51 +02:00
Ferdinand Mütsch
c171d31f30 feat: set html base path from server base path
refactor: services
2020-05-24 17:32:26 +02:00
Ferdinand Mütsch
7d36c4e111 Rename project.
Add build script.
2020-03-31 12:22:17 +02:00
Ferdinand Mütsch
33ebb8a771 Add database cleanup functionality. 2020-03-09 17:30:23 +01:00
Ferdinand Mütsch
b7f700e7a5 Refactor to server-rendered app. 2020-02-20 14:28:55 +01:00
Ferdinand Mütsch
37b02ff32c Fix summary merging.
Rename some methods.
Use pointers for structs and none for primitives.
2019-10-11 08:00:02 +02:00
Ferdinand Mütsch
851f378684 Add database schema to persist summaries with their accompanying summary items.
Add basic methods to generate summary aggregation jobs.
2019-10-09 23:26:28 +02:00
Ferdinand Mütsch
c821e02b82 Add support for custom languages. 2019-05-21 17:16:46 +02:00
Ferdinand Mütsch
d75da7681b Properly order heartbeats. 2019-05-20 19:46:41 +02:00
Ferdinand Mütsch
be906805e7 Major refactorings.
Introduce summaries.
2019-05-19 19:49:27 +02:00
Ferdinand Mütsch
62e94f6635 Untested. Useslices of pointersto structs everywhere. 2019-05-17 08:40:03 +02:00
Ferdinand Mütsch
de65ab1814 Add config to services. 2019-05-16 22:53:03 +02:00
Ferdinand Mütsch
b4c8e6ecb6 Introduce GORM. 2019-05-11 17:49:56 +02:00
Ferdinand Mütsch
d1be4ce2a3 Fix heartbeats insertion.
Add OS and editor fields.
Introduce aggregations (not working yet).
2019-05-09 00:07:38 +02:00
Ferdinand Mütsch
9df289b7ed Heartbeat Insertions.
Restructuring.
2019-05-06 00:40:41 +02:00
Ferdinand Mütsch
0bd71b7708 Initial. 2019-05-05 22:36:49 +02:00