wxiaoguang

Results 292 comments of wxiaoguang

> but my tunings were reverted as soon as I started the Gitea container. What are reverted? If you mean that you can not make the `custom` directory writable, then...

It really depends a lot of facts. Docker has root and rootless version. There doesn't seem to be an official document for it, I just searched and tried by myself...

You could try it with 1.16.x first to see whether the behavior differs, in case it's a regression bug for 1.17? 😂 If you only has 1.17 database, only 1.17...

> search all codebase with `os.MakeDir` and `os.MakeDirAll`, couldn't find `500` permission. It's confusing. In most cases, Gitea uses 0o777 + umask for the mode. ---- @mpeter50 Have you ever...

Thank you for your time, I think I know the problem now. I found this: https://github.com/go-gitea/gitea/blob/main/docker/rootless/usr/local/bin/docker-setup.sh#L8 ``` mkdir -p ${GITEA_CUSTOM} && chmod 0500 ${GITEA_CUSTOM} ``` 😂

I proposed a PR for it: * #20861 But I haven't fully understand the problem at the moment.

FYI, there is a linux repo on gitea.com . And: ``` $ time curl https://gitea.com/marktsai0316/linux/commits/branch/master/scripts/clang-tools curl 0.02s user 0.02s system 0% cpu 54.956 total ``` (update: above problem has been...

I haven't got time to test it. Some questions: 1. `this.element.parentElement.parentElement....` seems quite fragile. If there is a chance to make the code clear and stable, we should try. 2....

About "2. Do we still need the prompt uploading ... in the editor when pasting an image from clipboard? ", I think the answer is still yes. For example, the...

I know the uploading will be shown in dropzone. But the problem is, the height of the editor can be very large, just try to press a lot of Enter...