Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make offline mode as default to no connect external avatar service by default #28548

Merged
merged 4 commits into from
Dec 21, 2023

Conversation

lunny
Copy link
Member

@lunny lunny commented Dec 20, 2023

To keep user's privacy, make offline mode as true by default.

Users can still change it from installation ui and app.ini

⚠️ BREAKING

The setting [server].OFFLINE_MODE is now true by default.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 20, 2023
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 20, 2023
@delvh delvh added the pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! label Dec 20, 2023
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 20, 2023
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 20, 2023
@pull-request-size pull-request-size bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 21, 2023
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 21, 2023
@lunny lunny enabled auto-merge (squash) December 21, 2023 06:38
@lunny lunny merged commit 177cea7 into go-gitea:main Dec 21, 2023
25 checks passed
@GiteaBot GiteaBot added this to the 1.22.0 milestone Dec 21, 2023
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 21, 2023
zjjhot added a commit to zjjhot/gitea that referenced this pull request Dec 22, 2023
* giteaofficial/main:
  Add more ways to try (go-gitea#28581)
  Convert to url auth to header auth in tests (go-gitea#28484)
  Fix 500 error of searching commits (go-gitea#28576)
  improve possible performance bottleneck (go-gitea#28547)
  Use information from previous blame parts (go-gitea#28572)
  Make offline mode as default to no connect external avatar service by default (go-gitea#28548)
  Fix merging artifact chunks error when minio storage basepath is set (go-gitea#28555)
  feat: bump `dessant/lock-threads` and `actions/setup-go` to use nodejs20 runtime (go-gitea#28565)
  Update actions document about comparsion as Github Actions (go-gitea#28560)
  Fix inperformant query on retrifing review from database. (go-gitea#28552)
  Fix the issue ref rendering for wiki (go-gitea#28556)
  Add missing head of lfs client batch (go-gitea#28550)
  [skip ci] Updated translations via Crowdin
  Remove deadcode under models/issues (go-gitea#28536)
  Always enable caches (go-gitea#28527)
  Improve ObjectFormat interface (go-gitea#28496)
fuxiaohei pushed a commit to fuxiaohei/gitea that referenced this pull request Jan 17, 2024
… default (go-gitea#28548)

To keep user's privacy, make offline mode as true by default.

Users can still change it from installation ui and app.ini
@lunny lunny deleted the lunny/default_offline branch January 27, 2024 09:06
silverwind pushed a commit to silverwind/gitea that referenced this pull request Feb 20, 2024
… default (go-gitea#28548)

To keep user's privacy, make offline mode as true by default.

Users can still change it from installation ui and app.ini
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2024
@delvh
Copy link
Member

delvh commented Apr 4, 2024

@lunny I have trouble understanding the impact on users.
My quick look through the code also didn't help.
What is the impact of this PR, and why does it preserve the users privacy that Gravatar is no longer queried by default?
It would be good if you could elaborate on that.

@lunny
Copy link
Member Author

lunny commented Apr 5, 2024

Some people worry that their computer/server's IP address will be collected by the Gravatar service which can be matched with the emails. Anyway, I personally don't think it's a big matter. And this PR will only make the offline mode default. People could still change offline mode to false if they would like.

This PR should only affect those newly installed Gitea instances because once installed, the offline mode and the default value will be written to the app.ini.

@delvh
Copy link
Member

delvh commented Apr 5, 2024

So in other words, this is basically not breaking but should only affect new instances in 99.95% of cases?

@lunny lunny removed the pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! label Apr 5, 2024
@GiteaBot GiteaBot added the pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! label Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/docs pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants