Commit graph

25 commits

Author SHA1 Message Date
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
e47e69b14d add docs dependencies 2024-12-05 22:56:17 -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
71e1503542 remove swagger and add auto-docs for api endpoints in /doc 2024-10-13 20:37:37 -04:00
Izalia Mae
619b1d5560 update barkshark-lib to 0.2.3 2024-09-15 04:20:09 -04:00
Izalia Mae
c5acc5aa16 update barkshark-sql to 0.2.0 2024-09-14 05:57:49 -04:00
Izalia Mae
c9598ff273 update barkshark-lib and activitypub-utils 2024-08-23 01:13:55 -04:00
Izalia Mae
de190fcdd3 update dev dependencies and barkshark-lib 2024-08-22 23:40:39 -04:00
Izalia Mae
b22b5bbefa ensure the relay can run on python >= 3.10 2024-07-03 00:59:59 -04:00
Izalia Mae
5765753b59 modify dependencies 2024-06-25 16:53:38 -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
058df0ac78 properly handle non-ascii domain names
* ensure domains are stored as ascii in the database
* convert domains to unicode on the frontend
2024-06-16 08:45:14 -04:00
Izalia Mae
e825a01795 update activitypub-utils to 0.3.1 2024-06-15 13:10:24 -04:00
Izalia Mae
a2b96d03dc enable strict mode by default for mypy 2024-06-14 13:37:19 -04:00
Izalia Mae
98a975550a use hs2019 for some servers that support it 2024-06-14 13:34:05 -04:00
Izalia Mae
e44108f341 update dependencies 2024-06-12 16:02:59 -04:00
Izalia Mae
d55cf4d1d0 update activitypub-utils to 0.2.2 2024-04-03 13:59:16 -04:00
Izalia Mae
65b6c0a5ad put dependencies in pyproject 2024-04-01 17:29:27 -04:00
Izalia Mae
c67b26760b convert setup.cfg to pyproject.toml 2024-04-01 15:38:29 -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
485d1cd23e add plugins to pylint 2024-01-23 21:54:05 -05:00
Izalia Mae
fdef2f708c add settings for pylint and flake8 2024-01-10 10:55:37 -05:00
Joel Beckmeyer
ccaa778a00 add packaging 2021-10-14 16:09:21 -04:00