Improve the background setting function. #2530

Closed
opened 2025-11-02 04:39:34 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @mm8m6m7m on GitHub (Nov 14, 2018).

You can set the size of the attachment directly in the background control panel, and so on. Every time you edit app. ini, you have to restart it. That's not good?

Originally created by @mm8m6m7m on GitHub (Nov 14, 2018). You can set the size of the attachment directly in the background control panel, and so on. Every time you edit app. ini, you have to restart it. That's not good?
GiteaMirror added the type/proposal label 2025-11-02 04:39:34 -06:00
Author
Owner

@mm8m6m7m commented on GitHub (Nov 14, 2018):

How to solve this problem? Modification of app.ini will not take effect.
image

@mm8m6m7m commented on GitHub (Nov 14, 2018): How to solve this problem? Modification of app.ini will not take effect. ![image](https://user-images.githubusercontent.com/20329685/48462392-f575e600-e812-11e8-8279-6ac51c295770.png)
Author
Owner

@lunny commented on GitHub (Nov 14, 2018):

You have to restart gitea after you change that app.ini file.

@lunny commented on GitHub (Nov 14, 2018): You have to restart gitea after you change that app.ini file.
Author
Owner

@mm8m6m7m commented on GitHub (Nov 14, 2018):

Restart will not take effect.
image

@mm8m6m7m commented on GitHub (Nov 14, 2018): Restart will not take effect. ![image](https://user-images.githubusercontent.com/20329685/48463067-b09f7e80-e815-11e8-9e80-15fcc7c163fa.png)
Author
Owner

@lunny commented on GitHub (Nov 14, 2018):

Cannot reproduce that. Which version are you running?

@lunny commented on GitHub (Nov 14, 2018): Cannot reproduce that. Which version are you running?
Author
Owner

@mm8m6m7m commented on GitHub (Nov 14, 2018):

https://dl.gitea.io/gitea/1.6/gitea-1.6-linux-amd64 1.6
image

@mm8m6m7m commented on GitHub (Nov 14, 2018): https://dl.gitea.io/gitea/1.6/gitea-1.6-linux-amd64 1.6 ![image](https://user-images.githubusercontent.com/20329685/48464189-a2536180-e819-11e8-8712-16fb0182de39.png)
Author
Owner

@ghost commented on GitHub (Nov 14, 2018):

You should use the following settings
4c1f1f9646/custom/conf/app.ini.sample (L51-L61)

@ghost commented on GitHub (Nov 14, 2018): You should use the following settings https://github.com/go-gitea/gitea/blob/4c1f1f96465e809161f7d634a07eb60b4511db35/custom/conf/app.ini.sample#L51-L61
Author
Owner

@lunny commented on GitHub (Nov 14, 2018):

@yasuokav is right. @mm8m6m7m My setting is for upload file on creating issue interface.

@lunny commented on GitHub (Nov 14, 2018): @yasuokav is right. @mm8m6m7m My setting is for upload file on creating issue interface.
Author
Owner

@mm8m6m7m commented on GitHub (Nov 14, 2018):

OK

@mm8m6m7m commented on GitHub (Nov 14, 2018): OK
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2530