You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/migrations
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387)
* Add a storage layer for attachments

* Fix some bug

* fix test

* Fix copyright head and lint

* Fix bug

* Add setting for minio and flags for migrate-storage

* Add documents

* fix lint

* Add test for minio store type on attachments

* fix test

* fix test

* Apply suggestions from code review

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Add warning when storage migrated successfully

* Fix drone

* fix test

* rebase

* Fix test

* display the error on console

* Move minio test to amd64 since minio docker don't support arm64

* refactor the codes

* add trace

* Fix test

* remove log on xorm

* Fi download bug

* Add a storage layer for attachments

* Add setting for minio and flags for migrate-storage

* fix lint

* Add test for minio store type on attachments

* Apply suggestions from code review

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Fix drone

* fix test

* Fix test

* display the error on console

* Move minio test to amd64 since minio docker don't support arm64

* refactor the codes

* add trace

* Fix test

* Add URL function to serve attachments directly from S3/Minio

* Add ability to enable/disable redirection in attachment configuration

* Fix typo

* Add a storage layer for attachments

* Add setting for minio and flags for migrate-storage

* fix lint

* Add test for minio store type on attachments

* Apply suggestions from code review

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Fix drone

* fix test

* Fix test

* display the error on console

* Move minio test to amd64 since minio docker don't support arm64

* don't change unrelated files

* Fix lint

* Fix build

* update go.mod and go.sum

* Use github.com/minio/minio-go/v6

* Remove unused function

* Upgrade minio to v7 and some other improvements

* fix lint

* Fix go mod

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Tyler <tystuyfzand@gmail.com>
4 years ago
..
migrations.go Kanban board (#8346) 4 years ago
v70.go Remove migration support from versions earlier than 1.6.0 (#10026) 4 years ago
v71.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v72.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v73.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v74.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v75.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v76.go Remove migration support from versions earlier than 1.6.0 (#10026) 4 years ago
v77.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v78.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v79.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v80.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v81.go Upgrade xorm to v1.0.0 (#10646) 4 years ago
v82.go Migrations (v82,v96,v99,v136) remove dependencies (#12286) 4 years ago
v83.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v84.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v85.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v86.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v87.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v88.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v89.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v90.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v91.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v92.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v93.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v94.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v95.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v96.go Add a storage layer for attachments (#11387) 4 years ago
v97.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v98.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v99.go Migrations (v82,v96,v99,v136) remove dependencies (#12286) 4 years ago
v100.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
v101.go Allow more than 255 characters for tokens in external_login_user table (#8554) 5 years ago
v102.go Use transaction in V102 migration (#12395) 4 years ago
v103.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
v104.go Fix extra columns from `label` table (#8633) 5 years ago
v105.go Add team option to grant rights for all organization repositories (#8688) 5 years ago
v106.go Auto-subscribe user to repository when they commit/tag to it (#7657) 5 years ago
v107.go Template Repositories (#8768) 5 years ago
v108.go Improve notification (#8835) 5 years ago
v109.go Team permission to create repository in organization (#8312) 5 years ago
v110.go Upgrade xorm to v1.0.0 (#10646) 4 years ago
v111.go Fix bug preventing transfer to private organization (#12497) 4 years ago
v112.go Add a storage layer for attachments (#11387) 4 years ago
v113.go Change target branch for pull request (#6488) 5 years ago
v114.go Add migration to sanitize repository original_url (#9423) 5 years ago
v115.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
v116.go Refactor: Remove Dependencys from Migration v112-v119 (#11811) 4 years ago
v117.go Add branch protection option to block merge on requested changes. (#9592) 5 years ago
v118.go Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
v119.go Refactor: Remove Dependencys from Migration v112-v119 (#11811) 4 years ago
v120.go Add owner_name column for table repository for maintaince reason (#9717) 5 years ago
v121.go Restricted users (#6274) 5 years ago
v122.go Add require signed commit for protected branch (#9708) 5 years ago
v123.go Migrate reactions when migrating repository from github (#9599) 5 years ago
v124.go Add missing columns to repository and user (#9861) 5 years ago
v125.go Migrate reviews when migrating repository from github (#9463) 5 years ago
v126.go Update topics repo count when deleting repository (#10051) 4 years ago
v127.go Language statistics bar for repositories (#8037) 4 years ago
v128.go Add logging to long migrations (#11647) 4 years ago
v129.go Migration for deleting orphaned dependencies (#10617) 4 years ago
v130.go Fix migration (#10641) 4 years ago
v131.go System-wide webhooks (#10546) 4 years ago
v132.go Allow to set protected file patterns that can not be changed under no conditions (#10806) 4 years ago
v133.go make avatar lookup occur at image request (#10540) 4 years ago
v134.go Add logging to long migrations (#11647) 4 years ago
v135.go Add Organization Wide Labels (#10814) 4 years ago
v136.go Migrations (v82,v96,v99,v136) remove dependencies (#12286) 4 years ago
v137.go Prevent merge of outdated PRs on protected branches (#11012) 4 years ago
v138.go Add a way to mark Conversation (code comment) resolved (#11037) 4 years ago
v139.go Fix issue ref migration (#11419) 4 years ago
v140.go Change language statistics to save size instead of percentage (#11681) 4 years ago
v141.go Add hide activity option (#11353) 4 years ago
v142.go Add migration to set IsArchived false if it is null (#11853) 4 years ago
v143.go Decrease the num_stars when deleting a repo (#11954) 4 years ago
v144.go Don't use legacy method to send Matrix Webhook (#12348) 4 years ago
v145.go Fix Migration 145 on MSSQL if varchar is changed to nvarchar (#12445) 4 years ago
v146.go Kanban board (#8346) 4 years ago