discourse/lib/backup_restore
Bianca Nenciu 9db8f00b3d
FEATURE: Create upload_references table (#16146)
This table holds associations between uploads and other models. This can be used to prevent removing uploads that are still in use.

* DEV: Create upload_references
* DEV: Use UploadReference instead of PostUpload
* DEV: Use UploadReference for SiteSetting
* DEV: Use UploadReference for Badge
* DEV: Use UploadReference for Category
* DEV: Use UploadReference for CustomEmoji
* DEV: Use UploadReference for Group
* DEV: Use UploadReference for ThemeField
* DEV: Use UploadReference for ThemeSetting
* DEV: Use UploadReference for User
* DEV: Use UploadReference for UserAvatar
* DEV: Use UploadReference for UserExport
* DEV: Use UploadReference for UserProfile
* DEV: Add method to extract uploads from raw text
* DEV: Use UploadReference for Draft
* DEV: Use UploadReference for ReviewableQueuedPost
* DEV: Use UploadReference for UserProfile's bio_raw
* DEV: Do not copy user uploads to upload references
* DEV: Copy post uploads again after deploy
* DEV: Use created_at and updated_at from uploads table
* FIX: Check if upload site setting is empty
* DEV: Copy user uploads to upload references
* DEV: Make upload extraction less strict
2022-06-09 09:24:30 +10:00
..
backup_file_handler.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
backup_store.rb DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
backuper.rb FEATURE: Attach backup log as upload (#13849) 2021-08-03 20:06:50 +03:00
database_restorer.rb FIX: Check all migrations for dropped columns/tables during restore 2021-06-23 17:43:38 +01:00
factory.rb FIX: Restoring could fail due to missing path 2021-02-09 17:28:03 +01:00
local_backup_store.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
logger.rb FIX: Remap old S3 endpoints during backup restore (#12276) 2021-03-03 21:10:09 +01:00
meta_data_handler.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
restorer.rb FEATURE: Attach backup log as upload (#13849) 2021-08-03 20:06:50 +03:00
s3_backup_store.rb FEATURE: Make S3 presigned GET URL expiry configurable (#16912) 2022-05-26 09:53:01 +10:00
system_interface.rb PERF: Disable Sidekiq only during database restore (#10857) 2020-10-16 15:19:02 +02:00
uploads_restorer.rb FEATURE: Create upload_references table (#16146) 2022-06-09 09:24:30 +10:00