1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-16 15:00:26 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
handlerug
b87583ef28
Drop fixed authorization
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.
2021-07-02 15:20:03 +07:00
handlerug
11e98b2368
Working user panel
See https://mycorrhiza.wiki/hypha/idea/user_panel

It's not pretty, but it works. The next step is to make it look good.
2021-06-29 22:10:48 +07:00
handlerug
477c449a05
Initial user panel draft 2021-06-29 17:34:36 +07:00
handlerug
16861bd3d4
Automatically migrate fixed users to registered
Now registered users are loaded unconditionally, ignoring the config
field.
2021-06-27 21:53:53 +07:00
handlerug
7b2423ec40
New structure 2021-06-23 21:01:34 +07:00
Timur Ismagilov
9d6bf4c191
Merge branch 'master' into 1.2 2021-06-05 23:01:46 +05:00
Timur Ismagilov
4e1115d609 Canonize user names when reading them 2021-06-03 18:16:15 +05:00
Timur Ismagilov
fcc6ec1549 Indent marshalled JSON
It is a quickfix requested by Dan
2021-05-27 17:04:10 +05:00
Timur Ismagilov
662794dd59 Move config-related stuff to its own module 2021-05-09 14:36:39 +05:00
handlerug
989ed43455
Fix auth system not getting enabled 2021-04-28 17:12:05 +07:00
Timur Ismagilov
53981c28ca Move some file-related stuff to a separate module 2021-04-26 22:25:47 +05:00
Timur Ismagilov
bcdb38bd68 Implement registration 2021-04-26 21:29:41 +05:00
bouncepaw
68ab5df3f1 Implement register form and some registration-related code 2021-04-12 22:40:43 +05:00
Alexey Gusev
c7ab41a3b0 Fix token storage path 2021-03-05 23:40:41 +03:00
bouncepaw
b1f33c872c Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00