Commit Graph

59 Commits

Author SHA1 Message Date
4b871b50c6 Add file-size limit 2024-10-06 16:24:46 +02:00
97b006259b more cleanups 2024-09-29 14:35:33 +02:00
dc6fb02d5f minor cleanups 2024-09-29 12:29:59 +02:00
2f4cbc6e1e Small code cleanups. 2024-09-28 20:50:57 +02:00
f31d5c70a9 upgrade deps etc. 2024-09-28 20:20:51 +02:00
e21e98bf52 switch to slog 2024-09-28 20:11:58 +02:00
435a9b2ecf more detailed error 2024-09-28 19:51:27 +02:00
92b6cf890b add error handling for reading configuration 2024-09-28 17:58:17 +02:00
2298cbeeee
dont give error to the user if internal notif fails 2024-05-22 11:16:26 +05:30
2a84bcce21
Reformulate some words to be better looking, also the logs should look better now. 2024-02-27 15:29:50 +01:00
5487cbf061
Whoops, extra unused bracked got lost in there and made the program fail to compile. 2024-02-27 15:07:27 +01:00
f2d88296cb
Add a failsafe if the user is created twice (It just happaned, this is
just to prevent further damages.)
2024-02-27 15:05:13 +01:00
4f1283c3c8
i fixed matrix notifs
This reverts commit af0022c30d.
2023-08-13 15:58:34 +05:30
af0022c30d
do admin notif via email since shoutrrr is broken rn 2023-08-13 13:18:32 +05:30
31f82aa928
add some copypasted code to make admins come first in /users 2023-07-14 15:54:20 +05:30
360b96b40a
remove hcaptcha testing stuff from /users 2023-07-11 20:00:45 +05:30
e22aa46ae7
Replace the error code with an actual response for the end user. 2023-07-10 23:08:46 +01:00
c8ca445bb7
Require a captcha on the backend 2023-07-10 22:23:29 +01:00
b35e7805d2
why use val in the log midou 2023-05-27 18:25:12 +08:00
4c29f18ec5
raid mode 2023-05-27 18:24:23 +08:00
d6897dbe2b
fix notify rooms 2023-03-01 19:54:46 +05:30
c85e939c65
add notif after user is created 2023-03-01 19:16:53 +05:30
02dd770848
hopefully this fixes the old users' desc issue 2023-02-26 21:21:10 +05:30
06ec369843
switch to toml 2023-02-26 20:47:12 +05:30
a88f9c7398
fix signup file containing info of prev signup 2023-02-20 15:00:16 +05:30
bba3d72d95
add signup ip support 2023-02-18 15:20:24 +05:30
35c45a8126
send user email once registration is sent 2023-02-05 19:00:47 +05:30
a15ca30325
make user creation time string 2023-01-23 20:30:48 +05:30
f37252e8ba
add user creation date to /users 2023-01-23 20:23:05 +05:30
381c6e94ba
add /users json field for op 2023-01-23 19:30:34 +05:30
a85dba1c41
make signup script a template 2023-01-21 22:19:17 +05:30
79d0cc3771
add ip option to signup 2023-01-21 21:54:33 +05:30
ab7a449d5e
use registration email as def email for meta-info 2023-01-21 18:59:56 +05:30
c0554fe765
fix number of users online counter 2023-01-21 17:13:29 +05:30
80ee0ad38e
add matrix & fedi to meta-info 2023-01-21 16:55:08 +05:30
0474fa31fd
omg i forgot -i in sed 2023-01-21 15:16:55 +05:30
14a6965be5
forgot the newline 2023-01-21 14:29:41 +05:30
772b1aeed4
typo 2023-01-21 14:26:35 +05:30
10b99bb72a
make signup script executable (700) 2023-01-21 14:26:07 +05:30
0b0f74742c
fix syntax 2023-01-21 14:21:15 +05:30
b2a9d1772f
add more stuff to signup script 2023-01-21 14:20:28 +05:30
775b96263d
Caddyfile REPLACEME 2023-01-20 23:10:18 +05:30
4391c162df
add setquota to signup script 2023-01-20 12:41:06 +05:30
66094fad5a
improve meta-info.env 2023-01-19 23:10:36 +05:30
Odyssey
c20a2eaae8 split into separate files
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-19 16:12:46 +01:00
Arya Kiran
617da00cc3
remove encoding/base64 from imports 2023-01-18 20:18:52 +05:30
Arya Kiran
a4435a2247
base64 isn't needed for ssh key 2023-01-17 20:39:46 +05:30
Arya Kiran
ad85946120
add ssh key value for signup 2023-01-17 20:36:47 +05:30
Odyssey
4321c7230b remove password gen lib completely
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-08 18:24:24 +01:00
Arya Kiran
44b5af735c
put password in a file in user's home folder 2023-01-08 15:55:26 +05:30