Hugh Rundle
99a9a64708
notification type migration after merge
2023-11-24 06:50:32 +11:00
Hugh Rundle
065e15e4db
Merge pull request #3131 from hughrun/user-migration
...
merge migrations and lint
2023-11-22 21:31:12 +11:00
Hugh Rundle
72c1c6ee3d
merge migrations and lint
2023-11-22 21:29:54 +11:00
Hugh Rundle
0276c15948
Merge branch 'main' into user-migration
2023-11-22 21:00:04 +11:00
Hugh Rundle
c6dea2523c
Merge branch 'main' into softblock
2023-11-22 20:06:02 +11:00
Hugh Rundle
6ba7418121
improve tests and minor cleanup
2023-11-22 20:04:17 +11:00
Hugh Rundle
8ed4a997f8
add comment back to bookwyrm.js
2023-11-21 20:20:11 +11:00
Hugh Rundle
2c9ebba5d7
fix reject PR
...
- rationalise activitypub.Reject and fix model being undefined
- fix not being able to follow users from followers page: 'delete' option now in user_options dropdown
- revert bookwyrm.js
- fix delete_follow_request deleting instead of rejecting
- add user id to 'remove-follow' path
2023-11-21 20:13:56 +11:00
Mouse Reeve
7c2de92df3
Merge pull request #3128 from bookwyrm-social/test-themes
...
Give admins option to test if a theme loads correctly
2023-11-20 12:26:09 -08:00
Mouse Reeve
b6325da9ab
Update bookwyrm/tests/views/admin/test_themes.py
...
Co-authored-by: Adeodato Simó <73768+dato@users.noreply.github.com>
2023-11-20 10:37:12 -08:00
Mouse Reeve
179dbd75aa
Adds tests
2023-11-20 10:23:59 -08:00
Mouse Reeve
b022b5a1b7
Merge pull request #3120 from hughrun/permission-required
...
403 handler
2023-11-20 10:06:24 -08:00
Mouse Reeve
c2742b4d80
Updates migrations
2023-11-20 10:02:49 -08:00
Mouse Reeve
cfe42305be
Merge branch 'main' into test-themes
2023-11-20 10:02:23 -08:00
Mouse Reeve
d828ba0bc6
Give admins option to test if a theme loads correctly
...
If a theme is uploaded incorrectly or has errors in it, users can still
select the theme but it will cause a 500 error on every page, making the
app unusable and also making it impossible for them to switch to a
functional theme.
A better fix would be to fail gracefully, but in lieu of that, this will
at least let admins confirm if a theme is broken safely.
2023-11-20 09:56:51 -08:00
Matt Lehrer
6933f70af3
Merge branch 'bookwyrm-social:main' into move-ratings-and-reviews-when-switching-editions
2023-11-20 09:31:45 +01:00
Mouse Reeve
d94b27b723
Merge branch 'main' into user-migration
2023-11-19 19:18:22 -08:00
Mouse Reeve
3d9f339bd5
Merge pull request #3059 from dato/stable_dates_v2
...
Partial, stable dates with automatic precision field
2023-11-19 19:17:49 -08:00
Mouse Reeve
1d5cc83347
Merge branch 'main' into permission-required
2023-11-19 19:12:32 -08:00
Mouse Reeve
d8018cb937
Merge pull request #3125 from hughrun/instance-actor
...
hide instance actor from users
2023-11-19 19:11:17 -08:00
Mouse Reeve
4da96d937e
Merge pull request #3126 from hughrun/savedlist-pagination
...
fix saved list pagination
2023-11-19 18:57:57 -08:00
Hugh Rundle
446854ccf0
fix saved list pagination
...
The SavedLists view was passing through an incorrect "path" value. Now it's not.
2023-11-20 12:45:39 +11:00
Hugh Rundle
f011f2bce9
hide instance actor from users
...
The Instance Actor is required for signing http GET requests but is not a "user" and should not be otherwise interacted with.
- hides instance actor profile page, returning a 404
- excludes instance actor from search results and suggestions including in Getting Started
- replaces link to user profile in user admin page with a brief message box
- replaces panel in user admin page that allows for user to be suspended or removed with a message explaining why that is a very bad idea
fixes #3119
2023-11-20 12:17:52 +11:00
Adeodato Simó
ff1f239a57
Use typing_extensions.Self instead of TypeVar
2023-11-19 15:10:14 -03:00
Adeodato Simó
6aaff28c13
Accept argument in naturalday_partial, downcast format if necessary
2023-11-19 15:10:14 -03:00
Adeodato Simó
aaea1b1b9e
Add tests for naturalday_partial tag
2023-11-19 15:10:13 -03:00
Adeodato Simó
8dbfba17d6
Merge from 'main' into stable_dates
2023-11-19 15:09:52 -03:00
Hugh Rundle
2ba0e3d7ff
Allow removing followers and fix follow rejections
...
* adds the ability to remove a user from your followers list
* fixes verbs.Reject to process reject activities for previously accepted follows in both directions
fixes #2635
2023-11-19 20:03:48 +11:00
Hugh Rundle
a7fcd898c2
middleware for displaying 413 page
...
When a RequestDataTooBig exception is thrown, users are largely in the dark about what happened and how it can be fixed.
This commit resolves this by inserting middleware to redirect the request to a custom 413 error page.
This exception is thrown when DATA_UPLOAD_MAX_MEMORY_SIZE is exceeded. The default value is 2.5MB.
Fixes #2340
Fixes #2633
2023-11-18 22:10:36 +11:00
Hugh Rundle
97757fa1ee
fix blocktrans
2023-11-18 15:58:01 +11:00
Hugh Rundle
a56ba0ce1c
always return 403 to POST requests
...
- POST requests need to receive a 403 error code
- minor wording updates
2023-11-18 13:41:52 +11:00
Hugh Rundle
8ddafafa84
make naming consistent
2023-11-18 12:40:36 +11:00
Hugh Rundle
d620bd7350
add handler for 403s
...
fixes #3104
2023-11-18 12:36:03 +11:00
Ross Chapman
68f54cf5a4
Initial commit to create PR
2023-11-16 17:20:23 -08:00
Matt Lehrer
f4da9fbf34
remove unnecessary loop.
...
ReviewRatings are a subclass and are included in the models.Review block
2023-11-16 20:37:46 +01:00
Matt Lehrer
bf81192d73
Merge branch 'main' into move-ratings-and-reviews-when-switching-editions
2023-11-16 10:49:05 +01:00
Sean Molenaar
e144ce19fa
fix: add include import from django.urls
2023-11-16 10:48:06 +01:00
Matt Lehrer
bd920a4630
move reviews to new edition
2023-11-16 10:38:45 +01:00
Matt Lehrer
7684101f15
move ratings to new edition
2023-11-16 10:38:41 +01:00
Mouse Reeve
06568aab88
Merge pull request #3105 from dato/notify_invitation_request
...
Create notifications for incoming invite requests
2023-11-15 17:27:34 -08:00
Mouse Reeve
5bf27d4fb2
Merge pull request #3115 from bookwyrm-social/dependabot/pip/aiohttp-3.8.6
...
Bump aiohttp from 3.8.5 to 3.8.6
2023-11-15 17:12:59 -08:00
Mouse Reeve
1a7a843dea
Re-creates migrations and removes failing test
...
I think the test was failing because it was extremely brittle, not
because of anything wrong with the code itself.
2023-11-15 17:08:15 -08:00
Mouse Reeve
62f985edb8
Merge branch 'main' into user-migration
2023-11-15 16:46:18 -08:00
Hugh Rundle
54ec5e2ae0
Fix migrations properly ( #3116 )
...
* Revert "fix migrations and linting"
This reverts commit 53e410627f
.
* really fix migrations
2023-11-15 19:54:16 +11:00
dependabot[bot]
63530294d4
Bump aiohttp from 3.8.5 to 3.8.6
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.8.5 to 3.8.6.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.5...v3.8.6 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 23:35:55 +00:00
Sean Molenaar
da4214ad61
feat: add OAuth authentication
...
Issue GH-2292
2023-11-14 14:18:35 +01:00
Adeodato Simó
01d4381898
Create notifications for incoming invite requests
...
Closes : #2066
2023-11-14 07:09:04 -03:00
Mouse Reeve
ab9cea1742
Merge pull request #3112 from dato/makemigrations_check
...
Check no missing migrations in django-tests workflow
2023-11-13 15:21:44 -08:00
Adeodato Simó
b81170c149
Add missing migration from #3099
2023-11-13 19:56:00 -03:00
Adeodato Simó
a884825b3c
Check no missing migrations in django-tests workflow
2023-11-13 19:56:00 -03:00