0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-07-09 12:48:43 +02:00
gitea/modules
zeripath ff460ca74d
Speed up enry.IsVendor (#15213)
`enry.IsVendor` is kinda slow as it simply iterates across all regexps.
This PR ajdusts the regexps to combine them to make this process a
little quicker.

Related #15143

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-01 19:41:09 +02:00
..
analyze Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
auth Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
avatar
base
cache [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
charset
context response simple text message for not html request when 404 (#15229) 2021-04-01 17:11:42 +02:00
convert Expose resolver via API (#15167) 2021-03-28 00:37:51 +01:00
cron
csv Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
doctor Delete Labels & IssueLabels on Repo Delete too (#15039) 2021-03-19 21:01:24 +02:00
emoji Fix several render issues (#14986) 2021-03-16 00:20:05 +01:00
eventsource Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
forms Add DefaultMergeStyle option to repository (#14789) 2021-03-27 15:55:40 +01:00
generate
git Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
gitgraph
graceful Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210) 2021-03-31 22:48:48 +03:00
hcaptcha
highlight
httpcache
httplib Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
indexer Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
lfs Fix race in LFS ContentStore.Put(...) (#14895) 2021-03-06 20:21:56 +00:00
log Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
markup Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
matchlist
metrics
migrations [Vendor] update gitea-sdk v0.14.0 (#15103) 2021-03-22 18:03:18 +01:00
nosql [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
notification [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
options
password
pprof
private Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
process
public add 'fonts' into 'KnownPublicEntries' (#15188) 2021-03-30 15:47:34 +03:00
queue Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
recaptcha Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
references
repofiles [Refactor] remove possible resource leak (#15067) 2021-03-21 00:30:29 +08:00
repository Update repository size on cron gc task (#15177) 2021-03-28 05:56:28 +02:00
secret
session Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
setting Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
ssh Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00
storage Fix race in local storage (#14888) 2021-03-05 14:19:17 +01:00
structs Expose resolver via API (#15167) 2021-03-28 00:37:51 +01:00
svg
sync
task Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
templates Prevent incorrect HTML escaping in swagger.json (#14957) 2021-03-11 23:43:04 -05:00
test
timeutil
translation Use i18n.Reset to reload locales (#15073) 2021-03-21 16:11:36 +01:00
upload
uri
user
util
validation
web Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00