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

63 Commits

Author SHA1 Message Date
Ferdinand Mütsch
41311a8b06 fix: sentry logging without user authentication [ci-skip] 2023-01-08 15:52:36 +01:00
Ferdinand Mütsch
746608c062 refactor: flash messages framework (resolve #446) 2023-01-02 18:05:28 +01:00
Ferdinand Mütsch
fb5b2f52c7 fix: make wakatime relay middleware accept single heartbeat format (resolve #445) 2023-01-02 11:33:47 +01:00
Ferdinand Mütsch
cf5a515952 fix: sentry middleware interface conversion 2023-01-02 10:55:57 +01:00
Ferdinand Mütsch
d4945c982f fix: tests 2022-12-01 11:11:45 +01:00
Ferdinand Mütsch
21f6809f05 refactor: split utility functions into utils and helpers 2022-12-01 10:57:07 +01:00
Steven Tang
6d762f5fd6
ref: remove unnecessary unicode characters 2022-02-18 19:52:55 +11: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
bd2a8c5a7f fix: make cookie path respect server.base_path (resolve #310) 2022-01-17 08:25:50 +01:00
Ferdinand Mütsch
7b7fa8bdf3 refactor(wip): redesign settings page 2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
ed9a7ccd5a fix: tests 2021-10-11 11:38:55 +02:00
Ce Gao
d2f078443e fix: Remove hard coded string 2021-10-11 16:00:48 +08:00
Ce Gao
c6e1651d9e fix: Fix the empty key error 2021-10-11 15:58:29 +08:00
Ce Gao
630090e38a feat: Support query parameter token 2021-10-11 15:10:30 +08:00
Ferdinand Mütsch
58719182c4 chore: notify users about failing wakatime connection 2021-08-06 23:28:03 +02:00
Ferdinand Mütsch
a8df25be08 chore: more verbose logging 2021-08-06 22:38:57 +02:00
Ferdinand Mütsch
5a8287a06b chore: exclude static endpoints from sentry tracing
chore: include user info to sentry tracing again
2021-04-29 21:19:43 +02:00
Ferdinand Mütsch
dca736752e refactor: logging (resolve #169) 2021-04-16 16:02:55 +02:00
Ferdinand Mütsch
337b39481b chore: set basic security headers (resolve #174) 2021-04-16 12:35:49 +02:00
Ferdinand Mütsch
2b57da224c chore: write authenticated user to logs and sentry 2021-03-26 13:10:10 +01:00
Ferdinand Mütsch
9fc3c65efe feat: sentry integration (resolve #142) 2021-03-23 22:12:15 +01:00
Ferdinand Mütsch
e55adf6287 fix: mysql character encoding (resolve #131) 2021-02-17 21:04:22 +01:00
Ferdinand Mütsch
759e8e4dfd chore: change logging middleware to use different output 2021-02-14 16:41:02 +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
b0480356de chore: exclude static assets from request logging 2021-02-07 12:50:02 +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
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
fd9e2acdf1 feat: wakatime data import (resolve #87) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
4f7cc3c57e fix: make logging middleware respect proxy headers 2021-01-31 19:00:42 +01:00
Ferdinand Mütsch
665ffe8bd1 chore: log request durations (resolve #102) 2021-01-31 16:46:39 +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
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
Ferdinand Mütsch
a552073d18 feat: ui for configuring wakatime integration 2021-01-21 23:26:50 +01:00
Ferdinand Mütsch
de0401d4bb fix: move caching out of authentication middleware 2021-01-21 23:19:17 +01:00
Ferdinand Mütsch
189a09d91f feat: relay heartbeats to wakatime (resolve #28) 2021-01-21 22:17:32 +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
a4c344aaa1 chore: minor code restyling 2020-10-16 16:11:14 +02:00
Ferdinand Mütsch
660fefcca9 refactor: migrate to new config (resolve #54) 2020-10-04 10:37:38 +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
9dae5a1f77 feat: allow insecure cookies (resolve #27) 2020-05-30 12:11:25 +02:00
Ferdinand Mütsch
6c2f0cb1ec feat: add auto-migrations for old md5 password to maintain backwards compatibility 2020-05-25 22:24:29 +02:00
Ferdinand Mütsch
08675bd99f feat: use bcrypt with salts instead of md5 for hashing password (resolve #21) 2020-05-25 21:42:45 +02:00
Ferdinand Mütsch
6614c86395 fix: base path for error redirects 2020-05-24 17:39:19 +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