forgejo/services/repository/files
Gusted c72307fd3b
[GITEA] Add download URL for executable files
- Consider executable files as a valid case when returning a downloadURL
for them. They are just regular files with the difference being the
executable permission bit being set.
- Not integration testing as it's not possible without adding adjusting
the existing repositories to have a executable file.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1825

(cherry picked from commit ca32891d548c302b0f3b3072647058278ffb9cbf)
(cherry picked from commit 72c9df8e457ea291f767e6edf2b3c8f9af15700f)
(cherry picked from commit 0eae22d429a66f137daa200f559883a6b6a31de0)
(cherry picked from commit d37d0773bc005df19f300f9ada03632ea9f97642)
(cherry picked from commit de4532a96721ed4259aa36cb417bb49ed979f6e5)
(cherry picked from commit f5b41300a86222308eb605c84945ed7c9770b04d)
(cherry picked from commit d3be0480b78ec2edbd78c4c0685f097b2ee841d6)
2024-01-15 16:11:59 +00:00
..
cherry_pick.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
commit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
content.go [GITEA] Add download URL for executable files 2024-01-15 16:11:59 +00:00
content_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
diff.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
diff_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
file.go [GITEA] Allow user to select email for file operations in Web UI 2024-01-15 16:11:58 +00:00
file_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
patch.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
temp_repo.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
tree.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
tree_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
update.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
upload.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00