gitea/modules
mappu fd76f090a2 markup: microoptimise for many short filenames in directory (#1534)
* markup: microoptimise for many short filenames in directory

Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames.

* markup: expand test cases for IsReadmeFile()
2017-05-09 22:20:22 +08:00
..
auth Add configuration option for default permission to create Organizations (#1686) 2017-05-08 21:51:53 +02:00
avatar Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
base fix some typos (#1082) 2017-02-28 12:56:15 +08:00
context Generate swagger json (#1402) 2017-05-02 15:35:59 +02:00
cron Implement archive cleanup (#885) 2017-02-11 12:00:46 +08:00
highlight Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
httplib Add internal routes for ssh hook comands (#1471) 2017-04-19 11:45:01 +08:00
indexer Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
lfs Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
log Remove unused mutex field (#1440) 2017-04-04 01:54:02 -07:00
mailer Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
markdown Fix commit sha1 URL rendering in markdown (#1677) 2017-05-05 16:49:13 +08:00
markup markup: microoptimise for many short filenames in directory (#1534) 2017-05-09 22:20:22 +08:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Notification - Step 1 (#523) 2016-12-31 00:44:54 +08:00
options Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
private Drop db operations from hook commands (#1514) 2017-05-04 13:42:02 +08:00
process Refactor process package and introduce ProcessManager{} with tests (#75) 2017-01-17 13:58:58 +08:00
public Allow custom public files (#782) 2017-01-28 23:14:56 +01:00
setting Add configuration option for default permission to create Organizations (#1686) 2017-05-08 21:51:53 +02:00
ssh Cleanup log messaging 2017-02-02 15:24:18 +01:00
sync Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
templates Sanitation fix from Gogs (#1461) 2017-04-13 10:52:24 +08:00
user golint fixed for modules/user 2016-11-24 17:37:11 +08:00
util refactor: remove workaround after the golang 1.7 release. (#1349) 2017-03-29 10:05:23 +08:00
validation Better URL validation (#1507) 2017-04-19 11:02:20 +08:00