-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Feature] Private README.md for organization #32872
Conversation
54593db
to
55af509
Compare
Hi, I listed the behaviors that this PR implemented as below:
|
Could you add some tests in If I understand correctly: view as public: private repositories won't be listed. |
In this design So viewing as public does not mean that a member user will not see private repos listed if he/she already has permission. |
Maybe GitHub also changed their behavior: While I still think it needs to add some tests in |
I'm working on it. Trying to get familiar with the integration tests. |
4347353
to
48b4be2
Compare
It is #32872 (comment) :
|
Then we can add "org profile wiki" link easily: Add profile wiki to org home #32947 |
* giteaofficial/main: [skip ci] Updated translations via Crowdin unset XDG_HOME_CONFIG as gitea manages configuration locations (go-gitea#33067) Refactor repo-new.ts (go-gitea#33070) Refactor pull-request compare&create page (go-gitea#33071) feat: link to nuget dependencies (go-gitea#26554) Remove some unnecessary template helpers (go-gitea#33069) Inherit submodules from template repository content (go-gitea#16237) [skip ci] Updated translations via Crowdin feat(action): issue change title notifications (go-gitea#33050) Use project's redirect url instead of composing url (go-gitea#33058) Fix unittest and repo create bug (go-gitea#33061) Fix locale type (go-gitea#33059) Refactor maven package registry (go-gitea#33049) Optimize the installation page (go-gitea#32994) [Feature] Private README.md for organization (go-gitea#32872) Make issue suggestion work for new PR page (go-gitea#33035) Add IntelliJ Gateway's .uuid to gitignore (go-gitea#33052)
Implemented #29503
Changes:
.profile
repository name forREADME.md
, adding the private one, I rename the contexts withPublic
andPrivate
inside them.view_as
query parameter. Still, the existing query scheme is quite limited due to the integration with the search form and the repository paginator, so my workaround is to forcefully bring augmented query strings of member/public to the tmpl file.Things lack and need further guidance (update: all done)
.profile
the make repository private checkbox should be disabled and stay unchecked, whereas.profile-private
, the checkbox should be disabled and force checked.Screenshots: