forgejo/templates/repo
Earl Warren 5083ea72fb [v7.0/forgejo] fix(ui): /settings/lfs/find 500 error (#3451)
When in the repository settings, visiting

- `LFS` to `/{owner}/{repo}/settings/lfs`
- `Find pointer files` to `/{owner}/{repo}/settings/lfs/pointers`
- `Find commits` to `/{owner}/{repo}/settings/lfs/find?oid=...`

failed with an error 500 because of an incorrect evaluation of the
template.

Regression introduced by
cbf923e87b

A test is added to visit the page and guard against future
regressions.

Refs: https://codeberg.org/forgejo/forgejo/issues/3438
(cherry picked from commit 078229a5e4)

Also has a backport of https://codeberg.org/forgejo/forgejo/pulls/3465/files to ensure the test fails.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3451
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2024-04-25 21:46:25 +00:00
..
actions Fix various overflows on actions view (#30344) (#30505) 2024-04-21 18:07:00 +02:00
branch Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
cite
code Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
diff Fix unlabelled button in code review 2024-04-22 14:54:19 +00:00
editor Convert max file name length to 255 (#30489) (#30504) 2024-04-21 18:06:23 +02:00
find Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
graph Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
issue Fix the WIP prefix toggling on the sidebar 2024-04-23 08:01:58 +00:00
migrate Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
projects Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
pulls Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
release Make display of EasyMDE in UI optional to template 2024-04-19 13:49:20 +00:00
settings [v7.0/forgejo] fix(ui): /settings/lfs/find 500 error (#3451) 2024-04-25 21:46:25 +00:00
tag Adjust the signed tag verification line 2024-04-02 22:03:30 +00:00
wiki Make display of EasyMDE in UI optional to template 2024-04-19 13:49:20 +00:00
activity.tmpl
admin_flags.tmpl
blame.tmpl Fix border-radius on view, blame and code search (#30545) (#30560) 2024-04-21 18:11:36 +02:00
branch_dropdown.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
clone_buttons.tmpl
clone_script.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
commit_page.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 16:33:51 +02:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
commits_list.tmpl [BUG] Disable 'View at this point in history' for wikis 2024-04-03 17:10:28 +00:00
commits_list_small.tmpl Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
commits_search_dropdown.tmpl
commits_table.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
contributors.tmpl
create.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
create_helper.tmpl
empty.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
file_info.tmpl Provide a way to translate data units 2024-04-02 17:29:32 +00:00
flags.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
forks.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
graph.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
header.tmpl Fix Repository icon, name and label not centered vertically 2024-04-25 16:23:36 +00:00
header_fork.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
home.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 16:33:51 +02:00
icon.tmpl
latest_commit.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
navbar.tmpl
packages.tmpl
pulse.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
recent_commits.tmpl
release_tag_header.tmpl Fix menu buttons in issues and release (#30056) 2024-03-30 07:17:30 +01:00
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl Rename ByteSize to ReadableSize 2024-04-02 17:29:32 +00:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Fix border-radius on view, blame and code search (#30545) (#30560) 2024-04-21 18:11:36 +02:00
view_list.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 16:33:51 +02:00
watch_unwatch.tmpl
watchers.tmpl