Commit graph

15 commits

Author SHA1 Message Date
Izalia Mae
f775335e80 use api for instances admin page 2024-03-14 23:48:22 -04:00
Izalia Mae
aeb84d7a72 use api for software bans admin page 2024-03-14 21:58:40 -04:00
Izalia Mae
17690268bc add ability to update domain bans and re-add domain ban api endpoints 2024-03-14 21:36:47 -04:00
Izalia Mae
10ba039938 minor frontend tweaks and use javascript for managing domain bans 2024-03-14 20:58:16 -04:00
Izalia Mae
9fe6d8ad96 replace pylint with mypy and other minor changes
* ignore test*.py files
* format requirements.txt to be more readable
* only show note on home page if it is set
* allow flake8 to check for more than just unused imports
* remove a bunch of unused methods in `compat.RelayDatabase`
* turn `Config` into a dataclass
* replace database config methods with `RelayData` dataclass
* rename `loads` to `cls` in `HttpClient.get`
2024-03-13 17:43:57 -04:00
Izalia Mae
c852867636 add option to require approval for new instances 2024-03-11 01:21:46 -04:00
Izalia Mae
0e812c012e fix POST /api/token and prevent scroll bar from always showing 2024-03-05 14:05:54 -05:00
Izalia Mae
6f03e2ad4c fix linter issues 2024-02-23 20:04:31 -05:00
Izalia Mae
a2ae1bdd21 return correct types for api 2024-02-20 19:22:18 -05:00
Izalia Mae
93797b639e Replace tinysql 2024-02-21 00:00:21 +00:00
Izalia Mae
1eb93ab71a fix running via pyinstaller bin 2024-02-16 21:05:12 -05:00
Izalia Mae
c3b4d9ca98 add swagger api docs 2024-02-16 20:25:50 -05:00
Izalia Mae
afad948f85 de-uwu api message 2024-02-16 10:39:58 -05:00
Izalia Mae
aca34825b1 remove unused imports 2024-02-15 22:05:22 -05:00
Izalia Mae
097f3bc896 Add API endpoints for relay management 2024-02-14 20:29:30 +00:00