Initial WIP on improving the File model to use more native disk methods#141
Initial WIP on improving the File model to use more native disk methods#141LukeTowers merged 6 commits intodevelopfrom
Conversation
|
|
This pull request will be closed and archived in 3 days, as there has been no activity in the last 60 days. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…tant Also renamed getDiskName() to a more accurate generateFilenameForDisk() & removed its side effect. getDiskName() now returns the name of the disk to use for the current file.
…nsions on the DB record for the file
|
@LukeTowers has this been tested extensively? |
|
@mjauvin should be minimal impact, just requires the other PR that I'm finalizing right now for the metadata support |
I would feel a lot more confident with some unit tests, this is used extensively in my projects |
|
@mjauvin see wintercms/winter@94ad5e8 for the changes required on the system module. These changes are relatively minor and should be non-breaking; but the changes in wintercms/winter#844 are going to need some more testing |
|
@LukeTowers I get the following when updating to latest dev-develop: Oh, never mind, I had not updated the system module... |
|
All good now @mjauvin? |
WIP