-
-
Notifications
You must be signed in to change notification settings - Fork 35
Initial WIP on improving the File model to use more native disk methods #141
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
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