Commit graph

21 commits

Author SHA1 Message Date
r 60392e61c7 Disable access log by default
Access logs aren't really useful during normal operation. Add a new flag
-v to enable the verbose logging mode, which is still useful during the
development.

Also remove the log_file config because it's no longer useful.
2023-09-09 06:38:52 +00:00
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 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 003233d60d Change config file lookup
- Look for both local and global config file
- Directly generate the global config file with make install
2022-01-02 10:55:26 +00:00
r 6c5de76562 Refactor 2021-03-28 16:12:41 +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 140dfe2f63 Fix http client
- Remove automatic retries on 429
- Tweak http client config for better connection re-using
2020-10-30 17:07:06 +00:00
r 798587868f Fix invalid CSS syntax 2020-08-22 06:41:49 +00:00
r fd2a353770 Refactor things 2020-05-24 04:38:34 +00:00
r 55ed6a480e Add single instance mode 2020-04-19 08:18:36 +00:00
r c41f9272f9 Fix logfile 2020-02-26 10:40:57 +00:00
r cd9306294d Add install target for make
- Update default config path accordingly
- Mention use of config file in README
2020-01-31 18:18:31 +00:00
r a877c58ac3 Fix error printing 2020-01-28 20:50:14 +00:00
r 4613e9cc7b Update config 2020-01-28 20:49:58 +00:00
r 2af37d4778 Refactor everything 2020-01-28 17:58:29 +00:00
r e9bd72306e Rename package to bloat 2020-01-01 15:58:27 +00:00
r cad01cb1f8 Add command line flag to specify config file 2020-01-01 15:18:04 +00:00
r 591360f2a8 Add post format selection 2019-12-26 11:25:29 +00:00
r 656ff3931c Update header template and add option for custom css 2019-12-25 16:38:47 +00:00
r 59aad78f66 Use filesystem based kv store instead of sqlite 2019-12-17 20:17:25 +00:00
r 5e4da01c3a Initial commit 2019-12-13 18:26:24 +00:00