-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Improve attachment upload methods #30513
Merged
silverwind
merged 15 commits into
go-gitea:main
from
tyroneyeh:main_improve_paste_upload
Jun 27, 2024
Merged
Improve attachment upload methods #30513
silverwind
merged 15 commits into
go-gitea:main
from
tyroneyeh:main_improve_paste_upload
Jun 27, 2024
Conversation
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
GiteaBot
added
the
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
label
Apr 16, 2024
pull-request-size
bot
added
the
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
label
Apr 16, 2024
silverwind
reviewed
Apr 17, 2024
silverwind
reviewed
Apr 17, 2024
silverwind
reviewed
Apr 17, 2024
silverwind
reviewed
Apr 17, 2024
silverwind
reviewed
Apr 17, 2024
Co-authored-by: silverwind <[email protected]>
Will take a look later (resolve the conflicts and do some improvements) |
silverwind
reviewed
Jun 17, 2024
# Conflicts: # web_src/js/features/common-global.js # web_src/js/features/comp/Paste.js # web_src/js/features/repo-issue-edit.js # web_src/js/features/repo-issue.js
pull-request-size
bot
added
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
and removed
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
labels
Jun 24, 2024
wxiaoguang
force-pushed
the
main_improve_paste_upload
branch
from
June 24, 2024 03:28
50e67a1
to
8d45f2e
Compare
wxiaoguang
changed the title
Improve attachment upload methods
WIP: Improve attachment upload methods
Jun 24, 2024
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
# Conflicts: # web_src/js/features/dropzone.js # web_src/js/features/repo-issue-edit.js
wxiaoguang
force-pushed
the
main_improve_paste_upload
branch
from
June 26, 2024 17:26
c0cd2fc
to
5710e0f
Compare
pull-request-size
bot
added
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
and removed
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
labels
Jun 26, 2024
wxiaoguang
changed the title
WIP: Improve attachment upload methods
Improve attachment upload methods
Jun 26, 2024
silverwind
reviewed
Jun 26, 2024
Co-authored-by: silverwind <[email protected]>
wxiaoguang
added
type/enhancement
An improvement of existing functionality
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
labels
Jun 27, 2024
wxiaoguang
force-pushed
the
main_improve_paste_upload
branch
from
June 27, 2024 03:38
2b55659
to
26e8c8c
Compare
wxiaoguang
force-pushed
the
main_improve_paste_upload
branch
from
June 27, 2024 03:56
26e8c8c
to
c9d088d
Compare
All done IMO |
wxiaoguang
approved these changes
Jun 27, 2024
GiteaBot
added
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
and removed
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
labels
Jun 27, 2024
silverwind
reviewed
Jun 27, 2024
silverwind
approved these changes
Jun 27, 2024
GiteaBot
added
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
and removed
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
labels
Jun 27, 2024
silverwind
added
the
reviewed/wait-merge
This pull request is part of the merge queue. It will be merged soon.
label
Jun 27, 2024
GiteaBot
removed
the
reviewed/wait-merge
This pull request is part of the merge queue. It will be merged soon.
label
Jun 27, 2024
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jun 28, 2024
* giteaofficial/main: Fix avatar radius problem on the new issue page (go-gitea#31506) Make toast support preventDuplicates (go-gitea#31501) Improve attachment upload methods (go-gitea#30513)
lunny
pushed a commit
that referenced
this pull request
Jun 28, 2024
Not sure if this is a regression from #30513, but when attachments are disabled, `this.dropzone` is null and the code had failed in `initEasyMDEPaste` trying to access `dropzoneEl.dropzone`.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
modifies/js
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
type/enhancement
An improvement of existing functionality
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
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.
Close #20130