Fix error 512 when uploading on Google Drive

This commit is contained in:
benweet 2013-05-05 00:11:36 +01:00
parent 275e650ed4
commit f1e2573894
14 changed files with 35 additions and 34 deletions

View File

@ -1 +1 @@
CACHE MANIFEST # v22 CACHE: index.html viewer.html css/main-min.css js/main-min.js js/require.js img/ajax-loader.gif img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/icons.png img/stackedit-32.ico img/stackedit-promo.png NETWORK: * CACHE MANIFEST # v23 CACHE: index.html viewer.html css/main-min.css js/main-min.js js/require.js img/ajax-loader.gif img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/icons.png img/stackedit-32.ico img/stackedit-promo.png NETWORK: *

4
css/main-min.css vendored
View File

@ -5453,7 +5453,7 @@ input[readonly], select[readonly], textarea[readonly] {
background-color: #888; background-color: #888;
} }
.btn-group { .btn-group {
margin-right: 5px; margin-right: 10px;
} }
.btn-group > .btn + .dropdown-toggle { .btn-group > .btn + .dropdown-toggle {
padding-right: 12px; padding-right: 12px;
@ -5507,7 +5507,7 @@ hr {
height: 20px; height: 20px;
} }
.wmd-spacer { .wmd-spacer {
margin: 0 10px; margin-right: 15px;
display: inline-block; display: inline-block;
} }
.wmd-prompt-background { .wmd-prompt-background {

View File

@ -134,7 +134,7 @@ input[readonly], select[readonly], textarea[readonly] {
} }
.btn-group { .btn-group {
margin-right: 5px; margin-right: 10px;
} }
.btn-group > .btn + .dropdown-toggle { .btn-group > .btn + .dropdown-toggle {
@ -204,7 +204,7 @@ hr {
} }
.wmd-spacer { .wmd-spacer {
margin: 0 10px; margin-right: 15px;
display: inline-block; display: inline-block;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 B

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 447 B

BIN
img/stackedit-96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -27,9 +27,9 @@
borderopacity="1.0" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="1" inkscape:zoom="0.70710678"
inkscape:cx="521.42724" inkscape:cx="615.19651"
inkscape:cy="-97.239171" inkscape:cy="-117.83362"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="false" showgrid="false"
@ -54,7 +54,7 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title> <dc:title />
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
@ -67,59 +67,59 @@
xml:space="preserve" xml:space="preserve"
style="font-size:144px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Corbel;-inkscape-font-specification:Corbel" style="font-size:144px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Corbel;-inkscape-font-specification:Corbel"
x="221.88937" x="221.88937"
y="1017.7139" y="1021.7139"
id="text2991" id="text2991"
sodipodi:linespacing="125%"><tspan sodipodi:linespacing="125%"><tspan
sodipodi:role="line" sodipodi:role="line"
id="tspan2993" id="tspan2993"
x="221.88937" x="221.88937"
y="1017.7139">stack<tspan y="1021.7139">stack<tspan
style="font-size:144px;font-weight:bold;-inkscape-font-specification:Corbel Bold" style="font-size:144px;font-weight:bold;-inkscape-font-specification:Corbel Bold"
id="tspan2995">edit</tspan></tspan></text> id="tspan2995">edit</tspan></tspan></text>
<g <g
id="g3013" id="g3013"
transform="matrix(1.015625,0,0,1.015625,-0.48727889,-13.775147)"> transform="matrix(5.1237266,0,0,5.1237266,-369.65277,-4165.4739)">
<path <path
sodipodi:nodetypes="cccc" sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3001" id="path3001"
d="m 41.18585,941.60943 0,69.99997 140,0 0,-69.99997" d="m 80,998.86217 0,12.00003 28,0 0,-12.00003"
style="fill:none;stroke:#626265;stroke-width:20;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#626265;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path <path
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3789" id="path3789"
d="m 61.185851,986.60941 89.999999,0" d="m 84,1005.8622 18,0"
style="fill:none;stroke:#6c6c70;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#6c6c70;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path <path
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3791" id="path3791"
d="m 61.185851,966.60944 79.999999,0" d="m 84,1001.8622 16,0"
style="fill:none;stroke:#95785b;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#95785b;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path <path
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3793" id="path3793"
d="m 61.185851,946.60937 39.999999,0" d="m 84,997.86217 8,0"
style="fill:none;stroke:#bc8e48;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#bc8e48;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path <path
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3795" id="path3795"
d="m 61.185851,926.6094 99.999999,0" d="m 84,993.86217 20,0"
style="fill:none;stroke:#d38b28;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#d38b28;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path <path
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3797" id="path3797"
d="m 61.185851,906.60943 69.999999,0" d="m 84,989.86217 14,0"
style="fill:none;stroke:#fd8a07;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#fd8a07;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path <path
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path3799" id="path3799"
d="m 61.185851,886.60945 99.999999,0" d="m 84,985.86217 20,0"
style="fill:none;stroke:#fe7a15;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:none;stroke:#fe7a15;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -14,7 +14,7 @@
id="svg2" id="svg2"
version="1.1" version="1.1"
inkscape:version="0.48.4 r9939" inkscape:version="0.48.4 r9939"
sodipodi:docname="stackedit-dark.svg" sodipodi:docname="stackedit.svg"
inkscape:export-filename="C:\Documents and Settings\g550003\Mes documents\Mes images\stackedit-128.png" inkscape:export-filename="C:\Documents and Settings\g550003\Mes documents\Mes images\stackedit-128.png"
inkscape:export-xdpi="360" inkscape:export-xdpi="360"
inkscape:export-ydpi="360"> inkscape:export-ydpi="360">
@ -27,9 +27,9 @@
borderopacity="1.0" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="2.4721116" inkscape:zoom="6.9921875"
inkscape:cx="89.111669" inkscape:cx="92.512694"
inkscape:cy="-23.177627" inkscape:cy="-9.5071361"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="true" showgrid="true"
@ -54,7 +54,7 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title> <dc:title />
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
@ -65,7 +65,7 @@
transform="translate(0,-1020.3622)"> transform="translate(0,-1020.3622)">
<path <path
style="fill:none;stroke:#626265;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" style="fill:none;stroke:#626265;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 2,-2 0,14 28,0 0,-14" d="M 2,0 2,12 30,12 30,0"
id="path3001" id="path3001"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
transform="translate(0,1036.3622)" transform="translate(0,1036.3622)"

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -100,7 +100,8 @@ define(["jquery", "core", "async-runner"], function($, core, asyncRunner) {
var headers = { 'Content-Type' : 'multipart/mixed; boundary="' var headers = { 'Content-Type' : 'multipart/mixed; boundary="'
+ boundary + '"', }; + boundary + '"', };
if(etag !== undefined) { if(etag !== undefined) {
headers["If-Match"] = etag; // Sometimes we have error 512 from Google even with the correct etag
//headers["If-Match"] = etag;
} }
var base64Data = core.encodeBase64(content); var base64Data = core.encodeBase64(content);

2
js/main-min.js vendored

File diff suppressed because one or more lines are too long