You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
Fábio Barkoski e45a4c9829
Move repository visibility to danger zone in the settings area (#31126)
Moved repository visibility to the danger zone in the settings area. To
change the visibility, it is necessary to go to the danger zone, click
on the private/public button, and accept the change in the modal.

Resolves:  #23826

---
## Screenshots

<details>
<summary>Before</summary>
Private repo:

![Private
repo](https://github.com/go-gitea/gitea/assets/65479069/4313492a-4854-48bc-9f47-974e3539d791)

Public repo:

![Public
repo](https://github.com/go-gitea/gitea/assets/65479069/1c45f6e4-ee93-4799-9331-e9d4a7e0f16a)

</details>
<details>
<summary>After</summary>
Make private:

![Screenshot from 2024-05-28
21-35-38](https://github.com/go-gitea/gitea/assets/65479069/4887e28a-0514-4990-aa69-bf3ddc7e6c7d)

Make private modal

![Screenshot from 2024-06-13
23-55-55](https://github.com/go-gitea/gitea/assets/65479069/9f5a7604-069b-41a2-973b-ee2d58e85953)

![Screenshot from 2024-06-13
23-53-09](https://github.com/go-gitea/gitea/assets/65479069/06c22726-eab2-4bce-8df7-62849dcce974)

Make public:

![Screenshot from 2024-05-28
21-34-27](https://github.com/go-gitea/gitea/assets/65479069/6d388f99-0356-48a0-9d85-320cdba55179)

Make public modal

![Screenshot from 2024-06-13
23-53-37](https://github.com/go-gitea/gitea/assets/65479069/8944972e-f2d4-4aea-ba96-b892febb5ced)

</details>

---------

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
6 months ago
..
actions Clear up old Actions logs (#31735) 6 months ago
agit Performance optimization for git push (#30104) 10 months ago
asymkey Fix some pending problems (#29985) 11 months ago
attachment Add support for API blob upload of release attachments (#29507) 11 months ago
auth allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
automerge Fix automerge will not work because of some events haven't been triggered (#30780) 9 months ago
context Refactor names (#31405) 8 months ago
contexttest Check if reverse proxy is correctly configured (#30890) 9 months ago
convert Fix null requested_reviewer from API (#31773) 6 months ago
cron Clear up old Actions logs (#31735) 6 months ago
doctor Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
gitdiff Update golangci-lint to v1.59.0 (#31221) 8 months ago
indexer Update issue indexer after merging a PR (#30715) 9 months ago
issue Performance improvements for pull request list API (#30490) 8 months ago
lfs Refactor names (#31405) 8 months ago
mailer Add option to change mail from user display name (#31528) 7 months ago
markup Enable more `revive` linter rules (#30608) 10 months ago
migrations Add `lint-go-gopls` (#30729) 8 months ago
mirror Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
notify Clean up log messages (#30313) 10 months ago
org Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
packages Fix RPM resource leak (#31794) 6 months ago
projects Add issue comment when moving issues from one column to another of the project (#29311) 6 months ago
pull Fix protected branch files detection on pre_receive hook (#31778) 6 months ago
release Check if the release is converted from the tag when updating the release (#30984) 9 months ago
repository Move repository visibility to danger zone in the settings area (#31126) 6 months ago
secrets Refactor deletion (#28610) 1 year ago
task Fix "force private" logic (#31012) 9 months ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Fix bug on avatar (#31008) 9 months ago
webhook Refactor webhook (#31587) 7 months ago
webtheme Initial support for colorblindness-friendly themes (#30625) 10 months ago
wiki Refactor names (#31405) 8 months ago