bcb3c229f8
Add basic documentation for labels, including scoped labels ( #23304 ) ( #23309 )
...
Backport #23304
Part of #22974
Co-authored-by: Brecht Van Lommel <[email protected] >
Co-authored-by: delvh <[email protected] >
2023-03-05 20:38:46 +08:00
Brecht Van Lommel and delvh
8355b7dcbd
Add basic documentation for labels, including scoped labels ( #23304 )
...
Part of #22974
---------
Co-authored-by: delvh <[email protected] >
2023-03-05 20:35:12 +08:00
Giteabot
e539b056b5
Re-add accidentally removed hacking-on-gitea.zh-cn.md ( #23297 ) ( #23305 )
2023-03-04 20:09:58 -05:00
Lunny Xiao
85a25a3203
Re-add accidentally removed hacking-on-gitea.zh-cn.md ( #23297 )
...
#21627 accidentally removed the docs file `hacking-on-gitea.zh-cn.md`.
This re-adds it and merges some changes from #23289
2023-03-04 22:34:02 +01:00
techknowlogick
a82491c5d7
bump docusaurus
2023-03-04 00:51:12 -05:00
techknowlogick
51b5273e2d
update name of job
2023-03-04 00:16:56 -05:00
techknowlogick
6d3247ba3e
link to gitea.com for reporting errors
2023-03-04 00:03:06 -05:00
techknowlogick
cac06e0b88
hide banner for 1.18
2023-03-03 23:57:44 -05:00
techknowlogick
078b093d51
lowercase rc
2023-03-03 23:43:02 -05:00
techknowlogick
e893412736
dont edit toc
2023-03-03 23:41:22 -05:00
techknowlogick
5fc53e1a35
use the upstream action for aws
2023-03-03 23:37:50 -05:00
techknowlogick
a9b4c58a94
mark 1.19 as rc
2023-03-04 12:34:51 +08:00
techknowlogick
c0db76815d
Update 'docusaurus.config.js'
2023-03-04 12:32:28 +08:00
techknowlogick
31f11f2aaf
clean docs
2023-03-03 23:25:40 -05:00
techknowlogick
162301a5bd
Update '.gitea/workflows/build-and-publish.yaml'
2023-03-04 12:17:36 +08:00
techknowlogick
6ffa67edac
Update 'README.md'
2023-03-04 12:16:40 +08:00
wxiaoguang
82521141d7
Improve frontend guideline ( #23252 )
...
If an event listener must be `async`, the `e.preventDefault()` should be
before any `await`,
it's recommended to put it at the beginning of the function.
2023-03-02 11:46:47 -05:00
Yarden Shoham and techknowlogick
8e9f3e54c3
Add InsecureSkipVerify to Minio Client for Storage ( #23166 ) ( #23177 )
...
Backport #23166
Allows using Minio with untrusted certificates
Closes #23128
Signed-off-by: Yarden Shoham <[email protected] >
Co-authored-by: techknowlogick <[email protected] >
2023-02-28 00:29:17 +02:00
Yarden Shoham
02d23a42df
Add InsecureSkipVerify to Minio Client for Storage ( #23166 )
...
Allows using Minio with untrusted certificates
Closes #23128
Signed-off-by: Yarden Shoham <[email protected] >
2023-02-27 16:26:13 +00:00
Yarden Shoham
6edc050d23
Fix secrets overview page missing from docs sidebar ( #23143 ) ( #23145 )
...
Backport #23143
There was a warning while building the docs: `Building sites … WARN
2023/02/25 08:56:37
"/workspace/gitea/docs/content/doc/secrets/overview.en-us.md:1:1":
duplicate menu entry with identifier "overview" in menu "sidebar"`.
### Before

### After

Signed-off-by: Yarden Shoham <[email protected] >
2023-02-25 13:30:32 +02:00
Yarden Shoham
a87f95ac8b
Fix secrets overview page missing from docs sidebar ( #23143 )
...
There was a warning while building the docs: `Building sites … WARN
2023/02/25 08:56:37
"/workspace/gitea/docs/content/doc/secrets/overview.en-us.md:1:1":
duplicate menu entry with identifier "overview" in menu "sidebar"`.
### Before

### After

Signed-off-by: Yarden Shoham <[email protected] >
2023-02-25 10:56:02 +01:00
Sven
b3b68cb6fe
Avoid Hugo from adding quote to actions url ( #23097 )
2023-02-23 12:19:52 -05:00
techknowlogick
b72d563f86
Update 'loop_docs.sh'
2023-02-23 16:45:52 +08:00
techknowlogick
ee700f7d62
Update 'loop_docs-19.sh'
2023-02-23 16:45:30 +08:00
Yarden Shoham and techknowlogick
a4c41ff6a2
Nest metadata in refactoring docs ( #23087 ) ( #23091 )
...
Backport #23087
Whitespace was missing from refactoring docs metadata.
backport label applied so it is included in versioned docs.
Co-authored-by: techknowlogick <[email protected] >
2023-02-23 03:39:30 -05:00
techknowlogick
b02291199c
Delete '.drone.yml'
2023-02-23 16:38:56 +08:00
techknowlogick
809bb6a70f
Nest metadata in refactoring docs ( #23087 )
...
Whitespace was missing from refactoring docs metadata.
backport label applied so it is included in versioned docs.
2023-02-23 16:25:18 +08:00
Joakim Pettersen and techknowlogick
771cba0e75
Improve reverse proxies documentation ( #23068 )
...
Add "Traefik with a sub-path" documentation
closes #23047
Co-authored-by: techknowlogick <[email protected] >
2023-02-23 15:34:09 +08:00
techknowlogick
f0778e1a5f
almost caught all missing 18s
2023-02-23 00:53:13 -05:00
techknowlogick
12185d6bd1
use correct version
2023-02-23 00:51:33 -05:00
techknowlogick
8ef5860e78
Merge branch 'main' of gitea.com:gitea/gitea-docusaurus
2023-02-23 00:49:35 -05:00
techknowlogick
130857ef1e
add 1.19 docs
2023-02-23 00:47:02 -05:00
techknowlogick
886d941873
Update 'loop_docs.sh'
2023-02-23 13:24:02 +08:00
techknowlogick
4263d7de17
Update 'loop_docs.sh'
2023-02-22 02:29:02 +08:00
techknowlogick
ea1c892e72
update latest version
2023-02-22 02:28:46 +08:00
99f54b2056
Add Bash and Zsh completion scripts ( #22646 )
...
This PR adds contrib scripts for bash and zsh completion.
Simply call:
```bash
source contrib/autocompletion/bash_autocomplete
```
or for Zsh:
```bash
source contrib/autocompletion/zsh_autocomplete
```
Signed-off-by: Andrew Thornton <[email protected] >
---------
Signed-off-by: Andrew Thornton <[email protected] >
Co-authored-by: a1012112796 <[email protected] >
Co-authored-by: techknowlogick <[email protected] >
2023-02-21 12:32:24 -05:00
wxiaoguang
d1c91610eb
Improve frontend guidelines ( #23007 )
...
Some were out-dated, some are added.
2023-02-21 14:13:37 +08:00
wxiaoguang
06b966c6f8
Add some guidelines for refactoring ( #22880 )
...
Just some brief ideas.
Feel free to complete these guidelines, feel free to edit on this PR
directly.
2023-02-19 21:25:23 +08:00
81543c48ca
Provide the ability to set password hash algorithm parameters ( #22942 )
...
This PR refactors and improves the password hashing code within gitea
and makes it possible for server administrators to set the password
hashing parameters
In addition it takes the opportunity to adjust the settings for `pbkdf2`
in order to make the hashing a little stronger.
The majority of this work was inspired by PR #14751 and I would like to
thank @boppy for their work on this.
Thanks to @gusted for the suggestion to adjust the `pbkdf2` hashing
parameters.
Close #14751
---------
Signed-off-by: Andrew Thornton <[email protected] >
Co-authored-by: delvh <[email protected] >
Co-authored-by: John Olheiser <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
2023-02-19 15:35:20 +08:00
wxiaoguang
5f9636870e
Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none ( #22950 )
...
Close #22847
This PR:
* introduce Gitea's own `showElem` and related functions
* remove jQuery show/hide
* remove .hide class
* remove inline style=display:none
From now on:
do not use:
* "[hidden]" attribute: it's too weak, can not be applied to an element
with "display: flex"
* ".hidden" class: it has been polluted by Fomantic UI in many cases
* inline style="display: none": it's difficult to tweak
* jQuery's show/hide/toggle: it can not show/hide elements with
"display: xxx !important"
only use:
* this ".gt-hidden" class
* showElem/hideElem/toggleElem functions in "utils/dom.js"
cc: @silverwind , this is the all-in-one PR
2023-02-19 12:06:14 +08:00
Yarden Shoham and delvh
dba0080e50
Rename "People" to "Members" in organization page and use a better icon ( #22960 )
...
`member` is how it's named in the code
Closes #22931
Before | After
--- | ---

|

---------
Signed-off-by: Yarden Shoham <[email protected] >
Co-authored-by: delvh <[email protected] >
2023-02-18 21:41:31 +08:00
zeripath
8cb1630444
Add command to bulk set must-change-password ( #22823 )
...
As part of administration sometimes it is appropriate to forcibly tell
users to update their passwords.
This PR creates a new command `gitea admin user must-change-password`
which will set the `MustChangePassword` flag on the provided users.
Signed-off-by: Andrew Thornton <[email protected] >
2023-02-14 16:12:19 -06:00
Xinyu Zhou and Lunny Xiao
bfaaf844ae
docs: Update translation from-binary.zh-cn.md ( #22820 )
...
Signed-off-by: Xinyu Zhou <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
2023-02-13 13:14:51 +08:00
KN4CK3R and Lunny Xiao
8d2b2f30c0
Map OIDC groups to Orgs/Teams ( #21441 )
...
Fixes #19555
Test-Instructions:
https://github.com/go-gitea/gitea/pull/21441#issuecomment-1419438000
This PR implements the mapping of user groups provided by OIDC providers
to orgs teams in Gitea. The main part is a refactoring of the existing
LDAP code to make it usable from different providers.
Refactorings:
- Moved the router auth code from module to service because of import
cycles
- Changed some model methods to take a `Context` parameter
- Moved the mapping code from LDAP to a common location
I've tested it with Keycloak but other providers should work too. The
JSON mapping format is the same as for LDAP.

---------
Co-authored-by: Lunny Xiao <[email protected] >
2023-02-08 14:44:42 +08:00
Peyton Duncan
4616bf51ef
Grammar fix ( #22790 )
...
Noticed a minor grammatical error.
2023-02-06 16:05:59 -06:00
John Olheiser
0cc38187a7
Add repo adoption to FAQ ( #22778 )
...
This should be a simple set of steps to achieve
repo adoption.
2023-02-06 10:20:20 -06:00
John Olheiser
0445704f5f
Update gogs upgrade information ( #22777 )
...
It seems that migrating from Gogs `0.12.x` and above may require more
work as time goes on and the projects continue to diverge.
This PR updates the docs to make it more clear.
Signed-off-by: jolheiser <[email protected] >
2023-02-06 14:37:18 +08:00
Adi
0b35f8a443
Add CLI option tenant ID for oauth2 source ( #22769 )
...
Fixes #22713
2023-02-05 22:12:13 -06:00
KN4CK3R and Lunny Xiao
9cfc1f1f71
Add Chef package registry ( #22554 )
...
This PR implements a [Chef registry](https://chef.io/ ) to manage
cookbooks. This package type was a bit complicated because Chef uses RSA
signed requests as authentication with the registry.


Co-authored-by: Lunny Xiao <[email protected] >
2023-02-06 09:49:21 +08:00
KN4CK3R and Lunny Xiao
03cf595e7e
Add Cargo package registry ( #21888 )
...
This PR implements a [Cargo registry](https://doc.rust-lang.org/cargo/ )
to manage Rust packages. This package type was a little bit more
complicated because Cargo needs an additional Git repository to store
its package index.
Screenshots:



---------
Co-authored-by: Lunny Xiao <[email protected] >
2023-02-05 18:12:31 +08:00