Bofh
4af16f2e52
More API improvements
2021-02-11 20:16:27 +01:00
Bofh
da564cc43f
Added a simple html templating system + removed old files
2021-02-11 20:13:27 +01:00
Bofh
465da4ef0f
More API improvements
2021-02-11 20:08:05 +01:00
Bofh
15f47b63f4
Improved API readability
2021-02-11 20:03:31 +01:00
Bofh
7f04f21bc3
Added HTML endpoint /mirrors to show a pretty HTML with the mirrored accounts
2021-02-10 20:21:53 +01:00
Bofh
9aaa5f4b34
Now server accepts binding port or addr:port
...
* Set it like this:
python3 server.py 8081
or
python3 server.py 127.0.0.1:8081
2021-02-10 19:16:49 +01:00
Bofh
29dea31a0b
Added wildcard login/logout + argv bind addr + improved code
2021-02-10 19:07:03 +01:00
Bofh
469990388a
Added API function to force login of account
2021-02-08 21:22:00 +01:00
Bofh
6db3fad9e3
Add API function to list mirrored accounts
2021-02-08 21:16:06 +01:00
Bofh
9414a6adc6
Added posts nuke API function
2021-02-08 21:07:49 +01:00
Bofh
646ea83410
Added logout API function for a single account
2021-02-08 15:49:42 +01:00
Bofh
2051406397
Added support for multiple images in post + stability improvements
2021-02-08 00:03:04 +01:00
Bofh
3cae3a8f37
Improved async functions
2021-02-07 20:13:47 +01:00
Bofh
ef8713438f
Implemented login + bio/website setting + profile pic setting
...
* save cookies as dict in the db accounts file
* md5sum wrapped
* db_get and db_set functions
* config() function to read config.json
* other improvements
2021-02-07 14:55:02 +01:00
Bofh
ece785b02e
User creation automated + server port configurable
...
* Make sure user input can never contain an invalid character as it might create a shell exploit vulnerability otherwise
2021-02-07 02:56:08 +01:00
Bofh
c799fb8e63
Renamed mirror to a module + added basic python3 http server
2021-02-07 01:21:58 +01:00