1
0
Fork 0
Commit graph

7963 commits

Author SHA1 Message Date
0cc2bc269e Updates view 2022-07-04 18:51:07 -07:00
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
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
a718a168a3 Merge branch 'main' into notifications 2022-07-04 17:38:21 -07:00
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
fe33fdcf56
Merge pull request #2173 from bookwyrm-social/html-sanitizer
Html sanitizer
2022-07-04 14:07:36 -07:00
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
70beb24d95 Removed misleading test
This wasn't really testing what I wanted it to.
2022-07-04 13:34:09 -07:00
13376f8970 Catches missing reference to previous sanitizer 2022-07-04 13:24:13 -07:00
62aa4bf869 Tick version number 2022-07-04 13:21:18 -07:00
7f78140015 Uses library for html cleanup 2022-07-04 13:21:13 -07:00
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
5d363da175 Handle getting edition data as dict or string 2022-07-03 11:05:20 -07:00
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
89165fd909 Creates helper function for creating charts 2022-07-03 08:28:24 -07:00
6e7c9b76c6
Merge pull request #2167 from bookwyrm-social/follow-button
Fixes logic error in checking relationships
2022-07-03 06:49:42 -07:00
d1180d4216 linting fix for linting fix 2022-07-03 17:24:33 +10:00
b82cf887e2 linting fixes 2022-07-03 17:14:13 +10:00
f8e51b5826 format guided tour js with prettier 2022-07-03 16:24:34 +10: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
04324c00b4 back button on all tour modals 2022-07-03 16:12:17 +10:00
39efb90870 add noscript message for guided tour 2022-07-03 16:10:32 +10:00
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
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
e16506c1df Fixes logic error in checking relationships
I had the logic backwards for pending relationships.
2022-07-02 21:25:07 -07:00
516c4a9790 Add warning to dashboard if email sender looks misconfigured
This can be a really obscure error, hopefully this warning will catch
potential issues.
2022-07-02 21:11:23 -07:00
4ccbfb6b31
Merge pull request #2057 from bookwyrm-social/list-privacy
Re-consider list privacy on edit
2022-07-02 20:07:00 -07:00
6e70ceb094 More mocks 2022-07-02 19:43:59 -07:00
06b4a55979 add lists to guided tour
Takes user through the main /list page, as well as the options for creating a list.
2022-07-03 09:10:43 +10:00
46421f9672 Mocks for lists model 2022-07-02 13:48:15 -07:00
495bf203b0 Mocks inbox and search tests 2022-07-02 13:45:53 -07:00
3ad0a5d073 Use update_fields to limit remove_list_tasks
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
13605b7d6a
Merge pull request #2164 from bookwyrm-social/federated-servers-admin
Federated servers admin
2022-07-02 12:17:14 -07:00
aae02dff9a Merge branch 'main' into list-privacy 2022-07-02 12:16:39 -07:00
94a6675dc4 Pylint fixes 2022-07-02 12:07:22 -07:00
13e23a868d Adds instance name filter to federated instance list view
This lets you look for a specific server in your (probably very long)
instance list.
2022-07-02 11:12:15 -07:00
43f3d69821
Merge pull request #2163 from bookwyrm-social/revert-2143-async_broadcast
Revert "Use async requests for broadcasting"
2022-07-02 11:11:48 -07:00
e0a67f5e18 Uses := syntax in user admin view
I learned this! It's cool.
2022-07-02 11:06:48 -07:00
cbb979242d
Revert "Use async requests for broadcasting" 2022-07-02 10:56:18 -07:00
f68c80dfff Adds line length and import-error to .pylintrc 2022-07-02 10:50:17 -07:00
f5d6a18ce0 Alphabetize list of software options in federated instances list 2022-07-02 10:49:57 -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
827a63b4eb add shelves to guided tour 2022-07-02 18:46:16 +10:00
d1079a1f7d remove console log from guided_tour.js 2022-07-02 18:44:18 +10:00
e7b0a84ded
Merge pull request #2142 from bookwyrm-social/load-data-duration
Split expand book data task into per-edition tasks
2022-06-30 11:47:23 -07:00
4e2fcc552a
Merge pull request #2160 from bookwyrm-social/locales
Updates locales
2022-06-30 10:37:21 -07:00
beb85ba94f Updates locales 2022-06-30 10:23:25 -07:00
5f266c0cfd
Merge pull request #2159 from JamieSlome/main
Create SECURITY.md
2022-06-30 09:52:06 -07:00
Jamie Slome
1609b9b74c Create SECURITY.md 2022-06-30 05:46:41 +01:00
bc4a1c6c41 Guided tour of book page
This is intended to be one of the earlier pages in the tour. It should show users the concept of reading status, editions, and other useful points.
2022-06-19 14:06:36 +10:00