Commit Graph

374 Commits

Author SHA1 Message Date
Nazmus Sayad
bfd137e634 feat: add user preference for start of week 2025-08-18 22:40:45 +06:00
Henri Burau
ae66e69a1d remove debug log entry 2025-08-14 20:02:30 +10:00
Ferdinand Mütsch
ad154294c8 fix: accept partially valid batch of heartbeats (resolve #824) 2025-08-08 18:20:11 +02:00
Ferdinand Mütsch
632020c30b feat: current online users count (resolve #798) 2025-06-13 08:53:48 +02:00
Ferdinand Mütsch
fcf130b7a8 fix: database status in health endpoint [skip ci] 2025-06-10 08:56:17 +02:00
Ferdinand Mütsch
c6b8bf7b67 chore: conditionally return json or plain text from health endpoint 2025-06-10 07:35:32 +02:00
kurtnettle
5891681c24 feat(api): return health check as JSON 2025-06-10 01:32:58 +06:00
Ferdinand Mütsch
7752027dd6 chore: use more aggressive cache busting at dev time (see #795) 2025-05-26 16:23:44 +02:00
Ferdinand Mütsch
4853e8a264 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	coverage/coverage.out
2025-05-20 21:08:35 +02:00
Ferdinand Mütsch
d42c522c6b feat: auto-redirect api root route to frontpage for browsers (resolve #788) 2025-05-20 21:08:22 +02:00
Ferdinand Mütsch
8c8ae5d7ee fix: purge user durations as part of data cleanup (relates to #785) 2025-05-10 11:16:46 +02:00
Ferdinand Mütsch
e7da40b307 chore: minor code style-related changes to the timeline chart 2025-04-25 08:22:37 +02:00
jiajia
165467931f support alias for hourly breakdown 2025-04-22 19:12:01 +08:00
jiajia
1f5e3a40be Merge remote-tracking branch 'upstream/master' 2025-04-21 20:22:48 +08:00
jiajia
bd661d58c6 refactor summary view: replace 'dailystats' with 'timeline', while 'timeline' move to 'hourly breakdown' to align with the UI & show only 24 hours of hourly breakdown & refactor the hourly breakdown by only chartjs 2025-04-21 20:01:03 +08:00
jiajia
0f14b745b8 Add support for timeline 2025-04-13 17:50:23 +08:00
ycsh
00a45b90f7 specifically deal with invalid user name 2025-04-06 16:28:21 -07:00
ycsh
b25d05c43b auto reformat 2025-04-06 16:22:55 -07:00
Ferdinand Mütsch
e8f7d9b789 chore: minor changes to error displaying and page layout 2025-03-14 14:29:28 +01:00
Ferdinand Mütsch
8427c97d18 fix: various minor logging related fixes 2025-03-13 09:36:37 +01:00
Ferdinand Mütsch
70660cf154 chore: thread safety for request enhanced log lines [skip ci] 2025-03-09 21:50:50 +01:00
Ferdinand Mütsch
fde25948ab fix: compute leaderboard with consistent time interval (resolve #749) 2025-02-26 23:45:51 +01:00
Ferdinand Mütsch
71b18f1aaf fix: summary regeneration
feat: introduce multi-interval durations
2025-02-21 11:29:13 +01:00
Ferdinand Mütsch
77bb01020f fix: regenerate durations upon summary regeneration 2025-02-21 11:29:13 +01:00
Ferdinand Mütsch
8d3a049f4d refactor(wip): drop heartbeat padding in summary aggregation (see #675) 2025-02-21 11:29:11 +01:00
Ferdinand Mütsch
2b3f1d9ef4 fix: time zone issues in case database and server timezones vary 2025-02-21 10:39:53 +01:00
Ferdinand Mütsch
674296ce23 Merge branch 'master' of github.com:muety/wakapi 2025-02-05 21:32:21 +01:00
Ferdinand Mütsch
8dfb30abcd chore: minor refactorings 2025-02-05 21:31:57 +01:00
jiajia
cb4a8a8eb4 Limit the interval of the 'Calendar View' & Fix typo 2025-02-05 21:31:57 +01:00
jiajia
a6404b1949 Change the 'Calendar view' to meet the architecture rule & Show 'No Data' for the summary webpage 2025-02-05 21:31:57 +01:00
jiajia
9666d57091 Improve the porformance of the "Calendar view" 2025-02-05 21:31:57 +01:00
jiajia
317cdb01f8 Add a "Calendar view" just like what's on the wakatime dashboard 2025-02-05 21:31:57 +01:00
Ferdinand Mütsch
a75f177759 feat: ability to change username (resolve #739) 2025-02-02 22:19:49 +01:00
Ferdinand Mütsch
42490015c8 feat: option to require auth for viewing leaderboard (resolve #738) 2025-01-22 22:26:20 +01:00
Ferdinand Mütsch
b2fd1074c5 chore: upgrade pond dependency [skip ci] 2025-01-18 16:19:19 +01:00
Ferdinand Mütsch
5fa2515931 fix: readme card default custom title (resolve #715)
chore: add option to configure activity chart sharing separately
2024-12-20 21:16:55 +01:00
Ferdinand Mütsch
96c8143271 merge with latest remote master 2024-10-15 00:25:50 +02:00
Ferdinand Mütsch
763d722738 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	coverage/coverage.out
#	routes/api/heartbeat.go
#	routes/api/heartbeat_test.go
2024-10-15 00:22:38 +02:00
Ferdinand Mütsch
40e01c1b01 fix: make heartbeats endpoint respond to cors preflight requests (resolve #690) 2024-10-15 00:13:53 +02:00
Ferdinand Mütsch
ef2776f2cd fix: placeholders replacement (fix #687) 2024-10-13 23:46:30 +02:00
Ferdinand Mütsch
65aa688b6b fix: make heartbeats endpoint support browser plugin again (resolve #683, resolve #688) 2024-10-13 23:02:33 +02:00
Ferdinand Mütsch
39ef066ce2 fix: signup rate limiting (resolve #674) 2024-09-08 21:25:52 +02:00
finn
ddffd464e3 Replace SentryLogWrapper by slog-sentry 2024-09-05 11:05:25 +07:00
finn
34bf742ca8 Use conf.Log().Fatal to replace log.Fatal; Only initial Sentry logger once 2024-08-23 06:11:53 +07:00
finn
d542ae9602 Update structured log for conf.Log().Request(r), logging middleware, and sentry logger 2024-08-21 09:08:43 +07:00
finn
b5bb3da9b6 Correct the logs to use the format key:value 2024-08-20 08:45:43 +07:00
finn
118e51139a First round replace logbuch to slog 2024-08-20 05:59:17 +07:00
Ferdinand Mütsch
224c28fd93 feat: configurable heartbeats timeout and offset (resolve #156) 2024-08-11 21:48:49 +02:00
Ferdinand Mütsch
680e3d7036 chore: upgrade dependencies 2024-08-11 19:04:11 +02:00
James Ding
cb2e9a7bbf Fix typo with account deletion 2024-07-21 13:59:48 -07:00