gotosocial/internal/config
Rob Sargant d120743e8b
[feature] add instance-expose-public-timeline flag (#1039)
* Add instance-expose-public-timeline flag

Adds a config flag that allows unauthenticated access to /api/v1/timelines/public. Defaults to false to replicate existing behaviour.

* Update structure following review

* Add comment

* Fix linting
2022-11-14 10:30:01 +01:00
..
gen [bugfix] Fix imports for helpers.gen.go (#924) 2022-10-29 17:14:57 +02:00
config.go [feature] add instance-expose-public-timeline flag (#1039) 2022-11-14 10:30:01 +01:00
defaults.go [feature] S3: add config flag to proxy S3 media (#1014) 2022-11-11 12:03:18 +01:00
flags.go [feature] Make rate limit requests amount configurable (#966) 2022-11-06 09:47:48 +00:00
global.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
helpers.gen.go [feature] add instance-expose-public-timeline flag (#1039) 2022-11-14 10:30:01 +01:00
state.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
validate.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
validate_test.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00