26a1f75e91
Group notification types by feature
2022-07-06 19:15:48 -07:00
5a6ef7ccd8
Merge branch 'main' into notifications
2022-07-06 14:41:15 -07:00
4f386e8c4e
Allow reports with no associated user
2022-07-05 17:19:03 -07:00
7fe722b595
Fixes follow request notifications
...
Since the main way to interact with them is by approving them in the
notification, I didn't group them
2022-07-05 15:04:14 -07:00
e54c563865
Consistent use of plurals
2022-07-05 14:49:04 -07:00
8cbf8f62c7
List add notifications
2022-07-05 14:15:12 -07:00
41f42e33ed
Moves list add notification into notification model
...
Right now notifications are a mix of post-save signals and clauses in
the save function of the model. I'm not actually sure which is better,
but I'm moving them to signals where it's straightforward to be
consistent.
2022-07-05 13:28:09 -07:00
736d29ea20
Updates group leave and remove notifications
2022-07-05 13:05:28 -07:00
971bed9942
Notification field is read, not unread
...
Oops
2022-07-04 21:32:35 -07:00
801ba03aaf
Keep group as a foreign key field
2022-07-04 20:32:13 -07:00
9948dd2356
Use enums in more models
2022-07-04 20:27:56 -07:00
aeefd5a3e9
Use signal for creating group invite notification
2022-07-04 20:24:29 -07:00
03f5a3f2c1
Use enums for notification types
2022-07-04 20:19:18 -07:00
72a8229a5c
Updates group notifications
2022-07-04 20:05:39 -07:00
b193652a67
Python formatting
2022-07-04 19:58:27 -07:00
dc8e61f316
Updates reports created in automod task
2022-07-04 19:57:58 -07:00
62e57ac931
Adds notify and unnotify helper class methods
...
In the new paradigm, a notification related to a status has users added
to it and removed from it, rather than a new notification being added
every time. These helper functions make this behavior consistent.
2022-07-04 19:48:10 -07:00
a9a2da0957
Keep status as a single field
2022-07-04 19:20:04 -07:00
a718a168a3
Merge branch 'main' into notifications
2022-07-04 17:38:21 -07:00
7f78140015
Uses library for html cleanup
2022-07-04 13:21:13 -07:00
0e9dc66ffa
Merge branch 'main' into tour
...
Merging in latest changes from main, since I got covid and missed a few weeks.
2022-07-03 16:18:50 +10:00
e16506c1df
Fixes logic error in checking relationships
...
I had the logic backwards for pending relationships.
2022-07-02 21:25:07 -07:00
3ad0a5d073
Use update_fields to limit remove_list_task
s
...
If we know what fields were updated, we can avoid running this task.
This also adds some mocks where they are needed for the list view.
2022-07-02 13:23:23 -07:00
cbb979242d
Revert "Use async requests for broadcasting"
2022-07-02 10:56:18 -07:00
be76fe1494
Merge pull request #2143 from bookwyrm-social/async_broadcast
...
Use async requests for broadcasting
2022-07-02 10:23:02 -07:00
80c71928c3
add show_guided_tour value to User
...
This boolean value indicates whether the user wishes to be show the guided tour.
It defaults to True but will be able to be easily set to False.
2022-06-13 13:07:48 +10:00
4de9989d8e
add page numbers to comment and quote statuses
...
This adds the page number for quote and comment statuses where a page number is provided:
- all ActivityPub posts
- Explore cards for comments (quotes already have the page number)
This responds to #2136
2022-06-05 16:02:25 +10:00
c738eaa2c2
Use async requests for broadcasting
...
When an activity needs to be broadcast to the whole wide fediverse, the
number of requests can get enormous and the broadcast task ends up
taking ages to run. This change sends these requests out in one aiohttp
session, to improve performance.
2022-05-31 13:09:27 -07:00
fc3b609ada
Use general ratings rather than privacy filtered
...
The original system customized how a rating is displayed to every user
based on the privacy settings of the reviews and, relatedly, who the
user follows. This is cool, but the query is too complicated to load in
sessions, and the initial load, which isn't mitigated by caching, is too
much and causes timeouts for many users. Also the cache clearing wasn't
working correctly because I put in a wildcard, which does not work.
2022-05-30 08:42:48 -07:00
4c5d2570ab
Save and display stopped date in readthrough
2022-05-26 11:53:33 -07:00
375c5a8789
Adds stopped date separate from finish date on readthrough
2022-05-26 11:36:37 -07:00
77a7dfa924
Merge pull request #2133 from bookwyrm-social/activitypub-connection-erorr
...
Don't throw an error when unable to connect to remote data
2022-05-26 10:12:18 -07:00
88b2cffcf2
Merge pull request #2035 from bookwyrm-social/stopped-shelf
...
Stopped shelf
2022-05-26 10:11:32 -07:00
9d275db322
Updates ignore boost logic that no longer produces errors
2022-05-26 09:57:39 -07:00
1843959d10
Merge pull request #2093 from Ryuno-Ki/calibre-import
...
Calibre import. Fixes #627
2022-05-23 12:37:50 -07:00
André Jaenisch
d837146b66
Make black happy
...
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2022-05-23 20:59:28 +02:00
André Jaenisch
b564e514fd
Handle parsed dates that already have a timezone on import.
...
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2022-05-23 20:52:57 +02:00
8d2da587d9
Prevent error when a book language has a null value
2022-05-16 11:06:11 -07:00
a2a04da493
Adds many to many related items to notifications
2022-04-09 09:44:42 -07:00
Vivianne
5a2bf64864
Merge branch 'bookwyrm-social:main' into url-names
2022-04-08 21:45:37 -07:00
8d266fda4d
Removes unused related_book
field on notification model
2022-04-08 15:21:38 -07:00
9921a1e754
Various pylint complaince fixes
2022-04-08 14:23:37 -07:00
ec21d20b90
Merge branch 'main' into stopped-shelf
2022-03-26 13:06:06 -07:00
85f507d6b9
Python formatting
2022-03-26 10:34:02 -07:00
a1487ccae5
Merge branch 'main' into duplicate-follow-requests
2022-03-26 10:28:58 -07:00
2d7902ff89
Resolve second integrity error
2022-03-26 10:27:49 -07:00
90277a1697
Avoid new pylint complaint
2022-03-26 10:07:06 -07:00
4f24b05d60
Clear cache regardless of view success
2022-03-24 13:10:49 -07:00
a3b9c621af
Trigger rebroadcast of follow requests
2022-03-24 11:35:05 -07:00
7b3b357756
Merge branch 'main' into form-conflict
2022-03-16 16:51:57 -07:00