Commit graph

540 commits

Author SHA1 Message Date
Izalia Mae
a6e908157c fix dependencies 2025-02-13 16:05:33 -05:00
Izalia Mae
dec378fbfc allow cache cleanup thread to be stopped on shutdown 2025-02-12 15:19:55 -05:00
Izalia Mae
ac0cddd65a actually fix python 3.10 compat 2025-02-12 15:14:46 -05:00
Izalia Mae
87e45553ca only require typing-extensions on python < 3.11 2025-02-12 14:52:43 -05:00
Izalia Mae
e85215d986 split manage.py and multiple small changes
* add `typing-extensions` dev dependency
* make sure `Self` import falls back to `typing-extensions`
* let setuptools find sub-packages
* pass global `Application` instance to cli commands
* move `RELAY_SOFTWARE` to relay/misc.py
* allow `str` for `follow` in `Message.new_unfollow`
2025-02-12 14:48:02 -05:00
Izalia Mae
2e373eddc9 don't use python 3.12 feature 2025-02-12 06:28:10 -05:00
Izalia Mae
be21b30d61 version bump to 0.3.4 2025-02-11 13:20:21 -05:00
Izalia Mae
e4eadb69db fix linter warnings in dev script 2025-02-11 13:01:48 -05:00
Izalia Mae
f741017ef1 skip missing optional values in old config 2025-02-11 12:55:02 -05:00
Izalia Mae
760718b5dc fix actor type checking (fixes #45) 2025-02-11 12:39:18 -05:00
Izalia Mae
527afaca95 properly get actor and inbox urls
* get actor url from incoming message
* fall back to actor inbox if there is no shared inbox
2025-02-11 12:28:05 -05:00
Izalia Mae
ff275a5ba4 fix linter warnings 2025-02-11 12:26:57 -05:00
Izalia Mae
3e6a2a4f37 fix logins 2025-02-11 12:25:16 -05:00
Izalia Mae
5a1af750d5 fix spacing issue on home page 2025-02-11 12:15:21 -05:00
Izalia Mae
ade36d6e69 add buzzrelay to RELAY_SOFTWARE list 2025-01-29 06:11:25 -05:00
Izalia Mae
e47e69b14d add docs dependencies 2024-12-05 22:56:17 -05:00
Izalia Mae
f41b24406f remove unnecessary SOFTWARE const 2024-11-28 09:17:11 -05:00
Izalia Mae
338fd26688 replace single quotes with double quotes 2024-11-28 07:09:53 -05:00
Izalia Mae
29ebba7999 add more classiifiers and py.typed file 2024-11-28 06:10:35 -05:00
Izalia Mae
5131831363 sort out pyproject and replace jinja2-haml with hamlish 2024-11-28 05:43:39 -05:00
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