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

224 Commits

Author SHA1 Message Date
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
ec70d024fa fix: remove user property of diagnostics as sent without auth 2022-03-19 09:27:13 +01:00
Ferdinand Mütsch
eae45baf38 chore: allow heartbeats from one hour into the future to compensate for clock inaccuracies (see #342) 2022-03-19 09:02:15 +01:00
Ferdinand Mütsch
4cea50b5c8 chore: add user project index on heartbeats table 2022-03-19 08:57:33 +01:00
Ferdinand Mütsch
e4814431e0 feat: add database size metric 2022-03-18 18:20:13 +01:00
Ferdinand Mütsch
91b4cb2c13 fix: explicit milliseconds precision of timestamp columns 2022-03-18 13:48:28 +01:00
Ferdinand Mütsch
8e558d8dee chore: introduce heartbeat max age 2022-03-17 11:35:20 +01:00
Ferdinand Mütsch
b763c4acc6 fix(perf): speed up summary retrieval of all time interval (resolve #336) 2022-03-17 11:08:40 +01:00
Ferdinand Mütsch
8c65da9031 chore: remove entity index again
chore: add migration note
2022-03-13 09:42:51 +01:00
Ferdinand Mütsch
647bf1781d chore: apply filters in database query (see #335) 2022-03-13 08:49:03 +01:00
Steven Tang
6d762f5fd6
ref: remove unnecessary unicode characters 2022-02-18 19:52:55 +11:00
Roch D'Amour
ac9d96c563
Remove "Create Account" button when AllowSignup is set to false (#319)
Merge pull request #319
2022-02-16 08:56:27 +01: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
8f87c4e283 fix: omit null branches property of wakatime summary 2022-01-02 21:29:16 +01:00
Ferdinand Mütsch
8b8c5675af fix: wrongly displayed timezone offset 2022-01-02 20:25:07 +01:00
Ferdinand Mütsch
c2d3426bcd feat: project details page with branch statistics (resolve #242) 2022-01-02 20:04:29 +01:00
Ferdinand Mütsch
2bc53e6f11 feat: basic implementation of branch statistics 2022-01-02 13:39:20 +01:00
Ferdinand Mütsch
fe3ba79d54 chore: filter model 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
ec236909c9 chore: add migration for heartbeats count 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
92f6d44606 feat: total heartbeats per summary (resolve #283) 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
7b7fa8bdf3 refactor(wip): redesign settings page 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
44a2e609fb refactor: redesign login page
refactor: redesign signup page
refactor: redesign summary page
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
Ferdinand Mütsch
c8a07cee36 refactor: introduce concept of durations (resolve #261) 2022-01-02 12:02:11 +01:00
jabra98
c7e12ba3b5 fix: consider all Machine/UserAgent entries 2022-01-01 20:33:58 +01:00
Ferdinand Mütsch
259f711f2d fix: migrate id column type to bigint (resolve #281) 2021-12-15 10:50:16 +01:00
Ferdinand Mütsch
485dfe2888 fix: user time zone test (fix #275) [ci skip] 2021-11-28 12:40:46 +01:00
Ferdinand Mütsch
5df0f48303 feat: user avatars 2021-10-14 12:04:21 +02:00
Ferdinand Mütsch
30de96950b chore: persist raw user agent value 2021-08-29 10:54:00 +02:00
Ferdinand Mütsch
2088987a0c chore: implement diagnostics endpoint (resolve #225) 2021-08-07 10:16:50 +02:00
Ferdinand Mütsch
0af5fab75f refactor: resolve project labels at runtime (resolve #227) 2021-08-06 16:36:56 +02:00
Ferdinand Mütsch
82b8951437 fix: attempt to fix failing sqlite migrations (resolve #210) 2021-06-13 11:43:24 +02:00
Ferdinand Mütsch
25464e9519 chore: code smells 2021-06-13 10:14:15 +02:00
Ferdinand Mütsch
69627fbe11 fix: exclude zero entries 2021-06-12 12:04:38 +02:00
Ferdinand Mütsch
7bcd6890d1 chore: adapt tests and bump version 2021-06-12 11:26:15 +02:00
Ferdinand Mütsch
1e4e530c21 chore: adapt tests 2021-06-12 11:09:24 +02:00
Ferdinand Mütsch
490cca05eb feat: ui for managing project labels 2021-06-12 10:44:19 +02:00
Ferdinand Mütsch
628ea0b9dd fix: nil pointer dereference
chore: allow to share labels publicly on settings page
2021-06-12 09:12:28 +02:00
Ferdinand Mütsch
0d64858721 feat: implement project labels (resolve #204) 2021-06-11 20:59:34 +02:00
Ferdinand Mütsch
f3b738b250 fix: empty projects (resolve #197)
fix: potential division by zero (see #199)
2021-05-03 21:32:26 +02:00
Ferdinand Mütsch
cf3d293688 feat: implement wakatime projects endpoint (resolve #196) 2021-05-01 13:52:03 +02:00
Ferdinand Mütsch
ef9303e61e feat: settings dialog for mail reports 2021-04-30 16:20:24 +02:00
Ferdinand Mütsch
a4e7158db2 refactor: mail service abstraction layer 2021-04-30 15:17:07 +02:00
Ferdinand Mütsch
29c04c3ac5 feat: email reports (resolve #124) 2021-04-30 14:07:14 +02:00
Ferdinand Mütsch
1beca82875 feat: implement wakatime users endpoint (resolve #193) 2021-04-30 10:13:32 +02:00
Ferdinand Mütsch
37d4d58b57 fix: make wakatime summary endpoint date range inclusive (resolve #192) 2021-04-29 21:08:47 +02:00
Ferdinand Mütsch
c6fd43a964 chore: log requests from json response util method 2021-04-26 21:26:59 +02:00
Ferdinand Mütsch
4ab657ebd5 fix: fix divide by zero (resolve #189) 2021-04-26 21:26:56 +02:00
Ferdinand Mütsch
649c658923 chore: add same date tests 2021-04-25 21:05:05 +02:00
Ferdinand Mütsch
04690d287d chore: guess user timezone on signup 2021-04-25 21:05:05 +02:00
Ferdinand Mütsch
c142b525a4 refactor: time zone sensitivity (resolve #184) 2021-04-25 21:05:04 +02:00
Ferdinand Mütsch
26ef93c1af chore: minor refactorings to custom time parsing logic 2021-04-25 09:21:21 +02:00
Ferdinand Mütsch
a9739a6db0 fix: make range picker show actual range with ceiled to date (fix #175) 2021-04-16 11:53:37 +02:00
Ferdinand Mütsch
a22836a644 fix: remove uniqueness constraint for email 2021-04-14 00:17:02 +02:00
Ferdinand Mütsch
20dd4cf0ab fix: precedence in case of multiple matching language mappings (fix #172) 2021-04-13 23:39:31 +02:00
Ferdinand Mütsch
f8e1453754 fix: failing auto migration of users table (resolve #171) 2021-04-13 23:23:57 +02:00
Ferdinand Mütsch
2a9fbfdfd7 chore: send notification on successful import 2021-04-10 10:48:06 +02:00
Ferdinand Mütsch
4706809170 feat: smtp mail provider implementation 2021-04-10 00:07:13 +02:00
Ferdinand Mütsch
6ad33e3c3b feat: password resets (resolve #133) 2021-04-05 22:57:57 +02:00
Ferdinand Mütsch
2d1010e9d9 chore: add caching to badge endpoint
chore: add type index for summary items
2021-03-24 21:49:42 +01:00
Ferdinand Mütsch
5ca9a6a8be test: add further tests for heartbeat augmentation (resolve #144) 2021-03-24 20:43:49 +01:00
Tobias Dillig
caf87de887 fix: allow custom mappings with dot (resolve #144) 2021-03-24 19:25:36 +01:00
Ferdinand Mütsch
292ae41c58 fix: batch insert conflict bug (resolve #139) 2021-03-05 21:39:21 +01:00
Ferdinand Mütsch
017530ac4a chore: introduce user email addresses (resolve #132) 2021-02-21 13:02:11 +01:00
Ferdinand Mütsch
16af17fc37 chore: save heartbeats created date 2021-02-21 12:02:19 +01:00
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
301cab4be4 feat: per-user heartbeats count metrics 2021-02-12 23:06:48 +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
5b3e88247e chore: introduce user admin flag 2021-02-12 18:13:49 +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
e4c413a33c fix: include machine names when importing wakatime data 2021-02-10 22:08:00 +01:00
Ferdinand Mütsch
9e5847b66d fix: json marshalling of custom time (resolve #117) 2021-02-07 12:37:51 +01:00
Ferdinand Mütsch
bb1d6c048d feat: serve swagger ui
fix: forbid to browse file system index
2021-02-07 12:28:42 +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
fca12f522f feat: option to publicly share stats data (resolve #36) 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
b6812ddc3a refactor: migrations structure
fix: cascade for alias user foreign key constraint
2021-02-02 21:50:43 +01:00
Ferdinand Mütsch
b7ae15496d fix: attempt to directly hash struct again 2021-01-31 18:29:50 +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
e4b38d3f51 fix: tests 2021-01-31 16:58:59 +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
a6aff07b21 chore: use wakatime colors for editors and os (resolve #100) 2021-01-30 09:51:36 +01:00
Ferdinand Mütsch
189a09d91f feat: relay heartbeats to wakatime (resolve #28) 2021-01-21 22:17:32 +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
cd97976ed5 chore: show total hours on index page (resolve #88) 2021-01-17 09:32:08 +01:00
Steven Tang
b7a1e2d795
Reduce minimum username length to 1 2021-01-12 21:06:57 +11: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