Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation
2021-06-17 15:17:54 -07:00
Mouse Reeve
27a3d0ae96
Merge branch 'main' into 253-user-post-privacy-v2
2021-06-14 16:47:57 -07:00
Mouse Reeve
cd014e43ad
Python formatting
2021-06-14 15:29:07 -07:00
Mouse Reeve
290a99bf17
Fixes renaming images on save
2021-06-14 15:19:54 -07:00
Mouse Reeve
46be7292fd
Don't try title/author search when isbn search fails
2021-06-14 12:30:43 -07:00
Joachim
4359505124
Update book.py
2021-06-07 19:54:16 +02:00
Joachim
2731ea9aa9
Add env var to enable/disable thumbnail generation
2021-06-07 19:52:25 +02:00
Joachim
7ed2ed116a
✨ lint ✨
2021-06-06 21:13:16 +02:00
Joachim
1f2c296cfd
This should now work
2021-06-06 21:12:21 +02:00
Mouse Reeve
ff45238667
Merge pull request #1123 from eatsleepdeploy/add-max-upload-size-config
...
Add max upload size config
2021-06-01 14:09:50 -07:00
Joachim
d9d34d8220
Fix linting
2021-05-27 21:40:23 +02:00
Joachim
b8bff8a882
Use field tracker to launch task on field change
2021-05-27 21:09:57 +02:00
Joachim
eb56cced8d
Lint
2021-05-26 14:46:34 +02:00
Joachim
bf503d370c
Add user preview task
2021-05-26 12:54:57 +02:00
Joachim
34caa36ab7
Add site preview task
2021-05-26 10:19:39 +02:00
Joachim
101ca0ff81
Refactor some
2021-05-26 09:44:32 +02:00
Joachim
a83aa47c9a
Generate on new rating
2021-05-26 09:10:05 +02:00
Joachim
8c25272462
Fix last night's bugs
2021-05-26 09:09:13 +02:00
Joachim
fa7334826c
Update
2021-05-25 23:04:28 +02:00
Joachim
d1737b44bd
First functioning commit
...
TODO
- [ ] Delay task (Celery?)
- [ ] Store the image in a subfolder unique to the edition, to make cleaning up the image easy
- [ ] Clean up the image before replacing it
- [ ] Ensure that the image will be cleaned when the edition is deleted ??
- [ ] Use instance custom colors?
- [ ] Use book cover color base?
2021-05-25 00:41:53 +02:00
Jason Kelly
b362b72c57
Python linting
2021-05-24 09:35:21 +08:00
Jason Kelly
6e655cb0e0
Added new widget to alert if a file is set at larger than 10 MB.
...
- Updated default widget to use template that adds a notification box.
- Added JS to add onchange & load events to look at the value in the input and trigger the notification & disable the form submits.
2021-05-23 14:12:00 +08:00
Mouse Reeve
368d2cd716
Reduces feed page queries for goals
...
9 fewer queries
2021-05-22 17:34:16 -07:00
Mouse Reeve
cefc5994a6
Makes extra content optional
2021-05-20 12:40:03 -07:00
Mouse Reeve
346d718265
Don't need both name and preview
2021-05-19 15:18:43 -07:00
Mouse Reeve
d1f2d9812f
Adds model for instance admin announcements
2021-05-19 14:00:46 -07:00
Mouse Reeve
82117a7d28
Tests deactivating connectors
2021-05-18 12:29:01 -07:00
Mouse Reeve
19f788b9aa
Deactivate connectors related to blocked federated servers
2021-05-11 11:31:02 -07:00
Mouse Reeve
e7c5b77b4c
Removes unused connector fields and adds active boolean
2021-05-11 09:54:04 -07:00
Mouse Reeve
27fe09a32b
Merge pull request #1062 from alisww/storygraph-import
...
add storygraph import
2021-05-10 16:23:00 -07:00
Mouse Reeve
e34ae18e98
Don't show following years' books in a year's goal
2021-05-10 14:40:41 -07:00
Allie Signet
85a8210f5e
fix rating property on ImportItem
2021-05-10 18:11:28 -03:00
Mouse Reeve
735ef369b9
Merge pull request #1020 from bookwyrm-social/notification-color
...
Only make notification count red for mentions
2021-04-30 13:49:57 -07:00
Mouse Reeve
c373a0b818
Highlight report notifications
2021-04-30 13:38:03 -07:00
Mouse Reeve
e15d6654e3
Free text field for the site footer
2021-04-30 10:42:27 -07:00
Mouse Reeve
2867d703cc
Fixes python formatting
2021-04-30 07:57:38 -07:00
Mouse Reeve
454dd25681
Only make notification count red for mentions
2021-04-30 07:49:34 -07:00
Mouse Reeve
a31d05c694
Don't crash on books with no isbn
2021-04-29 11:31:01 -07:00
Mouse Reeve
d1b5f3b6f0
Fixes ranks and normalizes isbns
2021-04-29 11:06:05 -07:00
Mouse Reeve
7853610a20
Load descriptions correctly
2021-04-29 10:54:36 -07:00
Mouse Reeve
b1c38d291c
Set preferred language
2021-04-29 10:40:49 -07:00
Mouse Reeve
6551c59c45
Don't store default edition in the dataase
2021-04-28 16:05:17 -07:00
Mouse Reeve
64c2313a5d
Merge branch 'main' into inventaire
2021-04-26 14:22:05 -07:00
Mouse Reeve
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
Mouse Reeve
013d5f1db3
Merge pull request #987 from bookwyrm-social/duplicate-boosts
...
Don't broadcast boosts twice
2021-04-23 11:58:01 -07:00
Mouse Reeve
79424f7bfb
Python formatting
2021-04-23 10:56:17 -07:00
Mouse Reeve
32e694032b
Fixes duplicate boost model verification
2021-04-23 10:49:17 -07:00
Mouse Reeve
b457446f2f
Don't save duplicate boosts
2021-04-22 19:36:27 -07:00
Mouse Reeve
563623616c
Merge branch 'main' into remove-tags
2021-04-22 18:18:24 -07:00
Mouse Reeve
9148f36719
Fixes duplicate boosts
2021-04-22 18:16:00 -07:00
Mouse Reeve
c455585262
Adds missing data file
2021-04-22 10:30:00 -07:00
Mouse Reeve
3ed822b9ea
Don't erase follows on update
2021-04-22 10:28:10 -07:00
Mouse Reeve
9c87c91c62
Merge pull request #979 from bookwyrm-social/allow-refollow
...
Allow refollow
2021-04-22 08:56:48 -07:00
Mouse Reeve
6b84e53ddd
Send accepts to duplicate follow requests
2021-04-22 08:40:32 -07:00
Mouse Reeve
db09ca4331
Adds last edited by to author
2021-04-22 07:51:06 -07:00
Mouse Reeve
ae5e744731
Save last edited by user
2021-04-22 07:29:09 -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
D Anzorge
7a2731aef4
Use object ids with our instance base path for follow accept/reject
2021-04-18 18:08:13 +02: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
Pablo Barton
f6824268ed
584 sorting of lists
2021-04-16 22:17:15 -04: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
9176a2b9ee
Fixes bug that causes recusive broadcasts
2021-04-15 15:51:49 -07:00
Pablo Barton
88d37736ee
902 using get_page for Paginator instead of page
2021-04-15 08:54:23 -04: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
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
77caf1a8fa
Merge branch 'main' into domain-block
2021-04-11 10:02:11 -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
98ff66cd16
Don't broadcast curation rejects
2021-04-10 18:15:13 -07:00
Mouse Reeve
1903812b1d
Class method for checking if urls are blocked
2021-04-10 11:44:29 -07:00
Mouse Reeve
2741aa55be
Makes blocking it's own view
2021-04-10 10:37:28 -07:00
Mouse Reeve
13d54871b7
Merge branch 'main' into domain-block
2021-04-10 09:26:01 -07:00
Mouse Reeve
fdf5113143
Removes tag code
2021-04-08 16:02:02 -07:00
Mouse Reeve
b1491c2ac6
Adds privacy and recipient details to list items
2021-04-08 15:09:56 -07:00
Mouse Reeve
e550f8cde6
Fixes list item fields and broadcast updates
2021-04-08 14:47:38 -07:00
Mouse Reeve
31077a9790
Update ordered collection classes to use CollectionItem
2021-04-08 14:17:29 -07:00
Mouse Reeve
779377bd0c
Makes localname case insensitive
2021-04-08 09:00:32 -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
4e0225749d
Merge branch 'main' into domain-block
2021-04-07 11:23:15 -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
Mouse Reeve
5427790c4e
Safer serialization of shelve and unshelve activities
2021-04-07 11:02:56 -07:00
Mouse Reeve
ef12b077dd
Adds following field to actor serialization
2021-04-07 10:32:16 -07:00
Mouse Reeve
45006afdf3
Remove character limit on some book fields
2021-04-07 08:50:50 -07:00
Mouse Reeve
82c2f2eeb1
Adds more author identifier fields
2021-04-06 17:46:06 -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
Mouse Reeve
1901f7e6cb
Check if incoming domains are blocked
2021-04-05 15:16:41 -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
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
29792080a9
Don't create notifications when deleting statuses
2021-04-01 20:40:28 -07:00
Mouse Reeve
634509a7f3
Associate users with their invites
2021-04-01 17:20:02 -07:00
Mouse Reeve
32bd426999
Fixes shelf remote ids
2021-03-31 11:04:20 -07:00
Mouse Reeve
f8ce9b0956
Backwards compatibility with "shelf" urls
2021-03-31 09:50:16 -07:00
Mouse Reeve
f7b0a282a7
Set updated date on list when item is added
2021-03-30 10:28:50 -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
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
f63b6fb325
Fixes sending invite emails
...
Corrects the email sender and avoids integrity error on saves
2021-03-29 08:33:12 -07:00
Pablo Barton
b0dc5f3f93
357 Users set preferred timezone, used for readthroughs
2021-03-28 19:16:43 -04: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
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
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
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
39f34bc6e6
Adds activity stream utility for adding and removing statuses
2021-03-22 20:32:59 -07:00
Mouse Reeve
7eb494b4ab
Removes get activity feed function
2021-03-22 19:17:46 -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
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
5e24b438ff
Placeholders for send/ignore request flows
2021-03-20 20:16:13 -07:00
Mouse Reeve
4d07cb1eb5
Adds invite request model
2021-03-20 18:27:30 -07:00
Mouse Reeve
d3a4282f11
Show progress on status
2021-03-20 18:03:20 -07:00
Mouse Reeve
2a612f7278
Formatting
2021-03-20 17:39:05 -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
Mouse Reeve
5a0723cde7
Migrations for django 3.1 upgrade
2021-03-19 12:43:36 -07:00
Mouse Reeve
266c6fe777
Make rating a decimal field
2021-03-19 12:14:59 -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
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
9251883d77
Checks if publisher fields is present (it isn't on works)
2021-03-16 13:54:15 -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
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
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
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
d947632b69
Adds publisher to book cover alt text
2021-03-15 15:39:16 -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
220f2c1eb4
Fixes image attachments
2021-03-15 13:55:48 -07:00
Mouse Reeve
aa2950daf3
Render rating status from template
2021-03-13 18:24:46 -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
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