- Issue created by @kim.pepper
- Status changed to Postponed
8 months ago 5:58am 2 May 2024 - 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
This is postponed on 📌 Refactor FileUploadResource to use FileUploadHandler RTBC as we are adding some new classes there that we will need here.
- Status changed to Active
8 months ago 5:47pm 4 May 2024 - 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
📌 Refactor FileUploadResource to use FileUploadHandler RTBC is in so this is unblocked. 🙌
- Assigned to kim.pepper
- Status changed to Needs work
8 months ago 8:27pm 4 May 2024 - Merge request !7915#3444748 Refactor JSON-API file uploads to use FileUploadHandler → (Closed) created by kim.pepper
- Status changed to Needs review
8 months ago 11:12pm 4 May 2024 - Status changed to Needs work
8 months ago 7:25am 5 May 2024 - Merge request !7918#3444748 Refactor JSON-API file uploads to use FileUploadHandler → (Closed) created by kim.pepper
- Status changed to Needs review
8 months ago 6:26pm 5 May 2024 - 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
Created MR for 10.4.x with BC layer.
- 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
Feedback addressed and MR for 10.4.x created with BC layer.
- Status changed to Needs work
7 months ago 11:09am 10 May 2024 - 🇳🇱Netherlands bbrala Netherlands
Awesome to see this moving!
Quick contrib search:
- jsonapi/Controller/FileUpload - 0 usage
- jsonapi\Controller\TemporaryJsonapiFileFieldUploader - 0 usage
- jsonapi.file_upload - 1 usage
Seems we are not really doing anything impactfull against contrib.
I've checked the CR, its small, but fine i think.
BC paths make sense for new arguments for the controller.
Gone though the code, have some questions :) This feels rather close, and i'll be quite happy to have the "Temporary" class killed :D
- Status changed to Needs review
7 months ago 1:31pm 10 May 2024 - 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
Thanks for the review. I've addressed all feedback.
This feels rather close, and i'll be quite happy to have the "Temporary" class killed :D
Committed on 20 Mar 2019 so temporary for 5 years. 🤣
- Status changed to RTBC
7 months ago 1:58pm 10 May 2024 - Status changed to Needs work
7 months ago 4:16pm 11 May 2024 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
Can we change the 10.4.x deprecations to be for 10.3.x - I think it is the best option because I think doing 10.3.x deprecation and remove in 11 would put us in a better situation wrt to security. Having something that can do file uploads around for the whole 11.x cycle that is unused and untested feels like a v bad idea.
- 🇳🇱Netherlands bbrala Netherlands
Sounds like a playing. I'll wait for Kim to update and review the changes.
- Status changed to Needs review
7 months ago 5:13am 12 May 2024 - 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
Changed to `drupal:10.3.0` for removal in `drupal:11.0.0`.
- Status changed to Needs work
7 months ago 5:25am 12 May 2024 - 🇳🇱Netherlands bbrala Netherlands
You still need to chnage the target of the mr I think. It's still targeting 10.4
- Status changed to RTBC
7 months ago 6:32am 12 May 2024 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
Committed and pushed a52cdfad63 to 11.x and 007556a098 to 11.0.x. Thanks!
Committed and pushed b10e96de15 to 10.4.x and be2b4ec313 to 10.3.x. Thanks! -
alexpott →
committed be2b4ec3 on 10.3.x
Issue #3444748 by kim.pepper, bbrala, andypost: Refactor JSON-API file...
-
alexpott →
committed be2b4ec3 on 10.3.x
-
alexpott →
committed b10e96de on 10.4.x
Issue #3444748 by kim.pepper, bbrala, andypost: Refactor JSON-API file...
-
alexpott →
committed b10e96de on 10.4.x
-
alexpott →
committed 007556a0 on 11.0.x
Issue #3444748 by kim.pepper, bbrala, andypost: Refactor JSON-API file...
-
alexpott →
committed 007556a0 on 11.0.x
-
alexpott →
committed a52cdfad on 11.x
Issue #3444748 by kim.pepper, bbrala, andypost: Refactor JSON-API file...
-
alexpott →
committed a52cdfad on 11.x
- Status changed to Fixed
7 months ago 6:41am 12 May 2024 - 🇦🇺Australia kim.pepper 🏄♂️🇦🇺Sydney, Australia
Oh wow. This wraps up years of effort unifying file uploads. 🥲
Automatically closed - issue fixed for 2 weeks with no activity.