forgejo/web_src/js
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>
2022-09-02 15:58:49 +08:00
..
components Replace fomantic popup module with tippy.js (#20428) 2022-08-09 14:37:34 +02:00
features Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
markup Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
modules Forbid HTML string tooltips (#20935) 2022-08-23 16:17:42 -04:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
testUtils Update JS dependencies (#19675) 2022-05-10 21:44:36 +02:00
bootstrap.js Bypass Firefox (iOS) bug (#20244) 2022-07-05 13:27:13 +01:00
index.js Add support mCaptcha as captcha provider (#20458) 2022-08-10 15:20:10 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Auto merge pull requests when all checks succeeded via WebUI (#19648) 2022-06-11 16:44:20 +02:00
svg.test.js Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
utils.js Enable contenthash in filename for dynamic assets (#20813) 2022-08-23 20:58:04 +08:00
utils.test.js Enable contenthash in filename for dynamic assets (#20813) 2022-08-23 20:58:04 +08:00