Skip to content
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

[MediaBundle,GeneratorBundle] Added validation options (mimetypes, min/max width/height for images) to media objects in the backend. #230

Merged
merged 7 commits into from Apr 1, 2015

Conversation

arneruy
Copy link
Contributor

@arneruy arneruy commented Mar 30, 2015

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets #41

Added validation options (mimetypes, min/max width/height for images) to media objects in the backend.

validation

@roderik
Copy link
Contributor

roderik commented Mar 30, 2015

@arneruy please follow this soon to be released contribution guidelines for your pull request: https://github.com/roderik/KunstmaanBundlesCMS/blob/master/docs/06-02-pull-requests.md

* Convert the limit to the smallest possible number
* (i.e. try "MB", then "kB", then "bytes")
*/
private function factorizeSizes($size, $limit, $binaryFormat)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this method really used?

krispypen added a commit that referenced this pull request Apr 1, 2015
@krispypen krispypen merged commit 8ab6fb9 into Kunstmaan:master Apr 1, 2015
@roderik roderik changed the title Feature/mediavalidation [MediaBundle,GeneratorBundle] Added validation options (mimetypes, min/max width/height for images) to media objects in the backend. Apr 7, 2015
@roderik roderik modified the milestone: 3.1.0 Apr 10, 2015
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.

None yet

3 participants