Commit graph

440 commits

Author SHA1 Message Date
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
Izalia Mae d7cfa12145 add Cache-Control header 2024-03-04 00:32:13 -05:00
Izalia Mae 4639d8a78d minor frontend tweaks 2024-03-03 18:28:49 -05:00
Izalia Mae 2a866eaaaa create admin domain bans page 2024-03-03 03:03:32 -05:00
Izalia Mae 15e7cac1b8 update barkshark-sql to fix an issue 2024-03-03 01:41:54 -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 a271cf22b4 check for config in multiple directories 2024-03-02 07:38:48 -05:00
Izalia Mae 0ad0bb0ff5 fix instance table styling and add footer 2024-02-24 08:40:57 -05:00
Izalia Mae ae490a9bf3 version bump to 0.3.0 2024-02-23 20:58:36 -05:00
Izalia Mae 6a891ccf89 simplify aputils imports 2024-02-23 20:58:24 -05:00
Izalia Mae b11abca7bc update aputils 2024-02-23 20:40:59 -05:00
Izalia Mae 6f03e2ad4c fix linter issues 2024-02-23 20:04:31 -05:00
Izalia Mae cd43aae535 add dev commands 2024-02-23 19:58:35 -05:00
Izalia Mae a08d1c9612 use jinja for web pages 2024-02-23 19:19:44 -05:00
Izalia Mae 26c5c05320 create get_resource method 2024-02-22 17:54:15 -05:00
Izalia Mae 097a53a539 ensure cache is setup 2024-02-22 13:44:58 -05:00
Izalia Mae 61014f791d re-add windows support 2024-02-22 13:28:41 -05:00
Izalia Mae 001aa87667 replace gunicorn with push worker processes 2024-02-22 11:54:09 -05:00
Izalia Mae a2ae1bdd21 return correct types for api 2024-02-20 19:22:18 -05:00
Izalia Mae e83f7e91af Merge branch 'replace_tinysql' into 'master'
Replace tinysql

See merge request pleroma/relay!56
2024-02-21 00:00:21 +00:00
Izalia Mae 93797b639e Replace tinysql 2024-02-21 00:00:21 +00:00