gitea/templates/repo
Lunny Xiao 4f879a00df
Refactor find forks and fix possible bugs that weak permissions check (#32528)
- Move models/GetForks to services/FindForks
- Add doer as a parameter of FindForks to check permissions
- Slight performance optimization for get forks API with batch loading
of repository units
- Add tests for forking repository to organizations

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-18 03:06:25 +00:00
..
actions Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
branch Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
cite
code Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
diff Support quote selected comments to reply (#32431) 2024-11-07 03:57:07 +00:00
editor Code editor theme enhancements (#31629) 2024-07-14 23:22:48 +00:00
find
graph Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
issue Fix large image overflow in comment page (#31740) 2024-11-15 18:34:54 +00:00
migrate Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
projects Fix incorrect project page CSS class (#32510) 2024-11-15 01:30:26 +00:00
pulls Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
release Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
settings Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
tag Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
wiki Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
activity.tmpl
blame.tmpl Fix the link for .git-blame-ignore-revs bypass (#31432) 2024-06-20 23:28:34 +00:00
branch_dropdown.tmpl Fix some UI problems (dropdown/container) (#30849) 2024-05-06 07:17:22 +00:00
clone_buttons.tmpl Improve repo button row layout (#30668) 2024-05-02 19:10:49 +00:00
clone_script.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
commit_status.tmpl
commit_statuses.tmpl
commits_list_small.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
commits_list.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
commits_search_dropdown.tmpl
commits_table.tmpl
commits.tmpl
contributors.tmpl Fix Activity Page Contributors dropdown (#31264) 2024-06-06 10:28:33 +08:00
create_helper.tmpl
create.tmpl Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
empty.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
file_info.tmpl Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
forks.tmpl Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
graph.tmpl
header.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
home.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
icon.tmpl
latest_commit.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
navbar.tmpl
packages.tmpl
pulse.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
recent_commits.tmpl
release_tag_header.tmpl
search_name.tmpl
search.tmpl
shabox_badge.tmpl Always use HTML attributes for avatar size (#31509) 2024-06-28 21:29:15 +00:00
star_unstar.tmpl code optimization (#31315) 2024-06-11 21:07:10 +08:00
sub_menu.tmpl Support repo license (#24872) 2024-10-01 15:25:08 -04:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
view_file.tmpl Fix and refactor markdown rendering (#32522) 2024-11-16 08:41:44 +00:00
view_list.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
watch_unwatch.tmpl
watchers.tmpl