-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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: Archive repos #5009
Merged
techknowlogick
merged 94 commits into
go-gitea:master
from
kolaente:feature/archive-repos
Jan 23, 2019
+436
−243
Merged
Feature: Archive repos #5009
Changes from 1 commit
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
16a96f3
Rebased to gitea-master
kolaente 232f71e
Updated gitea/go-sdk
kolaente fbf39fe
Removed unused setting of status code
kolaente 8655d0e
Added error message if archiving fails
kolaente 6f53048
updated gitea go-sdk
kolaente b365cd9
Prevent adding/editing/removing of files via web ui when a repo is ar…
kolaente 34c1419
generated swagger
kolaente a7cc8fa
fmt
kolaente 3877a2d
trigger ci
kolaente 9c366eb
trigger ci
kolaente 4b38053
fixed fmt (make fmt does not work)
kolaente d94b479
fixed fmt (make fmt does not work)
kolaente b4fb9cd
Moved check if a repo is archived to appropriate function
kolaente afa879a
Moved functions to restrict upload/editing of files to a middleware
kolaente 88a916e
Removed deleting repo units to disable issues/pull requests
kolaente 365217a
Fixed lint
kolaente be792b5
Disabled all possibilities of editing/adding an issue or pull request…
kolaente 0b3a040
Merge branch 'master' into feature/archive-repos
kolaente 88ed10a
Merge branch 'master' into feature/archive-repos
kolaente 5564126
Merge branch 'master' into feature/archive-repos
kolaente 376cb8a
Disabled archiving if the repo is a mirror
kolaente fa5e308
Merge branch 'master' into feature/archive-repos
kolaente f522479
Merge branch 'master' into feature/archive-repos
kolaente ffed84e
Merge branch 'master' into feature/archive-repos
kolaente 3cee9db
Merge branch 'master' into feature/archive-repos
kolaente badaed3
Merge branch 'master' into feature/archive-repos
kolaente 587c539
Merge branch 'master' into feature/archive-repos
kolaente 4e51555
Refactored the function a repo is archived
kolaente 7e9928b
Merge branch 'master' into feature/archive-repos
kolaente 35168a2
Merge remote-tracking branch 'origin/feature/archive-repos' into feat…
kolaente e85bde0
Reset to gitea/master
kolaente 3de3a52
Merge branch 'master' into feature/archive-repos
kolaente 8125e5c
Merge remote-tracking branch 'origin/feature/archive-repos' into feat…
kolaente d7540c3
regenerated css
kolaente 3717807
Made more clear what its doing by renaming the actions
kolaente 33b1100
merge with gitea-master
kolaente 5b6d3ab
Merge branch 'master' into feature/archive-repos
kolaente 4875328
Merge remote-tracking branch 'origin/feature/archive-repos' into feat…
kolaente 4ba0284
Fixed flash message when archiving a repo
kolaente 427a19d
removed uneeded check
kolaente abc4769
Merge branch 'master' into feature/archive-repos
kolaente 1845c55
Merge branch 'master' into feature/archive-repos
kolaente 1d4743e
Merge branch 'master' into feature/archive-repos
lunny e6e6514
Merge branch 'master' into feature/archive-repos
kolaente 52c423a
Merge branch 'master' into feature/archive-repos
kolaente a907901
Merge branch 'master' into feature/archive-repos
kolaente ea44530
merge with gitea-master
kolaente 35c043b
update css
kolaente d839ef3
Merge branch 'master' into feature/archive-repos
kolaente a1cdf69
Merge branch 'master' into feature/archive-repos
kolaente 5a51757
merge with gitea master
kolaente d6769d9
update css
kolaente 9ac5878
Merge branch 'master' into feature/archive-repos
kolaente f14bf50
Merge branch 'master' into feature/archive-repos
kolaente 9c02656
Merge branch 'master' into feature/archive-repos
kolaente 9f79370
Merge branch 'master' into feature/archive-repos
kolaente 21a6ee9
Merge branch 'master' into feature/archive-repos
kolaente f0558ad
Moved check for being able to edit a file to CanEnableEditor()
kolaente ff9b36d
language improvements
kolaente e0ba3c3
should disable all reply buttons on pull requests
kolaente 06b57c4
disable wiki
kolaente 3e3ef92
disable new releases
kolaente 5a2d7a0
disabled repo actions
kolaente b9e4ef2
Merge branch 'master' into feature/archive-repos
kolaente f56ebf1
merge with master
kolaente ee1460c
Merge branch 'master' into feature/archive-repos
kolaente f58ed26
Merge branch 'master' into feature/archive-repos
kolaente 24cc9a6
Merge branch 'master' into feature/archive-repos
kolaente 14f176e
Merge branch 'master' into feature/archive-repos
kolaente 3f3d4bf
Fix issue unwatch button being displayed
kolaente 6f15e7f
Fix labels or milestone page resulting in 500 error
kolaente 39c9cd5
Fixed milestone not viewable
kolaente de0c4e0
Disabled branch settings
kolaente 5095950
Added archived icon in repo header
kolaente d40cbde
merge with gitea-master
kolaente d1f9402
Merge branch 'master' into feature/archive-repos
kolaente 212b21f
Merge branch 'master' into feature/archive-repos
kolaente 36b947b
Add message if a bare repo is archived
kolaente feb2c74
Disabled new labels from set if a repo is archived
kolaente dce82f5
Merge branch 'master' into feature/archive-repos
kolaente a07b36b
Merge branch 'master' into feature/archive-repos
kolaente dcaefdb
Merge branch 'master' into feature/archive-repos
kolaente 4cf4278
Merge branch 'master' into feature/archive-repos
kolaente b4de2fe
Merge branch 'master' into feature/archive-repos
kolaente 8af6f25
Merge branch 'master' into feature/archive-repos
kolaente 37977a2
Merge branch 'master' into feature/archive-repos
kolaente 8bb4bb2
Merge branch 'master' into feature/archive-repos
kolaente c60da13
Merge branch 'master' into feature/archive-repos
kolaente 559b4cf
Merge branch 'master' into feature/archive-repos
kolaente 06b99c9
merge with master
kolaente 280baa5
merge with master
kolaente 0a118f0
Merge branch 'master' into feature/archive-repos
kolaente 71d9305
Fixed wrong order of ignerr
kolaente 746f9a9
merge with gitea-master
kolaente File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Moved functions to restrict upload/editing of files to a middleware
commit afa879aaa8ba527bcfe2791f98f1d8c5279e3846
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, this will delete the branch on the head repository not the base repository. For example. there are some pull requests merged but not clean up on the base repository, but then it's archived. Then should user delete head repository's branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean we should still enable the possiblity to still clean it when its archived?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes, need more discuss.