forgejo/templates
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
..
admin Fix admin notice view-detail (#30450) 2024-04-15 20:01:36 +02:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 16:43:30 +00:00
base Add [other].SHOW_FOOTER_POWERED_BY setting to hide Powered by (#30253) 2024-04-07 15:40:31 +02:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Revert 100% label max-width (#30481) 2024-04-21 11:37:55 +02:00
explore [BUG] Fix tooltip for 1000+ stars/forks 2024-04-10 23:53:40 +02:00
mail Provide a way to translate data units 2024-03-30 21:10:47 +05:00
org Fix the spacing issue in the Project view (#30415) 2024-04-15 20:01:36 +02:00
package Some NuGet package enhancements 2024-04-15 20:45:14 +02:00
projects [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
repo Convert max file name length to 255 (#30489) 2024-04-21 11:53:41 +02:00
shared Make display of EasyMDE in UI optional to template 2024-04-15 21:23:33 +05:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
swagger Merge pull request 'Do not require login_name & source_id for /admin/user/{username}' (#3278) from algernon/forgejo:leave-your-name-at-the-door into forgejo 2024-04-17 11:05:13 +00:00
user Use flex-container for dashboard layout (#30214) 2024-04-21 11:12:00 +02:00
webhook webhook: matrix access_token helper text 2024-04-16 08:59:56 +02:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
install.tmpl Update checker setting updates 2024-03-31 10:52:24 +05:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00