Mouse Reeve
052823e0c9
Allow the user to decide if they want to send along a report
2024-01-02 18:49:04 -08:00
Mouse Reeve
5c0ade5346
Changes field names in report model so the reporter is "user"
...
This is such an annoying change but it is objectively better. Just gotta
be real sure they didn't get mixed up anywhere along the way.
2024-01-02 14:43:28 -08:00
Mouse Reeve
5b229fa362
Makes reports an activitypub model
2024-01-02 13:57:52 -08:00
Mouse Reeve
2a85378456
Removes part of migration causing upgrade issues
2024-01-02 09:57:41 -08:00
Mouse Reeve
913a19c8f0
Formats migration file
2024-01-01 19:33:49 -08:00
Mouse Reeve
86d79f537a
Adds merge migration
2024-01-01 19:29:24 -08:00
Mouse Reeve
ca79cb1ca7
Merge pull request #3054 from bookwyrm-social/user-migration
...
User migration via export file
2024-01-01 19:04:43 -08:00
Mouse Reeve
47cdc14bc0
Update bookwyrm/migrations/0189_alter_user_preferred_language.py
...
Co-authored-by: Demid <grrrr@protonmail.com>
2023-12-17 06:54:39 -08:00
Mouse Reeve
5c0e159d43
Adds Ukranian locale and updates locales
2023-12-12 15:42:40 -08:00
Hugh Rundle
99a9a64708
notification type migration after merge
2023-11-24 06:50:32 +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
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
d94b27b723
Merge branch 'main' into user-migration
2023-11-19 19:18:22 -08:00
Adeodato Simó
8dbfba17d6
Merge from 'main' into stable_dates
2023-11-19 15:09:52 -03: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
Adeodato Simó
01d4381898
Create notifications for incoming invite requests
...
Closes : #2066
2023-11-14 07:09:04 -03:00
Adeodato Simó
b81170c149
Add missing migration from #3099
2023-11-13 19:56:00 -03:00
Hugh Rundle
bbc78f03ae
fix DB migrations ( #3111 )
...
fix migrations and linting
2023-11-14 07:21:27 +11:00
Hugh Rundle
d5762f1d52
Merge branch 'main' into user-migration
2023-11-13 21:17:07 +11: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ó
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
Mouse Reeve
ee6e3ed7eb
Adds a database field for is_deleted on user
2023-11-05 20:28:23 -08:00
Mouse Reeve
4de9907456
Adds migration tests
2023-11-05 09:26:49 -08:00
Mouse Reeve
61caeed5a3
Adds migration and more tests
2023-11-05 08:51:42 -08:00
Mouse Reeve
ff2bb513ed
Adds migration for notification types
2023-11-05 06:56:10 -08:00
Mouse Reeve
89b87db1c8
Adds merge migration
2023-11-05 06:54:29 -08:00
Mouse Reeve
67822d3cb0
Merge branch 'main' into user-migration
2023-11-05 06:52:48 -08:00
Mouse Reeve
0502f6ba42
Merge pull request #3076 from bookwyrm-social/move
...
Add Move activity for user migration (with small change)
2023-11-01 18:19:56 -07:00
Mouse Reeve
6f9c7f39fb
Adds reverse migration for populate sort title
...
This doesn't impact much, it just allows you to reverse the migration,
which you would probably (hopefully) only want ot do in development.
2023-11-01 16:24:47 -07:00
Hugh Rundle
4d35fd45df
template and migration fixes
2023-10-27 22:22:58 +11:00
Adeodato Simó
737ac8e908
Implement PartialDateField using SealedDate and a custom descriptor
2023-10-24 17:30:15 -03:00
Hugh Rundle
b34a491172
run black
2023-10-22 15:34:25 +11:00
Hugh Rundle
a27c652501
admin view for user imports
...
- makes user_import_time_limit a site setting rather than a value in settings.py (note this applies to exports as well as imports)
- admins can change user_import_time_limit from UI
- admins can cancel stuck user imports
- disabling new imports also disables user imports
2023-10-22 15:07:49 +11:00
Hugh Rundle
20114b0059
add notifs and error handling for user export/import
2023-10-22 09:03:28 +11:00
Hugh Rundle
c95f160216
fix MoveUser errors and clean up
...
- minor template fixes
- notification logic fixes
- don't dedupe on moved_to or also_known_as
- add migration
2023-09-25 15:14:21 +10:00
CSDUMMI
688978369f
Implement self-contained archives to import and export entire users between instances ( #38 )
...
Co-authored-by: Daniel Burgess <developerdannymate@gmail.com>
Co-authored-by: Hugh Rundle <hugh@hughrundle.net>
Co-authored-by: dannymate <dannymate@noreply.codeberg.org>
Co-authored-by: hughrun <hughrun@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/GuildAlpha/bookwyrm/pulls/38
Co-authored-by: CSDUMMI <csdummi.misquality@simplelogin.co>
Co-committed-by: CSDUMMI <csdummi.misquality@simplelogin.co>
2023-09-07 22:37:28 +02:00
Mouse Reeve
518f87ef62
Adds merge migration
2023-08-06 16:02:28 -07:00
Mouse Reeve
a166af9990
Merge branch 'main' into report-actions
2023-08-06 16:00:59 -07:00
Joeri de Ruiter
fec6f39e4e
Migration to include Dutch in user.preferred_language
2023-07-23 21:34:28 +02:00
Mouse Reeve
3bd20e3ff8
Set batch size to 1,000
...
Updated as per the comments on the PR so this is ready to merge
2023-07-17 05:42:17 -07:00
Mouse Reeve
4f6a235d77
Reverses order of report action list
2023-06-21 15:05:02 -07:00
Mouse Reeve
b3a519c082
Converts report "comments" into broader "actions" table
...
This table will now track all actions taken on a report, like resolving
it, re-opening it, suspending the reported user, et cetera, in addition
to comments. When there are multiple admins, this change will make it
easier to understand what actions have been taken by whom on a report.
2023-05-16 11:00:33 -07:00
Mouse Reeve
ab146f652a
Adds action types to report comments table
2023-05-16 09:02:43 -07:00
Zach Flanders
ad1ddf2bff
Fixing batch size
2023-04-29 09:48:01 -05:00