Commit graph

8124 commits

Author SHA1 Message Date
Dustin Steiner
35d30a41f3
feat: first version of a book series list by author 2023-01-24 13:00:18 +00: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
Hugh Rundle
f8c9df4aff pylint fixes 2023-01-20 18:20:18 +11:00
Hugh Rundle
4108238716 resolve SECURE_FETCH bugs
ERROR HANDLING FIXES

- use raise_for_status() to pass through response code
- handle exceptions where no response object is passed through

INSTANCE ACTOR

- models.User.objects.create_user function cannot take an ID
- allow instance admins to determine username and email for instance actor in settings.py
2023-01-20 16:32:17 +11:00
Hugh Rundle
0da5473b0c black formatting 2023-01-20 16:31:27 +11:00
Hugh Rundle
0c614e828f deal with missing digests in signatures
If no digest value is passed to make_signature and Exception was thrown.
Since digest is added to the signature headers if it is not None anyway, there is no need to assign the digest value before that check.
When signing a request _as the server_ for Mastodon's AUTHORIZED_FETCH there is no need to include a digest.
2023-01-20 08:24:46 +11:00
Mouse Reeve
6425e569c5
Merge pull request #2612 from bookwyrm-social/adds-merge-migration
Adds merge migration
2023-01-19 13:22:56 -08:00
Mouse Reeve
9ef5d53696 Python formatting 2023-01-19 13:06:58 -08:00
Hugh Rundle
d97d6acfa4
Merge pull request #2599 from asmaloney/opengraph-book-and-list
Improve Open Graph data for books and add it for lists
2023-01-20 07:58:34 +11:00
Mouse Reeve
a9f59ef8d5 Adds merge migration 2023-01-19 12:17:41 -08:00
Mouse Reeve
3e969bb349
Merge pull request #2606 from jaschaurbach/author_website
Add Website to author
2023-01-19 12:08:01 -08:00
Mouse Reeve
0594152f47
Merge pull request #2511 from Giebisch/import-limit
Added Import Limit
2023-01-19 11:16:58 -08:00
Hugh Rundle
9a0f8f9c2a fix test_get_representative_not_existing params 2023-01-19 16:40:13 +11:00
Mouse Reeve
2ceea24763
Merge pull request #2608 from kvibber/rss-autodiscover
Enable RSS autodiscovery on user profile
2023-01-18 19:51:15 -08:00
Kelson Vibber
919c9a7585 Add site name to RSS autodiscovery title 2023-01-18 18:27:51 -08:00
Andy Maloney
89c1edac36 Improve Open Graph data for books and add it for lists 2023-01-18 10:30:26 -05:00
Mouse Reeve
7f3551bab8
Merge pull request #2605 from rrgeorge/fix-barcode-scanner
Fix barcode scanner
2023-01-18 05:55:20 -08:00
Hugh Rundle
d66e2fe861 merge in latest changes 2023-01-18 14:12:01 +11:00
Giebisch
18c786f63f Added RSS API 2023-01-17 21:59:05 +01:00
Giebisch
bfc8856f66 Merge branch 'main' into rss-feed 2023-01-17 20:54:41 +01:00
Kelson Vibber
fd7dcb320e fix mimetype on rss autodiscovery and add title 2023-01-16 22:30:15 -08:00
Kelson Vibber
78422ac35b Add RSS autodiscover support to user profile page 2023-01-16 21:46:50 -08:00
Mouse Reeve
1b17b94a28
Merge pull request #2607 from cthos/fix-email-user-settings-page
Email Config View Has a Typo
2023-01-16 19:34:07 -08:00
Giebisch
5faf7f5e87 Fixed Import limit for retries 2023-01-17 01:07:10 +01:00
Alexander Ward
1f50a2dbfc
Email Config Has a Typo
There's an errant capital "E" preventing the SMTP user from appearing on the settings page.
2023-01-16 15:47:24 -08:00
Giebisch
d0adb370cd Merge branch 'main' into import-limit 2023-01-16 02:05:18 +01:00
Jascha Urbach
54e0fdd5ae
Here we go again! 2023-01-15 09:41:39 +01:00
Robert George
95b66480c9 lint fixes 2023-01-14 18:20:37 -08:00
Mouse Reeve
10322cdff3
Merge pull request #2572 from chdorner/fix/create-edit-book-cover-url
Ensure transient `cover_url` field value gets persisted across form renders
2023-01-14 18:08:22 -08:00
Robert George
f362343dfa style fixes 2023-01-14 15:44:10 -08:00
Robert George
207abed654 Add support for specifying redis url to support unix sockets 2023-01-14 14:52:54 -08:00
Robert George
92341fb43a Add missing isbn span for barcode search 2023-01-14 14:38:16 -08:00
Mouse Reeve
788a33ee8a
Merge pull request #2600 from chdorner/fix/card-header
Fix generated note content checks in card header template
2023-01-12 15:41:52 -08:00
Christof Dorner
0291ffbcb1 Fix generated note content checks in card header template 2023-01-12 20:58:41 +01:00
Mouse Reeve
0f0da0bdbb
Merge pull request #2598 from bookwyrm-social/revert-2555-author_website
Revert "Add Website field to author"
2023-01-11 19:30:41 -08:00
Mouse Reeve
dd2b166382
Revert "Add Website field to author" 2023-01-11 19:21:40 -08:00
Mouse Reeve
60f3f8fcc0
Merge pull request #2596 from bookwyrm-social/commented-nginx
Re-comment nginx config
2023-01-11 17:07:00 -08:00
Mouse Reeve
8fa8d433aa Re-comment nginx config
I thought this didn't need to be commented out but it does (if it isn't,
it tried to load the cert, which doesn't yet exist)
2023-01-11 16:56:31 -08:00
Mouse Reeve
b89060d5fc
Merge pull request #2594 from bookwyrm-social/locales
Updates locales
2023-01-11 15:02:15 -08:00
Mouse Reeve
71f5e5a688 Updates locales 2023-01-11 14:47:42 -08:00