forgejo/models/repo
JakobDev 1bce2dc5c5 [FEAT]Add Option to hide Release Archive links (#3139)
This adds a new options to releases to hide the links to the automatically generated archives. This is useful, when the automatically generated Archives are broken e.g. because of Submodules.

![grafik](/attachments/5686edf6-f318-4175-8459-89c33973b181)
![grafik](/attachments/74a8bf92-2abb-47a0-876d-d41024770d0b)

Note:
This juts hides the Archives from the UI. Users can still download 5the Archive if they know t correct URL.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3139
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: JakobDev <jakobdev@gmx.de>
Co-committed-by: JakobDev <jakobdev@gmx.de>
2024-04-24 15:15:55 +00:00
..
archive_download_count.go Add fix and migration 2024-04-08 12:54:43 +02:00
archive_download_count_test.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
archiver.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
attachment.go Do some performance optimize for issues list and view issue/pull (gitea#29515) 2024-04-08 14:47:31 +02:00
attachment_test.go
avatar.go
collaboration.go
collaboration_test.go
fork.go
fork_test.go
git.go
issue.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
language_stats.go
main_test.go
mirror.go
pushmirror.go
pushmirror_test.go
redirect.go
redirect_test.go
release.go [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
release_test.go
repo.go [I18N] Allow custom repo size format 2024-04-02 18:43:12 +05:00
repo_flags.go
repo_flags_test.go
repo_indexer.go
repo_list.go Add container.FilterSlice function (gitea#30339) 2024-04-16 11:49:44 +02:00
repo_list_test.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
repo_test.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
repo_unit.go Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
repo_unit_test.go
search.go
star.go
star_test.go
topic.go
topic_test.go
update.go
upload.go
user_repo.go Users with read permission of pull requests can be assigned too (#27263) 2024-02-26 22:30:27 +01:00
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go