Commit graph

479 commits

Author SHA1 Message Date
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
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 45b0de26c7 add ability to submit forms with enter key 2024-06-21 04:44:13 -04:00
Izalia Mae 7e08e18785 add help tooltips to config page 2024-06-21 02:37:13 -04:00
Izalia Mae e67ebd75ed force frontend resources to refresh on new version 2024-06-19 17:51:13 -04:00
Izalia Mae 9a3e3768e7 modify workers
* move all worker-related classes and functions to workers.py
* change the log level in worker processes
* create QueueItem and PostItem classes
2024-06-19 12:59:08 -04:00
Izalia Mae c508257981 raise exceptions instead of returning None from HttpClient methods 2024-06-18 23:14:21 -04:00
Izalia Mae b308b03546 only watch $REPO/relay directory with dev run command 2024-06-18 23:05:37 -04:00
Izalia Mae 5407027af8 rework person_check and rename it to actor_type_check 2024-06-18 21:52:52 -04:00
Izalia Mae f49bc0ae90 replace menu open icon 2024-06-16 11:27:43 -04:00
Izalia Mae cad7f47e7e properly get date on api requests from frontend 2024-06-16 09:08:33 -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 ab9b8abbd2 don't allow bytes for message in push_message 2024-06-14 22:57:08 -04:00
Izalia Mae 15882f3e49 fix linter issues 2024-06-14 15:05:55 -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 ed03779a11 use correct command for dev install command 2024-06-14 13:29:55 -04:00
Izalia Mae e44108f341 update dependencies 2024-06-12 16:02:59 -04:00
Izalia Mae a0d84b5ae5 fix typing issue in cache 2024-06-12 14:50:40 -04:00
Izalia Mae 478e21fb15 require token for /api/v1/instance 2024-06-12 13:24:44 -04:00
Izalia Mae 0d50215fc1 add missing AP routes
Adds routes for "/outbox", "/following", and "/followers"
2024-06-12 13:23:53 -04:00
Izalia Mae 62555b3591 use old signing algorithm by default 2024-06-12 12:40:32 -04:00
Izalia Mae d55cf4d1d0 update activitypub-utils to 0.2.2 2024-04-03 13:59:16 -04:00
Izalia Mae bd50baa639 re-initialize Application in push workers for windows 2024-04-02 15:18:31 -04:00
Izalia Mae dec7c6a674 Merge branch 'dev' into 'main'
version 0.3.1

See merge request pleroma/relay!58
2024-04-02 18:31:22 +00:00
Izalia Mae b1a2989ba7 update installation docs to replace git+http url with pypi package 2024-04-02 14:29:49 -04:00
Izalia Mae fd0b9fb723 add shebang to dev script 2024-04-02 13:56:11 -04:00
Izalia Mae ffed955ab3 add note for changing log-level via cli 2024-04-02 13:38:23 -04:00
Izalia Mae 71de40dfca various cli changes
* ensure database file is correctly named in docker container
* add `--skip-questions` option to setup command
* ask to proceed with setup if private key already exists
2024-04-02 13:36:08 -04:00
Izalia Mae 7064adb000 move dev script out of module 2024-04-02 12:36:06 -04:00
Izalia Mae 437075e512 Fix running via docker 2024-04-02 12:32:49 -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 3707d3f5f6 change metadata name to ActivityRelay 2024-04-01 15:12:01 -04:00
Izalia Mae 87d58c95e6 fetch barkshark-sql from pypi 2024-04-01 14:49:40 -04:00
Izalia Mae 22bba6e85e use jinja2-haml from pypi
jinja2-haml is the renamed hamlish-jinja fork at https://git.barkshark.xyz/barkshark/hamlish-jinja
2024-04-01 13:09:54 -04:00
Izalia Mae 12b9ee317a simplify dev lint command with watch flag 2024-04-01 13:05:32 -04:00
Izalia Mae 9708d526a9 use correct license name 2024-04-01 13:04:41 -04:00
Izalia Mae 673175b80b add clean dev command 2024-04-01 07:18:10 -04:00
Izalia Mae c200c295e7 ensure config key is formatted properly 2024-03-31 18:23:35 -04:00
Izalia Mae 134afe24f7 update aputils to 0.2.1 2024-03-31 11:52:05 -04:00