1
0
Fork 0
Commit graph

532 commits

Author SHA1 Message Date
518da3b9cf Merge from main into 'user-export'
Conflicts:
	bookwyrm/models/bookwyrm_export_job.py
	requirements.txt
2024-03-18 14:47:34 -03:00
8f537ef56a Adds missing migration for Korean locale 2024-02-20 16:45:16 -08:00
748c934986 Merge migrations upon merge migrations 2024-02-03 08:20:12 -08:00
f7580c59a5 Merge branch 'main' into check-version-number 2024-02-03 08:19:46 -08:00
4e2b8af147 Adds merge migration 2024-02-03 08:02:51 -08:00
48f8ee57a6 Merge branch 'main' into check-version-number 2024-02-03 08:02:15 -08:00
6d5752fb4e Adds merge migration for page numbering fix 2024-02-03 07:40:23 -08:00
37aa7ad2f6 Merge branch 'freeform-page-number' of github.com:WesleyAC/bookwyrm into WesleyAC-freeform-page-number 2024-02-03 07:38:02 -08:00
2bb9a85591
various fixes
- use signed url for s3 downloads
- re-arrange tar.gz file to match original
- delete all working files after tarring
- import from s3 export

TODO

- check local export and import
- fix error when avatar missing
- deal with multiple s3 storage options (e.g. Azure)
2024-01-28 15:07:55 +11:00
833f26fd0e
Merge branch 'main' into user-export 2024-01-18 18:24:56 +11:00
d640e4ac96
disable user exports by default
- new setting to enable user exports defaults to False
- add setting to enable and disable user exports
- do not allow user exports when using s3 storage
- do not serve non-image files from /images/ (requires update to nginx settings)
- increase default file upload limit to 100MB to enable user exports to be imported (can be changed in .env)
2024-01-16 21:32:13 +11:00
62cc6c298f
oops
- remove test export files
- check in emblackened files
2024-01-14 12:19:59 +11:00
cbd08127ef
initial work on fixing user exports with s3
- custom storages
- tar.gz within bucket using s3_tar
- slightly changes export directory structure
- major problems still outstanding re delivering s3 files to end users
2024-01-14 12:14:44 +11:00
6cd2c91135 Allow page numbers to be text, instead of integers.
Fixes: #2640
2024-01-04 19:09:39 -05:00
5509941aa4 Adds schedule-able task to check for version updates 2024-01-02 13:05:26 -08:00
d6f7f76c4d Removes outdated/unused version and updating code
I had the bright idea of creating this update script but it doesn't work
and hasn't been maintained, so it's just sitting there causing confusing
and requiring weird things to exist in other places.

Now, the unused `version` field can be removed and I can scrap the
management command for getting versions.
2024-01-02 11:37:01 -08:00
2a85378456 Removes part of migration causing upgrade issues 2024-01-02 09:57:41 -08:00
913a19c8f0 Formats migration file 2024-01-01 19:33:49 -08:00
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