forgejo/templates/repo
yp05327 b691a3e6b8
Convert max file name length to 255 (#30489)
Quick/Partly fix #29907

In Linux and MacOS, by default the max file name length is 255.
In windows, it depends on the version and settings, and has no file name
length limitation, but has path length limitation.
By default it is 260, considering path length is longer than filename,
so I think it is ok to do this.

For Windows, see
https://learn.microsoft.com/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
For Linux, see
https://github.com/torvalds/linux/blob/master/include/uapi/linux/limits.h#L12-L13
For MacOS, see
https://discussions.apple.com/thread/254788848?sortBy=best

(cherry picked from commit 2c80421243ed1fd6f53c3e1a84c06648524f7c66)
2024-04-21 11:53:41 +02:00
..
actions
branch
cite
code
diff Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
editor Convert max file name length to 255 (#30489) 2024-04-21 11:53:41 +02:00
find
graph Fix DEFAULT_SHOW_FULL_NAME=false has no effect in commit list and commit graph page (#30096) 2024-04-07 10:52:45 +02:00
issue Various improvements to pages: notifications and subscriptions 2024-04-16 15:29:28 +05:00
migrate
projects
pulls
release Make display of EasyMDE in UI optional to template 2024-04-15 21:23:33 +05:00
settings move webhook/settings file around 2024-04-16 08:59:11 +02:00
tag
wiki Make display of EasyMDE in UI optional to template 2024-04-15 21:23:33 +05:00
activity.tmpl
admin_flags.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl [PORT] gitea#30396: Fix author name alignment in commits table 2024-04-15 20:09:34 +02:00
commits_list_small.tmpl
commits_search_dropdown.tmpl
commits_table.tmpl
contributors.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
flags.tmpl
forks.tmpl
graph.tmpl
header.tmpl Fix the settings tab highlighting 2024-04-12 19:11:21 +02:00
header_fork.tmpl
home.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
icon.tmpl
latest_commit.tmpl Fix DEFAULT_SHOW_FULL_NAME=false has no effect in commit list and commit graph page (#30096) 2024-04-07 10:52:45 +02:00
navbar.tmpl
packages.tmpl
pulse.tmpl Pulse page improvements (#30149) 2024-04-21 11:08:33 +02:00
recent_commits.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
view_list.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
watch_unwatch.tmpl
watchers.tmpl