Commit graph

7659 commits

Author SHA1 Message Date
Mouse Reeve
83cb0a9df8 Removed references to clean command that doesn't exist on prod 2022-07-06 14:04:33 -07:00
Mouse Reeve
5d8a1ec24b Merge branch 'main' into production 2022-07-06 12:33:49 -07:00
Mouse Reeve
d09aa2ded2
Merge pull request #2187 from bookwyrm-social/missing-migration
Adds another missing migration
2022-07-06 12:33:07 -07:00
Mouse Reeve
079f6d304e Python formatting 2022-07-06 12:22:07 -07:00
Mouse Reeve
9fceeb3eda Adds another missing migration 2022-07-06 12:17:24 -07:00
Mouse Reeve
476a7b73a2
Merge pull request #2186 from bookwyrm-social/test-coverage
Adds test coverage command and some more miscellaneous tests
2022-07-06 11:32:49 -07:00
Mouse Reeve
b2a8a04092 Removes unnecessary imports 2022-07-06 11:24:04 -07:00
Mouse Reeve
9c21d1c06f Adds more automod tests 2022-07-06 11:15:30 -07:00
Mouse Reeve
7a9d320afd Expands automod view test 2022-07-06 10:52:50 -07:00
Mouse Reeve
574c1db732 Adds more templatetag tests 2022-07-06 10:52:45 -07:00
Mouse Reeve
87434fbb9d Adds a couple more edit book views tests 2022-07-06 10:38:22 -07:00
Mouse Reeve
f5638c1e44 Removed unused helper function 2022-07-06 10:05:55 -07:00
Mouse Reeve
f4dd14acad Adds more webfinger tests for helper functions 2022-07-06 10:05:47 -07:00
Mouse Reeve
c48fbd8753 Separates reporting and report admins tests 2022-07-06 09:47:48 -07:00
Mouse Reeve
afd3b27d78 Adds coverage command to bw-dev 2022-07-06 09:47:33 -07:00
Mouse Reeve
0c6f38828b Merge branch 'main' into production 2022-07-05 18:10:49 -07:00
Mouse Reeve
e8a570b687
Merge pull request #2185 from bookwyrm-social/userless-link-domain
Adds missing migration
2022-07-05 18:09:45 -07:00
Mouse Reeve
003ef65db5 Adds missing migration 2022-07-05 18:01:10 -07:00
Mouse Reeve
4097a8989c Merge branch 'main' into production 2022-07-05 17:51:50 -07:00
Mouse Reeve
cccf0ec3a0
Merge pull request #2184 from bookwyrm-social/userless-link-domain
Handle link domains with no associated user
2022-07-05 17:51:12 -07:00
Mouse Reeve
d4f8a5f448 Fixes links to report modals 2022-07-05 17:43:03 -07:00
Mouse Reeve
4f386e8c4e Allow reports with no associated user 2022-07-05 17:19:03 -07:00
Mouse Reeve
0be4fec167 Don't assume that link domains have a known user
This is an edge case, and they OUGHT to have a user, but if the user was
deleted for a remote link, the field won't be able to resolve and the
user will be unset.
2022-07-05 16:51:03 -07:00
Mouse Reeve
f7e02061cb
Merge pull request #2183 from bookwyrm-social/dependabot/pip/django-3.2.14
Bump django from 3.2.13 to 3.2.14
2022-07-05 16:01:03 -07:00
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
3c3eae7b9e Merge branch 'main' into production 2022-07-05 12:10:09 -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
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
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
e452aa95b6 Merge branch 'main' into production 2022-07-04 14:08:24 -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
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
Mouse Reeve
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
Mouse Reeve
4ccbfb6b31
Merge pull request #2057 from bookwyrm-social/list-privacy
Re-consider list privacy on edit
2022-07-02 20:07:00 -07:00
Mouse Reeve
6e70ceb094 More mocks 2022-07-02 19:43:59 -07:00
Mouse Reeve
46421f9672 Mocks for lists model 2022-07-02 13:48:15 -07:00
Mouse Reeve
495bf203b0 Mocks inbox and search tests 2022-07-02 13:45:53 -07:00
Mouse Reeve
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
Mouse Reeve
13605b7d6a
Merge pull request #2164 from bookwyrm-social/federated-servers-admin
Federated servers admin
2022-07-02 12:17:14 -07:00