forgejo/modules
zeripath 9e6e1dc950
Improve checkBranchName (#17901)
The current implementation of checkBranchName is highly inefficient
involving opening the repository, the listing all of the branch names
checking them individually before then using using opened repo to get
the tags.

This PR avoids this by simply walking the references from show-ref
instead of opening the repository (in the nogogit case).

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-08 19:08:16 +00:00
..
activitypub
analyze
appstate Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
auth
avatar Add user settings key/value DB table (#16834) 2021-11-22 04:47:23 -05:00
base
cache Test cache during init (#17852) 2021-12-06 00:24:57 +08:00
charset Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
context Improve checkBranchName (#17901) 2021-12-08 19:08:16 +00:00
convert Use fmt.Sprintf correctly (#17886) 2021-12-02 20:36:50 +01:00
csv Properly determine CSV delimiter (#17459) 2021-10-30 23:50:40 +08:00
doctor Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
emoji
eventsource
generate
git Improve checkBranchName (#17901) 2021-12-08 19:08:16 +00:00
gitgraph Refactor various strings (#17784) 2021-12-02 15:28:08 +08:00
graceful Make SSL cipher suite configurable (#17440) 2021-11-20 01:12:43 -05:00
hcaptcha
highlight Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
hostmatcher Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
httpcache Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
httplib
indexer Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
json
lfs Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
log A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
markup Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
metrics
migration Use fmt.Sprintf correctly (#17886) 2021-12-02 20:36:50 +01:00
nosql Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00
notification Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
options
password
pprof
private Replace "unix" by "http+unix" for PROTOCOL (#17771) 2021-12-05 23:46:11 -05:00
process Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
proxy
public
queue Prevent deadlock in TestPersistableChannelQueue (#17717) 2021-11-19 01:13:25 +00:00
recaptcha
references
repofiles Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
repository Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
secret
session Move session to models/login (#17338) 2021-10-17 19:51:56 +01:00
setting allways set a message-id on mails (#17900) 2021-12-08 15:34:23 +08:00
ssh Fix ipv6 parsing for builtin ssh server (#17561) 2021-11-06 14:23:32 +08:00
storage
structs Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
svg
sync
templates Removed SizeFmt. (#17890) 2021-12-03 11:33:34 +08:00
test Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
timeutil Allow mocking timeutil (#17354) 2021-10-18 21:12:26 +01:00
translation
typesniffer Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
updatechecker Refactor update checker to use AppState (#17387) 2021-10-21 17:10:49 +01:00
upload Replace regex usage for MIME parsing (#17831) 2021-11-27 19:12:43 +08:00
uri
user
util Only allow webhook to send requests to allowed hosts (#17482) 2021-11-01 16:39:52 +08:00
validation
web Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00