Commit Graph

89 Commits

Author SHA1 Message Date
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
Odyssey
6d0d1a3cb0 bruhhh
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 18:57:57 +01:00
Arya Kiran
90bba99394
fix password part 2023-01-07 23:08:21 +05:30
Odyssey
e3b87c8a4a Fix /online output
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 18:32:17 +01:00
Odyssey
8a9b2623f9 Try this Arya
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 18:26:14 +01:00
Odyssey
2880eda259 try
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 18:21:44 +01:00
Odyssey
032e7a6f78 Merge branch 'master' of https://github.com/ProjectSegfault/publapi
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 18:17:31 +01:00
Odyssey
588804cf62 ok commited
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 18:16:35 +01:00
Arya Kiran
40829dfbe9
add full path for users and wc binary 2023-01-07 22:26:25 +05:30
Odyssey
41ecec808c Switch logger
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 17:54:04 +01:00
Odyssey
93353c7551 add logging to online
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 17:48:15 +01:00
Odyssey
fffd28165b Oops
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 17:45:42 +01:00
Odyssey
de809e2837 some changes
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 17:44:25 +01:00
Odyssey
b1034bca16 Fix syntax
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 17:02:06 +01:00
Arya K
d633ccfb25
Add password for the user 2023-01-07 21:12:28 +05:30
Odyssey
2a827841c9 Arya fix it
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 16:33:51 +01:00