Commit graph

8062 commits

Author SHA1 Message Date
Dustin Steiner 1d0599d6d9
chore: make and compile messages 2023-01-30 08:23:06 +00:00
Dustin c0e541c7ed
Merge branch 'main' into admin-manually-activate-user 2023-01-29 11:21:31 +00:00
Mouse Reeve d0a0851123
Merge pull request #2629 from 0x29a/performance-fixes
Minor performance improvements
2023-01-28 07:18:50 -08:00
Mouse Reeve e3ce12671a
Merge pull request #2630 from hughrun/shepherd
fix sass compound selector extensions
2023-01-28 07:18:34 -08:00
Dustin Steiner 952dd0dcdf
style: fix unused parameter linter error 2023-01-28 08:31:41 +00:00
Dustin Steiner 3fdbfe405b
fix: rename activate user form name 2023-01-28 08:31:16 +00:00
Hugh Rundle 2605b12ed0 fix sass compound selector extensions
Sass changed the way compound selectors can be extended, as outlined here:
https://sass-lang.com/documentation/breaking-changes/extend-compound

This commit aligns the styles in shepherd.scss to the nwe compound selector extension format.
2023-01-28 14:18:05 +11:00
0x29a cbd75dc766 Minor performance improvements 2023-01-27 20:24:53 +01:00
Dustin Steiner 54aea0654a
style: run linter 2023-01-27 15:47:22 +00:00
Dustin Steiner 3d29524e29
chore: reverse support for localhost domain 2023-01-27 15:45:43 +00:00
Dustin Steiner 07f4300176
feat: button in admin view to manually activate pending user 2023-01-27 15:43:34 +00:00
Mouse Reeve 48ac90a984
Merge pull request #2624 from bookwyrm-social/update_locales
Updates locales
2023-01-26 09:06:31 -08:00
Mouse Reeve a9142d9858 Updates locales 2023-01-26 08:55:52 -08:00
Mouse Reeve 90e3661636
Merge pull request #2623 from chdorner/fix/passwordless-redis
Fix passwordless redis connection string
2023-01-26 08:41:46 -08:00
Mouse Reeve d1d77ca9c3
Merge pull request #2622 from jaschaurbach/update-contrib
add "import" to celery worker
2023-01-26 08:33:42 -08:00
Christof Dorner afab255c85 Allow empty broker and activity redis password 2023-01-26 17:24:20 +01:00
Jascha Urbach c26387baea
add "import" to celery worker
import was missing in ExecStart for celery
2023-01-26 17:24:18 +01:00
Christof Dorner 80d3474cef Quote redis activity password
Same as the broker password in celerywyrm/settings.py
2023-01-26 17:23:55 +01:00
Mouse Reeve 62d1c54b31
Merge pull request #2613 from hughrun/authorized-fetch
Enable communication with "authorized_fetch" Mastodon servers
2023-01-26 08:21:34 -08:00
Mouse Reeve 2553a083f5
Merge pull request #2621 from bookwyrm-social/expose-import-queue
Show import queue in Celery admin
2023-01-26 08:18:42 -08:00
Mouse Reeve d12e755080
Merge pull request #2620 from jaschaurbach/update-requirements
Update requirements.txt
2023-01-26 08:13:50 -08:00
Mouse Reeve ef48149844 Show import queue in Celery admin 2023-01-26 07:52:37 -08:00
Jascha Urbach 7c75c246d2
Update requirements.txt
Important bugfixes and performance updates.

did not touch opentelemetry or the dev  dependencies.

No breaking changes.
2023-01-26 16:51:32 +01:00
Mouse Reeve 9c3c34834f Update version number 2023-01-26 07:39:25 -08:00
Mouse Reeve 9be2f00064
Update test_signing.py 2023-01-26 07:19:53 -08:00
Mouse Reeve e55e4429b1
Merge pull request #2604 from rrgeorge/redis-sockets
Add support to connecting to redis via unix socket
2023-01-26 06:39:15 -08:00
Mouse Reeve f4de00088f
Merge branch 'main' into authorized-fetch 2023-01-26 06:22:03 -08:00
Mouse Reeve 8a65296c29
Merge pull request #2618 from hughrun/tests
use mocks for isni API calls
2023-01-26 06:06:05 -08:00
Mouse Reeve 4b6678903f
Merge pull request #2617 from bookwyrm-social/follow-priority
Make follow activities a high priority
2023-01-26 06:03:57 -08:00
Hugh Rundle 63dafd54d3 black
I can't even tell what it thinks it did, but Black likes to complain.
2023-01-26 17:24:51 +11:00
Hugh Rundle 821169251c add more verbose comment to settings.py 2023-01-26 17:19:44 +11:00
Hugh Rundle c86fdfbd40 black 2023-01-26 16:56:11 +11:00
Hugh Rundle 1fe6892d0a pylint 2023-01-26 16:54:14 +11:00
Hugh Rundle aa6eaccfbb use mocks for isni API calls
- fixes a couple of tests making author ISNI calls
- notes a future TODO to remove some possibly useless code
2023-01-26 16:22:50 +11:00
Mouse Reeve 9b8c6d54f7
Merge pull request #2554 from chdorner/feat/registration-default-user-auth-group
Allow to set default user auth group
2023-01-25 18:22:37 -08:00
Mouse Reeve 9fdcc7debd Fixes mocks in tests 2023-01-25 09:32:45 -08:00
Mouse Reeve b89cab1ee5 Fixes args passed to inbox activity task 2023-01-25 07:39:43 -08:00
Hugh Rundle 578de27515
Merge pull request #2610 from Giebisch/rss-feed
Add RSS feed for reviews, quotes, comments only
2023-01-25 20:04:34 +11:00
Mouse Reeve 858bf70d62 Make follow activities a high priority
This should go a long way towards fixing the problems with follows not
going through to remote servers. All it does is move relationship
related activities from the medium priority queue, which gets
backlogged easily, to the high priority queue, which is less backlogged.

The risk here is that the high priority queue could end up getting
backlogged, so this isn't the last word on fixing this, but I think the
volume of activities that this will add to it will be manageable.
2023-01-24 08:46:29 -08:00
Giebisch 3d99908d27 Fixed Object Selection for RSS Feeds 2023-01-23 15:17:20 +01:00
Hugh Rundle f0e1767bc9 black code 2023-01-22 16:10:30 +11:00
Hugh Rundle 803bba71a6 fix error handling
- when using raise_for_status we need to catch an HTTPError, not a ConnectionError
- simplify instance actor - use internal email address since it will never be used anyway, and make default username less likely to already be in use.
2023-01-22 15:59:19 +11:00
Christof Dorner c991733c8d Set default auth user group to editor on initdb 2023-01-21 17:04:32 +01:00
Christof Dorner 7ae983acdf Use default user auth group from site settings 2023-01-21 17:04:32 +01:00
Christof Dorner 2c680cb365 Add default user auth group to registration settings 2023-01-21 17:04:32 +01:00
Giebisch 88ddee74ae Sync main and fix user page 2023-01-21 00:22:00 +01:00
Giebisch 5d61003ce7 Merge branch 'main' into rss-feed 2023-01-20 23:29:33 +01:00
Giebisch 70f4d72322 Added Tests for several RSS Feeds 2023-01-20 23:28:50 +01:00
Hugh Rundle 317fa5cdfd black 2023-01-20 20:05:14 +11:00
Hugh Rundle e8452011f7 handle get_data exceptions better
Makes exception handling more precise, only raising status for 401s.

Also fixes a string pylint was complaining about.
2023-01-20 19:55:38 +11:00