gitea/services/repository/files
bytedream 3a37d63d61
Allow renaming/moving binary/LFS files in the UI (#34350)
Adds the ability to rename/move binary files like binary blobs or images
and files that are too large in the web ui.
This was purposed in #24722, along with the ability edit images via an
upload of a new image, which I didn't implement here (could be done in a
separate PR).

Binary file content:

![binary](https://github.com/user-attachments/assets/61d9ff71-25d3-4832-9288-452cdefc7283)

File too large:

![toolarge](https://github.com/user-attachments/assets/3b42dbd0-e76a-4c3c-92d2-52ebffedea64)

GitHub does the same (I've copied the text from there):

![gh](https://github.com/user-attachments/assets/e1499813-fb71-4544-9d58-086046a5f13e)
2025-06-16 17:15:07 -07:00
..
cherry_pick.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
commit.go Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
content.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
content_test.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
diff.go Decouple context from repository related structs (#33823) 2025-03-08 13:12:46 -08:00
diff_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
file.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
file_test.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
patch.go Refactor Branch struct in package modules/git (#33980) 2025-04-02 17:31:32 +00:00
temp_repo.go Improve instance wide ssh commit signing (#34341) 2025-06-11 10:32:55 +00:00
tree.go support the open-icon of folder (#34168) 2025-04-28 19:51:32 -07:00
tree_test.go support the open-icon of folder (#34168) 2025-04-28 19:51:32 -07:00
update.go Allow renaming/moving binary/LFS files in the UI (#34350) 2025-06-16 17:15:07 -07:00
upload.go Fix LFS file not stored in LFS when uploaded/edited via API or web UI (#34367) 2025-05-08 13:07:53 +08:00