Umar Getagazov
82014ce3f4
Fix a typo
2021-11-10 14:21:11 +07:00
hugmouse
b2789f923f
Simplify return statement
2021-10-29 16:08:02 +07:00
Umar Getagazov
649a6b91cb
Improve validation helpers
...
Still, there are a lot of bugs in the shroom module to be fixed later.
2021-10-27 13:43:01 +07:00
Mikhail Chekan
85c936d94a
Housekeeping with linter
...
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
handlerug
6fdab4be34
Migrate to gorilla/mux for web needs
...
What a wonderful package!
2021-07-16 00:47:00 +07:00
bouncepaw
5e450612a1
Mark user's source: local or telegram
2021-07-15 08:50:45 +00:00
bouncepaw
df78f75efb
Implement initial Telegram integration
2021-07-15 08:50:45 +00:00
Timur Ismagilov
5d45ae67d4
Make the lock work
...
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 ❤️
2021-07-11 00:06:07 +05: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
handlerug
477c449a05
Initial user panel draft
2021-06-29 17:34:36 +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
68ab5df3f1
Implement register form and some registration-related code
2021-04-12 22:40:43 +05:00
bouncepaw
f3c4a45c3d
Add primitive diffs accessible from history pages
2021-03-14 20:01:32 +05:00
bouncepaw
58ed6ecdfb
Add /admin/shutdown
2021-02-18 19:50:37 +05:00
bouncepaw
e33e5d06a1
Move the user link to the header links
2021-01-24 12:30:14 +05:00
bouncepaw
100f5ada92
Add header links
2021-01-24 00:00:58 +05:00
bouncepaw
0341fa6440
Allow unattaching
2021-01-19 23:08:59 +05:00
bouncepaw
b1f33c872c
Make account system concurrent-safe and refactor it a little
2021-01-10 01:49:48 +05:00
bouncepaw
b30c368c48
Sign edits and refactor mutators a little
2020-11-18 18:07:53 +05:00
bouncepaw
57751d03f4
Change navigation links depending on who the user is
2020-11-16 20:26:03 +05:00
bouncepaw
4686b79226
Save active sessions between launches
2020-11-14 19:46:04 +05:00
bouncepaw
f4ba0f5498
Implement logging out
2020-11-14 18:03:06 +05:00
bouncepaw
a0d1099b75
Implement login form
2020-11-14 15:39:18 +05:00
bouncepaw
c83ea6f356
Start implementing fixed authorization system
2020-11-13 23:45:42 +05:00