Izalia Mae
f9d6d7b18d
route handler changes
...
* rename `register_route` to `register_view`
* add `register_route` function
* convert frontend and misc routes to use `register_route`
2024-10-12 10:28:22 -04:00
Izalia Mae
773922e263
remove tokens table and fix auth handling
2024-07-04 22:00:54 -04:00
Izalia Mae
f98ca54ab7
various changes
...
* Add oauth login support
* Add `HttpError` class
* Add custom error handling
* Use `blib.Date` class for (de)serializing db timestamp values
* Add `db-maintenance` command
* Rework middleware route checking
* Fix fetching post data in api endpoints
2024-07-04 20:36:04 -04:00
Izalia Mae
bdc7d41d7a
update barkshark-sql to 0.2.0-rc1 and create row classes
2024-06-25 16:02:49 -04:00
Izalia Mae
7e08e18785
add help tooltips to config page
2024-06-21 02:37:13 -04:00
Izalia Mae
15882f3e49
fix linter issues
2024-06-14 15:05:55 -04:00
Izalia Mae
f7e31d9387
add cors headers to api routes
2024-03-30 05:33:26 -04:00
Izalia Mae
beb9d9c3e5
add web manifest to frontend
2024-03-28 07:12:27 -04:00
Izalia Mae
014c6896b1
some minor changes
...
* version bump to 0.3.1
* remove debug print in frontend endpoints
* remove unused json import
* fix toast messages for accepting/denying follow requests
2024-03-28 05:57:28 -04:00
Izalia Mae
5c210dc20f
fix linting issues
2024-03-16 01:36:20 -04:00
Izalia Mae
e1ab01e4e2
use api on login page
2024-03-15 22:14:37 -04:00
Izalia Mae
8b738dd365
removed unused endpoints
2024-03-15 19:52:12 -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
189ac887a9
minor tweak to data used in admin pages
2024-03-11 03:24:44 -04:00
Izalia Mae
c852867636
add option to require approval for new instances
2024-03-11 01:21:46 -04:00
Izalia Mae
e86a376f6e
move stylesheet variables to separate file and re-enable cache
2024-03-04 15:29:08 -05:00
Izalia Mae
5f156401c7
fix linter warnings
2024-03-04 02:30:54 -05:00
Izalia Mae
4cbf83a7b7
simplify css
2024-03-04 02:19:26 -05:00
Izalia Mae
b73fdece95
create admin users page
2024-03-04 01:40:51 -05:00
Izalia Mae
5dcf375247
create admin whitelist page
2024-03-04 01:00:57 -05:00
Izalia Mae
a163f2baab
create admin software bans page
2024-03-04 00:43:12 -05:00
Izalia Mae
2a866eaaaa
create admin domain bans page
2024-03-03 03:03:32 -05:00
Izalia Mae
e5d8c9dcb0
create admin config page
2024-03-03 00:20:38 -05:00
Izalia Mae
e6831f04eb
create admin instances page
2024-03-02 19:58:06 -05:00
Izalia Mae
7af3b9c20b
add login/logout and start on admin interface
2024-03-02 17:36:44 -05:00
Izalia Mae
a08d1c9612
use jinja for web pages
2024-02-23 19:19:44 -05:00
Izalia Mae
93797b639e
Replace tinysql
2024-02-21 00:00:21 +00: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