dependabot[bot]
1e0055663b
Bump django from 3.2.13 to 3.2.14
...
Bumps [django](https://github.com/django/django ) from 3.2.13 to 3.2.14.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.13...3.2.14 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 22:45:57 +00:00
Mouse Reeve
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
Mouse Reeve
e54c563865
Consistent use of plurals
2022-07-05 14:49:04 -07:00
Mouse Reeve
7508ae9eae
Separate vars for user count and display counts
2022-07-05 14:25:42 -07:00
Mouse Reeve
8cbf8f62c7
List add notifications
2022-07-05 14:15:12 -07:00
Mouse Reeve
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
Mouse Reeve
736d29ea20
Updates group leave and remove notifications
2022-07-05 13:05:28 -07:00
Mouse Reeve
c65381adf9
Comma format count of other users in a notification
2022-07-05 12:49:02 -07:00
Mouse Reeve
79f3382ece
Updates reports notification
2022-07-05 12:48:10 -07:00
Mouse Reeve
9e94a13acf
Updates mention and reply notifications
2022-07-05 12:40:41 -07:00
Mouse Reeve
ee71f5df21
Updates language on boosts
2022-07-05 12:28:48 -07:00
Mouse Reeve
fc375bbab4
Finishes fav status translation strings
2022-07-05 12:21:22 -07:00
Mouse Reeve
97b53d4998
Merge pull request #2180 from bookwyrm-social/set-access-level-user
...
Fixes setting access level to "user"
2022-07-05 12:08:30 -07:00
Mouse Reeve
e2a50230c7
Fixes setting acces level to "user"
...
This wasn't working because "user" isn't a group, it's the absense of
any group.
2022-07-04 21:44:55 -07:00
Mouse Reeve
f76d661e07
Updates templates for fav notifications
2022-07-04 21:32:53 -07:00
Mouse Reeve
971bed9942
Notification field is read, not unread
...
Oops
2022-07-04 21:32:35 -07:00
Mouse Reeve
801ba03aaf
Keep group as a foreign key field
2022-07-04 20:32:13 -07:00
Mouse Reeve
9948dd2356
Use enums in more models
2022-07-04 20:27:56 -07:00
Mouse Reeve
aeefd5a3e9
Use signal for creating group invite notification
2022-07-04 20:24:29 -07:00
Mouse Reeve
03f5a3f2c1
Use enums for notification types
2022-07-04 20:19:18 -07:00
Mouse Reeve
72a8229a5c
Updates group notifications
2022-07-04 20:05:39 -07:00
Mouse Reeve
b193652a67
Python formatting
2022-07-04 19:58:27 -07:00
Mouse Reeve
dc8e61f316
Updates reports created in automod task
2022-07-04 19:57:58 -07:00
Mouse Reeve
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
Mouse Reeve
a9a2da0957
Keep status as a single field
2022-07-04 19:20:04 -07:00
Mouse Reeve
0cc2bc269e
Updates view
2022-07-04 18:51:07 -07:00
Mouse Reeve
c7ecbb2fdf
New migration file
...
I don't know why it felt important to do this but it did. The migrations
are in one file now and don't need a merge migration.
2022-07-04 18:42:56 -07:00
Mouse Reeve
f1f78c9cde
Merge pull request #2177 from bookwyrm-social/deleted-user-color
...
Show deleted users as red in the user list
2022-07-04 17:56:38 -07:00
Mouse Reeve
a718a168a3
Merge branch 'main' into notifications
2022-07-04 17:38:21 -07:00
Mouse Reeve
5672c73ac4
Show deleted users as red in the user list
...
It can be hard to differentiate at a glance if a user is deleted or
suspended -- without this, you would have to read the deactivation
reason. By making deletions (moderator and self deletions) red, it's
clear at a glance if an account has been permanently deleted or just
temporarily suspended.
2022-07-04 17:33:10 -07:00
Mouse Reeve
fe33fdcf56
Merge pull request #2173 from bookwyrm-social/html-sanitizer
...
Html sanitizer
2022-07-04 14:07:36 -07:00
Mouse Reeve
9d9b7f366a
Use "strip" in bleach
...
This removes forbidden html, rather than leaving them in place but
unrendered.
2022-07-04 13:55:58 -07:00
Mouse Reeve
70beb24d95
Removed misleading test
...
This wasn't really testing what I wanted it to.
2022-07-04 13:34:09 -07:00
Mouse Reeve
13376f8970
Catches missing reference to previous sanitizer
2022-07-04 13:24:13 -07:00
Mouse Reeve
62aa4bf869
Tick version number
2022-07-04 13:21:18 -07:00
Mouse Reeve
7f78140015
Uses library for html cleanup
2022-07-04 13:21:13 -07:00
Mouse Reeve
58b23a74da
Merge pull request #2169 from bookwyrm-social/inventaire-import
...
Handle getting edition data as dict or string
2022-07-03 11:27:02 -07:00
Mouse Reeve
5d363da175
Handle getting edition data as dict or string
2022-07-03 11:05:20 -07:00
Mouse Reeve
0b900dc1ac
Merge pull request #2166 from bookwyrm-social/email-config-warning
...
Add warning to dashboard if email sender looks misconfigured
2022-07-03 10:49:14 -07:00
Mouse Reeve
89165fd909
Creates helper function for creating charts
2022-07-03 08:28:24 -07:00
Mouse Reeve
6e7c9b76c6
Merge pull request #2167 from bookwyrm-social/follow-button
...
Fixes logic error in checking relationships
2022-07-03 06:49:42 -07:00
Hugh Rundle
d1180d4216
linting fix for linting fix
2022-07-03 17:24:33 +10:00
Hugh Rundle
b82cf887e2
linting fixes
2022-07-03 17:14:13 +10:00
Hugh Rundle
f8e51b5826
format guided tour js with prettier
2022-07-03 16:24:34 +10:00
Hugh Rundle
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
Hugh Rundle
04324c00b4
back button on all tour modals
2022-07-03 16:12:17 +10:00
Hugh Rundle
39efb90870
add noscript message for guided tour
2022-07-03 16:10:32 +10:00
Hugh Rundle
3f67bc3b61
standardise ids for tour anchors
...
To make it harder to accidentally mess up the tour when making changes to pages, this commit adds ids with 'tour' prefixes to (nearly) all elements used by the guided tour as anchor points. The exception is where an element already had an id that is being used by something else in Bookwyrm.
Some minor changes also made to clean up the wording of the tour.
2022-07-03 15:57:10 +10:00
Hugh Rundle
a8940b8e12
Fix order of tour
...
The tour now shows users how to add a book first, then bookshelves, lists, and finally groups.
2022-07-03 14:48:23 +10:00
Mouse Reeve
e16506c1df
Fixes logic error in checking relationships
...
I had the logic backwards for pending relationships.
2022-07-02 21:25:07 -07:00