1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Timur Ismagilov
d1bf1f76eb Offer to pass -create-admin option if no admins were found
Implements: #218
2024-06-01 23:43:26 +03:00
hugmouse
94706e8468 Use zero-allocation approach for empty slices
For further reading checkout https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
2021-10-29 16:08:02 +07:00
Mikhail Chekan
85c936d94a Housekeeping with linter
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
handlerug
c27950aeaa
Ability to delete user in the user panel 2021-07-02 21:04:00 +07:00
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
bouncepaw
aee2f23b5e You can now register, but the new account is not saved on disk 2021-04-19 21:39:25 +05:00
bouncepaw
be19d19a5e Fix user credentials not being read 2021-03-07 19:58:37 +05:00
bouncepaw
e3b4c75f79 Add /user-list page 2021-01-30 23:21:50 +05:00
bouncepaw
e33e5d06a1 Move the user link to the header links 2021-01-24 12:30:14 +05:00
bouncepaw
e72ca863e3 Add /about page, remove -title option, add -name and -icon options 2021-01-23 18:45:17 +05:00
bouncepaw
b1f33c872c Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00