f55adbadf4
fix 2fa tests
2022-10-15 07:47:20 +11:00
119b4bf2ff
clean up tests
...
- remove unnecessary crap
- add missing tests
2022-10-15 07:47:20 +11:00
9d36722783
code formatting
2022-10-15 07:47:20 +11:00
b63d4bec60
add tests for 2fa
2022-10-15 07:47:20 +11:00
3a73ced5fa
Adds a couple tests to annual review views
...
Also I tweaked the save functions so they don't broadcast
2022-09-19 14:38:30 -07:00
35aebacf70
Fixes theme form and adds view tests
2022-09-19 13:13:21 -07:00
bf092ec44e
Small fixes
2022-09-19 12:10:27 -07:00
9d8d85ebc1
Invite perms checks
2022-09-19 10:26:40 -07:00
330be16516
Adds permissions checking for admin models
2022-09-19 10:12:47 -07:00
b0236b95bd
Merge branch 'main' into form-perms
2022-09-19 09:32:48 -07:00
aa67f23b03
Override raise_not_editable for report model
...
This model uses "reporter" as the field that represents the onwer of the
object, and "user" and the subject. In retrospect, maybe not the ideal
way to do it.
2022-09-19 09:20:44 -07:00
81d5195d20
Adds test
2022-09-15 11:12:05 -07:00
1f93dc9c62
Merge pull request #2260 from bookwyrm-social/mentions
...
Refactors how mentions are collected
2022-08-29 15:17:40 -07:00
5c3bb2da13
Refactors how mentions are collected
...
This should be quicker, because it queries the users in one go instead
of jumping straight to iterating over them, and it checks if a user
blocks the poster before allowing them to be tagged.
2022-08-05 14:06:39 -07:00
9d7ece47ef
Merge pull request #2254 from bookwyrm-social/fixes-search-pagination
...
Fixes search pagination
2022-08-05 12:32:47 -07:00
9fad5b5623
Fixes isbn view
2022-08-05 11:44:10 -07:00
1ba69acc49
Adds unit tests that checks if rel field is set on links
2022-08-05 11:01:02 -07:00
2894aa37a2
Fixes perms checks for groups
2022-08-05 09:12:48 -07:00
b4cfda0587
Updates tests
2022-08-05 08:56:24 -07:00
6d258d5445
Fixes test mocks
2022-07-30 10:07:13 -07:00
23188dfc5f
Merge branch 'main' into followers-following-views
2022-07-29 13:09:30 -07:00
d458001491
Merges follower/following views
...
They were almost identical!
2022-07-29 13:07:15 -07:00
85dce81b6a
Adds unit test or list create perms
2022-07-28 11:42:27 -07:00
3f5bb41380
Unit test for creating rating status
2022-07-17 16:18:59 -07:00
086ec10849
Merge pull request #2229 from bookwyrm-social/password-validation
...
Password validation
2022-07-15 11:53:27 -07:00
b1f5171502
Updates reset password tests
2022-07-15 11:39:29 -07:00
1bb0a9d998
Updates tests
2022-07-15 11:18:47 -07:00
659ee96002
Use password validation in change password flow
...
This also moves the form validation into a form instead of doing it in
the view.
2022-07-15 10:51:58 -07:00
4a65ee326a
Use password validation in register view
2022-07-15 09:59:57 -07:00
d74d59a57b
Disable pylint complaint
2022-07-15 09:33:13 -07:00
7fdfd0c9c7
Check permissions when creating a status
2022-07-15 09:26:52 -07:00
317a239d40
Update shelf test now that it has multiple users
2022-07-14 12:10:29 -07:00
3f47cca5e6
Python formatting
2022-07-14 11:56:18 -07:00
73c4a01a6e
Test for PermissionDenied error, not isNone
2022-07-14 11:45:59 -07:00
05716c3578
Adds unit test for creating shelves for another user
2022-07-14 11:38:53 -07:00
f1ae64543f
Merge pull request #2216 from bookwyrm-social/export-post
...
Use HTTP post for CSV export
2022-07-11 08:14:47 -07:00
9104d1f8db
Fixes reference to renamed view
2022-07-11 08:05:32 -07:00
42e29e40b3
Use HTTP post for csv export
...
Also fixes a missing translation string
2022-07-11 07:51:51 -07:00
a0e01af2ca
Updates tests
2022-07-10 20:22:54 -07:00
948f2964ac
Updates admin tests to use perms instead of superuser
...
Superuser overrides all perms, so this was hiding simple typo-related
bugs in the permissions system
2022-07-07 14:01:05 -07:00
0b7c8e8dc0
Merge pull request #2082 from bookwyrm-social/notifications
...
Notifications refactor
2022-07-07 09:34:19 -07:00
6a5323c6e7
More tests for more notification types
2022-07-06 19:15:35 -07:00
d3023f350d
Adds tests to site admin view
2022-07-06 15:04:27 -07:00
5a6ef7ccd8
Merge branch 'main' into notifications
2022-07-06 14:41:15 -07:00
dda6126329
Fixes typo in group notification
2022-07-06 14:33:45 -07:00
2cda9d5567
Test leaving a group (as opposed to being removed)
...
This test will catch my typo in generating the notifications
2022-07-06 14:31:38 -07:00
b2a8a04092
Removes unnecessary imports
2022-07-06 11:24:04 -07:00
9c21d1c06f
Adds more automod tests
2022-07-06 11:15:30 -07:00
7a9d320afd
Expands automod view test
2022-07-06 10:52:50 -07:00
87434fbb9d
Adds a couple more edit book views tests
2022-07-06 10:38:22 -07:00