1
0
Fork 0
Commit graph

514 commits

Author SHA1 Message Date
86d79f537a Adds merge migration 2024-01-01 19:29:24 -08:00
ca79cb1ca7
Merge pull request #3054 from bookwyrm-social/user-migration
User migration via export file
2024-01-01 19:04:43 -08:00
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
5c0e159d43 Adds Ukranian locale and updates locales 2023-12-12 15:42:40 -08:00
99a9a64708
notification type migration after merge 2023-11-24 06:50:32 +11:00
72c1c6ee3d
merge migrations and lint 2023-11-22 21:29:54 +11:00
0276c15948
Merge branch 'main' into user-migration 2023-11-22 21:00:04 +11:00
c2742b4d80 Updates migrations 2023-11-20 10:02:49 -08:00
cfe42305be Merge branch 'main' into test-themes 2023-11-20 10:02:23 -08:00
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
d94b27b723
Merge branch 'main' into user-migration 2023-11-19 19:18:22 -08:00
8dbfba17d6
Merge from 'main' into stable_dates 2023-11-19 15:09:52 -03:00
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
62f985edb8 Merge branch 'main' into user-migration 2023-11-15 16:46:18 -08:00
54ec5e2ae0
Fix migrations properly (#3116)
* Revert "fix migrations and linting"
This reverts commit 53e410627fe2147b3917d91d0eaa40783a242159.
* really fix migrations
2023-11-15 19:54:16 +11:00
01d4381898
Create notifications for incoming invite requests
Closes: #2066
2023-11-14 07:09:04 -03:00
b81170c149
Add missing migration from #3099 2023-11-13 19:56:00 -03:00
bbc78f03ae
fix DB migrations (#3111)
fix migrations and linting
2023-11-14 07:21:27 +11:00
d5762f1d52
Merge branch 'main' into user-migration 2023-11-13 21:17:07 +11:00
be9d92b1c2
Remove last references to "seal" in partial_date.py and migration 2023-11-09 14:00:45 -03:00
2bb7652dfe
Update partial date migration to latest main 2023-11-09 14:00:22 -03:00
e928027e16
Merge from main for up-to-date migrations 2023-11-09 14:00:14 -03:00
ee6e3ed7eb Adds a database field for is_deleted on user 2023-11-05 20:28:23 -08:00
4de9907456 Adds migration tests 2023-11-05 09:26:49 -08:00
61caeed5a3 Adds migration and more tests 2023-11-05 08:51:42 -08:00
ff2bb513ed Adds migration for notification types 2023-11-05 06:56:10 -08:00
89b87db1c8 Adds merge migration 2023-11-05 06:54:29 -08:00
67822d3cb0
Merge branch 'main' into user-migration 2023-11-05 06:52:48 -08:00
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
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
4d35fd45df
template and migration fixes 2023-10-27 22:22:58 +11:00
737ac8e908
Implement PartialDateField using SealedDate and a custom descriptor 2023-10-24 17:30:15 -03:00
b34a491172
run black 2023-10-22 15:34:25 +11:00
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
20114b0059
add notifs and error handling for user export/import 2023-10-22 09:03:28 +11:00
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
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
518f87ef62 Adds merge migration 2023-08-06 16:02:28 -07:00
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
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
4f6a235d77 Reverses order of report action list 2023-06-21 15:05:02 -07:00
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
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
Zach Flanders
490064cdf8 updating sort title migration 2023-04-29 09:43:55 -05:00
Zach Flanders
a1df116c58 Adding batch processing to the sort title migration 2023-04-27 15:30:52 -05:00
Zach Flanders
858a93e98a fixing migration 2023-04-25 21:05:11 -05:00
Zach Flanders
575e1bac4c responding to review comments 2023-04-25 19:46:38 -05:00
Zach Flanders
a94a4732ec add support for title sort to ignore initial article 2023-04-24 23:29:55 -05:00