You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* upstream/main:
Fix incorrect `HookEventType` of pull request review comments (go-gitea#23650)
[skip ci] Updated translations via Crowdin
Fix codeblocks in the cheat sheet (go-gitea#23664)
Drop migration for ForeignReference (go-gitea#23605)
Fix new issue/pull request btn margin when it is next to sort (go-gitea#23647)
A tool to help to backport locales, changes source strings to fix other broken translations (go-gitea#23633)
Fix incorrect `show-modal` and `show-panel` class (go-gitea#23660)
Restructure documentation. Now the documentation has installation, administration, usage, development, contributing the 5 main parts (go-gitea#23629)
Check LFS/Packages settings in dump and doctor command (go-gitea#23631)
Use a general approach to show tooltip, fix temporary tooltip bug (go-gitea#23574)
Improve workflow event triggers (go-gitea#23613)
Improve `<SvgIcon>` to make it output `svg` node and optimize performance (go-gitea#23570)
Copy file name to clipboardExpand all lines: docs/content/doc/administration/adding-legal-pages.en-us.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ toc: false
7
7
draft: false
8
8
menu:
9
9
sidebar:
10
-
parent: "advanced"
10
+
parent: "administration"
11
11
name: "Adding Legal Pages"
12
12
identifier: "adding-legal-pages"
13
-
weight: 9
13
+
weight: 110
14
14
---
15
15
16
16
Some jurisdictions (such as EU), requires certain legal pages (e.g. Privacy Policy) to be added to website. Follow these steps to add them to your Gitea instance.
Copy file name to clipboardExpand all lines: docs/content/doc/administration/config-cheat-sheet.en-us.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ toc: false
7
7
draft: false
8
8
menu:
9
9
sidebar:
10
-
parent: "advanced"
10
+
parent: "administration"
11
11
name: "Config Cheat Sheet"
12
-
weight: 20
12
+
weight: 30
13
13
identifier: "config-cheat-sheet"
14
14
---
15
15
@@ -753,7 +753,7 @@ and
753
753
-`FORCE_TRUST_SERVER_CERT`: **false**: If set to `true`, completely ignores server certificate validation errors. This option is unsafe. Consider adding the certificate to the system trust store instead.
754
754
-`USER`: **\<empty\>**: Username of mailing user (usually the sender's e-mail address).
755
755
-`PASSWD`: **\<empty\>**: Password of mailing user. Use \`your password\` for quoting if you use special characters in the password.
756
-
- Please note: authentication is only supported when the SMTP server communication is encrypted with TLS (this can be via `STARTTLS`) or SMTP host is localhost. See [Email Setup]({{< relref "doc/usage/email-setup.en-us.md" >}}) for more information.
756
+
- Please note: authentication is only supported when the SMTP server communication is encrypted with TLS (this can be via `STARTTLS`) or SMTP host is localhost. See [Email Setup]({{< relref "doc/administration/email-setup.en-us.md" >}}) for more information.
757
757
-`ENABLE_HELO`: **true**: Enable HELO operation.
758
758
-`HELO_HOSTNAME`: **(retrieved from system)**: HELO hostname.
759
759
-`FROM`: **\<empty\>**: Mail from address, RFC 5322. This can be just an email address, or the "Name" \<[email protected]\> format.
@@ -994,7 +994,7 @@ Default templates for project boards:
994
994
995
995
### Extended cron tasks (not enabled by default)
996
996
997
-
#### Cron - Garbage collect all repositories ('cron.git_gc_repos')
997
+
#### Cron - Garbage collect all repositories (`cron.git_gc_repos`)
998
998
999
999
-`ENABLED`: **false**: Enable service.
1000
1000
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
@@ -1003,66 +1003,66 @@ Default templates for project boards:
1003
1003
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1004
1004
-`ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. The default value is same with [git] -> GC_ARGS
1005
1005
1006
-
#### Cron - Update the '.ssh/authorized_keys' file with Gitea SSH keys ('cron.resync_all_sshkeys')
1006
+
#### Cron - Update the '.ssh/authorized_keys' file with Gitea SSH keys (`cron.resync_all_sshkeys`)
1007
1007
1008
1008
-`ENABLED`: **false**: Enable service.
1009
1009
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1010
1010
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1011
1011
-`SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1012
1012
1013
-
#### Cron - Resynchronize pre-receive, update and post-receive hooks of all repositories ('cron.resync_all_hooks')
1013
+
#### Cron - Resynchronize pre-receive, update and post-receive hooks of all repositories (`cron.resync_all_hooks`)
1014
1014
1015
1015
-`ENABLED`: **false**: Enable service.
1016
1016
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1017
1017
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1018
1018
-`SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1019
1019
1020
-
#### Cron - Reinitialize all missing Git repositories for which records exist ('cron.reinit_missing_repos')
1020
+
#### Cron - Reinitialize all missing Git repositories for which records exist (`cron.reinit_missing_repos`)
1021
1021
1022
1022
-`ENABLED`: **false**: Enable service.
1023
1023
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1024
1024
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1025
1025
-`SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1026
1026
1027
-
#### Cron - Delete all repositories missing their Git files ('cron.delete_missing_repos')
1027
+
#### Cron - Delete all repositories missing their Git files (`cron.delete_missing_repos`)
1028
1028
1029
1029
-`ENABLED`: **false**: Enable service.
1030
1030
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1031
1031
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1032
1032
-`SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1038
1038
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1039
1039
-`SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1040
1040
1041
-
#### Cron - Delete all old actions from database ('cron.delete_old_actions')
1041
+
#### Cron - Delete all old actions from database (`cron.delete_old_actions`)
1042
1042
1043
1043
-`ENABLED`: **false**: Enable service.
1044
1044
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1045
1045
-`NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
1046
1046
-`SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
1047
1047
-`OLDER_THAN`: **@every 8760h**: any action older than this expression will be deleted from database, suggest using `8760h` (1 year) because that's the max length of heatmap.
1048
1048
1049
-
#### Cron - Check for new Gitea versions ('cron.update_checker')
1049
+
#### Cron - Check for new Gitea versions (`cron.update_checker`)
1050
1050
1051
1051
-`ENABLED`: **true**: Enable service.
1052
1052
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1053
1053
-`ENABLE_SUCCESS_NOTICE`: **true**: Set to false to switch off success notices.
1054
1054
-`SCHEDULE`: **@every 168h**: Cron syntax for scheduling a work, e.g. `@every 168h`.
1055
1055
-`HTTP_ENDPOINT`: **https://dl.gitea.io/gitea/version.json**: the endpoint that Gitea will check for newer versions
1056
1056
1057
-
#### Cron - Delete all old system notices from database ('cron.delete_old_system_notices')
1057
+
#### Cron - Delete all old system notices from database (`cron.delete_old_system_notices`)
1058
1058
1059
1059
-`ENABLED`: **false**: Enable service.
1060
1060
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
1061
1061
-`NO_SUCCESS_NOTICE`: **false**: Set to true to switch off success notices.
1062
1062
-`SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
1063
1063
-`OLDER_THAN`: **@every 8760h**: any system notice older than this expression will be deleted from database.
1064
1064
1065
-
#### Cron - Garbage collect LFS pointers in repositories ('cron.gc_lfs')
1065
+
#### Cron - Garbage collect LFS pointers in repositories (`cron.gc_lfs`)
1066
1066
1067
1067
-`ENABLED`: **false**: Enable service.
1068
1068
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
0 commit comments