There is a new config field: Authorization.Locked.
I am a little bit sorry for how actually the lock is implemented. I've added the check on almost every handler there is. Good luck maintaining that ❤️
It allows for more control and things like listening on Unix sockets or
binding to 127.0.0.1 rather than 0.0.0.0.
Config changes:
- "Port = 1737" changed to "ListenAddr = 127.0.0.1:1737"
- new env variable LISTEN_ADDR
Important changes:
- UseFixedAuth is now UseAuth and toggles all kinds of authorization and
registration
- UseRegistration is now AllowRegistration to better reflect the meaning
- LimitRegistration is now RegistrationLimit because it's not a boolean,
it's a value (not "limit registration?", but "registration limit is
...")
- registered-users.json is now users.json, because all users are stored
there
- user.AuthUsed is dropped in favor of new cfg.UseAuth which has the
same meaning
I hope I have not forgotten anything.
Break a lot of things as well:
* OpenGraph is temporarily removed
* Link coloring is broken
* RocketLink display text is lost for some reason
* List nesting is lost?
Some things got fixed though:
* External link icons are back
And new features:
* Multiline list entries (tasty)