Mouse Reeve
0a41503572
Adds a couple more tests and test data
2021-04-29 09:06:17 -07:00
Mouse Reeve
fc095a087c
Adds search result test
2021-04-29 08:36:49 -07:00
Mouse Reeve
5e5392c007
Adds test file
2021-04-28 17:20:14 -07:00
Mouse Reeve
6551c59c45
Don't store default edition in the dataase
2021-04-28 16:05:17 -07:00
Mouse Reeve
e2b43bbd6d
Fixes unit test
2021-04-28 09:33:38 -07:00
Mouse Reeve
ce0e90d472
Merge pull request #961 from bookwyrm-social/django-3-2
...
Update to django 3.2
2021-04-26 14:08:39 -07:00
Mouse Reeve
674c4a99df
Adds missing data file
2021-04-26 13:56:09 -07:00
Mouse Reeve
55eb1c4526
Fixes model name
2021-04-26 13:50:43 -07:00
Mouse Reeve
4deb94714c
Adds test for import rating
2021-04-26 13:49:19 -07:00
Mouse Reeve
7006f30ac8
Uses unique test model name
2021-04-26 11:51:17 -07:00
Mouse Reeve
ff8601f329
Fixes spacing for new Black release
2021-04-26 11:37:07 -07:00
Mouse Reeve
b16ac91b16
Python formatting
2021-04-26 11:34:04 -07:00
Mouse Reeve
cd869dde09
Fixes tests of bookwyrm abstract model
2021-04-26 11:28:33 -07:00
Mouse Reeve
32b3a02a17
Fixes reverse rank calculation
2021-04-26 11:14:26 -07:00
Mouse Reeve
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
Mouse Reeve
cbdf573261
Merge pull request #991 from bookwyrm-social/character-encoding
...
Fixes character encoding bug
2021-04-23 12:06:04 -07:00
Mouse Reeve
013d5f1db3
Merge pull request #987 from bookwyrm-social/duplicate-boosts
...
Don't broadcast boosts twice
2021-04-23 11:58:01 -07:00
Mouse Reeve
c907b1ff09
Test to replicate character encoding bug
2021-04-23 11:07:19 -07:00
Mouse Reeve
32e694032b
Fixes duplicate boost model verification
2021-04-23 10:49:17 -07:00
Mouse Reeve
563623616c
Merge branch 'main' into remove-tags
2021-04-22 18:18:24 -07:00
Mouse Reeve
9148f36719
Fixes duplicate boosts
2021-04-22 18:16:00 -07:00
Mouse Reeve
c455585262
Adds missing data file
2021-04-22 10:30:00 -07:00
Mouse Reeve
a797b68558
Adds test that replicates follower deletion bug
2021-04-22 10:22:37 -07:00
Mouse Reeve
cfa424ca59
Fixes nondeterministic test outcome
2021-04-22 09:37:24 -07:00
Mouse Reeve
9c87c91c62
Merge pull request #979 from bookwyrm-social/allow-refollow
...
Allow refollow
2021-04-22 08:56:48 -07:00
Mouse Reeve
d5b27e2202
Test re-following a user
2021-04-22 08:31:32 -07:00
Mouse Reeve
dd0aa7a123
Test that remote user is being set on books
2021-04-22 08:08:03 -07:00
Mouse Reeve
c405580e8e
Updates edition federation test
2021-04-22 07:37:12 -07:00
Mouse Reeve
92bd5ab291
Merge pull request #970 from bookwyrm-social/display-fixes
...
Display fixes
2021-04-20 13:59:32 -07:00
Mouse Reeve
baa423bb69
Merge pull request #967 from bookwyrm-social/date-localization
...
Fixes localization weirdness with dates
2021-04-20 13:44:34 -07:00
Mouse Reeve
b22d1863c9
More robust user page test and bug fix
2021-04-20 12:31:45 -07:00
Mouse Reeve
2c013b677b
Patch broadcast in test
2021-04-19 20:01:29 -07:00
Mouse Reeve
63509c954d
Adds test for changing user group
2021-04-19 18:12:55 -07:00
Mouse Reeve
e1d24577d4
Fixes tests (again)
2021-04-19 16:42:51 -07:00
Mouse Reeve
11aa8baa53
Fixes tests and notifications page
2021-04-19 16:33:28 -07:00
Mouse Reeve
35cb3fa8fc
Updates tests
2021-04-19 16:08:01 -07:00
Mouse Reeve
d69ce8cbbd
Merge pull request #923 from SavinaRoja/584-sorting-lists
...
584 sorting of lists
2021-04-19 14:37:50 -07:00
Pablo Barton
fa75438070
per review, removing custom pagination for booklist and handling all pending books at the end of the list
2021-04-18 14:46:28 -04:00
Pablo Barton
afd1cdc2a8
adjust test
2021-04-18 11:52:22 -04:00
Pablo Barton
602c8c83ba
black
2021-04-17 22:09:00 -04:00
Pablo Barton
9031184176
addressing some review
2021-04-17 21:31:38 -04:00
Mouse Reeve
02e6602a0b
Reject statuses from deactivated remote users
2021-04-17 17:55:22 -07:00
Mouse Reeve
ebdbdc8790
Broadcast deletions
2021-04-17 13:19:23 -07:00
Mouse Reeve
5b7f2007e8
Broadcast user deletions
2021-04-17 12:51:36 -07:00
Mouse Reeve
5df2ac676b
Fixes error on deletion requests for unknown users
2021-04-17 12:51:30 -07:00
Mouse Reeve
8548cc99db
Merge pull request #946 from bookwyrm-social/ap-questions
...
Gracefully handle expect but unsupported activities
2021-04-17 11:52:40 -07:00
Pablo Barton
f6824268ed
584 sorting of lists
2021-04-16 22:17:15 -04:00
Mouse Reeve
caa261f4bf
Gracefully handle expect, unsupported activities
2021-04-16 15:12:38 -07:00
Mouse Reeve
80ea459711
Suitable test name and comment
2021-04-15 17:57:02 -07:00
Mouse Reeve
da453f8056
Adds test for populate streams management command
2021-04-15 17:43:27 -07:00
Mouse Reeve
25b82fd2b0
Updates test
2021-04-15 16:11:03 -07:00
Mouse Reeve
822e2e1a93
Python formatting
2021-04-12 15:09:50 -07:00
Mouse Reeve
a907dfdce7
Adds tests for block lists
2021-04-12 15:08:10 -07:00
Mouse Reeve
a1e28d810d
Merge pull request #881 from mouse-reeve/domain-block
...
Block federation at the domain level
2021-04-12 10:41:02 -07:00
Mouse Reeve
bb352439d3
Fixes views test for federation unblock
2021-04-12 10:27:29 -07:00
Mouse Reeve
878b3c6fe8
Only reactivate appropriate users when undoing domain block
2021-04-12 10:16:03 -07:00
Mouse Reeve
a8abc3f649
Merge pull request #922 from void-witch/fix-date
...
add regression tests for published dates not being saved
2021-04-12 09:39:52 -07:00
Mouse Reeve
8f3601d4cd
Adds redis mocks to base model tests
2021-04-12 06:44:50 -07:00
Mouse Reeve
c8812c48c1
Use local user in test
2021-04-11 11:58:00 -07:00
Mouse Reeve
08586e348c
Adds users to base model mock
2021-04-11 10:55:13 -07:00
Mouse Reeve
db4519b2e1
Fixes visible_to_user check for non-federated objs
...
why did this cause a problem _now_??
2021-04-11 10:45:08 -07:00
Mouse Reeve
659986771f
Edit notes on federated servers
2021-04-11 10:36:40 -07:00
Mouse Reeve
77caf1a8fa
Merge branch 'main' into domain-block
2021-04-11 10:02:11 -07:00
Mouse Reeve
b6a7871b04
Makes visibility evaluator a model function
2021-04-11 09:31:18 -07:00
Mouse Reeve
6d76782ee1
Mocks list item remove test
2021-04-11 09:00:44 -07:00
n2no1
b293901417
add regression tests for published dates not being saved
...
closes #894
2021-04-10 20:21:29 -04:00
Mouse Reeve
89d3c3e82b
Tests searching for users on blocked servers
2021-04-10 11:49:45 -07:00
Mouse Reeve
0caeb3ac33
fixes inbox tests
2021-04-10 11:18:22 -07:00
Mouse Reeve
8797b3d240
Python formatting
2021-04-10 11:07:59 -07:00
Mouse Reeve
d5fbdacc02
Adds unblock view
2021-04-10 11:06:28 -07:00
Mouse Reeve
7b60626661
Updates block unit test
2021-04-10 10:51:45 -07:00
Mouse Reeve
81bc25b012
Fixes create test
2021-04-10 10:24:09 -07:00
Mouse Reeve
d076162aa6
Remove edit server mode
...
It just doesn't really make sense
2021-04-10 10:09:36 -07:00
Mouse Reeve
c4bca42f64
Adds test for edit view GET request
2021-04-10 09:52:11 -07:00
Mouse Reeve
13d54871b7
Merge branch 'main' into domain-block
2021-04-10 09:26:01 -07:00
Mouse Reeve
14b0b978a3
Updates shelf models tests
2021-04-08 20:58:15 -07:00
Mouse Reeve
c149003d89
Fixes fields on unknown boost test
2021-04-08 20:34:22 -07:00
Mouse Reeve
af6cab2e3f
Don't reutnr an error when discarding activity objects
2021-04-08 20:03:29 -07:00
Mouse Reeve
fdf5113143
Removes tag code
2021-04-08 16:02:02 -07:00
Mouse Reeve
37aacee9c6
Fixes actors in inbox add/remove tests
2021-04-08 15:50:21 -07:00
Mouse Reeve
32bf510755
Updates inbox remove tests
2021-04-08 15:46:06 -07:00
Mouse Reeve
6310532ddf
Updates inbox add tests
2021-04-08 15:43:19 -07:00
Mouse Reeve
ddd05a68cf
Resolve and assign target collection for collection items
2021-04-08 15:40:02 -07:00
Mouse Reeve
a7375c4c13
Adds remove list item test and updates add/create tests
2021-04-08 15:24:23 -07:00
Mouse Reeve
43f0d4e603
Adds activity tests to shelf views tests
2021-04-08 15:21:22 -07:00
Mouse Reeve
ee6f37d7d2
python formatting
2021-04-08 15:11:16 -07:00
Mouse Reeve
b1491c2ac6
Adds privacy and recipient details to list items
2021-04-08 15:09:56 -07:00
Mouse Reeve
1f930ba821
Updates list view tests
2021-04-08 14:51:52 -07:00
Mouse Reeve
af58455ae9
Updates mock paradigm in lists tests
2021-04-08 14:20:16 -07:00
Mouse Reeve
45926eed34
Adds necessary user to inbox tests
2021-04-08 13:33:24 -07:00
Mouse Reeve
94764160cc
Whitespace fixes
2021-04-08 12:15:47 -07:00
Mouse Reeve
9894b777b6
Separates inbox tests into multiple files
2021-04-08 12:12:18 -07:00
Mouse Reeve
0de1b8d0c3
Case insensitive remote user search
2021-04-08 09:59:21 -07:00
Mouse Reeve
4e0225749d
Merge branch 'main' into domain-block
2021-04-07 11:23:15 -07:00
Mouse Reeve
b96a092e71
Merge pull request #879 from mouse-reeve/redis-stores
...
Created generic redis class for activitystreams
2021-04-06 08:27:21 -07:00
Mouse Reeve
a39cd670ef
Fixes boosted remote statuses coming in as Notes
2021-04-05 18:05:06 -07:00
Mouse Reeve
2e245f84be
Adds test for loading remote boosted statuses
2021-04-05 18:02:24 -07:00
Mouse Reeve
fb72db7507
Fixes federation view tests
2021-04-05 16:50:36 -07:00
Mouse Reeve
a4b892dfad
Fixes domain block tests
2021-04-05 16:47:48 -07:00
Mouse Reeve
34b790a086
Adds tests for blocked server checks
2021-04-05 15:54:33 -07:00
Mouse Reeve
6a3c01a67f
stream_users function has been renamed
2021-04-05 14:17:45 -07:00
Mouse Reeve
56330d448b
Changes remove status redis mock
2021-04-05 14:08:24 -07:00
Mouse Reeve
467748e2c8
Adds delete and redraft tests
2021-04-04 09:45:25 -07:00
Mouse Reeve
ae1ebecc76
Fixes tests for suggested/annotated users
2021-04-02 07:31:11 -07:00
Mouse Reeve
19c2c7f67c
test get started user view with query
2021-04-01 09:39:57 -07:00
Mouse Reeve
ed127f4e07
Save and continue from get started books view
2021-04-01 09:13:10 -07:00
Mouse Reeve
e2388d8f67
Makes user profile view editable
2021-04-01 08:38:42 -07:00
Mouse Reeve
31b7d267a4
Adds initial view tests
2021-04-01 08:22:17 -07:00
Mouse Reeve
2fd917a6cc
Updates test
2021-03-31 10:24:23 -07:00
Mouse Reeve
0365a57307
Handle invalid status urls with 404
2021-03-30 10:46:02 -07:00
Mouse Reeve
b16f95c8cd
Python formatting
2021-03-30 09:50:51 -07:00
Mouse Reeve
59ebcc62ee
Adds import retry test
2021-03-30 09:24:23 -07:00
Mouse Reeve
5deb7d8bba
Updates librarthing importer tests
2021-03-30 09:13:41 -07:00
Mouse Reeve
c64fc79431
Updates goodreads tests
2021-03-30 09:09:28 -07:00
Mouse Reeve
754ccaedd6
Move importers into module
2021-03-30 09:03:57 -07:00
Mouse Reeve
a54014f693
Fixes import retry
2021-03-30 08:44:17 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
...
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
662ddf44b9
Avoid error when request Accept header is not set
2021-03-29 14:12:07 -07:00
Mouse Reeve
cc00a66b90
Merge pull request #800 from SavinaRoja/716-book-multiple-shelves
...
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-29 12:59:49 -07:00
Pablo Barton
b0dc5f3f93
357 Users set preferred timezone, used for readthroughs
2021-03-28 19:16:43 -04:00
Mouse Reeve
9a0568dabc
Adds tests for server and users admin views
2021-03-28 14:36:57 -07:00
Mouse Reeve
c42719ee1e
Fixes wildly high similiarity metrics in directory
2021-03-28 10:32:58 -07:00
Mouse Reeve
ef057dd573
Merge pull request #805 from mouse-reeve/shared-books
...
Adds shared books as a metric for recommending follows
2021-03-27 11:39:11 -07:00
Mouse Reeve
81925b11cf
Removes duplicate patch annotation
2021-03-27 10:38:07 -07:00
Mouse Reeve
c398d8a870
Python formatting
2021-03-27 10:00:32 -07:00
Mouse Reeve
1341341a4f
Adds test for annotated user helper
2021-03-27 09:56:46 -07:00
Mouse Reeve
c8118c9bf4
Updates activity streams tests
2021-03-26 12:52:04 -07:00
Pablo Barton
daf69d2375
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-26 08:21:42 -04:00
Mouse Reeve
ae6c2b6375
Updates tests
2021-03-24 14:19:12 -07:00
Mouse Reeve
81bd3f5be8
Tests not showing notifications for self boosts
2021-03-24 12:13:00 -07:00
Mouse Reeve
61a773cbe2
Python formatting
2021-03-24 11:01:23 -07:00
Mouse Reeve
c1e0471d1a
Don't use html in article names for mastodon
2021-03-24 10:57:17 -07:00
Mouse Reeve
30cebc017f
Updates tests to catch decimal/float/int errors in status serialization
2021-03-24 10:31:05 -07:00
Mouse Reeve
73e38f9050
Fixes formatting rating value in template
2021-03-24 10:07:39 -07:00
Mouse Reeve
701487c526
Fixes mocks on activitystreams tests
2021-03-23 15:03:05 -07:00
Mouse Reeve
3e888c17dd
Fixes audience filters with tests
2021-03-23 14:59:51 -07:00
Mouse Reeve
0d88794f46
Python formatting
2021-03-23 13:07:29 -07:00
Mouse Reeve
5caac46c31
Updates updates tests
2021-03-23 13:02:45 -07:00
Mouse Reeve
28651bd804
Fixes views tests
2021-03-23 11:34:32 -07:00
Mouse Reeve
7f271dbde7
Fixes model tests
2021-03-23 10:41:18 -07:00
Mouse Reeve
9e23bfe7c0
Updates activitypub tests
2021-03-23 10:25:52 -07:00
Mouse Reeve
59deb1cd05
More mocks for more tests
2021-03-23 09:35:39 -07:00
Mouse Reeve
de2cea5ff2
Adds mocks for block tests
2021-03-23 09:14:31 -07:00
Mouse Reeve
2d350474bf
Mocks redis in feed view tests
2021-03-23 09:09:30 -07:00
Mouse Reeve
b9ec6a1e2b
Mocks redis for helpers tests
2021-03-23 09:00:04 -07:00
Mouse Reeve
f290e60b85
Improves signal handling and updates inbox tests
2021-03-23 08:53:28 -07:00
Mouse Reeve
1cf4c0d5cc
Mocks redis in interaction tests
2021-03-23 08:27:24 -07:00
Mouse Reeve
73661b9472
Mocks redis in outbox tests
2021-03-23 08:19:25 -07:00
Mouse Reeve
ea71c2aa88
Fixes status views tests
2021-03-23 08:13:57 -07:00
Mouse Reeve
e17ee40800
Generalizes broadcast mock in status view tests
2021-03-23 07:28:44 -07:00
Mouse Reeve
7eb494b4ab
Removes get activity feed function
2021-03-22 19:17:46 -07:00
Mouse Reeve
dedac83b5c
Fixes model test
2021-03-21 17:18:42 -07:00
Mouse Reeve
01104581de
Adds test for directory view
2021-03-21 16:50:03 -07:00
Mouse Reeve
3e75253ff1
Updates activitpub and tests for discoverability
2021-03-21 14:50:36 -07:00
Mouse Reeve
b29be11862
Updates reset password view test
2021-03-21 12:33:19 -07:00
Mouse Reeve
a0b106f6bb
Adds emailing tests
2021-03-21 12:31:05 -07:00
Mouse Reeve
33b5639af0
Fixes tests
2021-03-21 09:20:37 -07:00
Mouse Reeve
5b8bd9ad44
Adds tests
2021-03-21 08:24:59 -07:00
Fabien Basmaison
4a7c0cd184
Fix indentation in bookwyrm/tests/data/ol_isbn_search.json.
2021-03-20 15:36:25 +01:00
Mouse Reeve
e92a506e61
Upload cover via url form edit book view
2021-03-19 10:29:34 -07:00
Mouse Reeve
a8545e2701
Adds tests for upload cover view
...
bonus test for user view
2021-03-19 09:20:48 -07:00
Mouse Reeve
0550918e5c
Merge pull request #744 from mouse-reeve/images
...
Fixes image attachments
2021-03-15 16:02:29 -07:00
Mouse Reeve
bb8ce74f52
Updates base activity tests for updated Image type
2021-03-15 15:57:00 -07:00
Mouse Reeve
5a24c97cb5
Updates image type in fields tests
2021-03-15 15:45:18 -07:00
Mouse Reeve
20bcbb1a3c
Updates image type to Document in status model tests
2021-03-15 15:44:26 -07:00
Mouse Reeve
0037a22cb6
Updates list tests
2021-03-15 15:41:11 -07:00
Mouse Reeve
220f2c1eb4
Fixes image attachments
2021-03-15 13:55:48 -07:00
Mouse Reeve
8e71186067
Fixes adding mutiple authors
2021-03-13 18:09:09 -08:00
Mouse Reeve
54682d6f5c
Formatting
2021-03-13 15:36:00 -08:00
Mouse Reeve
6490a55274
Handle incoming follow request cancellations
2021-03-13 15:32:56 -08:00
Mouse Reeve
e2d394d894
Checks activity type in view test
2021-03-13 15:04:23 -08:00
Mouse Reeve
6e5f2f411f
Merge pull request #728 from mouse-reeve/wellknown-view
...
Moves federation info endpoints into views module
2021-03-13 11:11:28 -08:00
Mouse Reeve
1f2da18655
Adds test for updates endpoint
2021-03-13 11:11:06 -08:00
Mouse Reeve
139416d9c3
Moves federation info endpoints into views module
2021-03-13 11:00:55 -08:00
Mouse Reeve
78df37a861
Merge pull request #727 from mouse-reeve/connector-tests
...
Connector tests
2021-03-13 10:24:40 -08:00
Mouse Reeve
76f1643269
Tests ignore edition openlibrary connector code
...
also removes print statements oops
2021-03-13 10:11:13 -08:00
Mouse Reeve
414dd6bd20
Adds isbn search test to connector manager
2021-03-13 10:01:17 -08:00
Mouse Reeve
6b22de2075
More tests for bookwyrm connector
2021-03-13 09:43:15 -08:00
Mouse Reeve
382170d662
Adds get_or_create_author abstract connector test
2021-03-13 09:28:48 -08:00
Mouse Reeve
393ea625a2
Merge pull request #726 from mouse-reeve/search-tests
...
Search tests
2021-03-13 09:27:46 -08:00
Mouse Reeve
d3b1941eaa
Uses get_data helper in isbn search (plus test)
2021-03-13 09:07:19 -08:00
Mouse Reeve
a1d95d5010
Merge pull request #725 from mouse-reeve/incoming-unshelve
...
Fixes handling incoming unshelve activities
2021-03-13 08:53:37 -08:00
Mouse Reeve
e459c440de
tests formulating search queries with min_confidence field
2021-03-13 08:52:48 -08:00
Mouse Reeve
e1a8c4d260
Fixes handling incoming unshelve activities
2021-03-13 08:43:36 -08:00
Mouse Reeve
919b166241
Catch error in serializing unknown boosts
2021-03-13 08:13:20 -08:00
Mouse Reeve
1f4b3e9586
Adds tests for status recipients property
2021-03-13 07:38:19 -08:00
Mouse Reeve
2548ba926a
Fixes error when receiving Undo for unknown boost
2021-03-13 07:15:30 -08:00
Mouse Reeve
b64fb3e0aa
Merge pull request #715 from mouse-reeve/reporting
...
Reporting
2021-03-12 16:28:15 -08:00
Mouse Reeve
7323f63803
Adds test for report comments
2021-03-12 16:02:23 -08:00
Mouse Reeve
46581e37e2
Mocks boradcast for moderation test
2021-03-12 15:24:57 -08:00
Mouse Reeve
8c74beb78c
Allow moderators to delete reported statuses
2021-03-12 11:25:56 -08:00
Mouse Reeve
677a49fee3
Option to deactivate reported users
2021-03-12 11:13:53 -08:00
Mouse Reeve
bedc9e0a88
Resolve and re-open reports
2021-03-12 10:22:03 -08:00
Mouse Reeve
21f199c548
Make reports
2021-03-08 18:36:50 -08:00
Mouse Reeve
e59c127686
Adds models for reporting
2021-03-08 17:16:59 -08:00
Mouse Reeve
7337a357fa
Adds tests file
2021-03-08 16:02:16 -08:00
Mouse Reeve
500394fc52
Make sure creating books doesn't broadcast in tests
2021-03-08 11:54:26 -08:00
Mouse Reeve
37e29cc735
Adds tests of creating book with author
2021-03-08 11:11:05 -08:00
Mouse Reeve
58b48faff8
Tests create books flow
2021-03-08 10:50:01 -08:00
Mouse Reeve
acbebbe947
Formats code changes
2021-03-08 10:10:30 -08:00
Mouse Reeve
01a2a77cbb
Merge branch 'main' into create-book
2021-03-08 10:07:02 -08:00
Mouse Reeve
d3162e12db
Adds broadcast mock to edit book tests
2021-03-08 08:51:54 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Mouse Reeve
6d9c024e0e
Merge branch 'main' into create-book
2021-03-07 15:49:00 -08:00
Mouse Reeve
1eac2b9386
Test for deleting authors
2021-03-07 15:14:57 -08:00
Mouse Reeve
f1b699d810
Tests adding author to book
2021-03-07 13:59:27 -08:00
Mouse Reeve
410e0b04bb
Fixes fav logic and base activity test
2021-03-07 13:13:16 -08:00
Mouse Reeve
47cf77145d
Updates tests for inbox tweaks
2021-03-07 09:48:39 -08:00
Mouse Reeve
e5bdb4b9d1
Make empty cover value null
2021-03-07 07:35:50 -08:00
Henri Bourcereau
703ff60271
isbn search
2021-03-06 18:09:15 +01:00
Mouse Reeve
91a14d3a13
Updates alt text in status model tests
2021-03-05 07:50:23 -08:00
Mouse Reeve
b70e728ffb
Removes the word "cover" from cover alt text
...
Fixes #694
2021-03-05 06:58:22 -08:00
Mouse Reeve
5c089db086
Full add author flow
2021-03-04 17:10:33 -08:00
Mouse Reeve
b2d1384bc5
UI for adding and removing authors
2021-03-04 15:10:55 -08:00
Mouse Reeve
04ed5d62dd
Merge pull request #649 from mmai/feature/importLibrarything
...
librarything import
2021-02-27 12:17:41 -08:00
Henri Bourcereau
bfedb300ca
librarything import : fix parsing & select box
2021-02-26 13:32:17 +01:00
Mouse Reeve
0ecfff0f16
Merge pull request #625 from mouse-reeve/inbox-refactor
...
Inbox refactor
2021-02-24 13:34:59 -08:00
Mouse Reeve
a5ee535ab6
fixes book reviews queryset aggregators
2021-02-24 12:29:50 -08:00
Mouse Reeve
2a5d4b83d8
Show dms in the right places
2021-02-24 11:59:21 -08:00
Henri Bourcereau
b85fed3595
librarything import
2021-02-24 20:20:14 +01:00
Mouse Reeve
94e95dc39d
Adds test for delete activity
2021-02-24 10:07:03 -08:00
Mouse Reeve
cad19ee878
Merge branch 'main' into inbox-refactor
2021-02-24 09:51:34 -08:00
Mouse Reeve
6426282db1
fixes goal page and test for goal page
2021-02-23 22:07:13 -08:00
Mouse Reeve
4d0e52bf51
Test tag and list add
2021-02-23 17:18:25 -08:00
Mouse Reeve
6e6bcb2f48
gotta simplify the add activity
2021-02-23 15:51:02 -08:00
Mouse Reeve
e042805f38
Merge pull request #632 from mouse-reeve/remote-server-set
...
Safer set remote server
2021-02-23 15:13:32 -08:00
Mouse Reeve
3de8a20d39
Fixes boolean for is bookwyrm user in test
2021-02-23 14:36:24 -08:00
Mouse Reeve
fdbd3688f4
Merge pull request #636 from mouse-reeve/follow-block-button
...
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 13:38:02 -08:00
Mouse Reeve
9ac332f6cc
Adds request user for rss test
2021-02-23 13:26:44 -08:00
Mouse Reeve
be9198fc4f
Another place where get reviews is called in tests
2021-02-23 13:09:39 -08:00
Mouse Reeve
364b053d9a
Better user block privacy
2021-02-23 12:41:37 -08:00
Mouse Reeve
c6a61abf79
Don't try to fetch reviews for remote user in test
2021-02-23 11:58:01 -08:00
Mouse Reeve
6e09d485c4
Outbox sensitive to user agent strings
2021-02-23 11:34:15 -08:00
Mouse Reeve
ef9acaf878
Adds tests for setting remote server
2021-02-22 11:38:11 -08:00
Mouse Reeve
dbe9431d5a
Fixes pure serializer
2021-02-20 11:24:41 -08:00
Mouse Reeve
e707374888
Don't broadcast from inbox tests
2021-02-17 14:37:20 -08:00
Mouse Reeve
3f02b5f6f2
Fixes view tests
2021-02-17 13:34:36 -08:00
Mouse Reeve
e8e4ed773c
Fixes deletion for boosts
2021-02-17 13:07:19 -08:00
Mouse Reeve
7b21a0a208
Fix things, unfix things, refix things, break things, fix things
2021-02-17 12:23:55 -08:00
Mouse Reeve
08dc5b4d86
Fixes unfollow
2021-02-17 11:45:21 -08:00
Mouse Reeve
d022fef625
broadcast accepts correctly
2021-02-17 11:28:54 -08:00
Mouse Reeve
d5ca77362b
Fixes boost activity type in status model test
2021-02-17 10:38:09 -08:00
Mouse Reeve
9225043b5d
Fixes relationship model test
2021-02-17 10:16:17 -08:00
Mouse Reeve
cbf5479253
Test fixes
2021-02-17 08:35:17 -08:00
Mouse Reeve
29df2e0fac
fixes typo in person test
2021-02-16 20:26:51 -08:00
Mouse Reeve
77781d57c3
Fixes base activity tests
2021-02-16 20:24:37 -08:00
Mouse Reeve
a9ca3a4290
Fixes calls to to_model, init with activitypub partially serialized
2021-02-16 20:17:38 -08:00
Mouse Reeve
3f61675a0a
Updates usage of resolve_remote_id
2021-02-16 19:35:43 -08:00
Mouse Reeve
91908eb1b6
Smarter way of inferring serializers (which are explicitly present)
2021-02-16 18:59:50 -08:00
Mouse Reeve
a3b7063e4b
makes inbox csrf exempt
2021-02-16 18:07:57 -08:00
Mouse Reeve
714202986d
Fixes person/author confusion and public keys
2021-02-16 17:47:53 -08:00
Mouse Reeve
d81bfb6573
Fixes unfollow
2021-02-16 16:35:28 -08:00
Mouse Reeve
b57a86d4e2
Fixes approving follow requests automatically
2021-02-16 12:58:29 -08:00
Mouse Reeve
f5a022184f
Fixes discarding boosts
2021-02-16 12:31:27 -08:00
Mouse Reeve
3f1b62eb98
Fixes Add activity
...
still janky
2021-02-16 11:04:13 -08:00
Mouse Reeve
b393df8cab
Fixes deletion
2021-02-16 09:35:00 -08:00
Mouse Reeve
08c1553e71
Fixes Favs
2021-02-15 21:41:08 -08:00
Mouse Reeve
606d89d3bd
Fixes boost, recursive to_model calls
2021-02-15 21:20:00 -08:00
Mouse Reeve
a16b81a6eb
Adds actions for all verbs
2021-02-15 20:49:23 -08:00
Mouse Reeve
12a3aa9667
incoming Create flow with tests
2021-02-15 19:41:22 -08:00
Mouse Reeve
81e2021f92
Move handlers to activitypub classes
2021-02-15 18:47:08 -08:00
Mouse Reeve
e810c2bee0
Recursively parse activities
2021-02-15 17:23:17 -08:00
Mouse Reeve
fd19b55961
Basic checks for inbox
2021-02-15 16:27:25 -08:00
Mouse Reeve
363609e7be
Fixes follows
...
Yikes
2021-02-12 16:16:22 -08:00
Mouse Reeve
927cb15abd
fixes edit user test
2021-02-11 12:42:54 -08:00
Mouse Reeve
47f371b604
Merge branch 'main' into user-view-test
2021-02-11 08:39:48 -08:00
Mouse Reeve
18a86cbe2a
More edit user tests
2021-02-11 08:38:45 -08:00
Mouse Reeve
2a65aa7cc7
More tests
2021-02-10 18:24:09 -08:00
Mouse Reeve
b898f263b7
Another test case for the user view
2021-02-10 18:01:11 -08:00
Mouse Reeve
848454c50f
Fixes templatetag test
2021-02-10 16:31:41 -08:00
Mouse Reeve
e0cfb009e4
Deduplicate notifications in notification model
2021-02-10 16:21:29 -08:00
Mouse Reeve
5565523d85
Tests bug in link formatting
2021-02-10 12:07:50 -08:00
Mouse Reeve
9c3bec23b8
More mocks in tests
2021-02-09 17:26:27 -08:00
Mouse Reeve
104e4d7cf7
Patch setup in status tests
2021-02-09 13:06:59 -08:00
Mouse Reeve
1d7cea2789
fixes tests with broadcast kwarg
2021-02-09 12:48:46 -08:00
Mouse Reeve
0a554b002d
Fixes test for handling direct recipients
2021-02-09 10:43:40 -08:00
Mouse Reeve
0fd2885e7e
Tests broadcasting from list views more thoroughly
2021-02-09 09:41:48 -08:00
Mouse Reeve
76e90cb3f6
Fixes remaining test patches
2021-02-08 09:38:28 -08:00
Mouse Reeve
80241e59a7
adds mocks to templatetags tests
2021-02-07 19:17:28 -08:00
Mouse Reeve
2fcfebd4e5
fixes broadcasting for incoming activities
2021-02-07 16:23:20 -08:00
Mouse Reeve
bf6aca5122
fixes mocks on tests
2021-02-07 11:29:24 -08:00
Mouse Reeve
ad7a045582
Makes shelbook user required
2021-02-07 11:29:13 -08:00
Mouse Reeve
6b10e487b6
adding mocks for views tests
2021-02-06 22:37:19 -08:00
Mouse Reeve
272685f27d
sketchy fix for boost broadcasting
2021-02-06 21:30:43 -08:00
Mouse Reeve
63fe9777e2
Fixes shelf model tests
2021-02-06 21:02:58 -08:00
Mouse Reeve
b02a2c1aa4
broadcasting for follow, accept, and reject
2021-02-06 19:18:02 -08:00
Mouse Reeve
ffd0759f6f
Fixes field and lists tests
2021-02-06 16:13:59 -08:00
Mouse Reeve
f917079c0b
Adds update tests for objectmixin
2021-02-06 13:48:02 -08:00
Mouse Reeve
d477b6d3f3
tests create and delete activity for objectmixin
2021-02-06 13:43:09 -08:00
Mouse Reeve
3b17c0ed44
Fixes broadcast recipients with software constraint
2021-02-06 12:41:35 -08:00
Mouse Reeve
ff721896c0
Fixes call to mention_users
2021-02-06 12:06:45 -08:00
Mouse Reeve
c7c975d695
Use save method override instead of a signal
...
and gets the new test file working
2021-02-06 12:00:47 -08:00
Mouse Reeve
7381536ad6
circular import issues and added_by migration
2021-02-04 14:27:26 -08:00
Mouse Reeve
7faf639758
Fixes openlibrary connector test
2021-02-03 12:52:13 -08:00
Mouse Reeve
65f3333edb
line length fix
2021-02-03 10:42:02 -08:00
Mouse Reeve
1b6dd666d9
Handling incoming list Creates and Updates
2021-02-03 10:34:27 -08:00
Mouse Reeve
18ef041a25
Fixes broadcast task patch on shelves tests
2021-02-02 15:19:44 -08:00
Mouse Reeve
b8dc307a6b
Fixes mocking broadcast task in lists tests
2021-02-02 15:14:33 -08:00
Mouse Reeve
bbc05578fb
Fixes tests
2021-02-02 14:59:40 -08:00
Mouse Reeve
6b07911a01
Patches broadcasts in list and shelf tests
2021-02-02 12:17:21 -08:00
Mouse Reeve
c7914d1394
Fixes search tests
2021-02-01 13:06:06 -08:00
Mouse Reeve
fd9b98d443
Fixes logged out list view
2021-01-31 13:38:26 -08:00
Mouse Reeve
5939a72c81
More list models tests
2021-01-31 13:31:49 -08:00
Mouse Reeve
19b56c26f7
list views tests
2021-01-31 13:12:56 -08:00
Mouse Reeve
47097c6b32
updates user rating tag
2021-01-31 12:10:10 -08:00
Mouse Reeve
4883231347
Fixes model test
2021-01-31 09:08:06 -08:00
Mouse Reeve
69c2b192a4
Adds list creation form
2021-01-31 08:08:52 -08:00
Mouse Reeve
91483b56f5
Adds views tests
2021-01-31 07:09:03 -08:00
Mouse Reeve
af65509527
stub test for list model
2021-01-30 21:03:50 -08:00
Mouse Reeve
a36de9026b
Merge pull request #575 from mouse-reeve/openlibrary-editions
...
Ignore openlibrary editions with little to no metadata
2021-01-30 17:49:54 -08:00
Mouse Reeve
9833f5a03d
Tests creating editions
2021-01-30 17:44:42 -08:00
Mouse Reeve
b3bd6822b2
Make sure templates render rather than checking template paths
2021-01-30 12:30:03 -08:00
Mouse Reeve
ac4a178e83
Fixes shelf page template path bug
2021-01-30 12:03:50 -08:00
Mouse Reeve
9d3f48a1a9
Settings views tests
2021-01-29 17:06:10 -08:00
Mouse Reeve
21aadf2920
Adds site settings view
2021-01-29 15:38:42 -08:00
Mouse Reeve
640db7e9e3
Fixes more tests for moved-around views
2021-01-29 10:47:47 -08:00
Mouse Reeve
bae54b6847
Shuffles tests around for feed views
2021-01-29 10:33:44 -08:00
Mouse Reeve
cc5fedb1d1
Fixes template paths in views
2021-01-29 10:29:21 -08:00
Mouse Reeve
932acc961f
Fixes template paths in tests
2021-01-29 09:41:32 -08:00
Mouse Reeve
e6a0e5f96c
Merge pull request #554 from bibliotechy/430-add-rss-support
...
First attempt at adding rss support
2021-01-29 08:09:32 -08:00
Chad Nelson
4274bf0508
Patch site settings so this can pass
2021-01-27 22:13:35 -05:00
Chad Nelson
9c2813545c
Closer to some passing tests
2021-01-27 21:23:20 -05:00
Mouse Reeve
7d1c5fb0f2
Patches broadcast call in reading test
2021-01-27 11:01:36 -08:00
Mouse Reeve
c2d0c4b022
Adds missing init file for views tests
...
this is important!!
2021-01-27 09:31:11 -08:00
Mouse Reeve
b52aa5bee9
Fixes status tests
2021-01-27 09:31:01 -08:00
Mouse Reeve
e2935b6364
Fixes shelve tests
2021-01-27 09:27:29 -08:00
Mouse Reeve
662cbf2da9
Merge pull request #555 from mouse-reeve/blocking
...
Blocking
2021-01-26 14:43:01 -08:00
Mouse Reeve
36486ca731
block/unblock view tests
2021-01-26 13:02:14 -08:00
Mouse Reeve
22e4138555
unblock
2021-01-26 13:00:36 -08:00
Mouse Reeve
acfc865d4e
Adds blocked users view
...
also refactors the setting view
2021-01-26 10:01:50 -08:00
Mouse Reeve
3f011445e2
Hide user pages to blocked users
2021-01-26 08:31:55 -08:00
Mouse Reeve
2a6a000e05
Moves avatar crop into function and adds test
2021-01-26 08:03:16 -08:00
Mouse Reeve
4e0ec12052
hide blocked content from feed
2021-01-24 16:13:26 -08:00
Mouse Reeve
6cc29a6cf8
Hide content from blocked users
2021-01-23 11:40:41 -08:00
Mouse Reeve
cc8888dea2
Adds incoming handler for blocking
2021-01-23 11:03:10 -08:00
Chad Nelson
0fe2e7a356
First pass at basic RSS
2021-01-23 09:48:34 -05:00
Mouse Reeve
6c52afeae0
Merge pull request #354 from cincodenada/progress_update
...
Keep track of progress through books over time
2021-01-21 16:57:16 -08:00
Joel Bradshaw
070fa04b63
Add validators and more tests
...
I don't think these validators will do anything unless we use them or
are submitting a form, but they're there nonetheless
2021-01-19 23:40:11 -08:00
Joel Bradshaw
32346cf9a3
Cascade-delete progress updates
...
Add a warning about it, and update test to confirm it works
2021-01-19 22:36:44 -08:00
Mouse Reeve
9f2ca73a58
Tests terminal space in mentions string
2021-01-19 16:48:06 -08:00
Joel Bradshaw
60b42827f4
Mock the AP publishing to stop hanging tests
2021-01-18 20:00:04 -08:00
Joel Bradshaw
49893f49e1
Merge fixes
2021-01-17 13:09:49 -08:00
Joel Bradshaw
a4519d55c9
Merge branch 'main' into progress_update
2021-01-17 13:05:38 -08:00
Mouse Reeve
8532c9a46b
tests goal views
2021-01-16 13:29:28 -08:00
Joel Bradshaw
1e13997c5d
Create an actual user, add missing file
...
Also allow `./bw-dev up -d`
I'm not sure why this was necessary, but it makes enough sense
2021-01-13 23:02:56 -08:00
Joel Bradshaw
48147883ce
Merge branch 'main' into progress_update
2021-01-13 19:53:26 -08:00
Mouse Reeve
0a9757bf01
A few more templatetag tests
2021-01-13 19:28:44 -08:00
Mouse Reeve
c0ce38a9d3
landing page tests
2021-01-13 18:48:50 -08:00
Mouse Reeve
7d6a06025e
Adds more reading tests
2021-01-13 18:02:01 -08:00
Mouse Reeve
3eceb1e2b8
Fixes interaction tests
2021-01-13 14:31:52 -08:00
Mouse Reeve
90933fa81d
Fixes goodreads import tests
2021-01-13 14:02:01 -08:00
Mouse Reeve
e32a31e020
Fixes tests
2021-01-13 13:54:15 -08:00
Mouse Reeve
a385aa4cb5
Following views
2021-01-13 13:06:26 -08:00
Mouse Reeve
2e61bd0e7a
Removes old views file
2021-01-13 12:18:19 -08:00
Mouse Reeve
b6bdfab943
Search class views
2021-01-13 12:05:01 -08:00
Mouse Reeve
beeeaaaf39
Adds shelf views
2021-01-13 11:45:08 -08:00
Mouse Reeve
20e280e676
Adds tag class views
2021-01-13 10:24:24 -08:00
Mouse Reeve
99abb2631e
Adds author view
2021-01-13 10:04:44 -08:00
Mouse Reeve
56e3e98bc1
Adds book class view and re-works pagination
2021-01-13 09:51:51 -08:00
Mouse Reeve
cf2b9937c6
Adds fav/boost class view
2021-01-13 08:10:50 -08:00
Mouse Reeve
c8efa1ffc8
Fixes status tests and adds delete test
2021-01-13 08:04:43 -08:00
Mouse Reeve
5596277d29
tests status class view
2021-01-12 14:43:59 -08:00
Mouse Reeve
6c80b128a4
Adds status tests
2021-01-12 14:02:38 -08:00
Mouse Reeve
4ec64c02f4
Adds status views
2021-01-12 13:47:00 -08:00
Mouse Reeve
85d01d5df0
Moves user views to class view
2021-01-12 12:09:23 -08:00
Mouse Reeve
8693895bc6
Adds import view
2021-01-12 11:28:03 -08:00
Mouse Reeve
b61544b5f5
DM and notification views
2021-01-12 11:11:22 -08:00
Mouse Reeve
aa8b2c2f2b
Creates landing page views
2021-01-12 10:44:17 -08:00
Mouse Reeve
fd6603ee07
Invite views
2021-01-12 10:19:58 -08:00
Mouse Reeve
65fa08633f
Fixes authentication tests
2021-01-12 10:14:24 -08:00
Mouse Reeve
a2d7a97dc3
Updates tests
2021-01-12 09:09:05 -08:00
Mouse Reeve
a8483754c3
Fixes edit book view
2021-01-11 20:21:32 -08:00
Mouse Reeve
e34ae35e0f
Merge pull request #513 from mouse-reeve/edit-shelf
...
Edit shelf
2021-01-11 15:28:45 -08:00
Mouse Reeve
1bcb19fde9
Fixes editing shelves
2021-01-11 14:43:34 -08:00
Mouse Reeve
8d88c768cc
Adds test for editing shelf
2021-01-11 14:23:56 -08:00
Mouse Reeve
83852e29eb
Update edition ranks when work is saved
2021-01-11 10:02:49 -08:00
Mouse Reeve
62fd118016
remove boost notification on delete
2021-01-10 19:51:58 -08:00
Mouse Reeve
ee96c01cc1
Boost unit tests
2021-01-10 19:43:12 -08:00
Mouse Reeve
31aef46564
tweaks notifications for favs
2021-01-10 19:32:05 -08:00
Mouse Reeve
64abdafcba
Resolves timezone warnings
2021-01-10 16:11:02 -08:00
Mouse Reeve
ef9e130669
Adds tests
2021-01-10 15:56:57 -08:00
Mouse Reeve
9c994e893b
Merge pull request #506 from mouse-reeve/readthrough-dupes
...
Don't double-add readthroughs in re-import
2021-01-10 10:18:31 -08:00
Mouse Reeve
b1b40e3c98
Don't double-add readthroughs in re-import
2021-01-10 09:36:11 -08:00
Mouse Reeve
9a575beb0b
Merge pull request #505 from mouse-reeve/link-regex-parens
...
Work around parens in the url regex
2021-01-10 09:22:19 -08:00
Mouse Reeve
1e42622b8e
Work around parens in the url regex
2021-01-10 08:39:30 -08:00
Mouse Reeve
6eb7872598
Fixes queryset for shelf page json
2021-01-10 07:54:58 -08:00
Mouse Reeve
6638c9bb44
Handles query params in urls
2021-01-06 11:36:28 -08:00
Mouse Reeve
9e07f094ad
Improves link detecting regex
2021-01-06 10:08:43 -08:00
Mouse Reeve
a25bc2383b
Improves tagging regex
2021-01-06 09:45:36 -08:00
Mouse Reeve
35696934da
refactors get_activity_feed function
...
is it better? idk
2021-01-04 19:30:05 -08:00
Mouse Reeve
1d2b56da85
Fixes outgoing tests
2021-01-04 12:00:53 -08:00
Mouse Reeve
9102d81767
Fixes checking invite validity
2021-01-04 11:14:10 -08:00
Mouse Reeve
3fe7b95786
Fixes setting remote user username on update
2021-01-04 10:42:31 -08:00
Mouse Reeve
4090b336db
Fixes outgoing test users
2021-01-04 10:20:49 -08:00
Mouse Reeve
15b9f62136
Fixes users in views tests
2021-01-04 10:08:45 -08:00
Mouse Reeve
50f61f5d19
Merge branch 'main' into validate-username
2021-01-04 09:41:17 -08:00
Mouse Reeve
6668f54889
Fixes openlibrary test and navbar hover aria unfurl
2021-01-03 14:41:10 -08:00
Mouse Reeve
1187016aba
Merge pull request #469 from mouse-reeve/user-search
...
Search on username and localname in user search
2021-01-03 08:31:46 -08:00
Mouse Reeve
e54e1f2459
Tests user search
2021-01-03 07:57:57 -08:00
Renato "Lond" Cerqueira
b389cfb013
Use user-agent to determine whether to show pure representation
...
Together with #434 and #435 , this fixes #429 . Use the user-agent to
determine if the call is coming from a BookWyrm instance or not. If it's
not, give a pure activitypub representation for the status. Otherwise,
give a BookWyrm one, to allow for a complete integration between
instances.
2021-01-03 14:24:03 +01:00
Mouse Reeve
8afd111ff4
Merge pull request #466 from mouse-reeve/search-tweaks
...
Search tweaks
2021-01-02 16:30:28 -08:00
Mouse Reeve
d3c181cacb
Re-sorts search results after deduplication
2021-01-02 16:09:54 -08:00
Mouse Reeve
a2e8cf1993
Return best matching edition instead of default in search
2021-01-02 15:15:25 -08:00
Mouse Reeve
4c968c417b
cleans up search tests
2021-01-02 14:20:39 -08:00
Mouse Reeve
22f5fa154c
Add readthroughs even when a book is already shelved
2021-01-02 13:26:42 -08:00
Mouse Reeve
b2c22c5b7f
Tests handle import shelving
2021-01-02 13:09:40 -08:00
Mouse Reeve
3344eed3b9
Tests for goodreads import lookup
2021-01-02 11:35:56 -08:00
Mouse Reeve
204967e421
Adds tests file for goodreads import
2021-01-02 09:42:50 -08:00
Mouse Reeve
1e7aa283c2
Patches celery calls in connector tests
2021-01-02 09:08:37 -08:00
Mouse Reeve
86060f795d
Updates tests
2021-01-02 08:55:42 -08:00
Mouse Reeve
d828b0ead9
Remove books manager at long last
2021-01-02 08:14:28 -08:00
Mouse Reeve
bb5ae850e1
Mention users implicitly (without needing @mentions)
2021-01-01 09:35:14 -08:00
Mouse Reeve
87b8e5f39d
Merge pull request #451 from mouse-reeve/views-tests
...
Views tests
2020-12-31 14:03:34 -08:00
Mouse Reeve
e066c53dd0
tests hella views
2020-12-31 13:45:36 -08:00
Mouse Reeve
a444c5f6fc
Fixes model deduplication from data
2020-12-31 12:22:00 -08:00
Mouse Reeve
141e7b90e8
Cleans up abstract connector tests
...
a buncha linting errors and junk we don't need in setup
2020-12-31 11:11:59 -08:00
Mouse Reeve
03ed1cfa94
Small syntax changes in openlibrary connector
2020-12-31 11:03:30 -08:00
Mouse Reeve
9afbf3196f
Cleans up paths in import model tests
2020-12-31 09:49:27 -08:00
Mouse Reeve
171d09599c
Fixes author path in openlibrary connector
2020-12-31 09:32:40 -08:00
Mouse Reeve
c1e1bdac4b
Fixes url formatting in openlibrary connector
2020-12-31 09:19:39 -08:00
Mouse Reeve
69af2f4cd3
Fixes untag
2020-12-31 08:42:09 -08:00
Mouse Reeve
a7a586ea90
Fixes tagging
2020-12-31 08:30:51 -08:00
Mouse Reeve
29ee027f6d
Tests tag page and orders tag collection json
2020-12-31 08:05:24 -08:00
Mouse Reeve
d04a1956f5
Test that editions page loads
2020-12-31 07:52:08 -08:00
Mouse Reeve
c33095dfe0
Merge pull request #442 from mouse-reeve/views-tests
...
Views tests
2020-12-30 15:51:54 -08:00
Mouse Reeve
4e413a3779
Adds tests for generating feeds
2020-12-30 14:57:57 -08:00
Mouse Reeve
48f002727a
small change and test to get_user_from_username
2020-12-30 14:57:43 -08:00
Mouse Reeve
c1243b5c21
Makes outbox filter-able
2020-12-30 13:14:16 -08:00
Mouse Reeve
babc604397
Fixes outbox privacy
2020-12-30 12:41:19 -08:00
Mouse Reeve
88d8b6e577
Cleans up outbox function
2020-12-30 12:38:34 -08:00
Mouse Reeve
877e3356e5
Merge pull request #436 from mouse-reeve/search-errors
...
Catch error response decoding json in search connector
2020-12-30 12:18:43 -08:00
Mouse Reeve
e0adb3307b
Gracefully handle unknown status types
...
Fixes #432
2020-12-30 12:05:20 -08:00
Mouse Reeve
490591623f
Adds test for search view
2020-12-30 11:37:49 -08:00
Mouse Reeve
8ffb22291a
Add connector to tested fields on search result
2020-12-30 09:51:37 -08:00
Mouse Reeve
c8d031e311
Tests connector search
2020-12-30 09:48:37 -08:00
Mouse Reeve
6a8353de09
Adds test for SearchResult dataclass
...
also just cleans up the styles in the test file for linting
2020-12-30 09:26:02 -08:00
Mouse Reeve
74a25f205b
Validator for username field
2020-12-28 14:14:22 -08:00
Mouse Reeve
7e987fc446
Updates unit tests for new username handling
...
still some failing tho
2020-12-27 17:21:01 -08:00
Mouse Reeve
ac261d7b1a
Send connector with search result
...
also fix typo in get_work_from_edition_data function
2020-12-27 14:33:34 -08:00
Mouse Reeve
9f74e95b00
stylistic cleanup of import model tests
2020-12-27 13:32:27 -08:00
Mouse Reeve
7d1cbb7be1
Adds tests for edit author view
2020-12-22 10:10:36 -08:00
Mouse Reeve
6ca8728d7c
Merge pull request #418 from mouse-reeve/edit-user-view
...
Edit user view
2020-12-22 09:28:21 -08:00
Mouse Reeve
db281d5154
Simplifies update user view
2020-12-21 16:19:36 -08:00
Mouse Reeve
fcce1a5a36
Fixes outgoing tests
2020-12-21 15:52:06 -08:00
Mouse Reeve
e6105c6cb0
Simplify edit user function
2020-12-21 14:54:45 -08:00
Mouse Reeve
65e9afd271
Fixes user in outgoing tests
2020-12-21 14:54:27 -08:00
Mouse Reeve
98aa946519
Merge branch 'main' into outgoing-tests
2020-12-21 14:39:39 -08:00
Mouse Reeve
fa1ddf359a
create single outgoing tests file
2020-12-21 14:37:28 -08:00
Mouse Reeve
b4c60c0591
Catches exception thrown when boosting unknown statuses
2020-12-21 14:25:10 -08:00
Mouse Reeve
1fb728edbd
Merge pull request #415 from mouse-reeve/author_text
...
Generate author_text field dynamically
2020-12-21 13:09:40 -08:00
Mouse Reeve
0de479a89f
Fixes authors set in tests
2020-12-21 13:03:48 -08:00
Mouse Reeve
adfb1e696a
typo in test
2020-12-21 12:49:33 -08:00
Mouse Reeve
bc64ae0504
Fixes assigning authors in test
2020-12-21 12:49:00 -08:00
Mouse Reeve
862f1d2580
Fixes cover unit test
2020-12-21 12:22:47 -08:00
Mouse Reeve
aac264c998
Generate author_text field dynamically
2020-12-21 12:10:42 -08:00
Mouse Reeve
e72c3e11dd
Fixes incoming user test
2020-12-20 12:54:30 -08:00
Mouse Reeve
79973687d5
Updates tests
2020-12-20 12:50:35 -08:00
Mouse Reeve
a6efd51bb2
Only parse mardown on outgoing activities
2020-12-20 11:38:13 -08:00
Mouse Reeve
592721ec76
Fixes unit tests
2020-12-19 20:26:29 -08:00
Mouse Reeve
c407015a82
Fixes tests
2020-12-19 16:33:56 -08:00
Mouse Reeve
0c6049b81c
Discard remote boosts
2020-12-18 12:38:27 -08:00
Mouse Reeve
606e93fb12
Hacky fix for serializing boost
2020-12-18 11:34:21 -08:00
Mouse Reeve
80de6079fa
User p tags for pure status serializer
2020-12-18 11:00:30 -08:00
Mouse Reeve
d024d44b79
Fixes incoming tests
2020-12-17 13:46:32 -08:00
Mouse Reeve
60239c867a
Updates unit tests
2020-12-17 13:06:17 -08:00
Mouse Reeve
530198adea
Serialize alt text of images
2020-12-17 12:54:04 -08:00
Mouse Reeve
39dc0501a5
Make alt text a model property
2020-12-17 12:30:49 -08:00
Mouse Reeve
42167af3e9
Tests fro html field
2020-12-16 18:39:18 -08:00
Mouse Reeve
a3c7d324d6
Sanitize incoming html
2020-12-16 16:47:23 -08:00
Mouse Reeve
ef92e562fd
Merge pull request #382 from mouse-reeve/switch-edition
...
Adds shelf info to book page
2020-12-16 14:58:36 -08:00
Mouse Reeve
8a1800ea26
Federate shelve activities when switching editions
2020-12-16 13:59:18 -08:00
Mouse Reeve
da05b99bb8
Fixes incoming shelve activity
2020-12-15 18:57:17 -08:00
Mouse Reeve
bde75766f2
test for registration and password reset
2020-12-15 16:36:22 -08:00
Mouse Reeve
ee2121095c
Separate update editon and work functions
2020-12-15 12:39:09 -08:00
Mouse Reeve
2ef4df41b4
Fixes boosts
2020-12-15 11:54:57 -08:00
Mouse Reeve
8787599692
tests unfavorite
2020-12-14 13:04:07 -08:00
Mouse Reeve
1bcae45145
Remove notifications related to deleted statuses
2020-12-14 12:54:39 -08:00
Mouse Reeve
d49e49f021
Notify mentioned users
2020-12-14 12:31:11 -08:00
Mouse Reeve
8d27f02a9a
Fixes typo in handle_unfollow
2020-12-14 11:46:31 -08:00
Mouse Reeve
171b8c75ae
use require_POST decorator in inbox
2020-12-14 11:29:22 -08:00
Mouse Reeve
7f6390f722
Test incoming in one file
2020-12-14 10:25:43 -08:00
Mouse Reeve
badc5d0dab
Adds another shelf model test
2020-12-14 10:18:14 -08:00
Mouse Reeve
4fcdbe5299
Fixes clashing test model name
2020-12-13 15:56:30 -08:00
Mouse Reeve
c75f5a1598
Unit tests for privacy model field
2020-12-13 15:50:02 -08:00
Mouse Reeve
44cbf7c07f
Fixes checking privacy when serializing status
2020-12-13 14:35:56 -08:00
Mouse Reeve
47981dc15e
Show year in time_since when ambiguous
2020-12-12 20:02:14 -08:00
Mouse Reeve
b61a7cccff
Use trimmedwords_html instead of a custom filter
2020-12-12 19:34:51 -08:00
Mouse Reeve
cb28c19abc
Use get_data in resolving remote id
2020-12-12 15:19:57 -08:00
Mouse Reeve
49979fabef
More user serialization tests
2020-12-12 15:00:20 -08:00
Mouse Reeve
e7f400533e
Fixes missing book and user objects
2020-12-12 14:15:10 -08:00
Mouse Reeve
804066c523
a couple more assertions for testing fk field
2020-12-12 13:47:51 -08:00
Mouse Reeve
7c43fa1f7c
Adds deduplication fields
2020-12-12 13:39:55 -08:00
Mouse Reeve
31a407d74a
Use name field only for author name
...
It feels janky to remove a more granular name designation, but all these
first/last name fields were algorithmically populated by a dubious
process of splitting the name by a space character. If it makes sense to
have first/last name fields, it should be re-added with some
consideration.
2020-12-12 09:53:21 -08:00
Mouse Reeve
6b9db97ab8
tests set_related_field
2020-12-09 13:11:42 -08:00
Mouse Reeve
ef2a07884f
Throws validation error when remote_id is None
2020-12-09 11:57:29 -08:00
Mouse Reeve
4d4ee8b8c3
Starts getting reverse fields working for deserialization
...
also fixes the fields on the image model and runs a long overdue
migration
2020-12-07 18:28:42 -08:00
Mouse Reeve
d0c1a68df6
Patches celery call in field tests and fixes tag field
2020-12-07 13:39:05 -08:00
Mouse Reeve
0a576c325c
Fixes deserializing tags of varied types
2020-12-07 13:16:42 -08:00
Mouse Reeve
6817babf3c
adds some tests for to_model
2020-12-07 12:19:15 -08:00
Mouse Reeve
f61fcb1261
Adds tests for resolve_remote_id
2020-12-07 10:46:41 -08:00