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

118 Commits

Author SHA1 Message Date
Ferdinand Mütsch
30510591eb feat: custom time intervals (resolve #115) 2021-02-13 12:59:59 +01:00
Ferdinand Mütsch
daf67b844a refctor: change active users query 2021-02-13 11:23:58 +01:00
Ferdinand Mütsch
6b0b3bddda fix: include overall total number of heartbeats again 2021-02-12 23:16:20 +01:00
Ferdinand Mütsch
301cab4be4 feat: per-user heartbeats count metrics 2021-02-12 23:06:48 +01:00
Ferdinand Mütsch
703805412b chore: code smell [ci skip] 2021-02-12 19:26:23 +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
8191a52ce1 chore: make very first user have admin privileges 2021-02-12 18:49:47 +01:00
Ferdinand Mütsch
22fbfceca2 fix: support default range for stats endpoint (resolve #125) 2021-02-12 11:25:21 +01:00
Ferdinand Mütsch
218c571859 feat: display setup instructions on startup (resolve #120) 2021-02-12 10:10:44 +01:00
Ferdinand Mütsch
8fc39f23fa feat: add swagger docs (resolve #40) 2021-02-07 11:54:41 +01:00
Ferdinand Mütsch
6d2697ec37 feat: allow unlimited date ranges 2021-02-06 23:23:26 +01:00
Ferdinand Mütsch
6b1f1c1360 feat: add endpoint compatible to github readme stats (resolve #65) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
fca12f522f feat: option to publicly share stats data (resolve #36) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
d1dc73b5e6 refactor: make each router handler register middleware on its own 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
8fed606e9b refactor: make intervals be string lists of aliases 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
9ff35b85d0 feat: implement stats endpoint (resolve #114) 2021-02-06 23:02:35 +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
d728426b45 chore: add config option to disable user registrations (resolve #113) 2021-02-06 10:59:12 +01:00
Ferdinand Mütsch
aef0c929df fix: wakatime relay 2021-02-05 14:50:00 +01:00
Ferdinand Mütsch
9cb9747e2e fix: missing summary api route 2021-02-03 21:40:01 +01:00
Ferdinand Mütsch
a2368ff76a refactor: significant changes related to routing and general code cleanup 2021-02-03 21:28:02 +01:00
Ferdinand Mütsch
4838300086 refactor: settings routes and actions 2021-02-03 20:53:27 +01:00
Ferdinand Mütsch
8bed266110 feat: account deletion (#99) 2021-02-02 22:54:22 +01:00
Ferdinand Mütsch
c6139e5366 fix: really fix it now 🤦‍♂️ 2021-01-31 18:56:34 +01:00
Ferdinand Mütsch
28269aa329 fix: start and end parameter parsing for wakatime summary route 2021-01-31 18:41:48 +01:00
Ferdinand Mütsch
0c3f3b37b0 fix: attempt to quickfix hash collisions 2021-01-31 18:06:20 +01:00
Ferdinand Mütsch
dc1a0c7983 chore: introduce hashes for heartbeats 2021-01-31 17:46:50 +01:00
Ferdinand Mütsch
3e5a51c272 feat: add missing query params to wakatime endpoints (resolve #109) 2021-01-31 16:25:48 +01:00
Ferdinand Mütsch
979549448c chore: remove legacy support for md5 hashed passwords
chore: remove password from encoded cookie content as not used anyway
2021-01-31 14:34:54 +01:00
Ferdinand Mütsch
617d9ad7e4 refactor: include logging framework (resolve #92) 2021-01-30 11:17:37 +01:00
Ferdinand Mütsch
fd239e4f21 chore: add check to validate wakatime api key before accepting it 2021-01-30 10:54:54 +01:00
Ferdinand Mütsch
417d4789ab chore: move route registration into the handler classes themselves (resolve #57) 2021-01-30 10:34:52 +01:00
Ferdinand Mütsch
a6aff07b21 chore: use wakatime colors for editors and os (resolve #100) 2021-01-30 09:51:36 +01:00
Ferdinand Mütsch
71d1b2177b fix: missing ca certificates in docker container (resolve #98)
fix: server crash in unsuccessful relaying of heartbeat to wakatime
2021-01-24 21:39:35 +01:00
Steven Tang
d93348842a
fix: delay defer templateFile.Close() 2021-01-24 10:19:20 +11:00
Steven Tang
fb92747129
fix: embed of static, views 2021-01-24 10:13:37 +11:00
Steven Tang
4e6e665e19
feat: embed assets into binary
Resolves #26
2021-01-23 10:00:15 +11:00
Ferdinand Mütsch
a552073d18 feat: ui for configuring wakatime integration 2021-01-21 23:26:50 +01:00
Ferdinand Mütsch
d57c02af7c feat: add ui for managing aliases (resolve #91) 2021-01-21 00:26:52 +01:00
Ferdinand Mütsch
16b683fcbd fix: permissions bug related to deleting language mappings 2021-01-20 20:49:27 +01:00
Ferdinand Mütsch
acda62488d chore: support for cockroachdb (resolve #90) 2021-01-18 21:37:15 +01:00
Ferdinand Mütsch
cd97976ed5 chore: show total hours on index page (resolve #88) 2021-01-17 09:32:08 +01:00
Ferdinand Mütsch
98b62b33c8 fix: concurrent access to language mappings (resolve #83) 2021-01-07 10:56:00 +01:00
Ferdinand Mütsch
16b9aa2282 feat: add front page (resolve #34) 2020-11-28 20:23:40 +01:00
Ferdinand Mütsch
4a78f66778 chore: set samesite attributes and configurable max age for cookies (resolve #75)
fix: sort entities by total time descending (resolve #74)
2020-11-21 22:30:56 +01:00
Ferdinand Mütsch
ad8168801c test: add first few unit tests 2020-11-08 12:46:12 +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
2f12d8efde refactor: simplify summary generation (resolve #68) 2020-11-07 12:01:35 +01:00
Ferdinand Mütsch
8ddd9904a0 refactor: alert handling 2020-11-06 21:19:54 +01:00