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.
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726)
* Implemented LFS client.

* Implemented scanning for pointer files.

* Implemented downloading of lfs files.

* Moved model-dependent code into services.

* Removed models dependency. Added TryReadPointerFromBuffer.

* Migrated code from service to module.

* Centralised storage creation.

* Removed dependency from models.

* Moved ContentStore into modules.

* Share structs between server and client.

* Moved method to services.

* Implemented lfs download on clone.

* Implemented LFS sync on clone and mirror update.

* Added form fields.

* Updated templates.

* Fixed condition.

* Use alternate endpoint.

* Added missing methods.

* Fixed typo and make linter happy.

* Detached pointer parser from gogit dependency.

* Fixed TestGetLFSRange test.

* Added context to support cancellation.

* Use ReadFull to probably read more data.

* Removed duplicated code from models.

* Moved scan implementation into pointer_scanner_nogogit.

* Changed method name.

* Added comments.

* Added more/specific log/error messages.

* Embedded lfs.Pointer into models.LFSMetaObject.

* Moved code from models to module.

* Moved code from models to module.

* Moved code from models to module.

* Reduced pointer usage.

* Embedded type.

* Use promoted fields.

* Fixed unexpected eof.

* Added unit tests.

* Implemented migration of local file paths.

* Show an error on invalid LFS endpoints.

* Hide settings if not used.

* Added LFS info to mirror struct.

* Fixed comment.

* Check LFS endpoint.

* Manage LFS settings from mirror page.

* Fixed selector.

* Adjusted selector.

* Added more tests.

* Added local filesystem migration test.

* Fixed typo.

* Reset settings.

* Added special windows path handling.

* Added unit test for HTTPClient.

* Added unit test for BasicTransferAdapter.

* Moved into util package.

* Test if LFS endpoint is allowed.

* Added support for git://

* Just use a static placeholder as the displayed url may be invalid.

* Reverted to original code.

* Added "Advanced Settings".

* Updated wording.

* Added discovery info link.

* Implemented suggestion.

* Fixed missing format parameter.

* Added Pointer.IsValid().

* Always remove model on error.

* Added suggestions.

* Use channel instead of array.

* Update routers/repo/migrate.go

* fmt

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
3 years ago
..
branch Branch page and misc css improvements (#15208) 3 years ago
diff Show diff on rename with diff changes (#15338) 3 years ago
editor enhancement: add signoff option in commit form (#14516) 3 years ago
graph Fix graph pagination (#15225) 3 years ago
issue Prepend AppSubUrl to links for default avatar (#15341) 3 years ago
migrate Add LFS Migration and Mirror (#14726) 3 years ago
projects Update JS dependencies (#15033) 3 years ago
pulls Fix truncated organization names (#14655) 3 years ago
release Implement delete release attachments and update release attachments' name (#14130) 3 years ago
settings Add LFS Migration and Mirror (#14726) 3 years ago
wiki Update JS dependencies (#15033) 3 years ago
activity.tmpl Fix missleading sentence (#14829) 3 years ago
blame.tmpl Fix whitespace rendering in diff (#13415) 4 years ago
branch_dropdown.tmpl Create tag on ui (#13467) 3 years ago
clone_buttons.tmpl Consolidate clone button templates (#14023) 4 years ago
commit_page.tmpl Show dropdown with all statuses for commit (#13977) 4 years ago
commit_status.tmpl Show dropdown with all statuses for commit (#13977) 4 years ago
commit_statuses.tmpl Show dropdown with all statuses for commit (#13977) 4 years ago
commits.tmpl Add class to page content to unify top margin (#13766) 4 years ago
commits_list.tmpl Show dropdown with all statuses for commit (#13977) 4 years ago
commits_list_small.tmpl Show dropdown with all statuses for commit (#13977) 4 years ago
commits_table.tmpl Fix tooltips and issue dependency styles (#13458) 4 years ago
create.tmpl Add helper descriptions on new repo page (#14591) 3 years ago
empty.tmpl Consolidate clone button templates (#14023) 4 years ago
forks.tmpl Direct avatar rendering (#13649) 4 years ago
graph.tmpl Add class to page content to unify top margin (#13766) 4 years ago
header.tmpl Re-enable listing of forks when logged out (#14992) 3 years ago
home.tmpl Ensure that new pull request button works on forked forks owned by owner of the root (#14932) 3 years ago
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 4 years ago
search.tmpl [Feature] add precise search type for Elastic Search (#12869) 3 years ago
shabox_badge.tmpl Fix avatar template error (#13833) 4 years ago
sub_menu.tmpl Move macaron to chi (#14293) 3 years ago
upload.tmpl Fix attachments list in edit comment (#13036) 4 years ago
user_cards.tmpl Direct avatar rendering (#13649) 4 years ago
view_file.tmpl Add Tabular Diff for CSV files (#14661) 3 years ago
view_list.tmpl Show dropdown with all statuses for commit (#13977) 4 years ago
watchers.tmpl Add class to page content to unify top margin (#13766) 4 years ago