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

52 Commits

Author SHA1 Message Date
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
Ferdinand Mütsch
a317dc6942 refactor: middlewares and get rid of negroni 2020-05-24 14:50:04 +02:00
Ferdinand Mütsch
9697bb5fd5 refactor: use cookie-based login
feat: add login page
2020-05-24 13:41:19 +02:00
Ferdinand Mütsch
7a74ae251c Add health endpoint. 2020-04-08 21:29:11 +02:00
Ferdinand Mütsch
7d36c4e111 Rename project.
Add build script.
2020-03-31 12:22:17 +02:00
Ferdinand Mütsch
b7f700e7a5 Refactor to server-rendered app. 2020-02-20 14:28:55 +01:00
Ferdinand Mütsch
fe1cc3ac88 Minor code cleanup. 2019-11-07 23:11:19 +01:00
Ferdinand Mütsch
f9a2efaffb Support for username-password authentication. 2019-05-21 22:40:59 +02:00
Ferdinand Mütsch
c821e02b82 Add support for custom languages. 2019-05-21 17:16:46 +02:00
Ferdinand Muetsch
c2b705f172 Remove debug logs. 2019-05-21 14:24:45 +02:00
Ferdinand Muetsch
e572eb3b10 Add user cache in authentication middleware. 2019-05-21 14:23:41 +02:00
Ferdinand Mütsch
be906805e7 Major refactorings.
Introduce summaries.
2019-05-19 19:49:27 +02:00