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