1
0
forked from gitea/gitea

10 Commits

Author SHA1 Message Date
wxiaoguang
b0a405c5fa
Use secure cookie for HTTPS sites () ()
Backport 

If the AppURL(ROOT_URL) is an HTTPS URL, then the COOKIE_SECURE's
default value should be true.

And, if a user visits an "http" site with "https" AppURL, they won't be
able to login, and they should have been warned. The only problem is
that the "language" can't be set either in such case, while I think it
is not a serious problem, and it could be fixed easily if needed.
2023-09-11 09:59:00 +00:00
Infinoid
3c53740244
Correct the database.LOG_SQL default value in config cheat sheet () ()
This is a manual backport of  to v1.20.
2023-09-10 21:43:42 -04:00
Giteabot
9f14b2173a
Update documents to fix some links () ()
Backport  by @lunny

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-09-03 19:37:42 +00:00
CaiCandong
e15794f62f
Update docs about attachment path () ()
Backport  
This change was caused by , for configuration as below:
```
[attachment]
ENABLE = true
PATH = data/attachments
MAX_SIZE = 100
MAX_FILES = 5
```
Before , the resolved path is ${AppWorkPath}/${attachments.PATH}
(such as `/var/lib/gitea/data/attachments`)
After , the resolved path is ${AppDataPath}/${attachments.PATH}
(such as `/var/lib/gitea/data/data/attachments`)

Fix https://github.com/go-gitea/gitea/issues/26864 Follow
https://github.com/go-gitea/gitea/pull/26271
2023-09-03 18:45:37 +00:00
b159ebbab7
Use docs.gitea.com instead of docs.gitea.io ()
backport 
2023-08-28 19:58:16 +08:00
Brian Lachniet
b94370504f
[docs] Fix Gmail configuration () 2023-08-06 12:02:43 -04:00
Giteabot
a758337046
Clarify the logger's MODE config option () ()
Backport  by @wxiaoguang

1. Fix the wrong document (add the missing `MODE=`)
2. Add a more friendly log message to tell users to add `MODE=` in their
config

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-08-02 01:08:28 +02:00
Giteabot
892e24aaf1
Calculate MAX_WORKERS default value by CPU number () () 2023-07-27 19:24:07 +08:00
Giteabot
72b55c8094
Update email-setup.en-us.md () ()
Backport  by @felixvictor

The setting `MAILER_TYPE` is deprecated.
According to the config cheat sheet, it should be `PROTOCOL`.

Co-authored-by: Felix Victor <felix.victor.na@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-07-26 10:55:27 -05:00
John Olheiser
4033d95dbf
Docusaurus-ify 1.20 ()
See https://github.com/go-gitea/gitea/pull/26051

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: JonRB <4564448+eeyrjmr@users.noreply.github.com>
2023-07-26 10:00:14 +08:00