Commit Graph

115 Commits

Author SHA1 Message Date
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
f74a2c124e
fix shoutrrrurl envvar 2023-01-19 22:04:55 +05:30
Odyssey
c20a2eaae8 split into separate files
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-19 16:12:46 +01:00
Odyssey
8acdb78f00 something
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-19 16:08:09 +01:00
Odyssey
c54ce2b46b fix formatting
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-19 16:04:28 +01:00
38ae5ad2c6
add example caddyfile and systemd service 2023-01-19 12:15:01 +05:30
Arya Kiran
1daeeb74e1
liberapay badge doesnt apply here tbh 2023-01-19 12:01:48 +05:30
Arya Kiran
507b38385f
add badges 2023-01-19 11:57:02 +05:30
Arya Kiran
bf8fd25b1b
be more clear about SHOUTRRR 2023-01-19 11:40:51 +05:30
Arya Kiran
b714c1b463
fix regex 2023-01-19 11:30:25 +05:30
Arya Kiran
47ab0080e7
gofmt 2023-01-19 10:55:11 +05:30
Arya Kiran
367c91d843
use regex for online-check 2023-01-18 23:28:56 +05:30
Arya Kiran
7a3ed3d955
retrieve username from args instead of envfile 2023-01-18 22:46:09 +05:30
Arya Kiran
b8c03015ef
add internal server error for some errors 2023-01-18 22:43:23 +05:30
Arya Kiran
2b3b221baf
workaround to allow lowercase in json while still exporting struct field 2023-01-18 22:36:57 +05:30
Arya Kiran
e934aa5a92
fixed user attributes for /users 2023-01-18 22:20:51 +05:30
Arya Kiran
d4218382f7
Add TODO 2023-01-18 21:40:35 +05:30
Arya Kiran
3c1d2770cb
no need to initialize output as 0 2023-01-18 21:26:37 +05:30
Arya Kiran
be59d303d0
breaking change: move /online route to /users 2023-01-18 21:16:44 +05:30
Arya Kiran
67b4d8842e
add total usercount, per-user online values 2023-01-18 21:14:36 +05:30
Arya Kiran
dd5670e0cc
switch to env for meta-info; add example meta-info.env 2023-01-18 21:05:07 +05:30
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
992a11d35f
add ssh option to README usage 2023-01-17 20:38:08 +05:30
Arya Kiran
ad85946120
add ssh key value for signup 2023-01-17 20:36:47 +05:30
Arya Kiran
d1c36f7af4
don't depend on wc for online user count; wip meta info in json 2023-01-17 19:35:28 +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
Arya Kiran
5672b6a520
generate password when reg script is run 2023-01-08 15:48:58 +05:30
Arya Kiran
e74b19616c
add SHOUTRRRURL docs 2023-01-08 14:50:40 +05:30
Arya Kiran
90478283d6
projectsegfault pubnix doesnt exist yet 2023-01-08 10:07:50 +05:30
Arya Kiran
426e965ff5
apparently you dont need the xtra dashes on gfm 2023-01-08 09:25:31 +05:30
Arya Kiran
11e5347391
add usage to README 2023-01-08 09:24:34 +05:30
Arya Kiran
3929036015
dont print the script to stdout when signup request is made 2023-01-08 09:17:19 +05:30
Arya Kiran
a61367953b
quote the echo account created part 2023-01-08 09:13:01 +05:30
Odyssey
a10b9a75c2 Fix newline escape character on /online
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 19:43:20 +01:00
Odyssey
a9933f7a42 remove binary wtf
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 19:16:48 +01:00
Odyssey
3a7c7d575b Merge branch 'master' of https://github.com/ProjectSegfault/publapi 2023-01-07 18:58:02 +01:00