Merge branch 'main' into soon

pull/1/head
ansuz 3 years ago
commit b05a9de1c4

@ -0,0 +1,13 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: cryptpad
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

@ -1995,7 +1995,10 @@ define([
return f; return f;
}).filter(Boolean); }).filter(Boolean);
// Continue only with the files // Continue only with the files
return void onFileDrop(fileDrop, ev); // if there are no files, fall through to other handlers
if (fileDrop.length) {
return void onFileDrop(fileDrop, ev);
}
} }
var oldPaths = JSON.parse(data).path; var oldPaths = JSON.parse(data).path;

@ -28,7 +28,8 @@ define([
}; };
window.rc = requireConfig; window.rc = requireConfig;
window.apiconf = ApiConfig; window.apiconf = ApiConfig;
$('#sbox-secure-iframe').attr('sandbox', 'allow-scripts allow-popups allow-modals').attr('src', // XXX extra sandboxing features are temporarily disabled as I suspect this is the cause of a regression in Safari
$('#sbox-secure-iframe')/*.attr('sandbox', 'allow-scripts allow-popups allow-modals')*/.attr('src',
ApiConfig.httpSafeOrigin + '/secureiframe/inner.html?' + requireConfig.urlArgs + ApiConfig.httpSafeOrigin + '/secureiframe/inner.html?' + requireConfig.urlArgs +
'#' + encodeURIComponent(JSON.stringify(req))); '#' + encodeURIComponent(JSON.stringify(req)));

Loading…
Cancel
Save