mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Bump cloudinary from 1.28.0 to 1.28.1 (#1615)
* Bump cloudinary from 1.28.0 to 1.28.1 Bumps [cloudinary](https://github.com/cloudinary/pycloudinary) from 1.28.0 to 1.28.1. - [Release notes](https://github.com/cloudinary/pycloudinary/releases) - [Changelog](https://github.com/cloudinary/pycloudinary/blob/master/CHANGELOG.md) - [Commits](https://github.com/cloudinary/pycloudinary/compare/1.28.0...1.28.1) --- updated-dependencies: - dependency-name: cloudinary dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update cloudinary==1.28.1 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
This commit is contained in:
parent
2829041dc3
commit
515a5d42d3
5 changed files with 20 additions and 21 deletions
|
@ -38,7 +38,7 @@ CL_BLANK = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAA
|
||||||
URI_SCHEME = "cloudinary"
|
URI_SCHEME = "cloudinary"
|
||||||
API_VERSION = "v1_1"
|
API_VERSION = "v1_1"
|
||||||
|
|
||||||
VERSION = "1.28.0"
|
VERSION = "1.28.1"
|
||||||
|
|
||||||
USER_AGENT = "CloudinaryPython/{} (Python {})".format(VERSION, python_version())
|
USER_AGENT = "CloudinaryPython/{} (Python {})".format(VERSION, python_version())
|
||||||
""" :const: USER_AGENT """
|
""" :const: USER_AGENT """
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
!function(t){"use strict";var e=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,o=t.Blob&&function(){try{return Boolean(new Blob)}catch(t){return!1}}(),n=o&&t.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(t){return!1}}(),r=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,a=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,i=(o||r)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(t){var e,i,l,u,c,f,b,d,B;if(!(e=t.match(a)))throw new Error("invalid data URI");for(i=e[2]?e[1]:"text/plain"+(e[3]||";charset=US-ASCII"),l=!!e[4],u=t.slice(e[0].length),c=l?atob(u):decodeURIComponent(u),f=new ArrayBuffer(c.length),b=new Uint8Array(f),d=0;d<c.length;d+=1)b[d]=c.charCodeAt(d);return o?new Blob([n?b:f],{type:i}):((B=new r).append(f),B.getBlob(i))};t.HTMLCanvasElement&&!e.toBlob&&(e.mozGetAsFile?e.toBlob=function(t,o,n){var r=this;setTimeout(function(){t(n&&e.toDataURL&&i?i(r.toDataURL(o,n)):r.mozGetAsFile("blob",o))})}:e.toDataURL&&i&&(e.toBlob=function(t,e,o){var n=this;setTimeout(function(){t(i(n.toDataURL(e,o)))})})),"function"==typeof define&&define.amd?define(function(){return i}):"object"==typeof module&&module.exports?module.exports=i:t.dataURLtoBlob=i}(window);
|
!function(t){"use strict";var e=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,o=t.Blob&&function(){try{return Boolean(new Blob)}catch(t){return!1}}(),n=o&&t.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(t){return!1}}(),r=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,a=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,i=(o||r)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(t){var e,i,l,u,c,f,b,d,B;if(!(e=t.match(a)))throw new Error("invalid data URI");for(i=e[2]?e[1]:"text/plain"+(e[3]||";charset=US-ASCII"),l=!!e[4],u=t.slice(e[0].length),c=l?atob(u):decodeURIComponent(u),f=new ArrayBuffer(c.length),b=new Uint8Array(f),d=0;d<c.length;d+=1)b[d]=c.charCodeAt(d);return o?new Blob([n?b:f],{type:i}):((B=new r).append(f),B.getBlob(i))};t.HTMLCanvasElement&&!e.toBlob&&(e.mozGetAsFile?e.toBlob=function(t,o,n){var r=this;setTimeout(function(){t(n&&e.toDataURL&&i?i(r.toDataURL(o,n)):r.mozGetAsFile("blob",o))})}:e.toDataURL&&i&&(e.toBlob=function(t,e,o){var n=this;setTimeout(function(){t(i(n.toDataURL(e,o)))})})),"function"==typeof define&&define.amd?define(function(){return i}):"object"==typeof module&&module.exports?module.exports=i:t.dataURLtoBlob=i}(window);
|
||||||
//# sourceMappingURL=canvas-to-blob.min.js.map
|
|
File diff suppressed because one or more lines are too long
|
@ -130,6 +130,22 @@ __SERIALIZED_UPLOAD_PARAMS = [
|
||||||
|
|
||||||
upload_params = __SIMPLE_UPLOAD_PARAMS + __SERIALIZED_UPLOAD_PARAMS
|
upload_params = __SIMPLE_UPLOAD_PARAMS + __SERIALIZED_UPLOAD_PARAMS
|
||||||
|
|
||||||
|
_SIMPLE_TRANSFORMATION_PARAMS = {
|
||||||
|
"ac": "audio_codec",
|
||||||
|
"af": "audio_frequency",
|
||||||
|
"br": "bit_rate",
|
||||||
|
"cs": "color_space",
|
||||||
|
"d": "default_image",
|
||||||
|
"dl": "delay",
|
||||||
|
"dn": "density",
|
||||||
|
"f": "fetch_format",
|
||||||
|
"g": "gravity",
|
||||||
|
"p": "prefix",
|
||||||
|
"pg": "page",
|
||||||
|
"sp": "streaming_profile",
|
||||||
|
"vs": "video_sampling",
|
||||||
|
}
|
||||||
|
|
||||||
SHORT_URL_SIGNATURE_LENGTH = 8
|
SHORT_URL_SIGNATURE_LENGTH = 8
|
||||||
LONG_URL_SIGNATURE_LENGTH = 32
|
LONG_URL_SIGNATURE_LENGTH = 32
|
||||||
|
|
||||||
|
@ -402,23 +418,8 @@ def generate_transformation_string(**options):
|
||||||
"vc": video_codec,
|
"vc": video_codec,
|
||||||
"z": normalize_expression(options.pop('zoom', None))
|
"z": normalize_expression(options.pop('zoom', None))
|
||||||
}
|
}
|
||||||
simple_params = {
|
|
||||||
"ac": "audio_codec",
|
|
||||||
"af": "audio_frequency",
|
|
||||||
"br": "bit_rate",
|
|
||||||
"cs": "color_space",
|
|
||||||
"d": "default_image",
|
|
||||||
"dl": "delay",
|
|
||||||
"dn": "density",
|
|
||||||
"f": "fetch_format",
|
|
||||||
"g": "gravity",
|
|
||||||
"p": "prefix",
|
|
||||||
"pg": "page",
|
|
||||||
"sp": "streaming_profile",
|
|
||||||
"vs": "video_sampling",
|
|
||||||
}
|
|
||||||
|
|
||||||
for param, option in simple_params.items():
|
for param, option in _SIMPLE_TRANSFORMATION_PARAMS.items():
|
||||||
params[param] = options.pop(option, None)
|
params[param] = options.pop(option, None)
|
||||||
|
|
||||||
variables = options.pop('variables', {})
|
variables = options.pop('variables', {})
|
||||||
|
@ -545,7 +546,7 @@ def process_radius(param):
|
||||||
raise ValueError("Invalid radius param")
|
raise ValueError("Invalid radius param")
|
||||||
return ':'.join(normalize_expression(t) for t in param)
|
return ':'.join(normalize_expression(t) for t in param)
|
||||||
|
|
||||||
return str(param)
|
return normalize_expression(str(param))
|
||||||
|
|
||||||
|
|
||||||
def process_params(params):
|
def process_params(params):
|
||||||
|
|
|
@ -9,7 +9,7 @@ bleach==4.1.0
|
||||||
certifi==2021.10.8
|
certifi==2021.10.8
|
||||||
cheroot==8.6.0
|
cheroot==8.6.0
|
||||||
cherrypy==18.6.1
|
cherrypy==18.6.1
|
||||||
cloudinary==1.28.0
|
cloudinary==1.28.1
|
||||||
distro==1.6.0
|
distro==1.6.0
|
||||||
dnspython==2.0.0
|
dnspython==2.0.0
|
||||||
facebook-sdk==3.1.0
|
facebook-sdk==3.1.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue