Default create repository on organisation on its dashboard#6026
Merged
zeripath merged 3 commits intoFeb 10, 2019
Conversation
Fix go-gitea#3253 Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Contributor
Author
|
There is a current issue with the repository search - in that it gives completely different results to that obtained by the organisation profile. This needs to be fixed and can either be done as part of this PR or as another PR. |
Codecov Report
@@ Coverage Diff @@
## master #6026 +/- ##
==========================================
- Coverage 38.73% 38.72% -0.02%
==========================================
Files 338 338
Lines 48994 48994
==========================================
- Hits 18977 18971 -6
- Misses 27269 27276 +7
+ Partials 2748 2747 -1
Continue to review full report at Codecov.
|
lunny
approved these changes
Feb 10, 2019
adelowo
approved these changes
Feb 10, 2019
zeripath
added a commit
to zeripath/gitea
that referenced
this pull request
Feb 12, 2019
…ea#6026) * Create repository on organisation by default on its dashboard * Only show owners the add new repositories to an organisation button. Fix go-gitea#3253 Signed-off-by: Andrew Thornton <art27@cantab.net>
techknowlogick
pushed a commit
that referenced
this pull request
Feb 13, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When in an organisation's context on the dashboard the create repository "+" button causes default creation on the logged in user. This PR changes this to default to creating on the contexted organisation and will only show the add new repository button if you can create a repository in that organisation.
Fix #3253