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

36 Commits

Author SHA1 Message Date
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
Ferdinand Mütsch
bd2a8c5a7f fix: make cookie path respect server.base_path (resolve #310) 2022-01-17 08:25:50 +01: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
2b57da224c chore: write authenticated user to logs and sentry 2021-03-26 13:10:10 +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
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
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
de0401d4bb fix: move caching out of authentication middleware 2021-01-21 23:19:17 +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
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
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
Ferdinand Mütsch
b4c8e6ecb6 Introduce GORM. 2019-05-11 17:49:56 +02:00
Ferdinand Mütsch
9df289b7ed Heartbeat Insertions.
Restructuring.
2019-05-06 00:40:41 +02:00