aboutsummaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* Fix leaving organization bug on user settings -> orgs (#21983) (#22438)zeripath2023-01-161-0/+1
| | | | | | | | | | | | Backport #21983 Fix #21772 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 花墨 <shanee@live.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
* [skip ci] Updated translations via CrowdinYarden Shoham2022-10-2529-0/+78
|
* Record OAuth client type at registration (#21316)M Hickford2022-10-241-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OAuth spec [defines two types of client](https://datatracker.ietf.org/doc/html/rfc6749#section-2.1), confidential and public. Previously Gitea assumed all clients to be confidential. > OAuth defines two client types, based on their ability to authenticate securely with the authorization server (i.e., ability to > maintain the confidentiality of their client credentials): > > confidential > Clients capable of maintaining the confidentiality of their credentials (e.g., client implemented on a secure server with > restricted access to the client credentials), or capable of secure client authentication using other means. > > **public > Clients incapable of maintaining the confidentiality of their credentials (e.g., clients executing on the device used by the resource owner, such as an installed native application or a web browser-based application), and incapable of secure client authentication via any other means.** > > The client type designation is based on the authorization server's definition of secure authentication and its acceptable exposure levels of client credentials. The authorization server SHOULD NOT make assumptions about the client type. https://datatracker.ietf.org/doc/html/rfc8252#section-8.4 > Authorization servers MUST record the client type in the client registration details in order to identify and process requests accordingly. Require PKCE for public clients: https://datatracker.ietf.org/doc/html/rfc8252#section-8.1 > Authorization servers SHOULD reject authorization requests from native apps that don't use PKCE by returning an error message Fixes #21299 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Allow package version sorting (#21453)KN4CK3R2022-10-231-0/+4
|
* [skip ci] Updated translations via CrowdinVladimir Yakovlev2022-10-2129-6/+55
|
* [skip ci] Updated translations via CrowdinKN4CK3R2022-10-201-1/+1
|
* Add team member invite by email (#20307)KN4CK3R2022-10-191-0/+11
| | | | | | | | | | | | | | | | | | | | | | | Allows to add (not registered) team members by email. related #5353 Invite by mail: ![grafik](https://user-images.githubusercontent.com/1666336/178154779-adcc547f-c0b7-4a2a-a131-4e41a3d9d3ad.png) Pending invitations: ![grafik](https://user-images.githubusercontent.com/1666336/178154882-9d739bb8-2b04-46c1-a025-c1f4be26af98.png) Email: ![grafik](https://user-images.githubusercontent.com/1666336/178164716-f2f90893-7ba6-4a5e-a3db-42538a660258.png) Join form: ![grafik](https://user-images.githubusercontent.com/1666336/178154840-aaab983a-d922-4414-b01a-9b1a19c5cef7.png) Co-authored-by: Jack Hay <jjphay@gmail.com>
* [skip ci] Updated translations via Crowdinwxiaoguang2022-10-191-0/+13
|
* [skip ci] Updated translations via CrowdinKN4CK3R2022-10-1829-0/+33
|
* [skip ci] Updated translations via CrowdinLunny Xiao2022-10-171-0/+8
|
* Add system setting table with cache and also add cache supports for user ↵Lunny Xiao2022-10-171-0/+3
| | | | setting (#18058)
* [skip ci] Updated translations via Crowdinsilverwind2022-10-164-1/+68
|
* [skip ci] Updated translations via CrowdinYarden Shoham2022-10-152-3/+34
|
* [skip ci] Updated translations via CrowdinYarden Shoham2022-10-131-5/+5
|
* [skip ci] Updated translations via Crowdinkolaente2022-10-121-0/+8
|
* Add user/organization code search (#19977)Lauris BH2022-10-111-0/+8
| | | | | | | Fixes #19925 Screenshots: ![attels](https://user-images.githubusercontent.com/165205/173864718-fe789429-55bc-4cad-808c-9f02f335cddf.png)
* Fix missing left and right carets in TRANSLATORS (#21397)Yarden Shoham2022-10-101-1/+1
|
* [skip ci] Updated translations via CrowdinJason Song2022-10-041-16/+19
|
* [skip ci] Updated translations via Crowdintechknowlogick2022-10-031-0/+3
|
* [skip ci] Updated translations via Crowdinqwerty2872022-10-012-0/+7
|
* Add pages to view watched repos and subscribed issues/PRs (#17156)qwerty2872022-09-291-0/+3
| | | | | | | | | | | | | | | | | Adds GitHub-like pages to view watched repos and subscribed issues/PRs This is my second try to fix this, but it is better than the first since it doesn't uses a filter option which could be slow when accessing `/issues` or `/pulls` and it shows both pulls and issues (the first try is #17053). Closes #16111 Replaces and closes #17053 ![Screenshot](https://user-images.githubusercontent.com/80460567/134782937-3112f7da-425a-45b6-9511-5c9695aee896.png) Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinM Hickford2022-09-293-0/+3
|
* Do not allow organisation owners add themselves as collaborator (#20043)Wim2022-09-281-0/+1
| | | | | | We're already checking for repo owners, but we also need to check for organisation owners that try to add themselves as collaborator Closes #17966
* [skip ci] Updated translations via CrowdinTyrone Yeh2022-09-271-24/+213
|
* [skip ci] Updated translations via CrowdinJulien Palard2022-09-261-0/+11
|
* [skip ci] Updated licenses and gitignoreswxiaoguang2022-09-251-0/+9
|
* [skip ci] Updated translations via CrowdinTyrone Yeh2022-09-243-0/+15
|
* [skip ci] Updated translations via CrowdinKN4CK3R2022-09-231-0/+1319
|
* [skip ci] Updated translations via Crowdinsilverwind2022-09-161-0/+1
|
* Display image digest for container packages (#21170)KN4CK3R2022-09-141-0/+1
| | | fixes #21160
* [skip ci] Updated translations via CrowdinJakobDev2022-09-121-0/+4
|
* [skip ci] Updated licenses and gitignoressilverwind2022-09-111-1/+1
|
* [skip ci] Updated translations via Crowdinsilverwind2022-09-101-0/+4
|
* [skip ci] Updated translations via CrowdinTyrone Yeh2022-09-091-0/+33
|
* Fix various typos (#21103)luzpaz2022-09-071-1/+1
| | | | | | | Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor,./web_src/fomantic -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon` Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinKyle D2022-09-071-1/+1
|
* [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>