-
Notifications
You must be signed in to change notification settings - Fork 275
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
Development
: Reimplement attachment file upload
#6569
Conversation
Attachment
: Reimplement file upload
c5ccbb7
to
a016316
Compare
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
ff9cd42
to
1cfaf5c
Compare
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## develop #6569 +/- ##
=============================================
- Coverage 80.39% 80.38% -0.01%
+ Complexity 13588 13587 -1
=============================================
Files 2398 2399 +1
Lines 91684 91692 +8
Branches 12870 12871 +1
=============================================
+ Hits 73706 73710 +4
- Misses 9886 9888 +2
- Partials 8092 8094 +2
... and 4 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
1cfaf5c
to
cc7ba45
Compare
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.
Reapprove code
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.
Reapproved
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 tested it on ts1, works perfectly. The code looks good as well.
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.
Code looks good and tested on ts1.
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.
Tested on ts1, works as expected
Code looks great as well :)
Attachment
: Reimplement file uploadLectures
: Reimplement file upload
Lectures
: Reimplement file uploadLectures
: Reimplement attachment file upload
Lectures
: Reimplement attachment file uploadDevelopment
: Reimplement attachment file upload
Checklist
General
Server
Client
Motivation and Context
Follow-up of #5733 and #5427 to replace the file upload before entity persistence with a multipart file and entity upload.
Description
I simply extended the endpoints to save an attachment to also allow a file upload (forced for creation), save one REST call and make the system safer. No UI changes were necessary..
Steps for Testing
Prerequisites:
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
I added assertions where needed. However, for most of the changes, the existing assertions were already enough.