summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via Crowdinsilverwind2022-09-061-0/+2
|
* [skip ci] Updated translations via CrowdinAaron F2022-09-052-0/+11
|
* Webhook for Wiki changes (#20219)Aaron F2022-09-041-0/+2
| | | | | | | | | | | | | | | | | | | Add support for triggering webhook notifications on wiki changes. This PR contains frontend and backend for webhook notifications on wiki actions (create a new page, rename a page, edit a page and delete a page). The frontend got a new checkbox under the Custom Event -> Repository Events section. There is only one checkbox for create/edit/rename/delete actions, because it makes no sense to separate it and others like releases or packages follow the same schema. ![image](https://user-images.githubusercontent.com/121972/177018803-26851196-831f-4fde-9a4c-9e639b0e0d6b.png) The actions itself are separated, so that different notifications will be executed (with the "action" field). All the webhook receivers implement the new interface method (Wiki) and the corresponding tests. When implementing this, I encounter a little bug on editing a wiki page. Creating and editing a wiki page is technically the same action and will be handled by the ```updateWikiPage``` function. But the function need to know if it is a new wiki page or just a change. This distinction is done by the ```action``` parameter, but this will not be sent by the frontend (on form submit). This PR will fix this by adding the ```action``` parameter with the values ```_new``` or ```_edit```, which will be used by the ```updateWikiPage``` function. I've done integration tests with matrix and gitea (http). ![image](https://user-images.githubusercontent.com/121972/177018795-eb5cdc01-9ba3-483e-a6b7-ed0e313a71fb.png) Fix #16457 Signed-off-by: Aaron Fischer <mail@aaron-fischer.net>
* [skip ci] Updated licenses and gitignoressilverwind2022-09-044-19/+1
|
* [skip ci] Updated translations via CrowdinJakobDev2022-09-033-20/+57
|
* Support Issue forms and PR forms (#20987)Jason Song2022-09-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [skip ci] Updated translations via Crowdinzeripath2022-09-021-0/+4
|
* [skip ci] Updated translations via CrowdinLunny Xiao2022-09-011-0/+2
|
* [skip ci] Updated translations via CrowdinJonRB2022-08-311-0/+2
|
* Add support for Vagrant packages (#20930)KN4CK3R2022-08-291-0/+2
| | | | | | | | | | | | | | | | | | * Add support for Vagrant boxes. * Add authentication. * Add tests. * Add integration tests. * Add docs. * Add icons. * Update routers/api/packages/api.go Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinJonRB2022-08-292-7/+40
|
* [skip ci] Updated licenses and gitignoressilverwind2022-08-281-1/+1
|
* [skip ci] Updated translations via Crowdinsilverwind2022-08-2728-0/+30
|
* Only show relevant repositories on explore page (#19361)Gusted2022-08-251-0/+3
| | | | | | | Adds a new option to only show relevant repo's on the explore page, for bigger Gitea instances like Codeberg this is a nice option to enable to make the explore page more populated with unique and "high" quality repo's. A note is shown that the results are filtered and have the possibility to see the unfiltered results. Co-authored-by: vednoc <vednoc@protonmail.com> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via Crowdinxinyu2022-08-251-1/+1
|
* [skip ci] Updated translations via Crowdinsilverwind2022-08-241-1/+3
|
* Remove deprecated licenses (#20222)Gusted2022-08-224-120/+0
|
* [skip ci] Updated translations via CrowdinGary Wang2022-08-221-0/+8
|
* [skip ci] Updated translations via CrowdinJonRB2022-08-211-0/+2
|
* [skip ci] Updated translations via Crowdinwxiaoguang2022-08-203-10/+94
|
* [skip ci] Updated translations via Crowdintechknowlogick2022-08-183-1/+32
|
* [skip ci] Updated translations via CrowdinMaeIsBad2022-08-1628-132/+98
|
* [skip ci] Updated translations via CrowdinGusted2022-08-154-3/+31
|
* Add missing translation for queue flush workers (#20791)Gusted2022-08-141-0/+1
| | | | - Add a missing translation key and value for the flush worker indication - Resolves #20770
* [skip ci] Updated licenses and gitignoresFrank2022-08-143-2/+230
|
* Switch Unicode Escaping to a VSCode-like system (#19990)zeripath2022-08-131-7/+7
| | | | | | | | | | | | | | | This PR rewrites the invisible unicode detection algorithm to more closely match that of the Monaco editor on the system. It provides a technique for detecting ambiguous characters and relaxes the detection of combining marks. Control characters are in addition detected as invisible in this implementation whereas they are not on monaco but this is related to font issues. Close #19913 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove the translation key website by PR #20777 (#20779)PENĀ²2022-08-131-1/+0
|
* [skip ci] Updated translations via CrowdinGusted2022-08-111-2/+46
|
* [skip ci] Updated translations via Crowdinsilverwind2022-08-105-0/+51
|
* [skip ci] Updated translations via Crowdinparnic2022-08-096-4/+59
|
* Add issue filter for Author (#20578)parnic2022-08-081-0/+2
| | | This adds a new filter option on the issues and pulls pages to filter by the author/poster/creator of the issue or PR
* [skip ci] Updated translations via CrowdinLunny Xiao2022-08-083-3/+312
|
* Rework repo buttons (#20602)silverwind2022-08-081-0/+1
| | | | | | | | | | | | | | | | | * Rework repo buttons - Replace "New PR" and "Go to File" button with Icon Button - Move all "Add File" actions into a dropdown button - Remove most custom styling of clone buttons - Margin and wiki tweaks Buttons are now all equal height, mobile layout wraps gracefully. Fixes: https://github.com/go-gitea/gitea/issues/13671 Replaces: https://github.com/go-gitea/gitea/pull/20375 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Add support for Pub packages (#20560)KN4CK3R2022-08-071-0/+4
| | | | | | | | | | | * Added support for Pub packages. * Update docs/content/doc/packages/overview.en-us.md Co-authored-by: Gergely Nagy <algernon@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Gergely Nagy <algernon@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated licenses and gitignoressilverwind2022-08-074-0/+185
|
* [skip ci] Updated translations via CrowdinKN4CK3R2022-08-061-0/+112
|
* [skip ci] Updated translations via CrowdinKN4CK3R2022-08-051-4/+48
|
* [skip ci] Updated translations via Crowdinwxiaoguang2022-08-0428-104/+36
|
* [skip ci] Updated translations via CrowdinGusted2022-08-032-1/+166
|
* Fix the admin mailer config display (#20633)wxiaoguang2022-08-031-3/+6
|
* Rework mailer settings (#18982)Clar Fon2022-08-021-1/+2
| | | | | | | | | | | * `PROTOCOL`: can be smtp, smtps, smtp+startls, smtp+unix, sendmail, dummy * `SMTP_ADDR`: domain for SMTP, or path to unix socket * `SMTP_PORT`: port for SMTP; defaults to 25 for `smtp`, 465 for `smtps`, and 587 for `smtp+startls` * `ENABLE_HELO`, `HELO_HOSTNAME`: reverse `DISABLE_HELO` to `ENABLE_HELO`; default to false + system hostname * `FORCE_TRUST_SERVER_CERT`: replace the unclear `SKIP_VERIFY` * `CLIENT_CERT_FILE`, `CLIENT_KEY_FILE`, `USE_CLIENT_CERT`: clarify client certificates here Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinPENĀ²2022-08-021-0/+71
|
* [skip ci] Updated translations via CrowdinGary Wang2022-08-014-15/+393
|
* [skip ci] Updated licenses and gitignoresNorwin2022-07-311-0/+24
|
* [skip ci] Updated translations via Crowdinsilverwind2022-07-3023-106/+828
|
* [skip ci] Updated translations via Crowdinzeripath2022-07-291-0/+1
|
* Fix i18n for email notifications (#20518)wxiaoguang2022-07-281-5/+1
|
* Added email notification option to receive all own messages (#20179)Tyrone Yeh2022-07-281-0/+1
| | | | | | Sometimes users want to receive email notifications of messages they create or reply to, Added an option to personal preferences to allow users to choose Closes #20149
* Show hint to link package to repo when viewing empty repo package list (#20504)Norwin2022-07-271-0/+1
| | | | | | | * show hint to link package to repo on empty repo package listing * reword
* [skip ci] Updated translations via CrowdinTyrone Yeh2022-07-251-0/+1
|