Commit graph

8072 commits

Author SHA1 Message Date
Robert George
36605efd20 Added support for secure cookies and django-csp 2023-02-01 12:59:10 -08:00
Mouse Reeve
006ff697b9
Merge pull request #2636 from 0x29a/redundant-db-queries
Remove redundant DB queries
2023-01-30 09:03:18 -08:00
Mouse Reeve
686d5625ed
Merge pull request #2627 from MeecoLabs/admin-manually-activate-user
Button in admin view to manually activate pending user
2023-01-30 09:01:05 -08:00
Mouse Reeve
46607df7e5 Merge pull request #2628 from chdorner/fix/improve-federated-generatednotes-in-feed
Improve feed header for federated generated notes
2023-01-30 08:36:36 -08:00
Dustin Steiner
1d0599d6d9
chore: make and compile messages 2023-01-30 08:23:06 +00:00
0x29a
5e87504b22 Remove duplicated editions request from book.html 2023-01-30 06:45:48 +01:00
0x29a
f2d7efe2ba Remove duplicated readthrough request from comment.html 2023-01-30 06:45:48 +01:00
0x29a
6e1418c5d4 Remove duplicated mentions request from layout.html 2023-01-30 06:45:48 +01:00
0x29a
6ea2513790 Remove duplicated notifications request from layout.html 2023-01-30 06:45:48 +01:00
0x29a
3c52426a1c Optimize get_suggested_books 2023-01-30 06:45:44 +01: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
Christof Dorner
46bfc184f5 Improve feed header for federated generated notes
This works for wants/started/finished reading generated notes, but not yet for "set a goal".
2023-01-27 17:49:48 +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