Mouse Reeve
e5d292919c
Merge pull request #3143 from dato/test_ordered_collection_use_bulk_create
...
Use bulk_create to test ordered collections
2023-12-09 08:30:23 -08:00
Adeodato Simó
5384e4c470
Use bulk_create to test ordered collections
2023-11-30 15:58:48 -03:00
Mouse Reeve
193a36390b
Merge pull request #3083 from hughrun/file-resubmit
...
use bw-file-resubmit to retain images during validation checks
2023-11-29 15:36:33 -08:00
Mouse Reeve
cf1afefc84
Merge pull request #3133 from dato/search_results_fix_work_order
...
Do not create a set for already-distinct query result
2023-11-29 15:27:57 -08:00
Mouse Reeve
b8bf3d5bd9
Merge pull request #3138 from bookwyrm-social/dependabot/pip/aiohttp-3.9.0
...
Bump aiohttp from 3.8.6 to 3.9.0
2023-11-27 17:33:18 -08:00
dependabot[bot]
58f149d889
Bump aiohttp from 3.8.6 to 3.9.0
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.8.6 to 3.9.0.
- [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.6...v3.9.0 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 01:02:35 +00:00
Adeodato Simó
c997d2d44a
Add test to assert distinct() clause
...
Also, tweak other `search_title_author()` tests to verify ordering by
edition rank.
2023-11-24 02:28:27 -03:00
Adeodato Simó
e322d3cae1
Do not create a set for already-distinct query result
2023-11-23 23:01:56 -03: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
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
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
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
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
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
Mouse Reeve
ddf94f8714
Merge pull request #3097 from Tak/fix-initdb
...
Fix `bw-dev initdb`
2023-11-12 09:37:42 -08:00
Mouse Reeve
43324cf43a
Merge pull request #3099 from dato/notification_type_top_level
...
Create NotificationType as class, not through API
2023-11-12 09:34:28 -08:00
Hugh Rundle
1bedcdaebd
Merge branch 'main' into file-resubmit
2023-11-11 13:14:52 +11:00
Hugh Rundle
f3fc5f6179
add file_resubmit to DUMMY caches settings
2023-11-11 12:45:04 +11:00
Adeodato Simó
99a9dbe5f4
Create NotificationType as class, not through API
...
This way, we need not list every value again to create the enum.
N.B.: enum values are now accessed as `models.NotificationType.FOO`,
instead of `models.Notification.FOO`.
2023-11-09 22:43:36 -03:00
Adeodato Simó
be9d92b1c2
Remove last references to "seal" in partial_date.py and migration
2023-11-09 14:00:45 -03:00
Adeodato Simó
edfa6b18a1
Rename utils.sealed_date module (and tests) to utils.partial_date
2023-11-09 14:00:44 -03:00
Adeodato Simó
fa80aa54a9
SealedDate renames, pt. 2
...
• SealedDate -> PartialDate
• MonthSeal -> MonthParts
• YearSeal -> YearParts
2023-11-09 14:00:44 -03:00
Adeodato Simó
0e4c5ed439
SealedDate renames, pt. 1
...
• SealedDateField -> PartialDateModel
• SealedDateFormField -> PartialDateFormField
• SealedDateDescriptor -> PartialDateDescriptor
2023-11-09 14:00:44 -03:00
Adeodato Simó
c120fa8c87
Rename: templatetags/{sealed_dates => date_ext}.py
2023-11-09 14:00:44 -03:00
Adeodato Simó
2bb7652dfe
Update partial date migration to latest main
2023-11-09 14:00:22 -03:00
Adeodato Simó
e928027e16
Merge from main for up-to-date migrations
2023-11-09 14:00:14 -03:00
Adeodato Simó
dccac11527
PartialDateField: allow incoming dates without timezone
2023-11-09 13:04:09 -03:00
Levi Bard
ebcacfc6c5
Fix bw-dev initdb
2023-11-09 12:57:45 +01:00