Commit graph

462 commits

Author SHA1 Message Date
Izalia Mae 5c210dc20f fix linting issues 2024-03-16 01:36:20 -04:00
Izalia Mae b8b6dda131 update theme on change in config admin page 2024-03-15 23:04:41 -04:00
Izalia Mae 98b7e33288 fix editing note in config admin page 2024-03-15 23:00:54 -04:00
Izalia Mae d579ec634d fix NameError in CachedStaticResource._handle 2024-03-15 22:56:16 -04:00
Izalia Mae 02564c7295 update caddy file for v2 2024-03-15 22:36:15 -04:00
Izalia Mae e1ab01e4e2 use api on login page 2024-03-15 22:14:37 -04:00
Izalia Mae a966f9c1cf replace alerts with in-page toast messages 2024-03-15 21:57:44 -04:00
Izalia Mae 2be96a8ca5 register static route on run 2024-03-15 21:28:40 -04:00
Izalia Mae 6018af1e68 load static files into memory when not in dev mode 2024-03-15 21:24:17 -04:00
Izalia Mae c961fadc9a don't run relay via dev script in dev mode by default 2024-03-15 21:23:57 -04:00
Izalia Mae 94f4d32314 don't run relay via dev script in dev mode by default 2024-03-15 21:17:20 -04:00
Izalia Mae f488d661d7 load static files into memory when not in dev mode 2024-03-15 21:15:54 -04:00
Izalia Mae 8b738dd365 removed unused endpoints 2024-03-15 19:52:12 -04:00
Izalia Mae 3114e48371 enable csp headers 2024-03-15 19:47:05 -04:00
Izalia Mae b068f4f91e move request method out of client class 2024-03-15 06:55:52 -04:00
Izalia Mae 0f3b72830b use cookie auth for frontend 2024-03-15 06:50:08 -04:00
Izalia Mae 50c323ba1e use api for users admin page 2024-03-15 06:46:55 -04:00
Izalia Mae 1ffc609058 add user management api endpoints and allow cookie for api auth 2024-03-15 06:46:31 -04:00
Izalia Mae 08f4f0e72d use api for admin config page 2024-03-15 04:53:43 -04:00
Izalia Mae 31f5decc4a create append_table_row js function 2024-03-15 00:30:04 -04:00
Izalia Mae ad17fb64f1 use api for whitelist admin page 2024-03-15 00:02:24 -04:00
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 49917fcc4e minor doc change 2024-03-13 18:52:22 -04:00
Izalia Mae 7f1c0d939d add database config options to docs 2024-03-13 18:37:00 -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 21e0e0a3ec add markdown support for the note setting 2024-03-11 03:17:38 -04:00
Izalia Mae 5b1f244703 actually use signed headers 2024-03-11 02:36:34 -04:00
Izalia Mae b3ab6e6d40 add message on home page when relay is in manual approval mode 2024-03-11 01:53:12 -04:00
Izalia Mae d5069d98a6 fix TypeError when a person tries joining 2024-03-11 01:52:28 -04:00
Izalia Mae c852867636 add option to require approval for new instances 2024-03-11 01:21:46 -04:00
Izalia Mae 1672f7a7eb add missing file 2024-03-10 19:15:59 -04:00
Izalia Mae a4158c8d7e Merge branch 'dev' into 'master'
0.3.0

See merge request pleroma/relay!57
2024-03-10 23:02:59 +00:00
Izalia Mae a1bf152fc2 update barkshark-sql to 0.1.2 2024-03-10 18:57:53 -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 e86a376f6e move stylesheet variables to separate file and re-enable cache 2024-03-04 15:29:08 -05:00
Izalia Mae a0ee22406b don't use spec file when building bin 2024-03-04 05:39:21 -05:00
Izalia Mae 0af6a33b69 use darker text color for active menu item 2024-03-04 02:34:28 -05:00
Izalia Mae 01a491f272 replace target with action in forms 2024-03-04 02:32:57 -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 33102f9e4e disable caching for now 2024-03-04 01:42:27 -05:00
Izalia Mae b73fdece95 create admin users page 2024-03-04 01:40:51 -05:00
Izalia Mae 2223695d15 remove commas in element attributes 2024-03-04 01:14:17 -05:00
Izalia Mae d44498b966 fix dev mode 2024-03-04 01:09:40 -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