Skip to content

Standardisation changes#48

Open
oilee80 wants to merge 67 commits intomasterfrom
standardization-changes
Open

Standardisation changes#48
oilee80 wants to merge 67 commits intomasterfrom
standardization-changes

Conversation

@oilee80
Copy link
Contributor

@oilee80 oilee80 commented Oct 7, 2019

No description provided.

Also makes it more stable for an initial install

Also stops replacing the `UploadField` with a custom one

This means that default SS behaviour is not messed with
@oilee80 oilee80 requested a review from ninty9notout October 7, 2019 15:08
oilee80 added 21 commits October 8, 2019 11:43
Adds `::getCMSFields()` as well as `summary_fields` & `searchable_fields`
Also have the UploadImageField default to only allowing the `image` category
Should be much simpler than original implementation
… for getting the filesize

Also added `CloudinaryStorage::getMetadata()` call and adds Hash/Variant data as it allows lookup
I'll be adding this back in with extra "Meta data" from Cloudinary including derived images

Also fixes issue as Cloudinary sees pdf's as images :/
… for the field itself

Added some styling so as to remove the space to the left if no label has
been set
@oilee80 oilee80 force-pushed the standardization-changes branch from 15eb33a to dc325d9 Compare October 25, 2019 15:24
oilee80 and others added 30 commits January 15, 2020 13:10
Getting errors if the file is not local

Also adds a check for `version` as its not always part of the `resource` response (e.g. thirdpary URL)
… change where as `PublicID` does

Heres hoping
…ation

If filetype is not supported by SS, continue to next file instead of …
…racters in publicID

Cloudinary doesnt differentiate between accented and non-accented and was causing an error
See https://stackoverflow.com/questions/27680624/compare-two-string-and-ignore-but-not-replace-accents-php\#answer-67381756 for reference code

Updated `cloudinary_php` to V2
Adds a check to see if `access_mode` key is set before checking if `public`
Adds option to check if File exists in cloudinary (uses HEAD request)
Wraps `file-exists-check` header in if so that only displays in DEV mode
If 404 response when attempting rename then delete the file locally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants