Commit graph

520 commits

Author SHA1 Message Date
Izalia Mae 8a5a13f516 put a new line between the short and long description 2024-10-14 15:51:06 -04:00
Izalia Mae 594af5658b remove unnecessary method 2024-10-14 15:47:56 -04:00
Izalia Mae 7673920141 treat doc strings as markdown 2024-10-14 15:46:51 -04:00
Izalia Mae 2093af8217 minor styling fix for parameters on docs page 2024-10-14 15:46:15 -04:00
Izalia Mae 71e1503542 remove swagger and add auto-docs for api endpoints in /doc 2024-10-13 20:37:37 -04:00
Izalia Mae a25df0ccc4 rework api endpoints 2024-10-13 17:30:12 -04:00
Izalia Mae b00daa5a78 convert activitypub routes to use register_route 2024-10-12 13:09:02 -04:00
Izalia Mae 091f8175b5 create Response.new_template method 2024-10-12 11:03:50 -04:00
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 e0ca93ab93 Merge branch 'dev' into 'main'
version 0.3.3

See merge request pleroma/relay!59
2024-10-10 09:48:39 +00:00
Izalia Mae f192f1c35c improve switch-backend command 2024-09-28 09:41:25 -04:00
Izalia Mae 85f062c8f3 don't fix timestamps on postgresql 2024-09-28 06:59:09 -04:00
Izalia Mae 098998084d catch ClientConnectorError when fetching actor 2024-09-28 06:56:27 -04:00
Izalia Mae 5a9d1836d0 disable forwarding of Undo messages 2024-09-19 04:37:54 -04:00
Izalia Mae 0d24aea764 replace misc functions 2024-09-18 07:13:44 -04:00
Izalia Mae c482677c32 raise error on non 200 or 202 status in HttpClient.post 2024-09-15 07:34:09 -04:00
Izalia Mae c5633808f7 use correct type when deleting old database cache items 2024-09-15 07:29:12 -04:00
Izalia Mae e6845136eb remove logging on non 202 and 200 statuses 2024-09-15 05:35:17 -04:00
Izalia Mae 7f0a1a4e08 replace HttpError with blib.HttpError 2024-09-15 04:54:37 -04:00
Izalia Mae ca70c1b293 change how HttpClient.get handles errors
* raise `blib.HttpError` on non 200 and 202 statuses
* use `EmptyBodyError` instead of `ValueError` for empty bodies
2024-09-15 04:35:00 -04:00
Izalia Mae 619b1d5560 update barkshark-lib to 0.2.3 2024-09-15 04:20:09 -04:00
Izalia Mae cf44b0dafe don't vacuum postgresql database 2024-09-14 22:44:51 -04:00
Izalia Mae 0cea1ff9e9 ensure Date objects returned from db have a timezone 2024-09-14 22:44:14 -04:00
Izalia Mae 0e89b9bb11 include token in /api/v1/login response 2024-09-14 20:38:03 -04:00
Izalia Mae 7329ef4fd9 fix queries for migrations 2024-09-14 06:06:03 -04:00
Izalia Mae c5acc5aa16 update barkshark-sql to 0.2.0 2024-09-14 05:57:49 -04:00
Izalia Mae 9a0400d84f add command to switch database backends 2024-09-14 05:56:47 -04:00
Izalia Mae c54aeabc90 fix postgres support 2024-09-14 05:56:27 -04:00
Izalia Mae 16fcea90f2 use correct key when loading postgres config 2024-09-14 05:09:48 -04:00
Izalia Mae ebe3337823 remove QueueItem class 2024-08-26 22:27:20 -04:00
Izalia Mae cff3bc30b8 ensure log level for workers gets updated 2024-08-26 22:23:04 -04:00
Izalia Mae 0576933b16 fix linter issue 2024-08-26 22:22:29 -04:00
Izalia Mae 065038cc2a don't use bare except 2024-08-26 22:21:59 -04:00
Izalia Mae d44cee6d01 replace "type: ignore" with typing.cast and add Application.workers property 2024-08-26 22:20:48 -04:00
Izalia Mae 501ac2cabb fix template headers 2024-08-26 21:54:43 -04:00
Izalia Mae 85825f6de1 don't use cached nodeinfo data when instance follows 2024-08-23 01:37:15 -04:00
Izalia Mae c9598ff273 update barkshark-lib and activitypub-utils 2024-08-23 01:13:55 -04:00
Izalia Mae 4203355d7d better error message when trying to set invalid config key 2024-08-23 01:13:32 -04:00
Izalia Mae 1516f27b76 properly convert Date objects for sqlite databases 2024-08-23 00:35:00 -04:00
Izalia Mae de190fcdd3 update dev dependencies and barkshark-lib 2024-08-22 23:40:39 -04:00
Izalia Mae baae0b46ac minor styling fixes
* don't allow line wrapping in tables
* replace legend for follow required message with div
* set correct font family
2024-08-22 23:25:43 -04:00
Izalia Mae 9f5df5f95c update swagger docs 2024-07-04 22:58:50 -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 b22b5bbefa ensure the relay can run on python >= 3.10 2024-07-03 00:59:59 -04:00
Izalia Mae e8b3a210a9 forgot to add functions.js 2024-07-02 23:51:37 -04:00
Izalia Mae 5217516c8a move Self imports to typing block 2024-06-25 16:54:04 -04:00
Izalia Mae 5765753b59 modify dependencies 2024-06-25 16:53:38 -04:00
Izalia Mae 1d72f2a254 fix ValueError when adding new instance via api 2024-06-25 16:29:58 -04:00
Izalia Mae 5e962be057 merge all javascript files 2024-06-25 16:25:33 -04:00