-
-
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
Enable Uploading/Removing Attachments When Editing an Issue/Comment #8426
Merged
zeripath
merged 19 commits into
go-gitea:master
from
blueworrybear:attachment-edit-final
Oct 15, 2019
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
36a83bd
Enable adding and edting attachments for issues and comments
blueworrybear 687c880
fix lint error
blueworrybear 95f2393
fix golint error
blueworrybear 1ec28ce
fix golint error
blueworrybear 8007fc5
fix golint error
blueworrybear 7c54450
fix golint error
blueworrybear 99756ba
Merge remote-tracking branch 'upstream/master' into attachment-edit-f…
blueworrybear f53dbb4
fix uuid undefined error
blueworrybear dd561e7
fix image size
blueworrybear 640b958
update #8426 rewrite route
blueworrybear 229b0e2
update #8426 fix coding style error
blueworrybear 96cad21
fix lint error
blueworrybear 94cfed7
refactoring codes for updating attachments
blueworrybear 2a9c18e
Remove template string
blueworrybear 427d9c4
fix filenameDict undefined problem
blueworrybear ce3bdf0
fix remove wrong file and add file delete permission checking
blueworrybear 4ad1190
Merge remote-tracking branch 'upstream/master' into attachment-edit-f…
blueworrybear 382d484
Merge branch 'master' into attachment-edit-final
lunny f8d15e6
Merge branch 'master' into attachment-edit-final
lafriks 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
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
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
Oops, something went wrong.
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.
Perhaps it's worth having a common function and use it from Comment and Issue to avoid duplicating code? This function is not too short but also not too long, so it sits in-between.