You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
Jason Song 84447df4d3
Support Issue forms and PR forms (#20987)
* feat: extend issue template for yaml

* feat: support yaml template

* feat: render form to markdown

* feat: support yaml template for pr

* chore: rename to Fields

* feat: template unmarshal

* feat: split template

* feat: render to markdown

* feat: use full name as template file name

* chore: remove useless file

* feat: use dropdown of fomantic ui

* feat: update input style

* docs: more comments

* fix: render text without render

* chore: fix lint error

* fix: support use description as about in markdown

* fix: add field class in form

* chore: generate swagger

* feat: validate template

* feat: support is_nummber and regex

* test: fix broken unit tests

* fix: ignore empty body of md template

* fix: make multiple easymde editors work in one page

* feat: better UI

* fix: js error in pr form

* chore: generate swagger

* feat: support regex validation

* chore: generate swagger

* fix: refresh each markdown editor

* chore: give up required validation

* fix: correct issue template candidates

* fix: correct checkboxes style

* chore: ignore .hugo_build.lock in docs

* docs: separate out a new doc for merge templates

* docs: introduce syntax of yaml template

* feat: show a alert for invalid templates

* test: add case for a valid template

* fix: correct attributes of required checkbox

* fix: add class not-under-easymde for dropzone

* fix: use more back-quotes

* chore: remove translation in zh-CN

* fix EasyMDE statusbar margin

* fix: remove repeated blocks

* fix: reuse regex for quotes

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
..
activitypub Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
analyze Simplify `IsVendor` (#19626) 3 years ago
appstate Use a struct as test options (#19393) 3 years ago
auth Remove legacy `+build:` constraint (#19582) 3 years ago
avatar Go 1.19 format (#20758) 3 years ago
base Add more linters to improve code readability (#19989) 3 years ago
cache Update go-chi/cache to utilize Ping() (#19719) 3 years ago
charset Share HTML template renderers and create a watcher framework (#20218) 3 years ago
container Move reaction to models/issues/ (#19264) 3 years ago
context Support Issue forms and PR forms (#20987) 3 years ago
convert Move some files into models' sub packages (#20262) 3 years ago
csv Go 1.19 format (#20758) 3 years ago
doctor Move some files into models' sub packages (#20262) 3 years ago
emoji Go 1.19 format (#20758) 3 years ago
eventsource Move some files into models' sub packages (#20262) 3 years ago
generate Use base32 for 2FA scratch token (#18384) 3 years ago
git Go 1.19 format (#20758) 3 years ago
gitgraph Add more linters to improve code readability (#19989) 3 years ago
graceful Support Proxy protocol (#12527) 3 years ago
hcaptcha
highlight Rework file highlight rendering and fix yaml copy-paste (#19967) 3 years ago
hostmatcher Add proxy host into allow list (#20798) 3 years ago
httpcache Add Cache-Control header to html and api responses, add no-transform (#20432) 3 years ago
httplib refactor httplib (#18338) 3 years ago
indexer Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 3 years ago
issue/template Support Issue forms and PR forms (#20987) 3 years ago
json Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
lfs Removed some vestigial code related to Range bounds checks (#20312) 3 years ago
log Go 1.19 format (#20758) 3 years ago
markup Support Issue forms and PR forms (#20987) 3 years ago
mcaptcha Add support mCaptcha as captcha provider (#20458) 3 years ago
metrics Move some files into models' sub packages (#20262) 3 years ago
migration Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 3 years ago
mirror Implement sync push mirror on commit (#19411) 3 years ago
nosql fix broken insecureskipverify handling in rediss connection uris (#20967) 3 years ago
notification Move some files into models' sub packages (#20262) 3 years ago
options Share HTML template renderers and create a watcher framework (#20218) 3 years ago
packages Add support for Vagrant packages (#20930) 3 years ago
paginator Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
password
pprof Go 1.19 format (#20758) 3 years ago
private Support Proxy protocol (#12527) 3 years ago
process Add more linters to improve code readability (#19989) 3 years ago
proxy
proxyprotocol Support Proxy protocol (#12527) 3 years ago
public Remove legacy `+build:` constraint (#19582) 3 years ago
queue Add more linters to improve code readability (#19989) 3 years ago
recaptcha
references Add more linters to improve code readability (#19989) 3 years ago
regexplru Custom regexp external issues (#17624) 3 years ago
repository Move some files into models' sub packages (#20262) 3 years ago
secret Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 3 years ago
session format with gofumpt (#18184) 3 years ago
setting Only show relevant repositories on explore page (#19361) 3 years ago
sitemap Add sitemap support (#18407) 3 years ago
ssh Support Proxy protocol (#12527) 3 years ago
storage Add more linters to improve code readability (#19989) 3 years ago
structs Support Issue forms and PR forms (#20987) 3 years ago
svg Remove legacy `+build:` constraint (#19582) 3 years ago
sync Use queue instead of memory queue in webhook send service (#19390) 3 years ago
templates Share HTML template renderers and create a watcher framework (#20218) 3 years ago
test Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
timeutil Share HTML template renderers and create a watcher framework (#20218) 3 years ago
translation Share HTML template renderers and create a watcher framework (#20218) 3 years ago
typesniffer Rework raw file http header logic (#20484) 3 years ago
updatechecker format with gofumpt (#18184) 3 years ago
upload
uri Prevent NPE if gitea uploader fails to open url (#18080) 3 years ago
user
util Go 1.19 format (#20758) 3 years ago
validation use IsLoopback (#19477) 3 years ago
watcher Share HTML template renderers and create a watcher framework (#20218) 3 years ago
web refactor webhook *NewPost (#20729) 3 years ago