forgejo/modules
Lunny Xiao 4fdd4fb2c4
Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism () ()
backport  

Since  introduced internal watching template, template watching
should be removed from `air`. This will prevent restart the whole server
once the template files changed to speed up developing when using `make
watch`.

To ensure `make watch` will reuse template watching, this PR introduced
a new ENV `GITEA_RUN_MODE` to make sure `make watch` will always run in
a dev mode of Gitea so that template watching will open.

This PR also added more exclude testdata directories.

Co-authored-by: 6543 <6543@obermui.de>
2022-12-29 16:12:10 +01:00
..
activitypub Fix dashboard ignored system setting cache () () 2022-11-10 19:41:44 +08:00
analyze Simplify IsVendor () 2022-05-06 10:12:30 +01:00
auth Remove legacy +build: constraint () 2022-05-02 23:22:45 +08:00
avatar Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
base Add generic set type () 2022-10-12 13:18:26 +08:00
cache Fix dashboard ignored system setting cache () () 2022-11-10 19:41:44 +08:00
charset Ensure that plain files are rendered correctly even when containing ambiguous characters () () 2022-12-19 23:51:21 +08:00
container Add generic set type () 2022-10-12 13:18:26 +08:00
context refactor auth interface to return error when verify failure () () 2022-12-29 13:50:09 +08:00
convert Use GhostUser if needed for TrackedTimes () () 2022-12-05 14:20:37 +02:00
csv Go 1.19 format () 2022-08-30 21:15:45 -05:00
doctor Prevent dangling user redirects () () 2022-11-18 22:25:00 +08:00
emoji Go 1.19 format () 2022-08-30 21:15:45 -05:00
eventsource Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
generate Use base32 for 2FA scratch token () 2022-01-26 12:10:10 +08:00
git Use complete SHA to create and query commit status () () 2022-12-28 11:03:21 +01:00
gitgraph Refactor git command arguments and make all arguments to be safe to be used () 2022-10-23 22:44:45 +08:00
graceful Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
hcaptcha hCaptcha Support () 2020-10-02 23:37:53 -04:00
highlight Upgrade chroma to v2.3.0 () 2022-09-26 13:50:03 +08:00
hostmatcher Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
httpcache Add Cache-Control header to html and api responses, add no-transform () 2022-07-23 14:38:03 +08:00
httplib refactor httplib () 2022-01-19 19:31:39 -05:00
indexer Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
issue/template Use path not filepath in template filenames () () 2022-12-04 13:58:58 +08:00
json Refactor legacy unknwon/com package, improve golangci lint () 2022-04-01 16:47:50 +08:00
lfs Removed some vestigial code related to Range bounds checks () 2022-07-28 11:04:36 +08:00
log Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
markup Support comma-delimited string as labels in issue template () () 2022-11-20 10:44:20 +00:00
mcaptcha Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
metrics Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
migration Add more checks in migration code () 2022-09-04 13:47:56 +03:00
mirror Implement sync push mirror on commit () 2022-07-08 20:45:12 +01:00
nosql fix broken insecureskipverify handling in rediss connection uris () 2022-08-29 16:38:49 +02:00
notification Decouple HookTask from Repository () 2022-10-21 18:21:56 +02:00
options Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
packages Normalize NuGet package version on upload () () 2022-12-21 14:50:17 -06:00
paginator Remove unnecessary misspell ignore pattern () 2022-10-18 12:52:25 -04:00
password Fixed assert statements. () 2021-06-07 07:27:09 +02:00
pprof Go 1.19 format () 2022-08-30 21:15:45 -05:00
private Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
process Add more linters to improve code readability () 2022-06-20 12:02:49 +02:00
proxy Return nil proxy function if proxy not enabled () 2021-08-19 16:41:20 -04:00
proxyprotocol Support Proxy protocol () 2022-08-21 19:20:43 +01:00
public Add generic set type () 2022-10-12 13:18:26 +08:00
queue Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
recaptcha Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
references Remove unnecessary misspell ignore pattern () 2022-10-18 12:52:25 -04:00
regexplru Custom regexp external issues () 2022-06-10 13:39:53 +08:00
repository Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
secret Use CryptoRandomBytes instead of CryptoRandomString () 2022-02-04 18:03:15 +01:00
session format with gofumpt () 2022-01-20 18:46:10 +01:00
setting Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism () () 2022-12-29 16:12:10 +01:00
sitemap Add sitemap support () 2022-06-25 19:06:01 +02:00
ssh Support Proxy protocol () 2022-08-21 19:20:43 +01:00
storage Local storage should not store files as executable () () 2022-12-19 01:12:25 +02:00
structs Support comma-delimited string as labels in issue template () () 2022-11-20 10:44:20 +00:00
svg Remove legacy +build: constraint () 2022-05-02 23:22:45 +08:00
sync Add generic set type () 2022-10-12 13:18:26 +08:00
system Fix dashboard ignored system setting cache () () 2022-11-10 19:41:44 +08:00
templates Fix vertical align of committer avatar rendered by email address () () 2022-11-24 10:52:20 +08:00
test Refactor AssertExistsAndLoadBean to use generics () 2022-08-16 10:22:25 +08:00
timeutil Check for zero time instant in TimeStamp.IsZero() () () 2022-12-20 10:04:46 +08:00
translation Make every not exist error unwrappable to a fs.ErrNotExist () 2022-10-18 07:50:37 +02:00
typesniffer Rework raw file http header logic () 2022-07-29 17:26:55 +02:00
updatechecker Add system setting table with cache and also add cache supports for user setting () 2022-10-17 07:29:26 +08:00
upload Simplify parameter types () 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url () 2021-12-23 16:27:33 +00:00
user Add gitea-vet () 2020-04-05 07:20:50 +01:00
util Make every not exist error unwrappable to a fs.ErrNotExist () 2022-10-18 07:50:37 +02:00
validation Add more checks in migration code () 2022-09-04 13:47:56 +03:00
watcher Share HTML template renderers and create a watcher framework () 2022-08-28 10:43:25 +01:00
web refactor webhook *NewPost () 2022-08-11 17:48:23 +02:00