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
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
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
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
Giebisch
d0adb370cd
Merge branch 'main' into import-limit
2023-01-16 02:05:18 +01: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
Giebisch
b22d060d93
Merge branch 'main' into import-limit
2023-01-11 16:22:08 +01:00
Mouse Reeve
c9fa90f83b
Merge pull request #2547 from avandeursen/docker-test-run
...
Ensure django tests pass in default Docker setting
2023-01-09 20:06:39 -08:00
Christof Dorner
1c6548a0ad
Ensure transient cover_url
field value gets persisted across form renders
...
Given this field doesn't map to an `Edition` model field it lost its values when re-rendering the form.
It worked only when the form was valid and rendered as part of the confirmation screen, which is due to
the context data value being set in `add_authors` which was only getting called after the form validation.
I've opted to pull it out into a separate new function that gets called before form validation.
2023-01-04 18:02:04 +01:00
Giebisch
7e7966987b
Merge branch 'main' into import-limit
2023-01-02 15:42:50 +01:00
Arie van Deursen
2bf8cd88f1
Fix @pytest.mark.skipif formatting
2022-12-30 18:44:28 +01:00
Joachim
bfe04feca9
Add validation util + test
2022-12-30 17:55:47 +01:00
Arie van Deursen
1c0a3a7829
Only test thumbnails if they're enabled in the settings
2022-12-26 14:26:23 +01:00
Giebisch
3295d419bf
Add Test for Import Limit
2022-12-19 23:25:43 +01:00
Joachim
00c2930290
Black
2022-12-17 17:56:28 +01:00
Joachim
cd940e2c40
Add tests for remove_user_preview_image_task
2022-12-17 17:49:39 +01:00
Joachim
8c34b23c35
Disable preview images generation for remote users
2022-12-17 11:39:10 +01:00
Mouse Reeve
7ff654720c
updates tests
2022-12-16 14:45:32 -08:00
Mouse Reeve
d4351cfcb4
Merge branch 'main' into import-limit
2022-12-16 12:44:57 -08:00
Giebisch
df54df8309
Added Import Limit
2022-12-15 23:43:25 +01:00
Mouse Reeve
89478ac87e
Merge pull request #2491 from chdorner/register-tz-support
...
Detect preferred timezone via JavaScript on register
2022-12-11 14:49:29 -08:00
Christof Dorner
13b262bb7b
Detect preferred timezone via JavaScript on register
2022-12-11 23:32:07 +01:00
Mouse Reeve
bb5564461c
Merge pull request #2398 from bookwyrm-social/html-in-activitypub
...
Render markdown to html when using activitypub
2022-12-11 13:43:36 -08:00
Mouse Reeve
a6604c197d
Updates tests
2022-12-11 13:19:26 -08:00
Mouse Reeve
58e8c0b5ec
Merge branch 'main' into admin-roles
2022-12-11 11:58:54 -08:00
Mouse Reeve
734fb5ad34
Merge pull request #2489 from chdorner/user-reviews-comments-tab
...
Add new user tab listing only reviews and comments
2022-12-11 11:53:31 -08:00
Mouse Reeve
c314c9b5e3
Adds email config admin view ( #2494 )
...
This view lets you see your email configuration and send a test email.
2022-12-11 11:37:09 -08:00
Mouse Reeve
a25a5b1032
Updates expected number of groups in tests
2022-12-11 11:35:48 -08:00
Jascha Urbach
ac8b060d58
Isfdb ID for books and authors ( #2482 )
...
* New ID: Audible ASIN
Audible belongs to Amazon BUT they do not share the same IDs. The Audible ASIN of an audiobook is never the same as the Amazon ASIN.
Yeah, I know, Amazon is great. The fact that the ASIN is a good distinction for different works and editions bothers me more than I will ever be willing to admint.
* New ID "ISFDB"
Internet Speculative Ficiton Database ID for books and authors.
Links to the entry if set.
* Added aasin to test
Added aasin to test
* the answer expects more emptxy fields...
2022-12-11 11:33:33 -08:00
Christof Dorner
fbd8e22b97
Add new user tab listing only reviews and comments
2022-12-11 20:24:00 +01:00
Mouse Reeve
b4ddf281b5
Trying to fix an unreliable unit test regex
2022-12-11 11:13:16 -08:00
Mouse Reeve
bffde6703c
Merge branch 'main' into html-in-activitypub
2022-12-05 17:46:31 -08:00
Mouse Reeve
97358da503
Merge pull request #2452 from indutny/fix/gh-2451
...
Fix serialization of JSON-LD subarrays
2022-12-05 09:53:27 -08:00
Fedor Indutny
cdc833657f
Fix serialization of JSON-LD subarrays
...
Properties like "tag" could be lists containing multiple subclasses of
ActivityObject. Make sure to serialize them recursively instead of
outputting them as they are, because otherwise we could get a bunch of
nulls in the resulting JSON and that wouldn't necessarily be a valid
JSON-LD object.
Fix : #2451
2022-12-04 18:12:39 -08:00
Mouse Reeve
26a05d2182
Adds tests for impressum page
2022-12-04 13:13:05 -08:00
Mouse Reeve
5172f67c35
Merge pull request #2450 from bookwyrm-social/impressum
...
Adds database fields for legal page/impressum
2022-12-04 12:12:26 -08:00
Mouse Reeve
b7b7b2680e
Fixes unit test
2022-12-04 11:44:42 -08:00
Rick Osborne
862260294a
StoryGraph import ISBN tweak
...
Looks like SG updated their CSV headers just a little, so that the importer
hadn't been picking up the ISBN.
2022-12-02 19:16:22 -08:00
Mouse Reeve
81ab08aaa3
Fixes editing links
2022-11-25 08:28:45 -08:00
Mouse Reeve
dd83e32f32
Fixes unit test
2022-11-23 22:00:34 -08:00
Mouse Reeve
46b663b139
Rename new user to avoid duplication
2022-11-17 15:10:11 -08:00
Mouse Reeve
34f05c135b
Adds unit tests for list of admins method
2022-11-17 14:59:46 -08:00
Mouse Reeve
2d3ec93086
Updates unit tests
2022-11-17 14:06:43 -08:00
Mouse Reeve
f95729a0c3
Adds unit test for failing view
2022-11-15 21:45:06 -08:00