Mouse Reeve
c07dcb5458
Remove spaceless templatetags that cause rendering issues in statuses
2021-04-20 13:38:25 -07:00
Mouse Reeve
7012f95d6d
Use input instead of textarea for series
2021-04-20 13:07:55 -07:00
Mouse Reeve
d47bbde651
Only one row of footer on list items
2021-04-20 13:02:43 -07:00
Mouse Reeve
b22d1863c9
More robust user page test and bug fix
2021-04-20 12:31:45 -07:00
Mouse Reeve
cbccb07252
Fixes display of replies
2021-04-20 11:18:59 -07:00
Mouse Reeve
9e5ebf9807
Move stars into header for ratings
2021-04-20 11:06:14 -07:00
Mouse Reeve
07dbc4c6c0
Much longer "full" version of trimmed text
2021-04-20 09:56:01 -07:00
Mouse Reeve
978760475f
More compact display of statuses
2021-04-20 09:54:02 -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
0a37b4665c
Adds control for moderator to set user group
2021-04-19 17:29:29 -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
6a50c021ce
Try naturalday for published date
2021-04-19 16:30:15 -07:00
Mouse Reeve
70a819951e
Fixes localization weirdness with dates
2021-04-19 16:18:29 -07:00
Mouse Reeve
35cb3fa8fc
Updates tests
2021-04-19 16:08:01 -07:00
Mouse Reeve
da19089d34
Changes language from "deactivate" to "suspend"
2021-04-19 15:55:28 -07:00
Mouse Reeve
1542866b6c
Adds user admin view
2021-04-19 15:40:51 -07:00
Mouse Reeve
0dd8b33991
Moves user admin templates into snippets
2021-04-19 15:19:55 -07:00
Mouse Reeve
788e282dce
Moves user admin pages into their own directory
2021-04-19 15:12:36 -07:00
Mouse Reeve
0947b79fb1
Python formatting
2021-04-19 15:06:33 -07:00
Mouse Reeve
91aa6fa95f
Remove unneeded page checking logic
2021-04-19 15:01:20 -07:00
Mouse Reeve
77775d9bf8
Remove superfluous calls to all()
2021-04-19 14:47:59 -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
Mouse Reeve
43a785b6c5
Merge pull request #959 from arkhi/editions-list
...
Display book identifiers in the list of Editions
2021-04-18 09:37:34 -07:00
Fabien Basmaison
415d6c4e3f
Remove spacing between publisher info blocks.
2021-04-18 18:24:32 +02:00
D Anzorge
7a2731aef4
Use object ids with our instance base path for follow accept/reject
2021-04-18 18:08:13 +02:00
Pablo Barton
afd1cdc2a8
adjust test
2021-04-18 11:52:22 -04:00
Pablo Barton
3d0de5bea8
approving list items puts them at the end of the list
2021-04-18 11:15:42 -04:00
Fabien Basmaison
66c72c8b41
Add book identifiers to list of Editions:
...
- Add template for identifiers.
- Remove `space-between` that adds too much space on narrow views.
- Apply the `content` class only on publisher infos to avoid applying automatic styles to the description list.
2021-04-18 15:59:02 +02: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
2914eea281
Catch user not found errors in feed
2021-04-17 18:23:33 -07:00
Mouse Reeve
02e6602a0b
Reject statuses from deactivated remote users
2021-04-17 17:55:22 -07:00
Mouse Reeve
8421a2e832
Clarifies logic in if statement
2021-04-17 15:14:23 -07:00
Mouse Reeve
44528eaa09
Don't double-override to_activity
2021-04-17 13:31:37 -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
779f44e9bd
Merge pull request #954 from bookwyrm-social/ap-image
...
Handle both Image and Document types
2021-04-17 12:11:41 -07:00
Mouse Reeve
020e6f74ef
Python formatting
2021-04-17 11:57:06 -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
Mouse Reeve
7c85b554cf
Handle both Image and Document types
2021-04-17 11:47:48 -07:00
Mouse Reeve
45cf1cd7a7
Merge pull request #953 from bookwyrm-social/admin-filters
...
Filter reports and users by server name and username
2021-04-17 11:26:12 -07:00
Mouse Reeve
6433aa23b2
Python formatting
2021-04-17 11:09:48 -07:00
Mouse Reeve
239d927e94
Merge pull request #952 from bookwyrm-social/user-reports
...
Fixes form for reporting users
2021-04-17 10:56:46 -07:00
Mouse Reeve
10cf189312
Filter reports and users by server name and username
2021-04-17 10:56:26 -07:00
Mouse Reeve
e0c16b21e9
Fixes form for reporting users
2021-04-17 10:28:03 -07:00
Mouse Reeve
01cfa9dde9
Show more info on report page about user and instance
2021-04-17 10:12:50 -07:00
Pablo Barton
f6824268ed
584 sorting of lists
2021-04-16 22:17:15 -04:00
Mouse Reeve
bd294cce83
Check if obj exists for updates
2021-04-16 15:17:55 -07: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
f792dd0dac
Merge pull request #943 from bookwyrm-social/activity-serialize-errors
...
Activity serialize errors
2021-04-15 17:00:00 -07:00
Mouse Reeve
220fb926c9
Rename Image to Document
2021-04-15 16:35:04 -07:00
Mouse Reeve
2f493336ad
Don't try to delete nonexistant objects
2021-04-15 16:24:05 -07:00
Mouse Reeve
addcc59d7f
Makes cc fields optional
...
Plus a bit of cleanup in comments and to: fields
2021-04-15 16:21:54 -07:00
Mouse Reeve
25b82fd2b0
Updates test
2021-04-15 16:11:03 -07:00
Mouse Reeve
9176a2b9ee
Fixes bug that causes recusive broadcasts
2021-04-15 15:51:49 -07:00
Joachim
71390f1735
Set body height
2021-04-15 21:51:14 +02:00
Mouse Reeve
adaaf8da67
Fixes typo in populate streams command
2021-04-15 10:29:56 -07:00
Pablo Barton
88d37736ee
902 using get_page for Paginator instead of page
2021-04-15 08:54:23 -04:00
Joachim
74573b5355
Restrict list creation form to authenticated users
...
When visiting the `/list` route on an instance while unauthenticated, the button to toggle the List creation form is shown. This PR aims to hide the button to unauthenticated visitors.
2021-04-14 20:07:51 +02:00
Mouse Reeve
00c6b7e6e0
Fixes regex group
2021-04-13 18:26:54 -07:00
Mouse Reeve
e8d1c04712
Fixes logic error in checking sender
2021-04-13 18:04:54 -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
901e7f69d4
Allow admins to upload domain blocklists
...
Fixes #804
2021-04-12 14:23:51 -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
93fe091034
Adds field for user deactivation reason
2021-04-12 09:51:10 -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
fa762bc107
Merge pull request #871 from SavinaRoja/857-ease-production
...
Easier to deploy by avoiding merge conflicts in production
2021-04-12 09:34:38 -07:00
n2no1
92e9ff6cff
update links in README and {bookwyrm,celerywyrm}/settings.py files
...
the link to celery's homepage has been dead for at least several months
activitypub.rocks now supports tls (yay!)
the links to django's docs were for older versions of django than what bookwyrm uses
2021-04-12 11:56:26 -04: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
Pablo Barton
d38efa9a9d
Easier to deploy by avoiding merge conflicts in production
2021-04-11 13:12:50 -04:00
Mouse Reeve
96d15d3d57
Adds merge migration
2021-04-11 10:05:36 -07:00
Mouse Reeve
77caf1a8fa
Merge branch 'main' into domain-block
2021-04-11 10:02:11 -07:00
Mouse Reeve
b552634a87
Make sure goal exists before checking perms
2021-04-11 09:58:03 -07:00
Mouse Reeve
edf3fad54d
Make sure user is available when testing blocks
2021-04-11 09:42:55 -07:00
Mouse Reeve
b6a7871b04
Makes visibility evaluator a model function
2021-04-11 09:31:18 -07:00
Mouse Reeve
26f16cf5a4
Limit broadcast with viewer-aware users
...
Removes inactive or blocked users
2021-04-11 09:09:13 -07:00
Mouse Reeve
6d76782ee1
Mocks list item remove test
2021-04-11 09:00:44 -07:00
Mouse Reeve
98ff66cd16
Don't broadcast curation rejects
2021-04-10 18:15:13 -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
675b34f5ad
Merge branch 'main' into collection-item-refacotr
2021-04-10 16:02:54 -07:00
Mouse Reeve
89d3c3e82b
Tests searching for users on blocked servers
2021-04-10 11:49:45 -07:00
Mouse Reeve
1903812b1d
Class method for checking if urls are blocked
2021-04-10 11:44:29 -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
Fabien Basmaison
ec2b4e533e
Merge branch 'main' into frontend
2021-04-10 19:57:23 +02:00
Mouse Reeve
7b60626661
Updates block unit test
2021-04-10 10:51:45 -07:00
Fabien Basmaison
e016006ade
[css] Rename all classes consistently: :shamed:
...
This commit addresses https://github.com/mouse-reeve/bookwyrm/pull/883#pullrequestreview-632930445 .
2021-04-10 19:51:18 +02:00
Mouse Reeve
2741aa55be
Makes blocking it's own view
2021-04-10 10:37:28 -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
cca7c9a98a
Adds merge migrations
2021-04-10 09:35:03 -07:00
Mouse Reeve
13d54871b7
Merge branch 'main' into domain-block
2021-04-10 09:26:01 -07:00
Mouse Reeve
1352d43cdc
Merge pull request #915 from tofuwabohu/adds-ssl-param
...
Adds SSL parameter
2021-04-10 09:22:04 -07:00
Fabien Basmaison
37e48988b1
Don’t use linebreak in DTL block comments. (might break the linter on the length of line)
2021-04-10 00:07:01 +02:00
Fabien Basmaison
4c4801e2da
Add structured data to Book ( #84 ).
2021-04-09 23:57:49 +02:00
tofuwabohu
a52729daae
adds SSL params
2021-04-09 13:28:58 +02:00
Fabien Basmaison
4bfae00e3c
Merge branch 'main' into frontend
2021-04-09 07:51:32 +02: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
D Anzorge
5cbf7bbc71
Ensure EMAIL_USE_TLS is read as a bool
2021-04-09 04:53:18 +02:00
Mouse Reeve
e339581ade
Merge pull request #913 from mouse-reeve/edit-book-date-error
...
Fixes edit book form throwing error on empty dates
2021-04-08 16:54:27 -07:00
Mouse Reeve
27664e323a
Fixes edit book form throwing error on empty dates
2021-04-08 16:08:35 -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
24685187e8
Updates collection item add/remove handlers
2021-04-08 15:22:06 -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
e550f8cde6
Fixes list item fields and broadcast updates
2021-04-08 14:47:38 -07:00
Mouse Reeve
af58455ae9
Updates mock paradigm in lists tests
2021-04-08 14:20:16 -07:00
Mouse Reeve
31077a9790
Update ordered collection classes to use CollectionItem
2021-04-08 14:17:29 -07:00
Mouse Reeve
98161b9041
Use CollectionItem objects
2021-04-08 14:16:34 -07:00
Mouse Reeve
6617cede37
Loudly throw errors in inbox task
2021-04-08 14:15:58 -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
779377bd0c
Makes localname case insensitive
2021-04-08 09:00:32 -07:00
Fabien Basmaison
b92ff9752d
[assets] Remove UI and behaviours for interactions:
...
This commit addresses https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609739553 .
2021-04-08 17:37:29 +02:00
Fabien Basmaison
2f90b4ce66
[assets] Fix broken actions for focus and checkbox:
...
This commit should address the following two comments:
- https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609172258
- https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609174513
2021-04-08 11:37:14 +02:00
Fabien Basmaison
83bd417878
[assets] Update interactions code:
...
This commit should address https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609381969 .
- Disable the button being used to submit the form.
- Rename variables based on @mouse-reeve’s explanations. Thanks! ✨
2021-04-08 11:08:13 +02:00
Fabien Basmaison
ad3e91db7d
Merge branch 'main' into frontend
2021-04-08 09:53:01 +02:00
Mouse Reeve
89af144105
Avoid showing "None" for title and subtitle fields
2021-04-07 18:38:26 -07:00
Mouse Reeve
9658123dd7
Merge pull request #893 from void-witch/fix-date
...
fix the book edit confirmation template dropping initial data for dates
2021-04-07 18:36:15 -07:00
Mouse Reeve
ddba61f138
Block all/unblock all users on server block
2021-04-07 16:50:12 -07:00
Mouse Reeve
839ac061b7
Show notes
2021-04-07 13:21:46 -07:00
Mouse Reeve
8556474537
Add and edit servers
2021-04-07 13:17:51 -07:00
Mouse Reeve
ddab9af564
Functional add server form
2021-04-07 13:06:29 -07:00
Mouse Reeve
d383e8a61e
Cleans up add server form
2021-04-07 12:13:34 -07:00