Commit Graph

9 Commits

Author SHA1 Message Date
r
887ed241d6 Use cookies for session storage
Remove the server side session storage and store all the session related data
in the client side cookies. This decreases the exposure of the auth tokens.
It also simplifies the installation process as bloat no longer requires write
access to the filesystem.

This is a breaking change, all the existing sessions will stop working.
2022-10-25 14:14:46 +00:00
r
fcb88c8a85 Simplify id generation 2022-01-02 11:38:06 +00:00
r
c5f12920b0 Use GO's flag parser instead of getopt
There's only one flag, so it doesn't matter.
2022-01-02 11:15:57 +00:00
r
fa27d9c6eb Refactor things
- Remove separate auth/logging and merge them into transport.go
- Add helper function for http handlers
2020-11-22 17:29:58 +00:00
r
2af37d4778 Refactor everything 2020-01-28 17:58:29 +00:00
r
c9842c65b4 Update random id generation algorithm 2020-01-26 07:45:34 +00:00
r
bf2cfaf0ed Add CSRF protection 2020-01-26 06:49:29 +00:00
r
cad01cb1f8 Add command line flag to specify config file 2020-01-01 15:18:04 +00:00
r
5e4da01c3a Initial commit 2019-12-13 18:26:24 +00:00