You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
yp05327 2c80421243
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
11 months ago
..
admin Remove fomantic button module (#30475) 11 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Remove fomantic button module (#30475) 11 months ago
custom
devtest Revert 100% label max-width (#30481) 11 months ago
explore Migrate margin and padding helpers to tailwind (#30043) 11 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 1 year ago
org Remove fomantic button module (#30475) 11 months ago
package Some NuGet package enhancements (#30280) 11 months ago
projects Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 11 months ago
repo Convert max file name length to 255 (#30489) 11 months ago
shared Refactor file view & render (#30227) 11 months ago
status Migrate margin and padding helpers to tailwind (#30043) 11 months ago
swagger Add API for `Variables` (#29520) 11 months ago
user Remove fomantic button module (#30475) 11 months ago
webhook Fix incorrect tailwind migration (#30007) 11 months ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
install.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago