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
2e12d54687
Merge pull request #966 from bookwyrm-social/user-admin
...
User admin
2021-04-20 13:43:51 -07:00
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
Mouse Reeve
74549956c2
Adds edit server form
2021-04-07 11:52:13 -07:00
Mouse Reeve
8261fbf86a
Updates federated server model with notes field
...
Also makes it more editable, and changes the status types
2021-04-07 11:28:31 -07:00
Mouse Reeve
e3e28973f1
Adds merge migration
2021-04-07 11:24:09 -07:00
Mouse Reeve
4e0225749d
Merge branch 'main' into domain-block
2021-04-07 11:23:15 -07:00
Mouse Reeve
5d45b01f05
Merge pull request #906 from mouse-reeve/isbn-search-resiliency
...
Handle arbitrary errors in isbn search
2021-04-07 11:18:51 -07:00
Mouse Reeve
2c5f62e6cd
Merge pull request #905 from mouse-reeve/shelve-action-serialization
...
Safer serialization of shelve and un-shelve activities
2021-04-07 11:18:39 -07:00
n2no1
ac86c194d4
move from strptime to dateutil for parsing date inputs
2021-04-07 14:11:13 -04:00
Mouse Reeve
897082d491
Merge pull request #903 from mouse-reeve/following-field
...
Adds following field to actor serialization
2021-04-07 11:09:11 -07:00
Mouse Reeve
5427790c4e
Safer serialization of shelve and unshelve activities
2021-04-07 11:02:56 -07:00
Mouse Reeve
954958b6f9
Handle arbitrary errors in isbn search
2021-04-07 10:54:00 -07:00
Mouse Reeve
e61a104bcf
Merge pull request #904 from mouse-reeve/missing-migration
...
Adds missing migration for #898
2021-04-07 10:49:38 -07:00
Mouse Reeve
0b96713341
Merge pull request #900 from mouse-reeve/search-webfinger-error
...
Gracefully handle errors in webfinger during search
2021-04-07 10:35:39 -07:00
Mouse Reeve
7c5f078682
Adds missing migration for #898
2021-04-07 10:33:56 -07:00
Mouse Reeve
ef12b077dd
Adds following field to actor serialization
2021-04-07 10:32:16 -07:00
Mouse Reeve
e3d01c6736
Gracefully handle errors in webfinger during search
2021-04-07 09:17:04 -07:00
Fabien Basmaison
be0cabc415
[css] Improve quotes.
2021-04-07 18:07:32 +02:00
Mouse Reeve
63d37c281d
Handle invalid authors when importing books
2021-04-07 08:59:33 -07:00
Mouse Reeve
45006afdf3
Remove character limit on some book fields
2021-04-07 08:50:50 -07:00
Fabien Basmaison
2a0924027b
[css] Use more visible comments to split blocks.
2021-04-07 17:33:28 +02:00
Fabien Basmaison
f77088b964
[assets] Remove redundant class already provided by bulma:
...
Replace all classes `hidden` with `is-hidden` in templates, CSS and JS.
2021-04-07 17:31:00 +02:00
Mouse Reeve
f11d64f984
Handle all connector errors in search
2021-04-07 08:09:47 -07:00
Fabien Basmaison
f2a2b410a1
[assets] Add comment to mention replacing font icons with SVG.
2021-04-07 10:49:52 +02:00
Fabien Basmaison
54805afb51
[assets] Tweak JSDoc.
2021-04-07 10:37:11 +02:00
Fabien Basmaison
fb45df0f99
Merge branch 'main' into frontend
2021-04-07 09:25:40 +02:00
Fabien Basmaison
5d569e8926
[assets] Only update status if the promise is successful:
...
- Use promises in `ajaxPost` and `interact`.
- Add some animations in CSS.
2021-04-07 09:24:34 +02:00
Fabien Basmaison
1c05107f2b
[assets] Tweak comments.
2021-04-07 07:53:30 +02:00
Mouse Reeve
922428cab7
Fixes error in reverse path
2021-04-06 18:51:43 -07:00
n2no1
31146b00e4
import MultiValueDictKeyError to catch with formcopy
2021-04-06 21:40:15 -04:00
Mouse Reeve
29e7659b76
Expand inventaire book data
2021-04-06 18:34:55 -07:00
Mouse Reeve
fec3d63e46
Python formatting
2021-04-06 18:17:33 -07:00
Mouse Reeve
ac27111f05
Adds inventaire to default connector list
2021-04-06 18:13:33 -07:00
Mouse Reeve
f21aca1211
Load remote keys
2021-04-06 18:10:42 -07:00
n2no1
51e16fba97
run black, add a try/catch around the formcopy fix
2021-04-06 21:01:57 -04:00
Mouse Reeve
4112862924
Fixes search data and new activitypub fields
2021-04-06 18:00:54 -07:00
n2no1
0941c50c69
ensure that the book edit confirmation receives initial date data as a datetime
2021-04-06 20:46:18 -04:00
Mouse Reeve
82c2f2eeb1
Adds more author identifier fields
2021-04-06 17:46:06 -07:00
n2no1
502f29082c
check the form for initial date values if the book has none
2021-04-06 19:57:57 -04:00
Mouse Reeve
bfdcf611e7
Adds inventaire identifier to book data fields
2021-04-06 13:54:57 -07:00
Mouse Reeve
e594cd0a36
Load simple fields from inventaire
2021-04-06 13:53:58 -07:00
Mouse Reeve
3158701075
Gets editions for works
2021-04-06 13:39:10 -07:00
tofuwabohu
1f99710dcd
Links to own user in menu
2021-04-06 22:36:24 +02:00
Mouse Reeve
5149c7e8c2
Expands mappings for inventaire/wikidata properties
2021-04-06 13:03:22 -07:00
Mouse Reeve
22ebe60c0a
Use custom data extractor for inventaire connector
2021-04-06 12:29:06 -07:00
Mouse Reeve
fba44206ac
Adds separate view and load links for book search results
2021-04-06 12:17:58 -07:00
Mouse Reeve
d482c66ad4
Adds inventaire connector stub
...
And changes formatters to accept the key as well as value
2021-04-06 11:58:07 -07:00
Mouse Reeve
295842badd
Adds inventaire id to book data model
2021-04-06 10:40:39 -07:00
Mouse Reeve
f30d05acfc
Update connector model to add new connector
2021-04-06 10:40:13 -07:00
Fabien Basmaison
44040201f9
[assets] Move interact function.
2021-04-06 17:57:39 +02:00
Fabien Basmaison
9d95f54aa2
[assets] Refactor toggleAction
and toggleMenu
a bit.
2021-04-06 17:48:56 +02:00
Mouse Reeve
03e5da12dd
Call suggestions redis in feed
2021-04-06 08:31:18 -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
fd66ff1861
Small tweaks to commends and super() calls
2021-04-06 07:53:34 -07:00
Fabien Basmaison
a21f954fb1
Remove redundant class
attribute and format template.
2021-04-06 16:29:58 +02:00
Fabien Basmaison
52d2f0e331
[assets] Document functions and variables:
...
- Use expressive names for variables.
- Add docblocks for each function.
- Add ESLint rules for comments.
2021-04-06 16:17:20 +02:00
Fabien Basmaison
5d3d00f694
[assets] Use dataset
+ use expressive names for some variables.
2021-04-06 15:36:34 +02:00
Fabien Basmaison
62fe2ef600
[assets] Replace inline events with addEventListener
; this breaks sliding menu.
2021-04-06 11:37:23 +02:00
Fabien Basmaison
7e49b3cb26
[assets] Simplify addRemoveClass function.
2021-04-06 11:19:44 +02:00
Fabien Basmaison
70c652d565
[assets] Add rules to ESLint:
...
- Fix long line.
- Enforce a few stylistic habits:
- Avoid some potential dangerous constructs.
- `arrow-spacing`: Use at least one space around arrows.
- `keyword-spacing`: Use at least one space around keywords (if, else, for…).
- `no-multiple-empty-lines`: Only use one empty line between code.
- `no-var`: Use `let` or `const` instead of `var`:
- `padded-blocks`: Do not pad blocks.
- `padding-line-between-statements`: Use empty lines between some statements.
- `space-before-blocks`: Use at least one space before the opening brace of a block.
2021-04-06 10:42:52 +02:00
Fabien Basmaison
991d897ac7
[assets] Listen to events as soon as possible.
2021-04-06 09:57:52 +02:00
Fabien Basmaison
2f2f7db086
[assets] Use classes for JS files:
...
- Classes strictly parse code implicitly.
- Fix previously updated code.
2021-04-06 09:44:59 +02:00
Fabien Basmaison
f430363be0
[assets] Simplify a function expression.
2021-04-06 09:11:56 +02:00
Fabien Basmaison
f6c3e581b9
[assets] Replace Array.from(document.getElementsByClassName(…))
by querySelectorAll(…)
.
2021-04-06 09:11:27 +02:00
Fabien Basmaison
6b0a3ce4b1
[assets] Move localStorage chunks of code to their own file:
...
This should prevent a sync issue with updateDisplay not always being loaded on time.
2021-04-06 09:06:51 +02: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
194fcb8055
Adds migration for federated server table statuses
2021-04-05 15:54:20 -07:00
Mouse Reeve
ad543f46c1
Adds block and unblock functionality
2021-04-05 15:38:32 -07:00
Mouse Reeve
e4fe47b538
Default blocks in initdb
2021-04-05 15:26:53 -07:00
Mouse Reeve
1901f7e6cb
Check if incoming domains are blocked
2021-04-05 15:16:41 -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
18ba33e050
Uses redis for storing suggested users
2021-04-05 13:49:21 -07:00
Mouse Reeve
04b9704187
typo fix
2021-04-05 13:13:56 -07:00
Mouse Reeve
cd56abcb08
Maintain signal names
2021-04-05 12:11:49 -07:00
Mouse Reeve
0bbaf0a562
Python formatting
2021-04-05 11:10:26 -07:00
Mouse Reeve
e61ed73894
Merge pull request #875 from arkhi/locales
...
[l10n] Add and update i18n strings for French
2021-04-05 11:10:01 -07:00
Mouse Reeve
bd8858830a
Created generic redis class for activitstreams
2021-04-05 11:05:37 -07:00
Mouse Reeve
04f459a2df
Fixes creting invites
2021-04-05 10:17:01 -07:00
Fabien Basmaison
964b47ea97
[assets] Fix path for icomoon font.
2021-04-05 16:46:30 +02:00
Fabien Basmaison
cbed5e331b
[assets] Move some frontend assets to _vendor_ directories:
...
This simplifies linting of files we have no grasp on, and clarifies responsibilities.
- Add .eslintignore.
- Restrict linting to bookwyrm/static.
2021-04-05 16:17:11 +02:00
Fabien Basmaison
5aea7343b4
[assets] Rename some files for consistency.
2021-04-05 16:16:48 +02:00
Fabien Basmaison
6971c9b133
[assets] Move toggleAllCheckboxes code to its own file.
2021-04-05 16:16:05 +02:00
Fabien Basmaison
125915f1b3
[l10n] Add missing i18n string to template.
2021-04-05 12:53:20 +02:00
Fabien Basmaison
5d3f00a537
[l10n] Add and update i18n strings for French:
...
- Fix typo in English.
- Add translations for missing strings.
- Update translations for fuzzy strings.
2021-04-05 12:46:34 +02:00
Mouse Reeve
d25c68f887
Restores stream length settings
2021-04-04 21:01:52 -07:00
Mouse Reeve
940e841502
Fixes trimming streams
2021-04-04 20:57:30 -07:00
Pablo Barton
593e435816
772 Use gettext_lazy for form classes
2021-04-04 16:22:36 -04:00
Mouse Reeve
ea837a3879
Merge pull request #864 from mouse-reeve/delete-and-redraft
...
Delete and redraft
2021-04-04 11:00:09 -07:00
Mouse Reeve
abd6a78295
Merge pull request #862 from mouse-reeve/disabled-link
...
Valid html solution to disabling pagination links
2021-04-04 10:59:22 -07:00
Mouse Reeve
b6aa36960c
Separates button grouping from td element
2021-04-04 10:38:40 -07:00
Mouse Reeve
03ba01a790
Expands filtering and sorting on invite requests page
2021-04-04 10:36:28 -07:00
Mouse Reeve
467748e2c8
Adds delete and redraft tests
2021-04-04 09:45:25 -07:00
Mouse Reeve
ff3631cbe3
Python formatting
2021-04-04 09:24:17 -07:00
Mouse Reeve
be8c3b7904
Handles delete and redraft replies
2021-04-04 09:18:52 -07:00
Mouse Reeve
936d68f0ed
Don't allow delete and redraft of ratings
2021-04-04 09:08:44 -07:00
Mouse Reeve
521f917d01
Pass existing rating to stars form element as variable
2021-04-04 09:05:21 -07:00
Mouse Reeve
4c2f1db6a6
Merge branch 'main' into delete-and-redraft
2021-04-04 09:05:12 -07:00
Mouse Reeve
ecf489b0bd
Merge pull request #863 from mouse-reeve/edit-book-field-types
...
Uses date input type for publication date fields
2021-04-04 08:50:46 -07:00
Mouse Reeve
7dcbc14225
Merge pull request #866 from mouse-reeve/goal-page-book-link
...
Fixes goal page book link
2021-04-04 08:50:00 -07:00
Mouse Reeve
b3535d9a90
Hides disabled pagination links for screenreaders
2021-04-04 08:42:01 -07:00
Fabien Basmaison
485b0fa0f3
Simplify rating form:
...
- Create a snippet to regroup similar code.
- Reduce and document tricky logic of CSS.
- Add i18n strings.
2021-04-04 15:08:42 +02:00
Mouse Reeve
74ca54d8d6
Fixes goal page book link
2021-04-03 20:55:44 -07:00
Mouse Reeve
d5643047e1
hidden checkbox should always be hidden
2021-04-03 15:49:27 -07:00
Mouse Reeve
ffb7f8f7ce
Populate redraft form
2021-04-03 15:47:47 -07:00
Mouse Reeve
6ed74e6f60
Merge branch 'zrem' into delete-and-redraft
2021-04-03 14:59:29 -07:00
Mouse Reeve
3dee60e9e5
Uses correct redis remove activity type
2021-04-03 14:56:56 -07:00
Mouse Reeve
2a4fc8fb9a
Adds model-to-form helper for statuses
2021-04-03 14:55:13 -07:00
Mouse Reeve
4cf9bca5aa
Adds compose view
2021-04-03 14:32:34 -07:00
Mouse Reeve
dae31459e4
Show correct book when url param is provided
2021-04-03 13:56:41 -07:00
Mouse Reeve
029913de32
Logic for rendering a particular compose tab server-side
2021-04-03 13:12:55 -07:00
Mouse Reeve
fb900d58cd
Names status urls
2021-04-03 12:38:12 -07:00
Mouse Reeve
8711a2eba5
Adds url path
2021-04-03 12:31:28 -07:00
Mouse Reeve
c5b2489330
Adds start of redraft view
2021-04-03 12:30:18 -07:00
Mouse Reeve
3ffe8a2ffb
Uses date input type for publication date fields
2021-04-03 12:10:21 -07:00
Mouse Reeve
8d7527dee3
CSS linter fixes
2021-04-03 11:59:14 -07:00
Mouse Reeve
3cb91098e6
Valid html solution to disabling pagination links
2021-04-03 11:54:15 -07:00
Mouse Reeve
8faec714bb
Safely return unread count when key is unset
2021-04-03 11:39:29 -07:00
Mouse Reeve
b9514ec81f
Python formatting
2021-04-03 11:11:29 -07:00
Mouse Reeve
44e87c01ab
Another place where redis may be called unnecessarily
2021-04-03 11:07:08 -07:00
Mouse Reeve
a913524991
Fixes redis call so tests don't fail
2021-04-03 10:56:53 -07:00
Mouse Reeve
880323e838
Python format
2021-04-02 17:18:04 -07:00
Mouse Reeve
1d525d49cb
Use sorted set for activitystreams
2021-04-02 10:44:30 -07:00
Mouse Reeve
bb9e49c8fa
Show disabled placeholders in pagination
2021-04-02 09:54:32 -07:00
Mouse Reeve
bfacfbb09a
Merge pull request #852 from mouse-reeve/optional-outbox
...
Makes outbox an optional field on the user table
2021-04-02 07:56:55 -07:00
Mouse Reeve
9c8ce5f77d
Makes followers an optional AP field
2021-04-02 07:38:37 -07:00
Mouse Reeve
6211e66a5e
Merge pull request #849 from mouse-reeve/ui-small-fixes
...
UI small fixes
2021-04-02 07:37:31 -07:00
Mouse Reeve
45d229d712
Makes outbox an optional field on the user table
2021-04-02 07:35:56 -07:00
Mouse Reeve
2174ea11ec
Makes user to_activity serializer args consistent
2021-04-02 07:33:36 -07:00
Mouse Reeve
ae1ebecc76
Fixes tests for suggested/annotated users
2021-04-02 07:31:11 -07:00
Mouse Reeve
e84a07430c
Fixes books get started view error
2021-04-02 07:11:35 -07:00
Mouse Reeve
29792080a9
Don't create notifications when deleting statuses
2021-04-01 20:40:28 -07:00
Mouse Reeve
de16dd75c6
Python formatting
2021-04-01 20:30:50 -07:00
Mouse Reeve
86b519b844
Uses translates pages snippet for progress note on statuses
2021-04-01 20:28:08 -07:00
Mouse Reeve
fdfbf29744
i18n for "page x of y"
2021-04-01 20:22:42 -07:00
Mouse Reeve
34a32032c9
Align suggested users when there are fewer than 5
2021-04-01 20:01:09 -07:00
Mouse Reeve
7121b74a6e
Helper for suggested users panel
2021-04-01 19:56:53 -07:00
Mouse Reeve
732c7a190b
Don't show pending folloq requests in suggestions
2021-04-01 19:51:29 -07:00
Mouse Reeve
15711bdae2
Fixes display of empty cell in invites table
2021-04-01 19:45:38 -07:00
Mouse Reeve
265c2f8d9d
Show current shelf in move menu
2021-04-01 19:41:01 -07:00
Mouse Reeve
97192d3296
Changes orientation of move book menu on shelf page
2021-04-01 19:33:46 -07:00
Mouse Reeve
642c41353e
Removes redundant link to profile from dropdown
2021-04-01 19:25:37 -07:00
Mouse Reeve
35e6c6aa03
Merge pull request #848 from mouse-reeve/invite-info
...
Show accepter in invite request view
2021-04-01 18:07:45 -07:00
Mouse Reeve
16066e8340
Merge pull request #847 from mouse-reeve/sort-filter-interactions
...
Sort and filter mutually respect each other
2021-04-01 18:01:43 -07:00
Mouse Reeve
b9bff31562
Show accepter in invite request view
2021-04-01 18:00:39 -07:00
Mouse Reeve
62bd744b69
Sort and filter mutually respect each other
2021-04-01 17:38:53 -07:00
Mouse Reeve
14353f0de7
Merge pull request #846 from mouse-reeve/track-invite-use
...
Associate users with their invites
2021-04-01 17:33:20 -07:00
Mouse Reeve
634509a7f3
Associate users with their invites
2021-04-01 17:20:02 -07:00
Mouse Reeve
8ea60c66a3
Create connectors to federated bookwyrm servers
...
This got messed up when I refactored how connectors work! Poor
bookwyrm.social doesn't have a wyrms.de connector, but this will fix
that.
2021-04-01 17:02:45 -07:00
Mouse Reeve
ec8eb01a0f
Adds missing templates
2021-04-01 14:36:18 -07:00
Mouse Reeve
fc31b3e0b0
Fixes invite requests page with no filters
2021-04-01 14:22:01 -07:00
Mouse Reeve
b62989b5a8
Adds invite request filters
2021-04-01 14:14:17 -07:00
Mouse Reeve
8039917b89
Preserve get params on invite send
2021-04-01 13:56:24 -07:00
Mouse Reeve
b5e98e0bdf
Make invite requests sort-able
2021-04-01 13:41:08 -07:00
Mouse Reeve
a952d59eb8
Fixes translation on modal close labels
2021-04-01 13:15:21 -07:00
Mouse Reeve
6541de4ba1
Keep book view columns in mobile
2021-04-01 13:02:41 -07:00
Mouse Reeve
b17caa84cd
Fixes form default value in get started profile view
2021-04-01 12:54:00 -07:00
Mouse Reeve
bd0c0ff2a2
Changes the header copy
2021-04-01 12:46:38 -07:00
Mouse Reeve
f949d08034
Wording consistency and locales compiled for getting started views
2021-04-01 12:23:13 -07:00
Mouse Reeve
3b725fab63
Merge pull request #839 from mouse-reeve/onboarding
...
Get started flow for new users
2021-04-01 10:23:04 -07:00
Mouse Reeve
1e75674f7b
Fixes user view
2021-04-01 09:57:50 -07:00
Mouse Reeve
ac8e68ce2c
Python formatting
2021-04-01 09:48:13 -07:00
Mouse Reeve
493b04d91d
Merge pull request #841 from mouse-reeve/shelf-error
...
Shelf page 500s where it should 404
2021-04-01 09:47:29 -07:00
Mouse Reeve
bb5aec18f1
Cleans up ui navigation
2021-04-01 09:46:18 -07:00
Mouse Reeve
19c2c7f67c
test get started user view with query
2021-04-01 09:39:57 -07:00
Mouse Reeve
fa17d9018f
Adds user search to get started view
2021-04-01 09:39:05 -07:00
Mouse Reeve
776f1768d9
Updates get started users template
2021-04-01 09:30:15 -07:00
Mouse Reeve
5c10bdab7c
Adds breadcrumbs
2021-04-01 09:22:43 -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
c9fdec33c4
Display tweaks
2021-04-01 08:20:43 -07:00
Mouse Reeve
d5d4582ed1
Only show unshelved books
2021-04-01 08:12:38 -07:00
Mouse Reeve
4720481219
Fixes accessibility bugs
2021-04-01 08:02:42 -07:00
Mouse Reeve
fd6c1973cf
Shelf page 500s where it should 404
2021-04-01 07:24:56 -07:00
Mouse Reeve
f2f700c7b8
Adds error messaging for invalid cover urls
2021-03-31 15:39:28 -07:00
Mouse Reeve
210cf4a702
Fixes shelf redirects
2021-03-31 15:03:07 -07:00
Mouse Reeve
c7863ec8f0
Fixes re-shelving books from all books view
2021-03-31 15:00:49 -07:00
Mouse Reeve
13e153412e
Adds profile and user get started views
2021-03-31 14:53:15 -07:00
Mouse Reeve
59c54e0591
Creates get strated layout
2021-03-31 13:59:33 -07:00
Mouse Reeve
7483cb5919
Adds getting started find books view
2021-03-31 13:56:26 -07:00
Mouse Reeve
fba9e0fdb6
Merge pull request #837 from mouse-reeve/search-webfinger
...
Search fixes
2021-03-31 12:34:46 -07:00
Mouse Reeve
ca14d1789d
Merge pull request #836 from mouse-reeve/goal-covers
...
Simplifies reading goal progress covers view
2021-03-31 12:09:55 -07:00
Mouse Reeve
66b7a3d193
Avoids error on empty search query
2021-03-31 12:03:58 -07:00
Mouse Reeve
daf2fd1667
Perform webfinger search on all username syntaxes
2021-03-31 11:57:39 -07:00
Mouse Reeve
e78982b4c7
Simplifies reading goal progress covers view
2021-03-31 11:42:57 -07:00
Mouse Reeve
44c8f64239
Merge pull request #831 from arkhi/ci
...
Add linters for CSS and JS files
2021-03-31 11:33:38 -07:00
Mouse Reeve
c29382ba92
Merge pull request #834 from mouse-reeve/custom-shelf-identifier-fix
...
Fixes shelf remote ids
2021-03-31 11:26:42 -07:00
Mouse Reeve
1a787fd218
Soft removal of tags feature
2021-03-31 11:11:15 -07:00
Mouse Reeve
32bd426999
Fixes shelf remote ids
2021-03-31 11:04:20 -07:00
Mouse Reeve
ad2b938b4c
Removes edit button from all books view
2021-03-31 10:36:10 -07:00
Mouse Reeve
f89e94b0c0
Adds privacy to fake shelf
2021-03-31 10:32:50 -07:00
Mouse Reeve
a670c8d366
Adds "all books" view"
2021-03-31 10:25:15 -07:00
Mouse Reeve
2fd917a6cc
Updates test
2021-03-31 10:24:23 -07:00
Mouse Reeve
e81de08e7f
Missed a url
2021-03-31 09:54:52 -07:00
Mouse Reeve
ab78da735f
Adds books page header snippet
2021-03-31 09:50:40 -07:00
Mouse Reeve
f8ce9b0956
Backwards compatibility with "shelf" urls
2021-03-31 09:50:16 -07:00
Mouse Reeve
4a490d25a8
CHanges urls from shelves to books
2021-03-31 09:34:16 -07:00
Mouse Reeve
83e4ec00f9
Renames "shelves" in the UI to "books"
...
Still haven't figure out the create/edit wording tho
2021-03-31 09:22:23 -07:00
Fabien Basmaison
53f03457cc
Add linter for JS files with basic recommended rules:
...
- Add Github Action.
- Fix JS files to match rules; mostly `globals` and `exported`.
2021-03-31 17:07:28 +02:00
Fabien Basmaison
cc01105bf0
Add linter for CSS files:
...
- Add Github Action.
- Update .gitignore.
- Add .stylelintignore for vendor related files.
- Fix format.css to match rules (includes hacks with @todo).
2021-03-31 16:17:05 +02:00
Mouse Reeve
8b9b70d9cd
Merge pull request #829 from mouse-reeve/status-404s
...
Handle invalid status urls with 404
2021-03-30 11:01:05 -07:00
Mouse Reeve
0365a57307
Handle invalid status urls with 404
2021-03-30 10:46:02 -07:00
Mouse Reeve
daea57f91c
Updates python formatting
2021-03-30 10:31:23 -07:00
Mouse Reeve
f7b0a282a7
Set updated date on list when item is added
2021-03-30 10:28:50 -07:00
Mouse Reeve
9b949d9845
Merges display of lists to show all
...
Rather than separating out "your lists"
2021-03-30 10:19:51 -07:00
Mouse Reeve
b16f95c8cd
Python formatting
2021-03-30 09:50:51 -07:00
Mouse Reeve
047e827382
Cleans up markup on import page
2021-03-30 09:30:25 -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
1f0c4f86c2
Python formatting
2021-03-30 08:46:22 -07:00
Mouse Reeve
a54014f693
Fixes import retry
2021-03-30 08:44:17 -07:00
Mouse Reeve
4b325fedee
Removes error views from init
2021-03-29 18:51:35 -07:00
Mouse Reeve
28f07f7729
Fixes error pages
2021-03-29 18:47:21 -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
47cf1f3b22
Merge pull request #825 from mouse-reeve/misc-server-errors
...
Misc server errors
2021-03-29 15:09:42 -07:00
Mouse Reeve
4b445c3242
Fixes indentation on host-meta xml
2021-03-29 14:55:23 -07:00
Mouse Reeve
6bf3d9dcd8
Adds hosts-meta path
2021-03-29 14:36:24 -07:00
Mouse Reeve
2722050ee2
Python formatting
2021-03-29 14:20:51 -07:00
Mouse Reeve
4115edad6e
Adds robots.txt
2021-03-29 14:12:15 -07:00
Mouse Reeve
662ddf44b9
Avoid error when request Accept header is not set
2021-03-29 14:12:07 -07:00
Mouse Reeve
3be420944e
Fixes display of dms pagination
2021-03-29 13:51:06 -07:00
Mouse Reeve
84dfa69695
Fixes invite flow
2021-03-29 13:28:30 -07:00
Mouse Reeve
c284a5e409
Fixes error sending dm
2021-03-29 13:07:22 -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
Mouse Reeve
1e1d07e4e1
Merge pull request #821 from mouse-reeve/shelve-buttons
...
Unshelve option in shelve button menu
2021-03-29 12:50:38 -07:00
Mouse Reeve
794b47d119
Unshelve option in shelve button menu
2021-03-29 12:27:12 -07:00
Mouse Reeve
04ca6de968
Paginates editions page
2021-03-29 12:13:05 -07:00
Mouse Reeve
e9f202b9e0
Paginate shelf page
...
Also removes some fields from the table
2021-03-29 11:48:19 -07:00
Mouse Reeve
f6ad069f74
Fixes tests
2021-03-29 11:38:14 -07:00
Mouse Reeve
0a4e755516
Fixes setting lower() on NoneType
2021-03-29 11:27:51 -07:00
Mouse Reeve
f8a321c74d
Fixes labels
...
Good bot
2021-03-29 11:16:34 -07:00
Mouse Reeve
9c798a4feb
Filter editions
2021-03-29 11:14:34 -07:00
Mouse Reeve
769ba6466c
Adds filters ui to editions page
2021-03-29 10:58:46 -07:00
Mouse Reeve
b13e8d75cd
Introduces filters snippets
2021-03-29 10:39:13 -07:00
Mouse Reeve
7c9518afa6
Adds info to editions page
2021-03-29 10:21:48 -07:00
Mouse Reeve
87cf411a1a
Merge pull request #817 from mouse-reeve/invite-emails
...
Fixes sending invite emails
2021-03-29 09:09:19 -07:00
Mouse Reeve
f63b6fb325
Fixes sending invite emails
...
Corrects the email sender and avoids integrity error on saves
2021-03-29 08:33:12 -07:00
Mouse Reeve
b58ed244b0
Preserve request.GET params in pagination
2021-03-29 08:19:17 -07:00
Pablo Barton
765e6b542f
adding middleware and use in readthrough template
2021-03-29 08:20:35 -04:00
Mouse Reeve
621c0ea15a
Fixes password reset
2021-03-28 18:53:49 -07:00
Pablo Barton
224c7e4f0e
consistency in style for bulma
2021-03-28 21:23:32 -04:00
Mouse Reeve
12f6c2abb2
Don't erase entire stream when new status is added
...
omg
2021-03-28 17:53:52 -07:00
Pablo Barton
b0dc5f3f93
357 Users set preferred timezone, used for readthroughs
2021-03-28 19:16:43 -04:00
Mouse Reeve
e3abc96266
Merge pull request #811 from mouse-reeve/user-admin
...
User admin view
2021-03-28 14:48:27 -07:00
Mouse Reeve
9a0568dabc
Adds tests for server and users admin views
2021-03-28 14:36:57 -07:00
Mouse Reeve
f491f03ffa
Adds filtering by server on users page
2021-03-28 14:27:56 -07:00
Mouse Reeve
43fc940a07
Adds user admin view
2021-03-28 14:20:49 -07:00
Mouse Reeve
f547df5940
Merge pull request #810 from mouse-reeve/server-details
...
Adds detail page for federated servers
2021-03-28 14:20:29 -07:00
Mouse Reeve
5416bb10fd
Python formatting
2021-03-28 13:41:25 -07:00
Mouse Reeve
7373a7e8c4
Sort federated servers list
2021-03-28 13:36:05 -07:00
Mouse Reeve
158d2c5231
Paginates federated server list
2021-03-28 13:08:24 -07:00
Mouse Reeve
62cbfe0fac
Filter reports by server
2021-03-28 13:03:24 -07:00
Mouse Reeve
96ea2b4477
Adds detail page for federated servers
2021-03-28 12:47:30 -07:00
Mouse Reeve
1e8444a622
Merge pull request #809 from mouse-reeve/stream-commands
...
Separates erase and populate stream commands
2021-03-28 12:04:51 -07:00
Mouse Reeve
713ec8bd69
Python whitespace formatting
2021-03-28 11:51:02 -07:00
Mouse Reeve
5441d4db09
Separates erase and populate stream comands
2021-03-28 11:38:39 -07:00
Mouse Reeve
ecf5ee4afc
margin between quote and attribution
2021-03-28 11:30:53 -07:00
Mouse Reeve
63b319e286
Space between shelve button and isbn on book page
2021-03-28 11:27:09 -07:00
Mouse Reeve
f0876b57c5
Fixes change shelf menu display on shelf page
2021-03-28 11:25:05 -07:00
Mouse Reeve
323c72002b
Fixes shelve menu display on book page
2021-03-28 11:18:01 -07:00
Mouse Reeve
71f6e0d330
Show invite request count
2021-03-28 11:15:26 -07:00
Mouse Reeve
6f99947cac
Fixes python formatting
2021-03-28 10:45:46 -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
25a3a7763c
Adds books in common as a recommendation metric
2021-03-27 08:15:39 -07:00
Mouse Reeve
0ef33d2acb
Adds shared books as a metric for recommending follows
2021-03-27 07:36:14 -07:00
Mouse Reeve
c8118c9bf4
Updates activity streams tests
2021-03-26 12:52:04 -07:00
Mouse Reeve
ee067b7d65
Fixes error adding unlisted statuses
2021-03-26 12:09:37 -07:00
Mouse Reeve
2490aa07aa
Python formtting
2021-03-26 10:35:37 -07:00
Mouse Reeve
b0e1095fe6
Adds "suggested follows" panel
2021-03-26 10:32:42 -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
2c9efd1ba6
BookWyrm users is the default directory filter
2021-03-25 17:00:16 -07:00
Mouse Reeve
6552dcefe8
Adds focus to filters toggle
2021-03-25 16:42:50 -07:00
Mouse Reeve
b94def80b0
Adds localstorage hide option for directory prompt
2021-03-25 16:32:15 -07:00
Mouse Reeve
2e0386aed8
Fixes missing label for select
2021-03-25 13:44:26 -07:00
Mouse Reeve
f9e5bdebc6
Adds clear filters link
2021-03-25 13:39:19 -07:00
Mouse Reeve
53af667698
Adds filtering
2021-03-25 13:36:35 -07:00
Mouse Reeve
c4901b9c4e
Python formatting
2021-03-25 12:04:26 -07:00
Mouse Reeve
e6e16f61d3
Adds filters ui
2021-03-25 10:58:00 -07:00
Mouse Reeve
cdcef6ccb3
Simplifies wording for directory opt-in
2021-03-25 10:24:22 -07:00
Mouse Reeve
7711d43380
Display tweaks to make directory card size more consistent
2021-03-25 08:43:53 -07:00
Mouse Reeve
6548291571
Adds join directory insert
2021-03-25 08:39:45 -07:00
Mouse Reeve
ae6c2b6375
Updates tests
2021-03-24 14:19:12 -07:00
Mouse Reeve
9acb8e53d8
Adds privacy fields to boost activities
2021-03-24 13:35:49 -07:00
Mouse Reeve
3fe3b0b2d5
Adds published date field to boost activity
2021-03-24 13:25:00 -07:00
Mouse Reeve
d8c83fa31c
Return activities for existing objs in resolve_remote_id
2021-03-24 12:58:39 -07:00
Mouse Reeve
28dc67bf5c
Fixes ignore test for valid remote statuses
2021-03-24 12:37:42 -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
4f22657dc2
Merge pull request #791 from mouse-reeve/review-pure-title
...
Fixes review name in pure serialization
2021-03-24 10:42:46 -07:00
Mouse Reeve
4e768b72cf
Merge pull request #786 from mouse-reeve/css-transitions
...
Adds css transitions for notification and unread statuses
2021-03-24 10:32:28 -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
1d53a06e35
Fixes decimaal formatting
2021-03-24 09:51:49 -07:00
Mouse Reeve
9dc19b8bff
Python formatting
2021-03-24 09:34:21 -07:00
Mouse Reeve
bde6ce8525
Fixes review name in pure serialization
2021-03-24 09:31:45 -07:00
Mouse Reeve
320dfd1a59
Python formatting
2021-03-24 08:39:37 -07:00
Mouse Reeve
1707bba8a8
Adds ordering to status model
2021-03-24 08:37:25 -07:00
Mouse Reeve
a67b0ae8a7
Adds stream length to .env
2021-03-24 08:33:05 -07:00
Mouse Reeve
8d5630e059
Adds css transitions to notification and unread statuses
2021-03-23 17:52:58 -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
3a0025b105
Python formatting
2021-03-23 13:28:05 -07:00
Mouse Reeve
1fa7330595
Management command for rebuilding ALL feeds
2021-03-23 13:23:35 -07:00
Mouse Reeve
02bd94fdc8
Handle '/' view in updates
2021-03-23 13:23:19 -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
9e9fd5c5a6
Only show feed additions on the first page
2021-03-23 12:54:49 -07:00
Mouse Reeve
2acf1355e9
Merge branch 'main' into redis-activity-stream
2021-03-23 12:53:12 -07:00
Mouse Reeve
b8cd1d5bce
Show unread status reload link
2021-03-23 12:52:38 -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
04d2085276
Create feeds on user registration
2021-03-23 07:01:49 -07:00
Mouse Reeve
371e908e8a
Adds handlers for user relationship state changes
2021-03-22 21:11:23 -07:00
Mouse Reeve
39f34bc6e6
Adds activity stream utility for adding and removing statuses
2021-03-22 20:32:59 -07:00
Mouse Reeve
26fa81f19b
Use redis lists instead of ordered sets
...
Django unsorts it so there's no point
2021-03-22 19:53:26 -07:00
Mouse Reeve
73185c6e40
Python formatting
2021-03-22 19:19:21 -07:00
Mouse Reeve
7eb494b4ab
Removes get activity feed function
2021-03-22 19:17:46 -07:00
Mouse Reeve
0caea7e9ff
Python formatting
2021-03-22 18:54:17 -07:00
Mouse Reeve
2fe9d1044a
Moves tab title translations into templates
2021-03-22 18:42:12 -07:00
Mouse Reeve
3efabf1da3
Creates activity stream class
2021-03-22 18:39:16 -07:00
Mouse Reeve
459479db43
Add statuses to timelines
2021-03-22 16:19:02 -07:00
Mouse Reeve
1b9f78203e
Merge pull request #783 from mouse-reeve/book-tabs
...
Adds javascript for tabs on book page
2021-03-22 13:04:44 -07:00
Mouse Reeve
ebc01362e6
Adds redis image for activity streams
2021-03-22 12:50:55 -07:00
Mouse Reeve
e513ea8b9c
Adds javascript for tabs on book page
2021-03-22 12:37:01 -07:00
Mouse Reeve
5890386fba
Only show reading goal insert on first page of feed
2021-03-22 08:50:41 -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
abde06a700
Pytohn formatting
2021-03-21 16:47:09 -07:00
Mouse Reeve
6e3a203b46
Adds directory to main menu
2021-03-21 16:43:13 -07:00
Mouse Reeve
ba00672e66
Directory view
2021-03-21 16:37:52 -07:00
Mouse Reeve
3e75253ff1
Updates activitpub and tests for discoverability
2021-03-21 14:50:36 -07:00
Mouse Reeve
16994908d8
Lets users opt in to directory
2021-03-21 14:45:11 -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
da2d146f0b
runs black for python formatting
2021-03-21 12:07:58 -07:00
Mouse Reeve
c76ad0a312
Celery can't render tempaltes
2021-03-21 12:06:20 -07:00
Mouse Reeve
d8a20175b6
Adds email template layout and formatting
2021-03-21 12:06:12 -07:00
Mouse Reeve
33b5639af0
Fixes tests
2021-03-21 09:20:37 -07:00
Mouse Reeve
1644c421e5
Send invites
2021-03-21 09:13:21 -07:00
Mouse Reeve
685da1f5b8
Adds email templating
2021-03-21 08:54:57 -07:00
Mouse Reeve
5b8bd9ad44
Adds tests
2021-03-21 08:24:59 -07:00
Mouse Reeve
5297b9d796
Ignore request flow
2021-03-21 08:18:04 -07:00
Mouse Reeve
81ab73f309
Black formatting
2021-03-20 20:19:27 -07:00
Mouse Reeve
5e24b438ff
Placeholders for send/ignore request flows
2021-03-20 20:16:13 -07:00
Mouse Reeve
f91a8144f4
Admin UI for managing invite requests
2021-03-20 19:39:39 -07:00
Mouse Reeve
d15396eb26
Request invite flow
2021-03-20 19:14:41 -07:00
Mouse Reeve
4d07cb1eb5
Adds invite request model
2021-03-20 18:27:30 -07:00
Mouse Reeve
396a43136d
Black formatting
2021-03-20 18:04:10 -07:00
Mouse Reeve
d3a4282f11
Show progress on status
2021-03-20 18:03:20 -07:00
Mouse Reeve
17489f002f
html linter fixes
2021-03-20 17:43:51 -07:00
Mouse Reeve
2a612f7278
Formatting
2021-03-20 17:39:05 -07:00
Mouse Reeve
dd15e87073
Merge branch 'main' into progress-update-ui
2021-03-20 17:38:22 -07:00
Mouse Reeve
daa0268eb3
Update progress with comments
2021-03-20 17:35:10 -07:00
Mouse Reeve
942c4a6664
Move progress updates into modal
2021-03-20 17:18:18 -07:00
Fabien Basmaison
fa79070b59
[lint] Update editorconfig linting:
...
- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
2021-03-20 16:33:18 +01:00
Fabien Basmaison
3ff336b104
Use the file on mouse-reeve/bookwyrm, verbatim.
2021-03-20 16:08:47 +01:00
Fabien Basmaison
4a7c0cd184
Fix indentation in bookwyrm/tests/data/ol_isbn_search.json.
2021-03-20 15:36:25 +01:00
Fabien Basmaison
b9a61162d7
Merge branch 'main' into ci
2021-03-20 15:26:51 +01:00
Mouse Reeve
c31bf1f0c8
Fixes loading javascript listeners
2021-03-19 15:59:28 -07:00
Mouse Reeve
1b5c71c7b1
formatting
2021-03-19 12:44:30 -07:00
Mouse Reeve
5a0723cde7
Migrations for django 3.1 upgrade
2021-03-19 12:43:36 -07:00
Mouse Reeve
08327b3a0a
Merge pull request #766 from mouse-reeve/decimal-ratings
...
Make rating a decimal field
2021-03-19 12:42:07 -07:00
Mouse Reeve
5ed3320c9b
Formatting
2021-03-19 12:16:44 -07:00
Mouse Reeve
266c6fe777
Make rating a decimal field
2021-03-19 12:14:59 -07:00
Mouse Reeve
90cfff67d6
Updaates locale files
2021-03-19 11:58:27 -07:00
Mouse Reeve
5f1bed3d78
Merge pull request #764 from mouse-reeve/modular-javascript
...
Move javascript into separate files and only include where needed
2021-03-19 11:01:20 -07:00
Mouse Reeve
5ad645c225
Move check all js into separate file
2021-03-19 10:51:45 -07:00
Mouse Reeve
443daab128
Move tabs javascript into separate file
2021-03-19 10:47:32 -07: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
9470b2831f
Add cover via url
2021-03-18 10:04:33 -07:00
Mouse Reeve
ae6d8529af
Moves add cover into modal
2021-03-18 09:44:59 -07:00
Mouse Reeve
4e55018e41
Moves book templates into dir
2021-03-18 09:37:16 -07:00
Mouse Reeve
1ad7d88cc8
Merge pull request #760 from mouse-reeve/reveal-cws
...
Remove a step when unfurling statuses with content warnings
2021-03-18 09:21:42 -07:00
Mouse Reeve
c2386bd3a1
Remove a step when unfurling statuses with content warnings
2021-03-18 09:15:47 -07:00
Mouse Reeve
77f11572f3
Remove invalid aria tag
...
thank you, bot
2021-03-18 09:08:19 -07:00
Mouse Reeve
48a5232ebb
Formatting
2021-03-18 09:06:00 -07:00
Mouse Reeve
91aaf704f5
Adds set reading goal display control in user settings
2021-03-18 09:05:18 -07:00
Mouse Reeve
baee0796cd
Moves localstorage handlers into its own file
2021-03-18 09:02:07 -07:00
Mouse Reeve
9a20b5dbd5
Hide goal using database field instead of localstorage
2021-03-18 09:00:25 -07:00
Mouse Reeve
ba09377041
Use None instead of empty dict for endpoint default value
2021-03-17 13:59:16 -07:00
Mouse Reeve
0d8e1f0ae2
Makes endponts a default field
2021-03-17 09:34:20 -07:00
Mouse Reeve
db426d71ee
Fixes failed serialization of empty avatar field
2021-03-17 09:22:45 -07:00
Mouse Reeve
d50689e63f
Merge pull request #754 from mouse-reeve/ui-fixes
...
misc UI fixes
2021-03-16 14:20:11 -07:00
Mouse Reeve
f0711ad40e
Fixes margins on lists
2021-03-16 14:13:42 -07:00
Mouse Reeve
bb1e8edc00
Shifts alignment on oclc number with line wrap
2021-03-16 14:09:21 -07:00
Mouse Reeve
64eb6e8b07
Fixes large covers overlapping on book page
2021-03-16 14:04:51 -07:00
Mouse Reeve
8e1e4572f6
Merge pull request #747 from mouse-reeve/edit-book-fields
...
Adds publishers to edit book form
2021-03-16 14:03:49 -07:00
Mouse Reeve
46906f7e41
Fixes whitespace jump when switching from trimmed to full
2021-03-16 14:03:25 -07:00
Mouse Reeve
9251883d77
Checks if publisher fields is present (it isn't on works)
2021-03-16 13:54:15 -07:00
Mouse Reeve
6755137bad
Fixes displaying publisehrs when none are set
2021-03-16 13:46:02 -07:00
Mouse Reeve
6370fbf2c6
Formatting
2021-03-16 13:39:33 -07:00
Mouse Reeve
b285fb2fc0
Set shelf user by default
2021-03-16 13:37:22 -07:00
Mouse Reeve
b816c322b5
Merge pull request #751 from mouse-reeve/report-notifications
...
Notify admins when a report is filed
2021-03-16 13:04:15 -07:00
Mouse Reeve
550eba1f68
Black formatting
2021-03-16 12:59:25 -07:00
Mouse Reeve
e5750de3dd
Notify admins when a report is filed
2021-03-16 12:57:23 -07:00
Mouse Reeve
08edba4891
Ignore activities that expect dict args but get strs
...
Some Undo activities are coming from Pleroma with just the id
of the activity, rather than the serialized object. There isn't
an obvious way to know what is being undone, so for now this
just ignores those
2021-03-16 12:00:21 -07:00
Mouse Reeve
c50ca9f951
Still trying to catch connection error
...
I guess I was catching the wrong TYPE of connection error? annoying.
2021-03-15 16:23:35 -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
e6e1af9ec1
Merge pull request #745 from mouse-reeve/list-add
...
Add books to lists from the book page
2021-03-15 15:51:31 -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
def834a0ac
Merge pull request #736 from mouse-reeve/rating-template
...
Render rating status from template
2021-03-15 15:42:36 -07:00
Mouse Reeve
0037a22cb6
Updates list tests
2021-03-15 15:41:11 -07:00
Mouse Reeve
d947632b69
Adds publisher to book cover alt text
2021-03-15 15:39:16 -07:00
Mouse Reeve
b1335d2811
Formatting
2021-03-15 15:33:05 -07:00
Mouse Reeve
b3951a77d9
Adds publishers to edit book form
2021-03-15 15:28:50 -07:00
Mouse Reeve
f79bb60d81
Adds ability to reset default edition based on computer ranks
2021-03-15 15:08:20 -07:00
Mouse Reeve
f0a936f15e
Add books to lists from the book page
2021-03-15 14:44:03 -07:00
Mouse Reeve
6bd0f94269
Adds plural version for rating text
2021-03-15 14:09:04 -07:00
Mouse Reeve
220f2c1eb4
Fixes image attachments
2021-03-15 13:55:48 -07:00
Mouse Reeve
99ba39413e
Fixes upload and display of logos in admin panel
2021-03-15 10:05:08 -07:00
Mouse Reeve
aa2950daf3
Render rating status from template
2021-03-13 18:24:46 -08:00
Mouse Reeve
8e71186067
Fixes adding mutiple authors
2021-03-13 18:09:09 -08:00
Mouse Reeve
23cca85ee3
Fixes busted author path in confirmation step
2021-03-13 17:31:06 -08:00
Mouse Reeve
d802f4b85e
Fixes layout showing wrong user in header on user page
2021-03-13 15:57:54 -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
4d7364d045
Undo follow request view
2021-03-13 14:55:09 -08:00
Mouse Reeve
e9575cae6c
Buttons for undoing follow requests
2021-03-13 14:48:15 -08:00
Mouse Reeve
546579c231
Merge pull request #732 from mouse-reeve/search-info
...
Search info
2021-03-13 14:34:47 -08:00
Mouse Reeve
ad8257f8bd
Formats changes
2021-03-13 14:04:41 -08:00
Mouse Reeve
05fcfbc66f
Show more data about books in search
2021-03-13 13:55:20 -08:00
Mouse Reeve
611e7870e7
Show publisher on book data page
2021-03-13 12:36:53 -08:00
Mouse Reeve
091ad53061
JS linting and whitespace fixes
2021-03-13 12:14:34 -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
2ab913018d
Use get_data helper when executing searches
2021-03-13 08:52:36 -08:00
Mouse Reeve
e1a8c4d260
Fixes handling incoming unshelve activities
2021-03-13 08:43:36 -08:00
Mouse Reeve
3edfcb7631
Trying to fix broadcast connectionerror exceptions
2021-03-13 08:15:58 -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
848edd2972
Adds missing migration for reports model
2021-03-12 16:32:11 -08:00
Mouse Reeve
b64fb3e0aa
Merge pull request #715 from mouse-reeve/reporting
...
Reporting
2021-03-12 16:28:15 -08:00
Mouse Reeve
1617cfaac7
Clarifies report headers in moderation panel
2021-03-12 16:20:10 -08:00
Mouse Reeve
7323f63803
Adds test for report comments
2021-03-12 16:02:23 -08:00
Mouse Reeve
9245b9d9ca
Comments on reports
2021-03-12 15:56:54 -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
422cd2da73
Direct message report action
2021-03-12 10:37:52 -08:00
Mouse Reeve
8bd12f0e06
Remove unused method
2021-03-12 10:27:08 -08:00
Mouse Reeve
f220290a2b
Merge pull request #692 from mouse-reeve/create-book
...
Create book
2021-03-12 10:26:15 -08:00
Mouse Reeve
bedc9e0a88
Resolve and re-open reports
2021-03-12 10:22:03 -08:00
Mouse Reeve
b42c761b0b
Safer author add logic
2021-03-12 09:46:28 -08:00
Mouse Reeve
4583662f51
Whitespace for so accesslint can clap at me every time I commit
2021-03-11 17:45:41 -08:00
Mouse Reeve
33b8537a3d
Let user supply a note for report
2021-03-11 17:38:21 -08:00
Mouse Reeve
28db3e2733
Formatting
2021-03-11 16:40:35 -08:00
Mouse Reeve
c1976dbd62
Add multiple authors
2021-03-11 16:33:49 -08:00
Mouse Reeve
965d84f86f
Fixes creating news works
2021-03-11 15:41:12 -08:00
Mouse Reeve
7f45206693
Moves moderation templates to their own directory
2021-03-10 12:38:49 -08:00
Mouse Reeve
0d2c641d01
Reformats report model
2021-03-09 12:57:38 -08:00
Mouse Reeve
999bff4bba
Basic reports admin templates
2021-03-09 12:35:07 -08:00
Mouse Reeve
ff624e33fa
fixes display of report items on admin page
2021-03-09 10:08:02 -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
ab57b5b906
First pass at views for reporting
2021-03-08 15:55:48 -08:00
Mouse Reeve
a29d6a5f16
Hide secondary save button in confirm mode
2021-03-08 14:11:08 -08:00
Mouse Reeve
500394fc52
Make sure creating books doesn't broadcast in tests
2021-03-08 11:54:26 -08:00
Mouse Reeve
bf255bd51d
Merge pull request #460 from mouse-reeve/review-rate
...
Review rate
2021-03-08 11:50:42 -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
erion
031235009f
Fix albel for the OCLC number field.
2021-03-08 19:20:55 +01: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
5fe989e20f
Formats migrationwq
2021-03-08 09:58:07 -08:00
Mouse Reeve
84534a2991
Adds merge migration
2021-03-08 09:54:53 -08:00
Mouse Reeve
3bdfc341e4
Runs black
2021-03-08 09:54:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate
2021-03-08 09:48:25 -08:00
Mouse Reeve
a5baa1f5c6
Create new books
2021-03-08 09:28:22 -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
cb2011488c
Merge pull request #709 from mouse-reeve/fixes-support-link
...
Fixes support link display i18n
2021-03-07 15:48:25 -08:00
Mouse Reeve
642a2f26d7
Fixes support link display i18n
2021-03-07 15:42:49 -08:00
Mouse Reeve
7d55629823
typo fix
2021-03-07 15:20:09 -08:00
Mouse Reeve
0146cebb1a
Fixes incorrect user displayed for boosts
...
Fixes #706
2021-03-07 15:17:51 -08:00
Mouse Reeve
1eac2b9386
Test for deleting authors
2021-03-07 15:14:57 -08:00
Mouse Reeve
79d9c493f7
Remove author flow
2021-03-07 14:19:22 -08:00
Mouse Reeve
f1b699d810
Tests adding author to book
2021-03-07 13:59:27 -08:00
Mouse Reeve
1f8e9bc668
Merge pull request #705 from mouse-reeve/federation-errors
...
Federation errors
2021-03-07 13:21:03 -08:00
Mouse Reeve
bbd3ac7242
Removes ID field from hideen form value
2021-03-07 13:17:11 -08:00
Mouse Reeve
410e0b04bb
Fixes fav logic and base activity test
2021-03-07 13:13:16 -08:00
Mouse Reeve
0bd27928e4
Removes username snippet
2021-03-07 10:24:46 -08:00
Mouse Reeve
47cf77145d
Updates tests for inbox tweaks
2021-03-07 09:48:39 -08:00
Mouse Reeve
09b77e567f
Check for invalid json before verifying signature
2021-03-07 09:44:42 -08:00
Mouse Reeve
71bbea83f9
Adds discard check to favs
2021-03-07 09:42:31 -08:00
Mouse Reeve
c0ccb7065c
Safer federation of book data changes
...
Only broadcast to other BW instances, plus bonus error handling
2021-03-07 09:22:35 -08:00
Mouse Reeve
a63471c56f
Merge pull request #704 from mouse-reeve/notification-preview
...
Clearer notification preview for generated notes
2021-03-07 08:59:18 -08:00
Mouse Reeve
f48a6399a4
Merge pull request #703 from mouse-reeve/list-display-fixes
...
List page display fixes
2021-03-07 08:53:33 -08:00
Mouse Reeve
ec92aff793
Clearer notification preview for generated notes
2021-03-07 08:50:07 -08:00
Mouse Reeve
283bfe8d6a
Merge pull request #702 from mouse-reeve/book-page-display
...
Book page display
2021-03-07 08:43:47 -08:00
Mouse Reeve
a70264c12c
Fixes showing link to user lists
2021-03-07 08:42:30 -08:00
Mouse Reeve
5ddb3b810e
Don't show books lists when item isn't approved
2021-03-07 08:37:39 -08:00
Mouse Reeve
336a3769b6
Hide empty body on delete readthrough modal
2021-03-07 08:03:28 -08:00
Mouse Reeve
dfecdca6f9
Fixes display of ratings
2021-03-07 07:56:33 -08:00
Mouse Reeve
b895059f03
Uses same alt text generation for books with no cover
2021-03-07 07:42:02 -08:00
Mouse Reeve
e5bdb4b9d1
Make empty cover value null
2021-03-07 07:35:50 -08:00
Mouse Reeve
9c94be8804
Fixes typo in subject places block
2021-03-07 07:35:38 -08:00
Mouse Reeve
4eefe33d9b
Merge pull request #701 from Flameborn/ScreenReaderImprovements
...
Screen reader improvements
2021-03-07 07:13:47 -08:00
Mouse Reeve
9082eefd8f
Sets specific proportions for book page columns
2021-03-07 07:08:19 -08:00
erion
ae8d39995d
Hide avatar image to screen readers on the status pages, since there is a link present for a user already.
2021-03-07 14:39:18 +01:00
erion
cb8ec01ccf
Indicate which page is the current.
2021-03-07 13:55:50 +01:00
erion
09c5275ec4
Fix typo.
2021-03-07 13:18:10 +01:00
Mouse Reeve
e4fa85c2fb
Merge pull request #699 from mouse-reeve/display-name-title
...
Fixes display name showing up on user page
2021-03-06 13:34:42 -08:00
Mouse Reeve
13531f107d
Merge pull request #697 from mmai/feature/isbnSearch
...
ISBN search
2021-03-06 13:32:31 -08:00
Mouse Reeve
9ed18a2b1d
Fixes display name showing up on user page
2021-03-06 13:11:44 -08:00
Mouse Reeve
5c9a3a5667
Merge pull request #696 from arkhi/fix-js
...
Fix toggling all checkboxes of failed imports
2021-03-06 13:05:07 -08:00
Fabien Basmaison
a52fee4ccf
Remove (potentially useful) unused CSS.
2021-03-06 21:18:39 +01:00
Henri Bourcereau
703ff60271
isbn search
2021-03-06 18:09:15 +01:00
Fabien Basmaison
99e5e3e414
[import] Show skip link to all when there is more than 10 failed imports.
2021-03-05 22:09:56 +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
Fabien Basmaison
097b8e5811
Fix toggling all checkboxes of failed imports:
...
- Rename classes and function to something more descriptive.
- Listen to the element checked status instead of a click on a non‑focusable element.
- Use specific DOM targets instead of relying on the DOM ancestor tree.
- Add a skip‑link to the end of the list and avoid tabbing through all failed items.
- Update related i18n strings in French.
- Avoid having the label on the whole width to prevent accidental click.
- Move `fieldset` out of `ul`.
2021-03-05 15:41:21 +01: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
e2622d0594
Catches a couple translations, hides profile box when empty
2021-03-04 14:27:49 -08:00
Mouse Reeve
577f5db37b
Merge pull request #680 from arkhi/main
...
[profile] Fix HTML errors
2021-03-04 14:01:22 -08:00
Mouse Reeve
74ab3505fe
Merge pull request #686 from mouse-reeve/french-fuzzy
...
Removes "fuzzy" flag from translated French strings
2021-03-04 11:47:53 -08:00
Fabien Basmaison
dab6592c12
Testing moving a comment to see what accesslint says.
2021-03-04 20:38:28 +01:00
Fabien Basmaison
16ea657b5b
[a11y] Add aria-modal
:
...
- Addresses https://github.com/mouse-reeve/bookwyrm/pull/680#issuecomment-790603940
2021-03-04 20:14:38 +01:00
Fabien Basmaison
c370cad7f9
[lint] Fix white spaces in HTML.
2021-03-04 19:42:23 +01:00
Fabien Basmaison
1cb84b0f62
[lint] Fix indentation in JS files.
2021-03-04 19:36:17 +01:00
Fabien Basmaison
420a33d79f
[lint] fix indentation in CSS files.
2021-03-04 19:27:03 +01:00
Fabien Basmaison
fc16211125
[lint] Ignore newline in svg files within fonts/.
2021-03-04 19:24:11 +01:00
Fabien Basmaison
1266a740e5
[lint] Fix indentation in .py files.
2021-03-04 19:06:12 +01:00
Mouse Reeve
7b2a8e90ff
Merge pull request #670 from mouse-reeve/editor-default
...
Give new users editor permissions by default
2021-03-04 09:19:21 -08:00
Mouse Reeve
2542b72f3a
Try to get github to re-run checks
2021-03-04 08:51:10 -08:00
Mouse Reeve
6caf45ac4f
fixes error catching
2021-03-04 08:45:03 -08:00
Mouse Reeve
9842e63cb4
Ignore group not found error creating user
2021-03-04 08:35:13 -08:00
Mouse Reeve
4c71c5fb73
Removes "fuzzy" flag from translated French strings
2021-03-04 08:04:55 -08:00
Mouse Reeve
4a06cc7a66
Revert "Un-fuzzies French translation strings"
...
This reverts commit a5d2cf4677
.
2021-03-04 08:04:00 -08:00
Mouse Reeve
a5d2cf4677
Un-fuzzies French translation strings
2021-03-04 08:02:57 -08:00
Mouse Reeve
208a38a34d
Adds spanish locale to settings and rebuilds messages
2021-03-03 20:14:42 -08:00
Mouse Reeve
e5662b1752
Merge pull request #682 from reesporte/main
...
Spanish translation and one (1) typo fix
2021-03-03 20:10:52 -08:00
reese
5fe8b67ba7
fix typo :)
2021-03-03 20:08:42 -06:00
Fabien Basmaison
8c26d8a514
[profile] Updates for PR:
...
- Fix duplicated IDs between modals for the same status.
- Remove redundant button (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586743844 ).
- Remove redundant `role="navigation"` on `<nav>`.
- Add `dir="auto"` back for titles (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586715693 ).
- Use `exists` instead of `all` for conditional statement (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586716299 ).
- Fix missing spacing between avatar and username (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586740902 ).
2021-03-03 22:58:01 +01:00
Fabien Basmaison
a05b14c338
[profile] Various HTML fixes:
...
- Wrap block level elements within block level elements, not inline.
- Avoid empty blocks.
- Change `<hr>` in lists into allowed type of children.
- Fix duplicated ID (some change that was not propagated across the template?).
- Make the anchor optional in the navbar (interactive elements (`a`, `input`, `button`…) should not appear into other interactive elements).
- Remove redundant `role` on main navigation.
- Make the modal a modal with `role="dialog".
- Use `button` instead of form-less `label`.
2021-03-03 20:10:09 +01:00
Mouse Reeve
327f14a150
Merge branch 'main' into create-book
2021-03-03 08:55:40 -08:00
Fabien Basmaison
0d8eb959ea
[profile] Use unique IDs on statuses.
2021-03-03 15:48:04 +01:00
Mouse Reeve
51cf580813
Revert "Fixes boost notification"
...
This reverts commit 3ee12345ec
.
2021-03-02 20:24:51 -08:00
Mouse Reeve
3ee12345ec
Fixes boost notification
2021-03-02 20:19:50 -08:00
Mouse Reeve
be3c7ac90e
Fixes boost display
2021-03-02 20:17:32 -08:00
Mouse Reeve
caed268227
Adds german language to settings
2021-03-02 13:36:30 -08:00
Mouse Reeve
549d8768a6
Combine a couple very similar translation strings
...
plus a whitespace fix
2021-03-02 10:46:08 -08:00
Mouse Reeve
2c37893790
Adds default shelf names translations
2021-03-02 10:32:46 -08:00
Mouse Reeve
27914d07b9
Missing translation strings on book and list pages
2021-03-02 10:23:11 -08:00
Mouse Reeve
5938c438e2
Translate table titles in header
2021-03-02 09:59:15 -08:00
Mouse Reeve
8bb7d5bba0
Translates invite form values
2021-03-02 09:55:28 -08:00
Mouse Reeve
bb6a82fdff
Adds simplified chinese language code to settings
2021-03-02 09:26:21 -08:00
Mouse Reeve
01df4ad321
Small fixes for translation
2021-03-02 09:25:45 -08:00
Mouse Reeve
2faf5cea2a
modifies edit book code to allow creation as well
2021-03-02 09:01:31 -08:00
Mouse Reeve
99288e9183
Merge branch 'main' into edit-book-fields
2021-03-01 11:53:02 -08:00
Mouse Reeve
2c2d7c4694
Merge pull request #669 from mouse-reeve/edit-book-field
...
Track last edited by on partial edits
2021-03-01 11:43:17 -08:00
Mouse Reeve
d16e4dc808
Enumerates notification options for translation
2021-03-01 09:32:03 -08:00
Mouse Reeve
b9bf65ad2a
Adds missing i18n imports
2021-02-28 17:52:48 -08:00
Mouse Reeve
bd44bf0980
Merge branch 'main' into i18n-second-pass
2021-02-28 17:22:25 -08:00
Mouse Reeve
6a18803417
Catches more template translation moments
2021-02-28 17:10:30 -08:00
Mouse Reeve
b2779cc6bf
Merge pull request #664 from mouse-reeve/login-csrf
...
Fixes csrf failure logging on from multiple tabs
2021-02-28 16:16:00 -08:00
Mouse Reeve
10130f01d4
Merge pull request #662 from mouse-reeve/titles
...
Puts titles in templates instead of views
2021-02-28 16:15:39 -08:00
Mouse Reeve
54687b7b35
Make users editors by default
2021-02-28 13:45:49 -08:00
Mouse Reeve
3ecdc8f93e
Track last edited by on partial edits
2021-02-28 13:40:57 -08:00
Mouse Reeve
5e0a1749f3
Fixes csrf failure logging on from multiple tabs
2021-02-28 11:47:30 -08:00
Mouse Reeve
310d4a1f59
Merge pull request #653 from greatislander/tab-keyboard-accessibility
...
feature: keyboard accessibility for tabbed UIs (fixes #526 )
2021-02-28 11:11:54 -08:00
Mouse Reeve
72c50b3f58
Fixes typo in admn layout page
2021-02-28 10:45:21 -08:00
Mouse Reeve
0cf2baccac
Adds merge migration
2021-02-28 10:40:10 -08:00
Mouse Reeve
5bc4456d4e
Merge branch 'main' into review-rate
2021-02-28 10:35:20 -08:00
Mouse Reeve
3e9ee0973b
cleans up i18n titles
2021-02-28 10:09:56 -08:00
Ned Zimmerman
263b13f157
Adapt tab handler to vanilla JS, fix focus jump, improve accessible naming of tabs/panels
2021-02-28 14:04:04 -04:00
Mouse Reeve
c483768544
Moves titles into templates and adds i18n support
2021-02-28 10:00:36 -08:00
Mouse Reeve
c4116c93b7
Merge branch 'main' into titles
2021-02-28 09:02:21 -08:00
Mouse Reeve
4df62a8ebd
Simplifies translation strings
2021-02-28 08:42:25 -08:00
Ned Zimmerman
b324e668ca
Merge branch 'upstream' into tab-keyboard-accessibility
2021-02-28 12:39:56 -04:00
Mouse Reeve
d3676ff984
Removes non-existant german language support
2021-02-28 08:13:49 -08:00
Mouse Reeve
4f76d21b85
Snags more strings for i18n
2021-02-27 18:48:10 -08:00
Mouse Reeve
27316678d5
Adds test german translations
...
with apologies to actual german speakers
2021-02-27 16:44:58 -08:00
Mouse Reeve
2d79a52133
Translations working in templates
2021-02-27 16:18:56 -08:00
Mouse Reeve
b2e431daed
Adds test localization file
2021-02-27 15:00:19 -08:00
Mouse Reeve
8e5e3a84d6
Quick first pass at tagging strings for localization
2021-02-27 14:22:39 -08:00
Mouse Reeve
791968ece5
updating language file defaults
2021-02-27 13:51:03 -08:00
Mouse Reeve
ad2a87d317
First pass at internationalization and localization
2021-02-27 13:43:55 -08:00
Mouse Reeve
04ed5d62dd
Merge pull request #649 from mmai/feature/importLibrarything
...
librarything import
2021-02-27 12:17:41 -08:00
Mouse Reeve
7622bef35d
Adds separate privacy policy section
2021-02-27 11:53:36 -08:00
Mouse Reeve
9ed5226b58
Switches layout to use in-template html header titles
2021-02-27 11:07:16 -08:00
Ned Zimmerman
bc7f830b2b
Merge branch 'upstream' into tab-keyboard-accessibility
2021-02-27 11:53:27 -04:00
Ned Zimmerman
9580bec154
feat: modify tabbed interfaces to support keyboard accessibility ( fixes #526 )
2021-02-27 11:47:03 -04:00
Joel Bradshaw
717cbe3034
Use very fancy SQL nonsense
...
This should be more efficient than running the queries one by one
2021-02-26 23:12:39 -08:00
Joel Bradshaw
ee7388052c
Use SQL parameters, and make unconvert work
...
DBAs don't want you to know about this One Simple Trick
2021-02-26 22:57:26 -08:00
Henri Bourcereau
bfedb300ca
librarything import : fix parsing & select box
2021-02-26 13:32:17 +01:00
Mouse Reeve
3ba6479e79
hide linter error on override funtion
2021-02-25 15:16:16 -08:00
Mouse Reeve
4a10c99026
Fixes handling of ratings in status views and urls
2021-02-25 15:05:51 -08:00
Mouse Reeve
2e36cfbcf6
Creates new semi-functional migration
2021-02-25 14:58:09 -08:00
Mouse Reeve
ffd57dfef4
Use modern string formatting syntax in status model
2021-02-25 10:34:28 -08:00
Mouse Reeve
ed7c13531f
Merge branch 'main' into review-rate
2021-02-25 10:17:52 -08:00
Mouse Reeve
6d7e063b81
Makes rating field mandatory on ratings
2021-02-25 10:17:24 -08: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
bb7c41ee5f
Tweaks where serialize is called
2021-02-24 13:13:29 -08:00
Mouse Reeve
bb5838782d
Merge pull request #650 from mouse-reeve/privacy-display
...
Privacy display
2021-02-24 12:54:00 -08:00
Mouse Reeve
c7d8548614
Select subclasses in rss feed
2021-02-24 12:35:43 -08:00
Mouse Reeve
a5ee535ab6
fixes book reviews queryset aggregators
2021-02-24 12:29:50 -08:00
Mouse Reeve
779581c6f4
Only show dms in dm page
2021-02-24 12:06:00 -08:00
Mouse Reeve
2a5d4b83d8
Show dms in the right places
2021-02-24 11:59:21 -08:00
Mouse Reeve
bcdf2ee142
Improves privacy-related display
2021-02-24 11:35:19 -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
9465455af2
Catch ssl errors in broadcast
2021-02-24 08:27:16 -08:00
Mouse Reeve
6426282db1
fixes goal page and test for goal page
2021-02-23 22:07:13 -08:00
Mouse Reeve
fcc0e0ccb6
Cleans up formatting on about page
2021-02-23 19:58:04 -08:00
Mouse Reeve
b4d9cdbe98
Merge pull request #643 from mouse-reeve/pressed-button-color
...
Makes comment and fav/boost buttons the same color when selected
2021-02-23 17:35:13 -08:00
Mouse Reeve
744de313c8
Makes comment and fav/boost buttons the same color when selected
2021-02-23 17:23:11 -08:00
Mouse Reeve
fba53c72e0
default safe mode for activity serialization
2021-02-23 17:19:47 -08:00
Mouse Reeve
4d0e52bf51
Test tag and list add
2021-02-23 17:18:25 -08:00
Mouse Reeve
0d68d22f73
Merge pull request #642 from mouse-reeve/invite-pagination
...
Invite pagination
2021-02-23 17:03:38 -08:00
Mouse Reeve
6e6bcb2f48
gotta simplify the add activity
2021-02-23 15:51:02 -08:00
Mouse Reeve
23fb5f62a2
Keep invite settings in form after save
2021-02-23 15:25:26 -08:00
Mouse Reeve
384187a263
Moves create invite form to top of invite page
2021-02-23 15:21:37 -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
baed291889
Don't broadcast after saving remote server
2021-02-23 14:45:39 -08:00
Mouse Reeve
d3381d7a79
Paginates invite page
...
I sure have sent out a lot of invites
2021-02-23 14:41:33 -08:00
Mouse Reeve
3de8a20d39
Fixes boolean for is bookwyrm user in test
2021-02-23 14:36:24 -08:00
Mouse Reeve
5472281f29
Merge pull request #640 from mouse-reeve/rate-color
...
Makes the interactive rating element a different color
2021-02-23 14:19:32 -08:00
Mouse Reeve
2546aaedd6
Merge pull request #641 from mouse-reeve/discover-links
...
Makes covers clickable on discover page
2021-02-23 14:19:26 -08:00
Mouse Reeve
1db711b397
Merge pull request #639 from mouse-reeve/status-markup
...
Status markup
2021-02-23 14:19:19 -08:00
Mouse Reeve
1eaff91513
Makes the interactive rating element a different color
2021-02-23 14:08:52 -08:00
Mouse Reeve
31c9c07e38
Makes covers clickable on discover page
2021-02-23 14:06:08 -08:00
Mouse Reeve
d0c46060e8
Adds stars to book preview in status
2021-02-23 14:00:19 -08:00
Mouse Reeve
f9dd0b0246
Groups in book preview only used by status templates
2021-02-23 13:42:20 -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
a0b57837a7
Moves status templates into dir
2021-02-23 13:37:16 -08:00
Mouse Reeve
9ac332f6cc
Adds request user for rss test
2021-02-23 13:26:44 -08:00
Mouse Reeve
152107a9af
Merge pull request #637 from mouse-reeve/mobile-header-buttons
...
Fixes header wrap on mobile headers
2021-02-23 13:25:17 -08:00
Mouse Reeve
a71171249d
Merge pull request #638 from mouse-reeve/list-mobile-display
...
List mobile display
2021-02-23 13:25:12 -08:00
Mouse Reeve
ffe5ce7251
User friendly-er add cover form
...
bulma has failed me. Fixes #628
2021-02-23 13:23:41 -08:00
Mouse Reeve
b9f06edc1b
Fixes a few missed calls to get_user_from_username
2021-02-23 13:12:50 -08:00
Mouse Reeve
be9198fc4f
Another place where get reviews is called in tests
2021-02-23 13:09:39 -08:00
Mouse Reeve
e6b4212e6b
Typo fix
2021-02-23 13:05:43 -08:00
Mouse Reeve
8a3d1a0bf2
Fixes header wrap on mobile headers
2021-02-23 13:04:24 -08:00
Mouse Reeve
d1a21b851a
Maintain list columns in mobile
2021-02-23 12:46:41 -08:00
Mouse Reeve
b1268b7db8
Small covers too small on mobile
2021-02-23 12:44:25 -08:00
Mouse Reeve
364b053d9a
Better user block privacy
2021-02-23 12:41:37 -08:00
Mouse Reeve
a617302006
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 12:10:54 -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
cbccdea468
fixes ordered collection serializations
2021-02-23 11:13:20 -08:00
Mouse Reeve
726a8739a3
way too much logging coming from http errors
2021-02-22 11:42:45 -08:00
Mouse Reeve
ef9acaf878
Adds tests for setting remote server
2021-02-22 11:38:11 -08:00
Mouse Reeve
6b74f56381
Safer set remote server
2021-02-22 10:01:19 -08:00
Mouse Reeve
bff75cedf5
Boolean error in user save causing infinite recursion
2021-02-22 09:41:52 -08:00
Mouse Reeve
f654444aab
Fixes bug in saving remote server
2021-02-22 08:53:01 -08:00
Mouse Reeve
dbe9431d5a
Fixes pure serializer
2021-02-20 11:24:41 -08:00
Mouse Reeve
fb98ef4b38
Remove redundant activitypub dataclass
2021-02-19 11:16:01 -08:00
Mouse Reeve
42ca32a985
Merge branch 'main' into review-rate
2021-02-18 13:12:04 -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
79875271f7
Makes next/prev page links optional
2021-02-17 13:33:48 -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
92e40e1cec
Pass model instances into activities instead of json
2021-02-17 10:36:05 -08:00
Mouse Reeve
9225043b5d
Fixes relationship model test
2021-02-17 10:16:17 -08:00
Mouse Reeve
b18dac5814
Don't use generic ActivityObject as serializer
2021-02-17 10:15:22 -08:00
Mouse Reeve
8bb20730fc
Fixes bug in serializing dataclasses in place
2021-02-17 09:33:33 -08:00
Mouse Reeve
cbf5479253
Test fixes
2021-02-17 08:35:17 -08:00
Mouse Reeve
7b27f98e20
Fixes recursive serializer
2021-02-17 08:34:21 -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
e2f921b7f5
better checking for empty values
2021-02-16 19:28:23 -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
f974b9b895
Better blocking checks
2021-02-15 12:51:34 -08:00
Mouse Reeve
8cf7da4b19
Merge branch 'main' into user-creation
2021-02-15 12:26:15 -08:00
Mouse Reeve
65f81bd5f0
Moves blocking to save function
...
I just like these better than signals??
2021-02-15 12:21:48 -08:00
Mouse Reeve
8cb345886b
Show lists on book page
2021-02-15 11:30:22 -08:00
Ilona Brand
73c30e8c9a
Add user default privacy setting to the privacy_select and user preferences
2021-02-13 19:42:25 -06:00
Mouse Reeve
06feef44ad
Merge branch 'main' into review-rate
2021-02-12 18:33:05 -08:00
Mouse Reeve
4a58cd42a6
More thorough check to prevent following blocked users
2021-02-12 18:14:51 -08:00
Mouse Reeve
d250127062
Merge pull request #621 from mouse-reeve/fixes-follows
...
Fixes follows
2021-02-12 16:22:05 -08:00
Mouse Reeve
363609e7be
Fixes follows
...
Yikes
2021-02-12 16:16:22 -08:00
Mouse Reeve
2297fe133d
Uses template for generating goal status
2021-02-12 11:52:05 -08:00
Mouse Reeve
0df7be6cfc
Merge pull request #618 from mouse-reeve/template-fixes
...
Template fixes
2021-02-12 10:10:42 -08:00
Mouse Reeve
03dddaa064
Fixes list display
2021-02-12 09:58:57 -08:00
Mouse Reeve
403cc712c5
Fixes review pluralization
2021-02-12 09:55:25 -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
89c0ecdca9
comma in number
2021-02-11 08:24:20 -08:00
Mouse Reeve
c7e7c56a89
Merge pull request #616 from mouse-reeve/list-federation
...
Fixes bugs in how lists/shelves federate Adds
2021-02-10 19:39:56 -08:00
Mouse Reeve
9b61538f0c
Merge pull request #615 from mouse-reeve/update-list-activity
...
Update list activity
2021-02-10 19:39:31 -08:00
Mouse Reeve
3497a5c7e4
Merge pull request #614 from mouse-reeve/expand-data-error
...
Catch expand book data load error
2021-02-10 19:19:14 -08:00
Mouse Reeve
5f7466e92d
Fixes bugs in how lists/shelves federate Adds
2021-02-10 19:17:16 -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
2a069adc8a
Fixes updating lists
2021-02-10 18:00:56 -08:00
Mouse Reeve
41cef9bdfd
Catch expand book data load error
2021-02-10 17:54:49 -08:00
Mouse Reeve
3aa7f8afe0
Safer migration runpython function
2021-02-10 17:30:26 -08:00
Mouse Reeve
e918ddf526
Merge pull request #611 from mouse-reeve/default-edition
...
Don't set default edition if it's already set
2021-02-10 17:23:56 -08:00
Mouse Reeve
107a804230
Merge pull request #610 from mouse-reeve/cover-links
...
Makes covers clickable in places they aren't
2021-02-10 16:58:04 -08:00
Mouse Reeve
4c2ec43fce
Don't set default edition if it's already set
2021-02-10 16:53:51 -08:00
Mouse Reeve
11504e9cef
Makes covers clickable in places they aren't
...
Fixes #598
2021-02-10 16:45:53 -08:00
Mouse Reeve
5e2555dc0e
Merge pull request #609 from mouse-reeve/model-notifications
...
Refactors generating notifications
2021-02-10 16:45:02 -08:00
Mouse Reeve
848454c50f
Fixes templatetag test
2021-02-10 16:31:41 -08:00
Mouse Reeve
b774e946f3
fixes avoiding mention and reply notification
2021-02-10 16:28:50 -08:00
Mouse Reeve
e6b9985f95
Don't need a helper function for creating notifications anymore
2021-02-10 16:23:49 -08:00
Mouse Reeve
e0cfb009e4
Deduplicate notifications in notification model
2021-02-10 16:21:29 -08:00
Mouse Reeve
d9e65aa363
Notifications for follow requests
2021-02-10 16:06:50 -08:00
Mouse Reeve
ac57db5375
Boost notifications
2021-02-10 16:00:02 -08:00
Mouse Reeve
6f748a6a24
Fixes status notifications
2021-02-10 15:18:20 -08:00
Mouse Reeve
74d39c3e24
Move fav notifications to model
2021-02-10 14:31:39 -08:00
Mouse Reeve
106d442a0b
Moves import complete notification to model
2021-02-10 14:18:55 -08:00
Mouse Reeve
ca08bfa6f5
Remove duplicate notification generation code in incoming
2021-02-10 14:14:33 -08:00
Mouse Reeve
13d8ccb016
Moves status notifications into model
2021-02-10 14:13:36 -08:00
Mouse Reeve
ed56398667
Merge pull request #607 from mouse-reeve/notifications
...
Notifications for list additions
2021-02-10 14:08:46 -08:00
Mouse Reeve
b22e56333f
Gracefully handle list duplicate additions
2021-02-10 13:50:20 -08:00
Mouse Reeve
8842db3c1b
Create notification when adding or suggesting a book to a list
2021-02-10 13:46:56 -08:00
Mouse Reeve
2bf4b17113
Adds notification type referencing lists
2021-02-10 13:15:12 -08:00
Mouse Reeve
88b2504402
Fixes broadcasting on generated notes
2021-02-10 13:09:04 -08:00
Mouse Reeve
222dc118af
Merge pull request #604 from mouse-reeve/link-format-bug
...
Link format bug
2021-02-10 12:45:04 -08:00
Mouse Reeve
930d9429ef
User save() override instead of signal to set user fields
...
this gets gnarly because of transaction.atomic, so it bears further
testing
2021-02-10 12:43:53 -08:00
Mouse Reeve
475d0cbb26
Merge pull request #603 from mouse-reeve/rss-link
...
Adds link to rss feed from user page
2021-02-10 12:29:23 -08:00
Mouse Reeve
2f42ec5e37
Fixes execution order for formatting content body for statuses
2021-02-10 12:27:09 -08:00
Mouse Reeve
a61c06c4cc
Merge pull request #601 from mouse-reeve/user-tabs
...
Only show tabs on user page as appropriate
2021-02-10 12:16:23 -08:00
Mouse Reeve
f75acc385d
Adds link to rss feed from user page
2021-02-10 12:13:07 -08:00
Mouse Reeve
5565523d85
Tests bug in link formatting
2021-02-10 12:07:50 -08:00
Mouse Reeve
f46a708f7e
Handle connector exceptions with sketchy book data from OL
2021-02-10 12:00:16 -08:00
Mouse Reeve
9a564a846a
Better error handling and loggin in get_data
2021-02-10 11:56:08 -08:00
Mouse Reeve
d29257e1ff
Only show tabs on user page as appropriate
2021-02-10 11:48:49 -08:00
Mouse Reeve
759a384852
Merge pull request #592 from mouse-reeve/local-paths
...
Fixes local paths with remote users
2021-02-10 11:38:54 -08:00
Mouse Reeve
7c5b9f563f
Fixes double slash in path
2021-02-10 11:11:55 -08:00
Mouse Reeve
96921e4be6
Merge pull request #574 from mouse-reeve/shelve-buttons
...
Shelve buttons
2021-02-10 09:01:33 -08:00
Mouse Reeve
486b660351
Merge pull request #594 from mouse-reeve/broadcast-fixes
...
Refactors broadcasting
2021-02-10 08:52:15 -08:00
Mouse Reeve
9c3bec23b8
More mocks in tests
2021-02-09 17:26:27 -08:00
Mouse Reeve
485de039cf
Merge branch 'main' into shelve-buttons
2021-02-09 13:28:00 -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
25e8b3ddeb
Send activitypub pure mode activities when possible
2021-02-09 12:23:59 -08:00
Mouse Reeve
0682117a06
delete and re-add shelf books in switch edition
2021-02-09 12:07:45 -08:00
Mouse Reeve
8fb08e09fd
Filter pending books from list display
2021-02-09 11:40:35 -08:00
Mouse Reeve
9561bb2294
Adds reverse runpython for migration
2021-02-09 11:21:43 -08:00
Mouse Reeve
e998ac28da
Fixes broadcasting created status that needs second save
2021-02-09 11:13:02 -08:00
Mouse Reeve
0a554b002d
Fixes test for handling direct recipients
2021-02-09 10:43:40 -08:00
Mouse Reeve
76491e4e35
Back off notification polling
2021-02-09 10:38:43 -08:00
Mouse Reeve
4ad51e62c6
Use recipients model attribute in broadcast
2021-02-09 10:26:04 -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
ee2b656b08
fixes change password view
2021-02-06 22:37:40 -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
2ef777f87e
Use activity type mixin
2021-02-04 14:36:57 -08:00
Mouse Reeve
7381536ad6
circular import issues and added_by migration
2021-02-04 14:27:26 -08:00
Mouse Reeve
5a3a6151a6
separate mixins for AP types
2021-02-04 13:22:27 -08:00
Mouse Reeve
42d80ce238
Remove explicit broadcast calls
2021-02-04 13:21:55 -08:00
Mouse Reeve
44996917c7
Activitypub model code in more files
2021-02-04 12:36:39 -08:00
Mouse Reeve
feb8190d8f
Created mixin for ordered collection items
2021-02-04 12:25:07 -08:00
Mouse Reeve
b015d6c9a1
Fixes hiding import book option in search for anonymous users
2021-02-04 11:46:42 -08:00
Mouse Reeve
12e0e6a1f0
Broadcast implicitly from model save
2021-02-04 11:44:31 -08:00
Mouse Reeve
d633826a20
full path in user-based remote id
2021-02-04 10:48:56 -08:00
Mouse Reeve
dfb5c396b0
Moves activitypub mixin to its own file
2021-02-04 10:47:18 -08:00
Mouse Reeve
582ebc0fe3
Fixes local paths with remote users
...
Fixes #590
2021-02-04 10:31:08 -08:00
Mouse Reeve
ae0034e678
Fixes mismatched html tags
2021-02-03 18:09:07 -08:00
Mouse Reeve
736f28e254
Fixes user tabs linking to logged in user
2021-02-03 17:02:04 -08:00
Mouse Reeve
c03dcaf842
Distinct lists
2021-02-03 16:49:42 -08:00
Mouse Reeve
3f2f27bcac
Fixes logged out list view
2021-02-03 16:40:29 -08:00
Mouse Reeve
39d31060e1
Sort list preview by most recently added
2021-02-03 16:11:42 -08:00
Mouse Reeve
476d65552e
Hide other people's empty lists from lists page
2021-02-03 16:01:49 -08:00
Mouse Reeve
7af1f6c19d
Merge pull request #585 from mouse-reeve/inline-form
...
Inline form
2021-02-03 12:56:08 -08:00
Mouse Reeve
1dc02cd5fa
Merge pull request #576 from mouse-reeve/remove-editions
...
Clear unused editions with poor metadata
2021-02-03 12:55:27 -08:00
Mouse Reeve
7faf639758
Fixes openlibrary connector test
2021-02-03 12:52:13 -08:00
Mouse Reeve
502e235e59
Edit shelf form using component
2021-02-03 12:45:01 -08:00
Mouse Reeve
bcbcdd5b3b
Uses component for create shelf form
2021-02-03 12:36:20 -08:00
Mouse Reeve
6ce4be7406
Adds inline form component
2021-02-03 12:25:33 -08:00
Mouse Reeve
0ba7c60e83
Merge pull request #577 from mouse-reeve/lists
...
Lists
2021-02-03 10:57:19 -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
627b2ae90a
Set header when opening forms
2021-02-02 15:46:58 -08:00
Mouse Reeve
7aa9204cd2
Fixes missing privacy field for to-read statuses
2021-02-02 15:25:34 -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
3f9bb97693
Merge pull request #583 from mouse-reeve/level
...
adds icons to discover page
2021-02-02 12:10:59 -08:00
Mouse Reeve
f42a5444e5
User ordered collection subtype for shelves
2021-02-02 11:17:31 -08:00
Mouse Reeve
e61d8b7638
Serialize lists as custom activitypub object
2021-02-02 11:13:15 -08:00
Mouse Reeve
d37f8f68d8
Adds user lists template
2021-02-02 10:13:59 -08:00
Mouse Reeve
05c00b9eca
Adds cute lil icons to discover page
2021-02-02 10:13:35 -08:00
Mouse Reeve
d2fc3febb0
Show reading activity panel when no readthroughs exist
2021-02-02 09:44:29 -08:00
Mouse Reeve
23ce639e5c
migration to change privacy field type
2021-02-02 09:41:24 -08:00
Mouse Reeve
e53b4e57fa
Federating lists and shelves
2021-02-02 09:37:46 -08:00
Mouse Reeve
c7914d1394
Fixes search tests
2021-02-01 13:06:06 -08:00
Mouse Reeve
3e3b21c46a
Fixes ap serialization of list lists
2021-02-01 12:03:11 -08:00
Mouse Reeve
e865530142
Search lists
2021-02-01 11:50:47 -08:00
Mouse Reeve
ec7a9f68c2
Adds tabs to user profile page
2021-02-01 11:34:08 -08:00
Mouse Reeve
d7c32cc314
Paginates lists view
2021-01-31 17:34:06 -08:00
Mouse Reeve
6e0d258c97
Cards on list page
2021-01-31 14:03:51 -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
b9b5694165
Fixes bug in removing list item
2021-01-31 13:14:52 -08:00
Mouse Reeve
19b56c26f7
list views tests
2021-01-31 13:12:56 -08:00
Mouse Reeve
944503dde5
Use close button instead of cancel button on edit form
2021-01-31 12:36:53 -08:00
Mouse Reeve
697bcb0edb
sidebar css class
2021-01-31 12:31:39 -08:00
Mouse Reeve
6824bdd5ed
Fixes shelve menu display
2021-01-31 12:30:33 -08:00
Mouse Reeve
b17761cfc3
remove items from list
2021-01-31 12:15:38 -08:00
Mouse Reeve
47097c6b32
updates user rating tag
2021-01-31 12:10:10 -08:00
Mouse Reeve
13b38d40bb
Curation view
2021-01-31 12:07:54 -08:00
Mouse Reeve
a6c5341ad1
curation ui
2021-01-31 11:45:16 -08:00
Mouse Reeve
846489e88e
Only show approved list items
2021-01-31 11:21:50 -08:00
Mouse Reeve
a2e69d783d
suggest button wording
2021-01-31 11:13:50 -08:00
Mouse Reeve
f15626b2cb
Null state for search results
2021-01-31 11:13:05 -08:00
Mouse Reeve
6a68fe9475
Search for books to add to lists
2021-01-31 11:11:26 -08:00
Mouse Reeve
1e9189d43c
Suggest recently edited books if we're out of user books
2021-01-31 10:56:40 -08:00
Mouse Reeve
1a4c53da2c
Only show delete button to appropriate users
2021-01-31 10:44:46 -08:00
Mouse Reeve
acd922970a
Add to and edit lists
2021-01-31 10:34:25 -08:00
Mouse Reeve
4883231347
Fixes model test
2021-01-31 09:08:06 -08:00
Mouse Reeve
d73a1b4ec1
handles list privacy in display
2021-01-31 08:41:11 -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
8ef959ba73
Adds little icons, so cute
2021-01-31 06:52:18 -08:00
Mouse Reeve
0815b36ec9
Adds basic view and template files
2021-01-30 21:42:47 -08:00
Mouse Reeve
af65509527
stub test for list model
2021-01-30 21:03:50 -08:00
Mouse Reeve
fe088f21fb
Model and migration for lists
2021-01-30 21:00:36 -08:00
Mouse Reeve
45ac13a7ff
Clear unused editions with poor metadata
2021-01-30 18:30:07 -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
661d49d9cc
Ignore openlibrary editions with little to no metadata
...
Also fixes the isbn problem
2021-01-30 17:19:01 -08:00
Mouse Reeve
645e85050c
Group modals with shelve button
2021-01-30 16:08:29 -08:00
Mouse Reeve
6ff70d0d2c
directory for shelve button templates
2021-01-30 15:59:50 -08:00
Mouse Reeve
765a6a1878
uncomment error handling for bad shelf id
2021-01-30 15:56:22 -08:00
Mouse Reeve
74d37c84be
Don't show the main button in the dropdown
2021-01-30 15:49:43 -08:00
Mouse Reeve
0c723eb550
Fixes shelf page template path bug
2021-01-30 15:49:43 -08:00
Mouse Reeve
7afab352b1
Fixes incorrect tempalte path in threaded status page
2021-01-30 15:49:43 -08:00
Mouse Reeve
9b326f7321
Give user control over "want to read" posts
2021-01-30 15:18:38 -08:00
Mouse Reeve
e5fd14b206
Confirmation modal for to-read shelve action
2021-01-30 13:11:43 -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
37710144fa
Adds options tempalte
2021-01-30 11:52:31 -08:00
Mouse Reeve
cd65ac7290
Fixes incorrect tempalte path in threaded status page
2021-01-30 11:46:15 -08:00
Mouse Reeve
e5746d6117
Menu list for shelf button options
2021-01-30 11:43:40 -08:00
Mouse Reeve
8add05d7fd
Fixes incorrect display of reading progress
2021-01-29 18:06:17 -08:00
Mouse Reeve
9d3f48a1a9
Settings views tests
2021-01-29 17:06:10 -08:00
Mouse Reeve
d1ee26e282
list of federated servers for admin panel
2021-01-29 16:02:59 -08:00
Mouse Reeve
9db327a69e
Edit view for site settings
2021-01-29 15:50:46 -08:00
Mouse Reeve
21aadf2920
Adds site settings view
2021-01-29 15:38:42 -08:00
Mouse Reeve
02c466e04a
Merge pull request #568 from mouse-reeve/send-dms
...
Compose window for dms
2021-01-29 14:23:06 -08:00
Mouse Reeve
93ef9e31ad
Send message to a particular user
2021-01-29 11:44:04 -08:00
Mouse Reeve
779a5e0cbf
Compose window for dms
2021-01-29 11:14:18 -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
b53ef73faf
Feed templates
2021-01-29 10:25:31 -08:00
Mouse Reeve
932acc961f
Fixes template paths in tests
2021-01-29 09:41:32 -08:00
Mouse Reeve
60721fd41e
Fixes user layout
2021-01-29 09:29:59 -08:00
Mouse Reeve
9fa8ee3940
Groups profile settings templates
2021-01-29 09:28:00 -08:00
Mouse Reeve
24af288c52
Refactors user pages
2021-01-29 09:05:53 -08:00
Mouse Reeve
6ccf7841e1
Moves components out of snippets
2021-01-29 08:51:36 -08:00
Mouse Reeve
65db2e63ac
Merge pull request #566 from mouse-reeve/blockquote
...
Allows blockquote markdown
2021-01-29 08:18:05 -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
Mouse Reeve
68d00d590c
Allows blockquote markdown
2021-01-29 08:00:19 -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
1a54ed875b
easier way to get user statuses queryset
2021-01-27 09:30:03 -08:00
Mouse Reeve
5377a8f187
Fixes reading view
2021-01-27 09:29:34 -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
369b24f9ec
null state for block page
2021-01-26 13:02:04 -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
12b95c6cd4
Merge pull request #558 from mouse-reeve/image-crop
...
Moves avatar crop into function and adds test
2021-01-26 08:24:52 -08:00
Mouse Reeve
681f5482fd
Don't allow blocked users to access user page
2021-01-26 08:07:38 -08:00
Mouse Reeve
2a6a000e05
Moves avatar crop into function and adds test
2021-01-26 08:03:16 -08:00
Mouse Reeve
ac2ab2981f
ui path to iniate blocks
2021-01-25 14:03:18 -08:00
Mouse Reeve
d994d8d3c8
Moves blocking side effects to model
2021-01-24 17:07:19 -08:00
Joel Bradshaw
ed83032330
Fix migration for if db has multiple empty emails
...
If the database has multiple users with an empty email column, this
migration will fail because multiple empty strings break the unique
constraint.
A fresh database won't have this problem because it won't have any
legacy users with empty strings instead of NULL, but for existing
databases we need to convert the empty strings to NULL so they don't run
awry of the unique constraint.
2021-01-24 16:39:26 -08:00
Mouse Reeve
4e0ec12052
hide blocked content from feed
2021-01-24 16:13:26 -08:00
Chad Nelson
ad2baf3be5
Use display_name instead of username
2021-01-23 18:39:55 -05: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
54f8a65ae2
Adds block option to status menu
2021-01-22 20:17:16 -08:00
Mouse Reeve
20758b662d
don't need the showprogress get param any longer
2021-01-22 14:33:03 -08:00
Mouse Reeve
129ca0352f
Consistent progress type form element
2021-01-22 13:00:20 -08:00
Mouse Reeve
12c23836b7
Fixes display of finish date
2021-01-22 12:54:25 -08:00
Mouse Reeve
69c5bf71ed
Uses javascript show/hide for reading progress updates
2021-01-22 12:51:23 -08:00
Mouse Reeve
806b781f15
Adds html form validator for min value
2021-01-22 09:21:58 -08:00
Mouse Reeve
3db0de3dd4
Makes pages/percents toggle-able in sidebar
2021-01-22 09:19:02 -08: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
Mouse Reeve
2809095966
Merge pull request #548 from mouse-reeve/at-mentions
...
puts @'mentions directly in compose box
2021-01-20 09:35:18 -08:00
Mouse Reeve
fe42c6d853
Remove login decorator from about page
2021-01-20 07:16:25 -08:00
Joel Bradshaw
57607c3590
Regenerate merge migration
2021-01-19 23:53:42 -08:00
Joel Bradshaw
85edee42ef
Merge branch 'main' into progress_update
2021-01-19 23:49:35 -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
edba55f7c2
Flatten and rework sidebar update
2021-01-19 23:04:08 -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
Mouse Reeve
2411b4fe79
puts @'mentions directly in compose box
2021-01-19 16:16:22 -08:00
Mouse Reeve
0700a71803
Merge pull request #538 from mouse-reeve/polling
...
Polling to update notification count
2021-01-19 15:13:37 -08:00
Mouse Reeve
1778e8dd46
Uses timeout instead of interval
2021-01-19 14:59:46 -08:00
Mouse Reeve
94a41498cf
Remove counts when notifications are deleted
2021-01-19 14:32:08 -08:00
Mouse Reeve
3fce67a60d
Only update on change
2021-01-19 14:25:04 -08:00
Mouse Reeve
f049c7c3d9
Fixes clashing form ids in rate/review
2021-01-19 09:31:01 -08:00
Mouse Reeve
c1c7b68fc1
Fixes error state for goal
2021-01-19 07:40:37 -08:00
Mouse Reeve
589c128793
Sets min in html
2021-01-19 07:38:18 -08:00
Mouse Reeve
328ebc39c1
Adds migration
2021-01-19 07:38:12 -08:00
Mouse Reeve
6efe4d54f0
Sets minimum goal
2021-01-19 07:30:35 -08:00
Mouse Reeve
1048688284
Fixes import paths
2021-01-19 07:15:08 -08:00
Joel Bradshaw
60b42827f4
Mock the AP publishing to stop hanging tests
2021-01-18 20:00:04 -08:00
Joel Bradshaw
79e284e5be
Just scootch the migration merge up
2021-01-18 19:59:40 -08:00
Joel Bradshaw
29140be78e
Merge branch 'main' into progress_update
2021-01-18 19:41:06 -08:00
Mouse Reeve
0d00857ef8
Render markdown to html in the right order
2021-01-18 17:54:36 -08:00
Mouse Reeve
128dc3be44
Remove a div
2021-01-18 16:52:51 -08:00
Mouse Reeve
a7620c07cb
Fixes edit shelf view
2021-01-18 16:38:04 -08:00
Mouse Reeve
394666357f
Poll for notifications
2021-01-18 16:32:02 -08:00
Mouse Reeve
fc218c5d48
Set reply privacy to parent privacy
2021-01-18 13:02:30 -08:00
Mouse Reeve
7a153a9942
Collapse status content box for empty status (like goal)
...
this is janky... oh well
2021-01-18 12:36:34 -08:00
Mouse Reeve
2a6c67c427
Correct placement of shelve pulldown
2021-01-18 12:25:26 -08:00
Mouse Reeve
69b38bfe91
Show latest read books first in goals page
2021-01-18 12:22:36 -08:00
Mouse Reeve
25643faf72
Fixes misplaced close diff causing cascading nesting on editions page
2021-01-18 12:22:11 -08:00
Mouse Reeve
96cc9d44db
Fixes email migration
2021-01-18 11:57:20 -08:00
Mouse Reeve
8a00c7741a
Nullable email
2021-01-18 11:51:51 -08:00
Mouse Reeve
d8ace7e417
Fixes html error on edit user page
2021-01-18 11:19:30 -08:00
Mouse Reeve
11dd8c8f82
Allow users to log in with email or username
2021-01-18 11:06:28 -08:00
Mouse Reeve
f825709599
Merge pull request #529 from mouse-reeve/html-cleanup
...
Html cleanup
2021-01-18 10:25:31 -08:00
Mouse Reeve
c7b03fec5a
Fixes rate action
2021-01-18 09:57:44 -08:00
Mouse Reeve
debc9696e1
Sets focus for editing and deleting readthroughs
2021-01-18 09:03:21 -08:00
Mouse Reeve
8f0eb84172
Uses actual label text in toggle button, not the word "label"
2021-01-18 08:54:25 -08:00
Mouse Reeve
c3781e7f51
Sets hover to modal header when opened
2021-01-18 08:54:00 -08:00
Mouse Reeve
7308d8d1e9
javascript cleanup
...
I got my linter working!
2021-01-18 08:26:04 -08:00
Mouse Reeve
d6f2740bc8
unneeded classnames
2021-01-17 20:40:33 -08:00
Mouse Reeve
c205126c54
Fixes close button in mobile suggested compose
2021-01-17 20:39:18 -08:00
Mouse Reeve
51ddada8f6
Fixes mobile menu dropdown
2021-01-17 20:31:37 -08:00
Mouse Reeve
3f136c40da
Uses js pattern for tabs
2021-01-17 20:19:09 -08:00
Mouse Reeve
aba5c48af9
uses "plus" button for adding read dates
2021-01-17 17:22:03 -08:00
Mouse Reeve
2937c592c1
Uses css norms for upload cover form
2021-01-17 17:09:43 -08:00
Mouse Reeve
937a7dd1af
Uses clickable dropdowns and improves styling on menu buttons
...
screenreader legible
2021-01-17 16:48:05 -08:00
Mouse Reeve
0a70d6e981
Makes dropdown clickable, and work with screen reader
...
I'm lightly peeved with bulma that it wasn't clear how to make hover
menus accessible, but clickable menus are just fine with my anyway.
2021-01-17 16:29:46 -08:00
Joel Bradshaw
0af4863568
Update merge migration
2021-01-17 13:21:26 -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
Joel Bradshaw
ef05ac1f65
Small fixes to old form
2021-01-17 12:48:10 -08:00
Joel Bradshaw
6e05dfde92
Revert "Make the switching work, wows"
...
Actually this is bad, switching on this page is not useful enough for
the UI complexity. Users can switch percent/pages on the book page.
This reverts commit a4796cf5c5
.
2021-01-17 12:40:24 -08:00
Mouse Reeve
48febecf0d
Merge pull request #523 from cincodenada/fix-ordering-warning
...
Add order for shelf books to satisfy warning
2021-01-17 11:35:54 -08:00
Mouse Reeve
9b8e5a4139
Removes unused reply form template
2021-01-17 11:20:32 -08:00
Mouse Reeve
8576bf8ada
Uses new button patttern for content warnings
2021-01-17 11:15:53 -08:00
Mouse Reeve
73c1b5a1ff
Component for dropdowns
...
also use hoverable dropdowns
2021-01-17 11:09:49 -08:00
Mouse Reeve
e64507e50d
Uses has-addons css for interact buttons
2021-01-17 10:45:25 -08:00
Mouse Reeve
c6e5b33970
Uses css has-addons for shelve button
2021-01-17 10:40:40 -08:00
Mouse Reeve
ff743ed9d6
Javascript button for reply form
2021-01-17 10:38:34 -08:00
Mouse Reeve
47d5b907ac
Readthrough interactions
2021-01-17 10:10:59 -08:00
Mouse Reeve
f7e3cbda84
Uses toggle button snippet for content warning
2021-01-17 08:50:47 -08:00
Mouse Reeve
afdf5fc8ec
starts replacing pure css buttons with javascript buttons
...
RIP, but it was time
2021-01-17 08:26:28 -08:00
Joel Bradshaw
a4796cf5c5
Make the switching work, wows
...
Layout's all wonky now, but hey
2021-01-17 03:14:26 -08:00
Joel Bradshaw
2d157137aa
Fix inline form
2021-01-17 02:57:10 -08:00
Joel Bradshaw
da8d8cd434
Add deletion of progress updates
...
And only show progress edit for editing unfinished readthroughs
2021-01-17 02:28:37 -08:00
Joel Bradshaw
ddb5848d32
Move error down into to_ordered_queryset
2021-01-16 23:31:47 -08:00
Mouse Reeve
2e043f9252
Make it doubly clear that the hidden checkbox is hidden
2021-01-16 20:06:19 -08:00
Mouse Reeve
f42fd28c73
Removes unused javascript
2021-01-16 19:59:08 -08:00
Mouse Reeve
3e58163f0d
refactors content warning button
2021-01-16 19:57:20 -08:00
Mouse Reeve
6ab543004e
Uses card component for reading goal announcement
2021-01-16 14:48:17 -08:00
Mouse Reeve
de9fbcef80
Naturally 404 for deleted statuses
2021-01-16 14:38:21 -08:00
Mouse Reeve
d6dc975a2e
Creates re-usable template for cards
2021-01-16 14:38:21 -08:00
Mouse Reeve
fa56ae873b
Screenreader tweaks
2021-01-16 14:33:43 -08:00
Mouse Reeve
8532c9a46b
tests goal views
2021-01-16 13:29:28 -08:00
Mouse Reeve
ec79b10088
Post status about goal
2021-01-16 12:48:04 -08:00
Mouse Reeve
f3f6592e72
Edit goal
2021-01-16 12:39:51 -08:00
Mouse Reeve
112b9f9332
Create goal with privacy
2021-01-16 11:34:19 -08:00
Mouse Reeve
739b6e19e2
Dismiss reading goal using localstorage
2021-01-16 09:21:19 -08:00
Mouse Reeve
11ea829657
Adds icon to goal form
2021-01-16 08:54:16 -08:00
Mouse Reeve
3a7271309e
Adds markup for set goal status on feed page
2021-01-16 08:19:54 -08:00
Mouse Reeve
b648012af5
Adds form and models for reading goal
2021-01-16 08:18:54 -08:00
Mouse Reeve
3866523d57
Fixes merge conflict resolution bug
2021-01-15 13:12:46 -08:00
Mouse Reeve
f61a25cfb1
Merge branch 'main' into html-interaction
2021-01-15 09:45:33 -08:00
Mouse Reeve
6e254e548c
Merge pull request #519 from mouse-reeve/view-actions-tests
...
Overhauls views/view_actions/outgoing
2021-01-15 09:39:07 -08:00
Mouse Reeve
861249080b
Moves toggle menu javascript out of html
2021-01-14 15:45:30 -08:00
Mouse Reeve
7abe39b7d5
Tab change javascript out of html
2021-01-14 15:29:37 -08:00
Mouse Reeve
4d4e692f49
Javascript cleanup
2021-01-14 15:16:18 -08:00
Mouse Reeve
5591024933
Moves interaction javascript out of html
2021-01-14 14:38:33 -08:00
Mouse Reeve
d59c586e55
use snippet for modal close buttons
2021-01-14 14:21:27 -08:00
Mouse Reeve
b1cdddd1a2
Adds titles to icons
2021-01-14 14:13:23 -08:00
Mouse Reeve
aa7320ffe0
Using toggle button snippets on shelf page
2021-01-14 14:00:05 -08:00
Mouse Reeve
e2d341b147
vertical align bottom post button in reply form
2021-01-14 13:51:07 -08:00
Mouse Reeve
f8d5eec60d
cw back on the top
...
it just felt weird on the bottom??
2021-01-14 13:43:52 -08:00
Mouse Reeve
aa564b26c8
Uses snippet for toggle buttons
2021-01-14 13:35:09 -08:00
Mouse Reeve
e57c4f4bcd
Adds focus control javascript
2021-01-14 13:02:28 -08:00
Mouse Reeve
e5155d9402
Removes duplicate start reading modal markup
2021-01-14 11:34:22 -08:00
Joel Bradshaw
b0ea31f2a9
Add order for shelf books to satisfy warning
...
I believe this will sort books by order they were added to the shelf,
which seems reasonable. Should add some tests to make sure though.
2021-01-13 23:44:44 -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
766c7afdb9
Don't let long titles display past card title box
2021-01-13 19:38:26 -08:00
Mouse Reeve
eb2d414321
Merge pull request #521 from cincodenada/login-multiline-mobile
...
Make login form wrap nicely on mobile
2021-01-13 19:31:36 -08:00
Mouse Reeve
0a9757bf01
A few more templatetag tests
2021-01-13 19:28:44 -08:00
Joel Bradshaw
f985ca0576
Make login form wrap nicely on mobile
...
Changing to columns from a grouped form item isn't my favorite, but I
think it's okay, and it gets us better mobile behavior for free
2021-01-13 19:16:45 -08:00
Mouse Reeve
c0ce38a9d3
landing page tests
2021-01-13 18:48:50 -08:00
Joel Bradshaw
0b703a252b
Make get_rank() a regular method
...
It doesn't act like a property, and we have edition_rank as a proper
property anyway
2021-01-13 18:47:43 -08:00
Joel Bradshaw
ec2a43faa5
Fix error in migrations
...
I was getting the following error when running 0035:
AttributeError: 'Edition' object has no attribute 'get_rank',
But that line seems to be unnecessary, since save() does the same thing,
and we are already calling that.
2021-01-13 18:37:05 -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
3e5ed19643
Removes outgoing and view_actions
2021-01-13 13:36:01 -08:00
Mouse Reeve
a385aa4cb5
Following views
2021-01-13 13:06:26 -08:00
Mouse Reeve
7555d76c3f
Adds reading acitivity views
2021-01-13 12:35:39 -08:00
Mouse Reeve
2e61bd0e7a
Removes old views file
2021-01-13 12:18:19 -08:00
Mouse Reeve
12bf34e242
Adds error page views
2021-01-13 12:08:51 -08:00
Mouse Reeve
ffd403dd47
sorts imports for views
2021-01-13 12:08:35 -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
4dea22bef6
Author class view
2021-01-13 09:54:35 -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
00a67f1b99
Password reset and change password flows
2021-01-12 08:48:47 -08:00
Mouse Reeve
05b4cb59b0
Adds registration view
2021-01-12 08:19:08 -08:00
Mouse Reeve
6e71ff2aa1
Adds login class view
2021-01-12 08:08:43 -08:00
Mouse Reeve
a8483754c3
Fixes edit book view
2021-01-11 20:21:32 -08:00
Mouse Reeve
4319e58079
Fixes squished avatars
2021-01-11 18:09:12 -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
3d170b3eb0
Merge pull request #514 from mouse-reeve/shelf-status-privacy
...
Use shelf privacy for "wants to read" status privacy
2021-01-11 15:28:20 -08:00
Mouse Reeve
8ade29c4c1
Use shelf privacy for "wants to read" status privacy
2021-01-11 14:49:01 -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
a6eb444a68
Don't error out user page
2021-01-11 14:05:08 -08:00
Mouse Reeve
5b7f7aa0e3
sort edition list by rank
2021-01-11 11:16:10 -08:00
Mouse Reeve
fe67f65307
Set default edition on bookwyrm import
2021-01-11 10:25:34 -08:00
Mouse Reeve
83852e29eb
Update edition ranks when work is saved
2021-01-11 10:02:49 -08:00
Mouse Reeve
6db64e33e4
set rank on editions
2021-01-11 09:29:23 -08:00
Mouse Reeve
b44b42be7e
Adds rank field to edition model
2021-01-11 09:18:40 -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
327020f7b3
views handler for creating readthrough dates
2021-01-10 10:51:56 -08:00
Mouse Reeve
b0e4fc2aa9
Adds ui for creating readthrough
2021-01-10 10:35:28 -08:00
Mouse Reeve
71133c51c6
Set link color on follow button
2021-01-10 10:21:23 -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
df985c571b
Merge pull request #507 from mouse-reeve/discover-page-cover-width
...
Smaller max width for large covers
2021-01-10 10:18:25 -08:00
Mouse Reeve
aa151c111f
Smaller max width for large covers
2021-01-10 09:50:17 -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
a1e8d5c7c2
Fixes showing completed imports and in progress
2021-01-07 09:36:41 -08:00
Mouse Reeve
9a114e1736
Don't match arbitrary results on empty isbn queries
2021-01-07 09:26:05 -08:00
Mouse Reeve
d04271af75
Adds field on import job to check if job completed
...
the task isn't a reliable indicator, unfortunately.
2021-01-07 08:08:12 -08:00
Mouse Reeve
e60a984bea
Merge pull request #497 from mouse-reeve/shelving-actions
...
Shelving actions
2021-01-06 21:05:04 -08:00
Mouse Reeve
453e17f756
Merge pull request #496 from mouse-reeve/status-markup
...
Status markup
2021-01-06 21:04:34 -08:00
Mouse Reeve
b5ba97c385
uses article element instead of div for statuses
2021-01-06 20:05:28 -08:00
Mouse Reeve
b1d4b75926
Fixes tail end of shelving pulldown getting hidden
2021-01-06 19:56:56 -08:00
Mouse Reeve
02aac76acc
Added some grays to the status box
...
why am I doing this instead of the thing I meant to do
2021-01-06 19:52:47 -08:00
Mouse Reeve
5c6aed1b0e
Consistent button sizing in status footer
2021-01-06 19:45:18 -08:00
Mouse Reeve
5f0a788856
Show all readthroughs
2021-01-06 18:34:21 -08:00
Mouse Reeve
551e71162c
Show start reading button in dropdown instead of reshelve button
2021-01-06 18:17:25 -08:00
Mouse Reeve
3eae55ef4e
Adds icon for imports and follow button
2021-01-06 18:02:46 -08:00
Mouse Reeve
e4fbfc369c
Removes print statement
2021-01-06 16:01:37 -08:00
Mouse Reeve
54f27519df
Fixes username regex
2021-01-06 16:01:13 -08:00
Mouse Reeve
03a5f333e1
Cleans up notifications
2021-01-06 15:53:09 -08:00
Mouse Reeve
67f2b3d808
Proper errorhandling for registration with invite
2021-01-06 13:15:33 -08:00
Mouse Reeve
b046547a6e
Merge pull request #493 from mouse-reeve/bidirectional-text
...
Support bidirectional text in status content
2021-01-06 12:20:33 -08:00
Mouse Reeve
29dd2ae863
Merge pull request #492 from mouse-reeve/handle-favorite-error
...
Avoid throwing database error trying to fav unknown statuses
2021-01-06 12:03:01 -08:00
Mouse Reeve
054f69993b
Support bidirectional text in status content
2021-01-06 12:00:34 -08:00
Mouse Reeve
7bf57c60fb
Avoid throwing database error trying to fav unknown statuses
2021-01-06 11:43:39 -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
f87a138d49
Better matching for links in statuses
2021-01-05 21:23:36 -08:00
Mouse Reeve
a60cf0ea22
Merge pull request #485 from mouse-reeve/invite-created-date
...
Adds site invite migration
2021-01-05 11:45:51 -08:00
Mouse Reeve
c8d53ee0df
Adds site invite created date
2021-01-05 11:38:03 -08:00
Mouse Reeve
aa5bf8a382
Merge pull request #483 from mouse-reeve/registration-text-format
...
Fixes html formatting for registration closed text
2021-01-05 11:37:09 -08:00
Mouse Reeve
6261080836
Merge pull request #484 from mouse-reeve/user-page-feed
...
Fixes bug that shows your own posts in every user page
2021-01-05 11:34:57 -08:00
Mouse Reeve
5864c9a6e7
Revert "Add created date and sorting to invites"
...
This reverts commit 11212401a0
.
2021-01-05 11:33:33 -08:00
Mouse Reeve
3d6f113543
Fixes bug that shows your own posts in every user page
2021-01-05 11:16:24 -08:00
Mouse Reeve
11212401a0
Add created date and sorting to invites
2021-01-05 11:08:24 -08:00
Mouse Reeve
7c34889586
Fixes html formatting for registration closed text
2021-01-05 10:46:07 -08:00
Mouse Reeve
ff9caf3d51
Fixes migration version numbering
2021-01-04 21:39:57 -08:00
Mouse Reeve
cc44331073
activity feed should handle looged out users
2021-01-04 19:47:22 -08:00
Mouse Reeve
35696934da
refactors get_activity_feed function
...
is it better? idk
2021-01-04 19:30:05 -08:00
Mouse Reeve
8301bec4ff
Use accurate review count
2021-01-04 17:59:46 -08:00
Mouse Reeve
a0a8ad508a
Book page filters ratings with empty string content
2021-01-04 17:55:29 -08:00
Mouse Reeve
1046aa7ad2
Re-organizes metadata on book page
2021-01-04 17:42:02 -08:00
Mouse Reeve
89e2e75c0b
Only show rate action for logged in users
2021-01-04 16:50:58 -08:00
Mouse Reeve
10523e38e8
Updates fields in edit book form
2021-01-04 16:42:28 -08:00
Mouse Reeve
35e2410642
Show series in book page
2021-01-04 16:33:45 -08:00
Mouse Reeve
a73f51ad78
Merge branch 'main' into review-rate
2021-01-04 13:42:39 -08:00
Mouse Reeve
0f4a30324e
Makes more about instance text customizable
2021-01-04 12:58:31 -08:00
Mouse Reeve
0c0e9bebdf
Use uploaded logos in templates
2021-01-04 12:47:10 -08:00
Mouse Reeve
7cc2dfe517
Merge branch 'main' into logo-default
2021-01-04 12:18:40 -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
81e60cea16
Fixes login form
2021-01-04 11:14:07 -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
34e9847da3
Still need to remove validator arg in username field
2021-01-04 09:40:23 -08:00
Mouse Reeve
d8eb3454d6
Fixes null value in status attachment array
2021-01-03 20:03:35 -08:00
Mouse Reeve
b608e36946
Filter books for discover page for privacy
2021-01-03 15:44:07 -08:00
Mouse Reeve
c0bd0736d3
Hide join button when registration is closed
2021-01-03 15:41:20 -08:00
Mouse Reeve
6668f54889
Fixes openlibrary test and navbar hover aria unfurl
2021-01-03 14:41:10 -08:00
Mouse Reeve
eec3e6c4b4
Hide top bar login form on login page
2021-01-03 14:35:28 -08:00
Mouse Reeve
7242adadaa
Hide login form for authenticated users
2021-01-03 14:31:32 -08:00
Mouse Reeve
0247f89c0b
Use recent reviews instead of most reviewed books
2021-01-03 14:28:28 -08:00
Mouse Reeve
8e923d6333
User container class in layout
2021-01-03 12:53:51 -08:00
Mouse Reeve
e3fa0afa9a
Hide large logo on mobile
2021-01-03 11:52:37 -08:00
Mouse Reeve
721d20efab
Creates snippets for discover preview boxes
2021-01-03 11:24:26 -08:00
Mouse Reeve
ef42d29bd9
Discovery landing page
2021-01-03 11:10:04 -08:00
Mouse Reeve
04eb518633
Make the top bar dropdown accessible to NVDA screenreaders
...
plus, it's just better for this to be a ul
2021-01-03 10:03:57 -08:00
Mouse Reeve
18e0347077
Merge pull request #470 from mouse-reeve/duplicate-replies-in-feed
...
Fixes replies showing up twice in feed
2021-01-03 08:32:01 -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
4d4b27e844
Fixes replies showing up twice in feed
2021-01-03 08:17:00 -08:00
Mouse Reeve
e54e1f2459
Tests user search
2021-01-03 07:57:57 -08:00
Mouse Reeve
b5ce7a0c25
Search on username and localname in user search
2021-01-03 07:48: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
a413c87963
Separate search for unique identifiers out from text search
2021-01-02 15:58:25 -08:00
Mouse Reeve
a2e8cf1993
Return best matching edition instead of default in search
2021-01-02 15:15:25 -08:00
Mouse Reeve
afa1921968
Deduplicates search results
2021-01-02 14:33:01 -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
8c8aae2c92
Check if a book is already shelved after import
2021-01-02 12:08:30 -08:00
Mouse Reeve
3344eed3b9
Tests for goodreads import lookup
2021-01-02 11:35:56 -08:00
Mouse Reeve
97b56e9bc2
Removes references to max entries in views
2021-01-02 09:45:51 -08:00
Mouse Reeve
204967e421
Adds tests file for goodreads import
2021-01-02 09:42:50 -08:00
Mouse Reeve
1f5d95e2be
Removes import limit
2021-01-02 09:42:33 -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
e169565e00
Makes expanding book data fully part of the connector
2021-01-02 07:45:45 -08:00
Mouse Reeve
dad202823a
Moves review re-structing into separate migration
2021-01-01 15:37:32 -08:00
Mouse Reeve
385ec4d70a
Adds ReviewRating model
...
I can't just calling Rating because that would clash with the rating
field
2021-01-01 11:51:52 -08:00
Mouse Reeve
fc8f43273e
Merge pull request #459 from mouse-reeve/status-model-files
...
Moves models that don't inherit Status to their own files
2021-01-01 11:23:23 -08:00
Mouse Reeve
521934b4f3
Moves models that don't inherit Status to their own files
2021-01-01 10:46:15 -08:00
Mouse Reeve
bb5ae850e1
Mention users implicitly (without needing @mentions)
2021-01-01 09:35:14 -08:00
Mouse Reeve
b3449040d9
Fixes server error posting status
2021-01-01 07:27:56 -08:00
Mouse Reeve
1246042c12
move some code around for readability
2020-12-31 16:30:04 -08:00
Mouse Reeve
c5a3e57bb4
Script for removing duplicates in book data
2020-12-31 16:03:54 -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
2f9123c206
Add sort order to followers/following ordered collection querysets
2020-12-31 13:47:26 -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
7bcf0a1d53
Fixes missing code for editions list json
2020-12-31 07:46:35 -08:00
Mouse Reeve
17b9c6ecc5
Adds label to reply textarea
2020-12-30 17:38:38 -08:00
Mouse Reeve
dc68fdd53e
User generated local paths
2020-12-30 17:36:35 -08:00
Mouse Reeve
d821a08cff
include tags in replies
...
I was against this but apparently it helps the replies actually WORK
2020-12-30 16:33:04 -08:00
Mouse Reeve
d42ebbaf4a
Link to local versions of statuses in notifications
2020-12-30 16:10:32 -08:00
Mouse Reeve
885bb023a3
Sort shelves by shelfbook updated date
2020-12-30 16:07:29 -08:00
Mouse Reeve
670036f8a9
Fixes user preview on rating display
2020-12-30 15:52:17 -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
45c13bd76c
Only get reviews when loading user data
2020-12-30 13:16:09 -08:00
Mouse Reeve
c1243b5c21
Makes outbox filter-able
2020-12-30 13:14:16 -08:00
Mouse Reeve
747167c579
Merge pull request #439 from mouse-reeve/filter-outbox
...
Updates outbox
2020-12-30 13:13:47 -08:00
Mouse Reeve
2e36da3f9e
Merge pull request #438 from mouse-reeve/accept-button-color
...
Makes follow request button a different color than an unread notification
2020-12-30 12:44:18 -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
b71eda6e38
Merge pull request #434 from renatolond/activitypub/use_activitypub_content_type
...
Create a ActivitypubResponse class and use it in the views
2020-12-30 12:37:04 -08:00
Renato "Lond" Cerqueira
44a8184f72
Create a ActivitypubResponse class and use it in the views
...
This improves compatibility with other fediverse software by using the
expected content type for any api calls.
2020-12-30 21:25:28 +01: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
e290dec035
Merge pull request #437 from mouse-reeve/version-setting
...
Set application version number in settings
2020-12-30 12:16:47 -08:00
Mouse Reeve
8bb7a081c2
Makes follow request button a different color than an unread
...
notification
Fixes #420
2020-12-30 12:12:32 -08:00
Mouse Reeve
e0adb3307b
Gracefully handle unknown status types
...
Fixes #432
2020-12-30 12:05:20 -08:00
Mouse Reeve
5623c268d6
Set application version number in settings
2020-12-30 11:55:13 -08:00
Mouse Reeve
d3161ea361
Send appropriate error codes back with error pages
2020-12-30 11:42:07 -08:00
Mouse Reeve
490591623f
Adds test for search view
2020-12-30 11:37:49 -08:00
Mouse Reeve
e5a914c3c2
Fixes API search causing 500 error
2020-12-30 11:37:26 -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
d7db6d50ba
Log errors in conenctor search
2020-12-30 09:14:07 -08:00
Mouse Reeve
21f67c9e28
Catch error response decoding json in search connector
2020-12-30 09:11:00 -08:00
Renato "Lond" Cerqueira
fb10cb35ad
Add BookWyrm user-agent to http requests
...
This allows other software to identify BookWyrm in calls, as well as
will allow BookWyrm to differentiate between calls done from other
fediverse software and BookWyrm to answer with specific BookWyrm data.
2020-12-30 12:36:50 +01: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
26c0880fe4
Merge pull request #425 from mouse-reeve/import-error
...
Fixes goodreads import failing on every book
2020-12-27 14:45:31 -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
Anton Strömkvist
97a5364b70
Fix docstring for to_reject_activity
2020-12-27 23:31:14 +01:00
Mouse Reeve
9f74e95b00
stylistic cleanup of import model tests
2020-12-27 13:32:27 -08:00
Mouse Reeve
e89bfdc572
Makes registration user/localname fields more sensible
2020-12-24 11:39:57 -08:00
Mouse Reeve
25d72c5d1e
Save attachments on incoming statuses
2020-12-23 13:38:36 -08:00
Mouse Reeve
365408e86b
Handle reverse serialized fields with no serialized field
2020-12-23 13:33:46 -08:00
Mouse Reeve
a3df0847e1
Fixes celery tasks expanding data not setting many to many fields
2020-12-23 12:45:40 -08:00
Mouse Reeve
e7e90360b3
Adds model import
2020-12-22 10:28:04 -08:00
Mouse Reeve
c34d90051f
Merge pull request #416 from mouse-reeve/book-data-model
...
Remove sync fields and share fields between book and author
2020-12-22 10:25:12 -08:00
Mouse Reeve
9977fed007
Merge pull request #419 from mouse-reeve/close-suggested-post
...
Close suggested post
2020-12-22 10:23:23 -08:00
Mouse Reeve
7c3f2373c7
Adds noopener to link
2020-12-22 10:19:01 -08:00
Mouse Reeve
f2f2f3dd3e
Remove useless if/else on null state radio button
2020-12-22 10:12:41 -08:00
Mouse Reeve
7d1cbb7be1
Adds tests for edit author view
2020-12-22 10:10:36 -08:00
Mouse Reeve
77948f64d2
Merge branch 'main' into book-data-model
2020-12-22 09:29:32 -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
25dee8362d
Adds edit author form and stores last edited by
2020-12-22 09:26:55 -08:00
Mouse Reeve
fd2f452b46
Adds title along with alt attributes on images
2020-12-22 08:26:02 -08:00
Mouse Reeve
fdbce5d05e
Adds close button to suggested post window on mobile
2020-12-22 08:21:43 -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
830aaf9d1c
Add identifier fields to author activity
2020-12-21 13:21:17 -08:00
Mouse Reeve
15c22fa6c9
Merge branch 'main' into book-data-model
2020-12-21 13:16:40 -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
bcb972ddf7
Merge pull request #414 from mouse-reeve/openlibrary-covers
...
Fixes openlibrary import to prefer editions with covers
2020-12-21 12:45:09 -08:00
Mouse Reeve
862f1d2580
Fixes cover unit test
2020-12-21 12:22:47 -08:00
Mouse Reeve
cfa1a1b42c
Remove sync fields and share fields between book and author
2020-12-21 12:17:18 -08:00
Mouse Reeve
aac264c998
Generate author_text field dynamically
2020-12-21 12:10:42 -08:00
Mouse Reeve
c3d0e8e7f7
Fixes openlibrary import to prefer editions with covers
2020-12-21 11:47:47 -08:00
Mouse Reeve
c4b9b82000
Use author name as a deduplication field
...
I feel iffy about this but openlibrary has hella duplicates
2020-12-20 13:31:11 -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
3597ca460c
Don't let author and book remote ids get overridden
2020-12-20 12:40:20 -08:00
Mouse Reeve
23cbeab4c1
cleans up remote version of quote status
2020-12-20 12:31:39 -08:00
Mouse Reeve
689cc65790
keep saved version of bio and description field as markdown
2020-12-20 12:24:17 -08:00
Mouse Reeve
60738011a2
user's name and bio field are optional
...
get it together, mouse
2020-12-20 12:09:19 -08:00
Mouse Reeve
7f1ac33859
Format html on book descriptions
2020-12-20 12:09:13 -08:00
Mouse Reeve
646df03d81
show books for authors who only have editions
2020-12-20 11:51:17 -08:00
Mouse Reeve
3f95f9257d
Merge pull request #411 from mouse-reeve/markdown-refinement
...
Only parse mardown on outgoing activities
2020-12-20 11:42:06 -08:00
Mouse Reeve
a6efd51bb2
Only parse mardown on outgoing activities
2020-12-20 11:38:13 -08:00
Mouse Reeve
fdb9b71030
Merge pull request #410 from mouse-reeve/atomicity
...
Change transaction atomic to avoid cascading errors
2020-12-20 11:24:37 -08:00
Mouse Reeve
592721ec76
Fixes unit tests
2020-12-19 20:26:29 -08:00
Mouse Reeve
ffa354be7c
html format links and mentions
2020-12-19 20:03:33 -08:00
Mouse Reeve
ef696782ab
Allow markdown in html fields
2020-12-19 18:54:56 -08:00
Mouse Reeve
1204679cbd
Change transaction atomic to avoid cascading errors
2020-12-19 18:34:37 -08:00
Mouse Reeve
c407015a82
Fixes tests
2020-12-19 16:33:56 -08:00
Mouse Reeve
3e61f48da2
Fixes loading more data
2020-12-19 16:16:39 -08:00
Mouse Reeve
d3671d981f
Use author activitypub in OL connector
2020-12-19 15:20:31 -08:00
Mouse Reeve
2128219b05
Use activitypub to_model de-serializer in openlibrary connector
2020-12-19 14:56:03 -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
40c4f4f5de
Disable boosting private statuses
2020-12-18 09:30:08 -08:00
Mouse Reeve
3649642653
Show all authors
2020-12-17 15:14:52 -08:00
Mouse Reeve
be43e0772c
box around create status on feed page
2020-12-17 14:13:28 -08:00
Mouse Reeve
73f94a76d2
Show subtitle in book page
2020-12-17 14:11:24 -08:00
Mouse Reeve
6149f36c7f
Fixes bug in alt text breaing serializing work
2020-12-17 13:55:31 -08:00
Mouse Reeve
d024d44b79
Fixes incoming tests
2020-12-17 13:46:32 -08:00
Mouse Reeve
c4c01f4950
Merge pull request #404 from mouse-reeve/rate-action
...
Rate action
2020-12-17 13:25:35 -08:00
Mouse Reeve
666ae117d2
Merge pull request #403 from mouse-reeve/cover-max-width
...
Set max width on cover container
2020-12-17 13:24:49 -08:00
Mouse Reeve
d109ac0626
Merge pull request #402 from mouse-reeve/alt-text
...
Federate cover alt text
2020-12-17 13:22:09 -08:00
Mouse Reeve
5cadd48aef
Fixes rate action
2020-12-17 13:21:21 -08:00
Mouse Reeve
dccd9ac052
uuids for content warners loaded correctly
2020-12-17 13:14:44 -08:00
Mouse Reeve
60239c867a
Updates unit tests
2020-12-17 13:06:17 -08:00
Mouse Reeve
3f1bf4e1d6
Set max width on cover container
2020-12-17 12:57:56 -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
04ba5abf45
Fixes infinite recursion when loading books
...
Also fixes bug in serializing page nubmers
2020-12-17 12:02:59 -08:00
Mouse Reeve
2799ed68e3
Propogate content warning from parent
2020-12-17 11:32:09 -08:00
Mouse Reeve
34a2afc788
Change text on cw button
2020-12-17 11:05:37 -08:00
Mouse Reeve
172c36b641
Adds content warning field in status forms
2020-12-16 20:10:50 -08:00
Mouse Reeve
0d42b9cf8f
Display status cw's
2020-12-16 19:50:36 -08:00
Mouse Reeve
b796686483
Adds cw field
2020-12-16 19:20:15 -08:00
Mouse Reeve
33c2f6c3b2
Merge branch 'main' into content-warnings
2020-12-16 19:14:34 -08:00
Mouse Reeve
f0767de363
Merge pull request #394 from mouse-reeve/sanitize-html
...
Sanitize html
2020-12-16 19:12:37 -08:00
Mouse Reeve
f7cb525981
Fixes logic error
2020-12-16 18:40:43 -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
f1926ce76d
Avoid duplicate notifitions
...
And render html
2020-12-16 16:20:40 -08:00
Mouse Reeve
d79a756813
Fixes pure status serializer
2020-12-16 15:59:42 -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
21b0bec8d7
Switch edition from editions list page
2020-12-16 14:45:35 -08:00
Mouse Reeve
8a1800ea26
Federate shelve activities when switching editions
2020-12-16 13:59:18 -08:00
Mouse Reeve
5dbacb3524
Merge branch 'main' into switch-edition
2020-12-16 09:22:04 -08:00
Mouse Reeve
b2c1bc1481
Migration consistency
2020-12-16 09:20:24 -08:00
Mouse Reeve
729e50de63
Show consistent book status regardless of edition
2020-12-16 09:15:26 -08:00
Mouse Reeve
da05b99bb8
Fixes incoming shelve activity
2020-12-15 18:57:17 -08:00
Mouse Reeve
948e938040
Handles outdated Add with Book type
...
should be edition.
2020-12-15 18:16:33 -08:00
Mouse Reeve
af823cf645
Merge migration
2020-12-15 17:53:20 -08:00
Mouse Reeve
fabf880a94
Adds post attribute to resolve book endpoint
2020-12-15 16:50:10 -08:00
Mouse Reeve
bde75766f2
test for registration and password reset
2020-12-15 16:36:22 -08:00
Mouse Reeve
710fbc949b
Better username validator and remove trailing whitespace
2020-12-15 15:52: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
61041a0dba
Adds migration for privacy field
...
no actual change here, but it's a new field type
2020-12-13 21:11:53 -08:00
Mouse Reeve
b36eaef172
Merge branch 'main' into switch-edition
2020-12-13 21:10:37 -08:00
Mouse Reeve
693dfc42ac
Match privacy level in reply
2020-12-13 16:20:59 -08:00
Mouse Reeve
943d97c0bc
Adds direct messages UI
2020-12-13 16:17: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
5c7ac46116
Fixes foreign key field setting wrong value on activity
2020-12-13 14:53:25 -08:00
Mouse Reeve
44cbf7c07f
Fixes checking privacy when serializing status
2020-12-13 14:35:56 -08:00
Mouse Reeve
b6907f39e9
Creates Privacy field that handles setting to/cc
2020-12-13 13:03:17 -08:00
Mouse Reeve
c470aeb3ce
Create helper function on field for settings values
2020-12-13 12:02:26 -08:00
Mouse Reeve
b67aea22fc
Aggregates (de)serializable model fields
2020-12-13 11:40:46 -08:00
Mouse Reeve
957f0889aa
Clean up models
...
removes unused function and sorts replies correctly
2020-12-13 11:15:42 -08:00
Mouse Reeve
d65657882e
Keep any status that mentions a local user
2020-12-12 21:11:51 -08:00
Mouse Reeve
ffc4cc2018
Fixes create status handler
2020-12-12 20:59:41 -08:00
Mouse Reeve
d3371991e1
Remove deleted util file from migrations
2020-12-12 20:18:03 -08:00
Mouse Reeve
ae435a3165
Removes sqlite support 😢
...
RIP, things have gotten too complicated for this I think
2020-12-12 20:11:23 -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
1e08eeb4c2
Renames custom template tags file
2020-12-12 18:25:57 -08:00
Mouse Reeve
2b3daa0227
disable some warnings
2020-12-12 18:13:00 -08:00
Mouse Reeve
1e01e76ac2
removes unneeded imports
2020-12-12 18:06:48 -08:00
Mouse Reeve
aacf5b7ba4
fields for content warnings
2020-12-12 18:00:39 -08:00
Mouse Reeve
823da2e7de
Re-create migration
2020-12-12 16:14:41 -08:00
Mouse Reeve
ae07bbffb7
Merge branch 'main' into logo-default
2020-12-12 16:03:23 -08:00
Mouse Reeve
9b7f0366e7
Adds site settings to initdb
2020-12-12 16:01:43 -08:00
Mouse Reeve
e58ef83f20
Fixes image fields breaking user import
2020-12-12 15:44:17 -08:00
Mouse Reeve
37aaaa97b2
Catch http erros for remote_id
2020-12-12 15:33:07 -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
eb28708230
Reverts site settings to correct state
...
this was just changed to debug tests
2020-12-12 14:33:51 -08:00
Mouse Reeve
e7f400533e
Fixes missing book and user objects
2020-12-12 14:15:10 -08:00
Mouse Reeve
4ed713662e
Fixes skipping refresh on matched object
2020-12-12 13:59:44 -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
5cf9e24ae5
Fixes name import in openlibrary
2020-12-12 09:43:07 -08:00
Mouse Reeve
a176c6cd35
Creates merge migration
2020-12-12 09:38:05 -08:00
Mouse Reeve
801b6c3a77
Merge branch 'main' into follow-remote-ids
2020-12-12 09:34:54 -08:00
Mouse Reeve
733e0e19ac
Don't show boost and original status in timeline
...
Fixes #381
2020-12-11 17:39:17 -08:00
Mouse Reeve
716068474e
Merge branch 'main' into switch-edition
2020-12-11 16:59:59 -08:00
Mouse Reeve
2d7f8ada61
Functional switch editions button
2020-12-11 16:57:38 -08:00
Mouse Reeve
72eb94315a
Adds shelf info to book page
...
- includes change shelf button
- WIP button for switching to the current edition
2020-12-11 16:40:48 -08:00
Mouse Reeve
e2bc751ee4
Merge pull request #380 from mouse-reeve/site-settings
...
Site settings
2020-12-11 12:50:21 -08:00
Mouse Reeve
117d243577
Expand site settings and add footer
2020-12-11 12:31:02 -08:00
Mouse Reeve
b33ea40da2
Use context processor to include site settings in templates
2020-12-11 12:07:37 -08:00
Mouse Reeve
adbc8c3f4c
Preview statuses in notifications
...
Fixes #363
2020-12-11 11:26:34 -08:00
Mouse Reeve
7204068d2a
Removes unnecessary override of field_from_activity on foreign key
2020-12-09 13:35:36 -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
cc42e9d149
Asyncronously set related fields
2020-12-08 09:43:12 -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
Mouse Reeve
74ac8d60f8
Starts adding tests for base_activity
...
includes init and find_existing_by_remote_id
2020-12-07 10:32:31 -08:00
Mouse Reeve
4599df752d
Adds tests for many to many field deserialization
2020-12-07 09:31:12 -08:00
Mouse Reeve
69bb3f2751
Fixes validation error in many to many field deserializer
2020-12-07 09:14:30 -08:00
Mouse Reeve
7a90aa8f6c
Start moving serializing from to_model to fields
2020-12-05 21:33:48 -08:00
Mouse Reeve
8500a7cfe1
Unit test fails in CI but not local
2020-12-05 15:38:12 -08:00
Mouse Reeve
ef1558628f
Fixes transient failure in image field test
2020-12-05 14:48:47 -08:00
Mouse Reeve
05cde33a0c
Adds tests for remaining nontrivial model fields
2020-12-05 14:42:54 -08:00
Mouse Reeve
8a900689d3
Generalizes link format in many to many field
2020-12-04 17:57:14 -08:00
Mouse Reeve
f116ce378d
Fixes foreign key test
2020-12-04 17:42:41 -08:00
Mouse Reeve
aa6e312cfb
Starts adding tests for custom model fields
2020-12-04 17:38:39 -08:00
Mouse Reeve
142a39cf55
Updates remote user when refreshing key
2020-12-04 16:26:07 -08:00
Mouse Reeve
9c9da35d9a
Tests base_model to_activity
2020-12-04 15:14:26 -08:00
Mouse Reeve
800ddf2a6b
fixes inconsistency in to_undo activity helper
2020-12-04 11:53:50 -08:00
Mouse Reeve
39307ce1cd
Fixes remote_id on Update activities
2020-12-04 11:48:34 -08:00
Mouse Reeve
2e4aff90a3
Fixes signing Create activities
...
and some tests for the base_model
2020-12-04 11:29:38 -08:00
Mouse Reeve
9989641f4c
fixes bug in update user public key
2020-12-04 09:46:40 -08:00
Mouse Reeve
1ae3830ae4
Removes test state of signatures
2020-12-04 08:42:34 -08:00
Mouse Reeve
de6147ecfa
Ignore many to many activitypub serialization of non-lists
2020-12-04 08:29:54 -08:00
Mouse Reeve
ae8d0e1974
Adds sort order for outbox
2020-12-04 08:07:47 -08:00
Mouse Reeve
d92fb53333
Handle absent remote ids
...
it oughtent get to this state, but...
2020-12-03 17:23:08 -08:00
Mouse Reeve
646ced80ce
Test fixes
2020-12-03 17:18:23 -08:00
Mouse Reeve
bbbfbe721e
Removes update user test
2020-12-03 16:23:13 -08:00
Mouse Reeve
27c45c0584
Catch json decode error in loading data
2020-12-03 13:42:02 -08:00
Mouse Reeve
b1640c5dc9
Sets mocks up for incoming tests
2020-12-03 13:35:51 -08:00
Mouse Reeve
9c6db1cc0e
Updates connector tests
2020-12-03 13:22:50 -08:00
Mouse Reeve
de7e64932a
Fixes name of book field on status
2020-12-03 13:15:05 -08:00
Mouse Reeve
3a75127301
Removes half-baked field serializers
2020-12-03 13:00:04 -08:00
Mouse Reeve
e87236d78f
Remove unnecessary user create action
2020-12-03 12:57:44 -08:00
Mouse Reeve
6d137ccada
mock celery task in test signing
2020-12-03 12:50:21 -08:00
Mouse Reeve
77a1fc26f1
Save key pair when creating new User
2020-12-03 12:45:01 -08:00
Mouse Reeve
a85043b351
Updates to_model to use fields
2020-12-03 12:35:57 -08:00
Mouse Reeve
8fb8e93e37
Merge pull request #375 from mouse-reeve/username-regex
...
Allow usernames with dots
2020-12-02 15:27:03 -08:00
Mouse Reeve
2cf73188f2
fixes localname regex
2020-12-02 15:24:43 -08:00
Mouse Reeve
b5e92fe65e
Allow usernames with dots
2020-12-02 15:21:15 -08:00
Mouse Reeve
d7e9a00cf1
Fixes password reset flow
2020-12-02 15:19:29 -08:00
Mouse Reeve
1610d81ce6
fixes some of the signing test issues
2020-11-30 19:53:42 -08:00
Mouse Reeve
fee5846aa8
Fixes generating new key paris for user
...
and the broadcast test
2020-11-30 19:33:50 -08:00
Mouse Reeve
eb6206252d
cleans up ordered collection mixin
2020-11-30 19:24:31 -08:00
Mouse Reeve
1ec2f20486
avoid naming clash is to_activity for field vs model
2020-11-30 14:54:45 -08:00
Mouse Reeve
77aead722d
serialize book and author models
2020-11-30 14:40:26 -08:00
Mouse Reeve
3966c84e08
Updates status model and serializer
2020-11-30 14:24:31 -08:00
Mouse Reeve
8bc0a57bd4
Remove outdated user fields
2020-11-30 11:40:04 -08:00
Mouse Reeve
74a58e5267
Use custom model fields in user model
2020-11-30 10:32:29 -08:00
Mouse Reeve
96563598bf
mock celery tasks for broadcast tests
2020-11-29 10:13:30 -08:00
Mouse Reeve
205fa0d465
set user's remote server in a celery task
2020-11-29 10:08:19 -08:00
Mouse Reeve
9ddd60ce16
Fixes broadcast tests
2020-11-29 09:40:15 -08:00
Mouse Reeve
e9be31e9c1
merge migrations
2020-11-28 19:06:40 -08:00
Mouse Reeve
d8fdc66450
removes outdated update book code
2020-11-28 19:03:37 -08:00
Mouse Reeve
c9433a3c7e
Simplify bookwyrm connector abstract
2020-11-28 18:56:28 -08:00
Mouse Reeve
9d84346d3c
remove need for get_or_create_book
2020-11-28 18:46:50 -08:00
Mouse Reeve
34e8fb3e5c
style fix and removing stray print statement
2020-11-28 18:28:09 -08:00
Mouse Reeve
1789b091d6
not all that better way to distinguish add book to shelf vs tag
2020-11-28 18:23:34 -08:00
Mouse Reeve
b4fe9f160f
Correctly look up books by remote/origin id
2020-11-28 18:11:52 -08:00
Mouse Reeve
dfd730757d
handle unset default editions
2020-11-28 17:42:09 -08:00
Mouse Reeve
72c7829bab
Preserve remote_id syntax for authors and books
2020-11-28 17:29:03 -08:00
Mouse Reeve
7ed2e310c0
User origin ids for books and authors
2020-11-28 13:40:09 -08:00
Mouse Reeve
1483b0b62c
Merge branch 'main' into follow-remote-ids
2020-11-28 13:14:53 -08:00
Mouse Reeve
0a8ef98854
use localized remote_ids for books
2020-11-28 13:14:18 -08:00
Mouse Reeve
421a13fda0
automatically load authors and editions
2020-11-28 13:00:04 -08:00
Mouse Reeve
e99394e6f7
User serializer to create follow request
2020-11-28 12:25:53 -08:00
Mouse Reeve
76ce20a5e0
Fixes tests
2020-11-28 11:52:00 -08:00
Mouse Reeve
b0202eb8e8
Remove special remote user handling code
...
also fixes date parsing
2020-11-28 11:48:17 -08:00
Joel Bradshaw
7fadbeeb55
Merge branch 'main' into progress_update
2020-11-28 11:06:01 -08:00
Mouse Reeve
fd7e476c9b
refactors tag model to fit ordered collection structure
2020-11-28 11:04:54 -08:00
Mouse Reeve
a93b5cf5bc
Use remote_id resolver to load books, user
2020-11-28 10:18:24 -08:00
Mouse Reeve
e0fec9f570
fixes incorrect decorators
2020-11-28 09:17:24 -08:00
Mouse Reeve
81bdd2b3f1
Merge branch 'main' into follow-remote-ids
2020-11-28 08:40:37 -08:00
Mouse Reeve
1c8a0c942a
Merge branch 'main' into quick-add-description
2020-11-28 08:36:46 -08:00
Mouse Reeve
b2ca67a67c
Make adding a description require edit perms
2020-11-28 08:29:55 -08:00
Mouse Reeve
9c33d0ebfa
use require_GET decorator
2020-11-28 08:22:25 -08:00
Mouse Reeve
78fa949237
Inline form to add description to book
2020-11-28 07:55:31 -08:00
Joel Bradshaw
a951f20ff6
Add a couple forgotten files
2020-11-28 00:36:01 -08:00
Joel Bradshaw
500f05266a
Add option for progress percentage
...
And rework display on book page as well
2020-11-28 00:07:04 -08:00
Mouse Reeve
ebb82287c2
First pass at recursively resolving foreign keys
2020-11-27 22:10:38 -08:00
Mouse Reeve
5638597112
Fixes errors caught in tests
2020-11-27 20:27:56 -08:00
Mouse Reeve
86cbb3edbd
Merge branch 'main' into activitypub-cleanup
2020-11-27 20:13:32 -08:00
Mouse Reeve
4626d94ab9
handle image attachments recursively
2020-11-27 20:11:46 -08:00
Mouse Reeve
2480690378
Automatically handle image fields in model serializer
2020-11-27 18:26:07 -08:00
Joel Bradshaw
9ed7d23000
Test updating a progress
...
Also remove spurious whitespace change
2020-11-27 18:19:12 -08:00
Joel Bradshaw
6455cc7fe9
Add initial tests and some fixes
...
Make timezones aware, and create a progress update if we can upon
starting a readthrough
2020-11-27 18:16:13 -08:00
Mouse Reeve
4ae785a7f7
move image activity to its own file
2020-11-27 17:59:46 -08:00
Mouse Reeve
624ff71a11
Makes attachment Images a serializable class
2020-11-27 17:20:01 -08:00
Joel Bradshaw
3cb28273c4
Merge branch 'main' into progress_update
2020-11-27 17:05:54 -08:00
Joel Bradshaw
d8b2afff3d
Replace naive datetimes with aware ones
2020-11-27 16:35:03 -08:00
Joel Bradshaw
5f2ac6d961
Rename fr_* to bw_*
2020-11-27 16:12:47 -08:00
Joel Bradshaw
3b0b8f16f6
Merge migration branches
...
Also add $@ to bw-dev migrations, and factor the shift 1 out
2020-11-27 16:08:04 -08:00
Joel Bradshaw
85026b837c
Merge branch 'main' into progress_update
2020-11-27 15:52:55 -08:00
Mouse Reeve
69a6644011
Corrects activitypub fields to camelcase in Book
2020-11-27 15:34:47 -08:00
Mouse Reeve
7b6035898b
Serialize activitypub authors from data in connector
2020-11-27 14:54:08 -08:00
Mouse Reeve
f593970332
Merge branch 'main' into refactor-bookwyrm-connector
2020-11-27 14:26:02 -08:00
Mouse Reeve
9e48328e9e
Mocks broadcast task for outgoing shelve tests
2020-11-27 14:18:45 -08:00
Mouse Reeve
4ec557fc5d
fixes unit tests for incoming and outgoing follows
2020-11-27 14:15:13 -08:00
Mouse Reeve
f173d674ac
Mock fetch_user function which makes http request
2020-11-27 13:53:38 -08:00
Mouse Reeve
a8f3ddec05
Trying to avoid issues from execusing http requests
2020-11-27 13:39:33 -08:00
Mouse Reeve
829615cdd7
Fixes celery mocks on more signature unit tests
2020-11-27 13:18:10 -08:00
Mouse Reeve
73279d65d7
Fix test remote signer and comment out failing tests
2020-11-27 13:08:01 -08:00
Mouse Reeve
48ab993861
Mocks celery task for follow request
2020-11-27 13:02:26 -08:00
Mouse Reeve
0c01af4042
Another nondeterministic list order problem
2020-11-27 12:42:01 -08:00
Mouse Reeve
44a0ef3b0b
Fixes nondeterministic order of query causing test failure
2020-11-27 12:25:01 -08:00
Mouse Reeve
257a29dcfd
Comment out failing tests
...
Obviously this is not a SOLUTION, it's an intermediary step in resolving
the redis dependency issues. this PR isn't mergable until the tests are
restored.
2020-11-27 11:53:30 -08:00
Joel Bradshaw
97e49c4bd2
Undo stray css edit
2020-11-25 23:12:05 -08:00
Joel Bradshaw
692aa08364
Remove unneeded class, wrap line
2020-11-25 23:11:30 -08:00
Joel Bradshaw
64fb88cc10
ProgressUpdate doesn't need its own date field
...
Just use the base model's created_date
2020-11-25 23:03:32 -08:00
Joel Bradshaw
090cf2aea7
Make inline progress form actually work
2020-11-25 23:03:27 -08:00
Joel Bradshaw
e7c0368168
PR feedback
2020-11-25 22:36:55 -08:00
Mouse Reeve
9b79eb5fc3
Removes outdated test of bookwyrm connector updater
2020-11-25 11:44:19 -08:00
Mouse Reeve
4f6ce0307d
fixes import in abstract connector unit test
2020-11-25 11:24:36 -08:00
Mouse Reeve
0ec40ae748
Merge branch 'main' into refactor-bookwyrm-connector
2020-11-25 11:21:13 -08:00
Mouse Reeve
aed360d07e
Fixes serializer handling default dataclass fields
2020-11-25 11:16:01 -08:00
Mouse Reeve
9b57cfd331
Fixes default lists on activitypub dataclasses
2020-11-25 10:45:39 -08:00
Mouse Reeve
641ac22786
remove outdated tests
2020-11-24 16:26:28 -08:00
Mouse Reeve
847014720e
Refactors bookwyrm connector to use activitypub serializer
2020-11-24 16:05:00 -08:00
Mouse Reeve
7b4847852a
Merge migrations manually
2020-11-24 13:42:47 -08:00
Mouse Reeve
3dc0fc7e8f
Merge branch 'main' into edit-books-erros
2020-11-24 13:40:53 -08:00
Mouse Reeve
1fd498c306
Display error messages in edit book form
2020-11-24 13:37:35 -08:00
Mouse Reeve
9bbedc5d9a
Fixes field causing form invalidation when editing books
2020-11-24 13:25:58 -08:00
Mouse Reeve
6cc1e241fe
display images at a reasonable size
2020-11-24 12:07:00 -08:00
Mouse Reeve
ff5a0f7bc2
Adds alt text to status images
2020-11-24 11:44:13 -08:00
Mouse Reeve
45a0bd79fd
Very basic image display
2020-11-24 11:28:17 -08:00
Mouse Reeve
ad7ce6595b
Receive and save incoming images
2020-11-24 11:25:07 -08:00
Mouse Reeve
88e4705717
Use attachment database table
2020-11-23 20:42:05 -08:00
Mouse Reeve
17fca8181b
Simplify user creation code
2020-11-23 13:50:14 -08:00
Mouse Reeve
e2debd855c
Convert activitypub Image into model ImageField
2020-11-23 13:43:46 -08:00
Mouse Reeve
5526b4773e
Formatter for converting model images to AP Images
...
Replaces reduntant properties on user and book models
2020-11-23 13:07:26 -08:00
Mouse Reeve
dab0aeffb2
Adds image attachment field to status model
2020-11-23 12:48:41 -08:00
Mouse Reeve
56638f79cf
Merge pull request #359 from mouse-reeve/activity-tags
...
Serialize and deserialize activitypub "Tags" on statuses
2020-11-22 09:35:19 -08:00
Mouse Reeve
5e34d136fd
Merge pull request #361 from cincodenada/fix-navbar
...
Fix navbar on mobile, make search an addon
2020-11-20 21:51:33 -08:00
Joel Bradshaw
f57d9ee45d
Rework to use bulma better
2020-11-20 21:45:12 -08:00
Joel Bradshaw
df2dc5a8a1
Remove placebo class
...
is-third-mobile was the wrong class, it turns out just column is what
was making it work like I wanted it to
2020-11-20 21:27:50 -08:00
Joel Bradshaw
8945e70e42
Fix navbar on mobile, make search an addon
...
In reading up on Bulma I found the has-addons option which is a nice
touch, I think
2020-11-20 21:19:26 -08:00
Mouse Reeve
56b6fb9c97
Merge pull request #360 from mouse-reeve/shelve_buttons
...
Fixes unset active shelf in shelve button pulldown
2020-11-20 21:18:28 -08:00
Mouse Reeve
448efff648
Fixes unset active shelf in shelve button pulldown
2020-11-20 10:05:37 -08:00
Mouse Reeve
9a55dba315
Special handling for setting many to many fields in serializer
2020-11-20 09:59:55 -08:00
Mouse Reeve
72b4c150f6
(De)serializers for tag fields
2020-11-20 09:28:54 -08:00
Mouse Reeve
73e41d568e
Serialize model user and book tags to activitypub
2020-11-20 08:14:16 -08:00
Joel Bradshaw
a579ea52f4
Add initial inline progress update
...
Doesn't work yet
2020-11-19 19:38:38 -08:00
Joel Bradshaw
1d0c0ae5c5
Add rename_app command and use it
...
This allows users to migrate from a pre-rename database without
resetting their database, hopefully
2020-11-19 13:49:53 -08:00
Joel Bradshaw
ff7d87b1c4
Make progress updates toggle-able
...
Also move into their own section
2020-11-18 19:05:52 -08:00
Mouse Reeve
6553e5df34
Makes sure pages have h1 header heirarchy
2020-11-18 12:31:53 -08:00
Joel Bradshaw
c9b2b4efac
Add migration for ProgressUpdate
2020-11-16 23:54:03 -08:00
Joel Bradshaw
f524f0cd4d
Add basic view logic for testing
2020-11-16 23:53:46 -08:00
Joel Bradshaw
00b8608a50
Make ProgressUpdate attached to a readthrough
2020-11-16 23:53:17 -08:00
Joel Bradshaw
13229ea937
Add progress updates as their own table
2020-11-16 23:29:32 -08:00
Joel Bradshaw
7ffc3114a6
Add display and form for existing pages_read
...
Commented out the new update type because it was breaking and I don't
need it quite yet
2020-11-16 22:47:55 -08:00
Joel Bradshaw
3beebe4727
Add initial draft of progress update
2020-11-16 22:33:04 -08:00
Mouse Reeve
680211cff5
refactors re-shelve button dropdown to be accessible
...
still looks janky as heck, but fixes #350
2020-11-16 16:34:26 -08:00
Mouse Reeve
699a661f00
Remove broken add book link
2020-11-13 12:18:13 -08:00
Mouse Reeve
28e1c9525c
tweaks search rankings for better results
2020-11-13 11:03:39 -08:00
Mouse Reeve
6300c37a4e
Select all checkbox
2020-11-13 10:14:24 -08:00
Mouse Reeve
86504989b4
fixes import matching with local books
2020-11-13 09:59:57 -08:00
Mouse Reeve
e3a803b907
Allow import retry
2020-11-13 09:02:41 -08:00
Mouse Reeve
083b576bc4
fixes broken activity serializer error import
2020-11-13 07:34:37 -08:00
Mouse Reeve
211ac4241b
Merge pull request #348 from mouse-reeve/incoming-errors
...
Incoming errors
2020-11-12 14:38:57 -08:00
Mouse Reeve
1ad347ffdb
Merge pull request #346 from mouse-reeve/trim-text
...
Collapse long review text
2020-11-12 14:38:43 -08:00
Mouse Reeve
1f11ffd646
Uses task.ready for checking if the job is running
2020-11-12 14:11:39 -08:00
Mouse Reeve
932b4f8b81
Small fix in goodreads import error handling
2020-11-12 14:01:17 -08:00
Mouse Reeve
032ce8efba
Show failed books
2020-11-12 13:52:57 -08:00
Mouse Reeve
799496bb86
Move past all book loading exceptions during import
2020-11-12 13:33:12 -08:00
Mouse Reeve
74236c4810
Handle errors tryingt o load covers from instances
2020-11-12 13:20:32 -08:00
Mouse Reeve
0a2d762d3b
Fixes error state when there are author duplicates
...
there shouldn't be, but it shouldn't crash a goodreads import either
2020-11-12 13:16:26 -08:00
Mouse Reeve
ffeed6047e
Fixes reporting import task status
2020-11-12 13:12:08 -08:00
Mouse Reeve
123fe5e769
Error handling in remote user
2020-11-12 12:27:49 -08:00
Mouse Reeve
4ccf1c4818
Small html style changes on import pages
2020-11-12 12:22:06 -08:00
Mouse Reeve
c0bc4f3903
Catch error trying to get status id in delete
2020-11-12 12:02:43 -08:00
Mouse Reeve
648e7a7581
Special error for catching activitypub serialization issues
2020-11-12 11:59:34 -08:00
Mouse Reeve
2f0b91d843
Merge pull request #343 from mouse-reeve/readthrough-ui
...
Make readthrough edit/delete toggle a button
2020-11-12 11:41:34 -08:00
Mouse Reeve
23ef1e8b7d
Collapse long review text
2020-11-12 11:40:20 -08:00
Mouse Reeve
44b798b423
Puts reply form below button that shows it
...
still think this is janky.
2020-11-11 18:32:52 -08:00
Mouse Reeve
801c2cdad2
Make readthrough edit/delete toggle a button
2020-11-11 16:47:11 -08:00
Mouse Reeve
ad948e7313
Remove more info box when it's not used
2020-11-11 11:52:14 -08:00
Mouse Reeve
c1567826ca
Paginate reviews page
2020-11-11 10:50:51 -08:00