Disable Stars config option (#14653)

* Add config option to disable stars

* Replace "stars" with watched in user profile

* Add documentation
This commit is contained in:
Kyle D authored and GitHub committed 2021-04-15 18:53:57 +02:00
1 parent af2adb4e35
commit f44543a1bb
16 files changed
+83 -27

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ var (
PrefixArchiveFiles bool
DisableMirrors bool
DisableMigrations bool
DisableStars bool `ini:"DISABLE_STARS"`
DefaultBranch string
AllowAdoptionOfUnadoptedRepositories bool
AllowDeleteOfUnadoptedRepositories bool
@@ -154,6 +155,7 @@ var (
PrefixArchiveFiles: true,
DisableMirrors: false,
DisableMigrations: false,
DisableStars: false,
DefaultBranch: "master",
// Repository editor settings