Merge branch 'master' of github.com:xwiki-labs/cryptpad

pull/1/head
yflory 8 years ago
commit 2103f0afa8

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -2,7 +2,7 @@ define([
'/api/config?cb=' + Math.random().toString().slice(2), '/api/config?cb=' + Math.random().toString().slice(2),
'/customize/messages.js?app=fs', '/customize/messages.js?app=fs',
'/bower_components/chainpad-listmap/chainpad-listmap.js', '/bower_components/chainpad-listmap/chainpad-listmap.js',
'/bower_components/chainpad-crypto/crypto.js', '/bower_components/chainpad-crypto/crypto.js?v=0.1.5',
'/bower_components/textpatcher/TextPatcher.amd.js', '/bower_components/textpatcher/TextPatcher.amd.js',
'/common/fileObject.js', '/common/fileObject.js',
'/bower_components/jquery/dist/jquery.min.js', '/bower_components/jquery/dist/jquery.min.js',

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -8,6 +8,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
<link rel="icon" type="image/png" <link rel="icon" type="image/png"

@ -2,7 +2,7 @@ define([
'/api/config?cb=' + Math.random().toString(16).slice(2), '/api/config?cb=' + Math.random().toString(16).slice(2),
'/customize/messages.js', '/customize/messages.js',
'/customize/fsStore.js', '/customize/fsStore.js',
'/bower_components/chainpad-crypto/crypto.js', '/bower_components/chainpad-crypto/crypto.js?v=0.1.5',
'/bower_components/alertifyjs/dist/js/alertify.js', '/bower_components/alertifyjs/dist/js/alertify.js',
'/bower_components/spin.js/spin.min.js', '/bower_components/spin.js/spin.min.js',
'/common/clipboard.js', '/common/clipboard.js',
@ -357,7 +357,7 @@ define([
title: pad[2] || hash && hash.slice(0,8), title: pad[2] || hash && hash.slice(0,8),
ctime: pad[1], ctime: pad[1],
}; };
} else if (typeof(pad) === 'object') { } else if (pad && typeof(pad) === 'object') {
if (!pad.ctime) { pad.ctime = pad.atime; } if (!pad.ctime) { pad.ctime = pad.atime; }
if (!pad.title) { if (!pad.title) {
pad.href.replace(/#(.*)$/, function (x, hash) { pad.href.replace(/#(.*)$/, function (x, hash) {
@ -373,7 +373,7 @@ define([
} else { } else {
console.error("[Cryptpad.migrateRecentPads] pad had unexpected value"); console.error("[Cryptpad.migrateRecentPads] pad had unexpected value");
console.log(pad); console.log(pad);
return {}; return;
} }
}).filter(function (x) { return x; }); }).filter(function (x) { return x; });
}; };

@ -14,6 +14,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
<style> <style>

@ -15,6 +15,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
</head> </head>

@ -14,6 +14,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
<style> <style>

@ -12,7 +12,10 @@
<link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/customize/main.css" /> <link rel="stylesheet" href="/customize/main.css" />
<script data-main="main" src="/bower_components/requirejs/require.js"></script> <script data-main="main" src="/bower_components/requirejs/require.js"></script>
<script> require.config({ waitSeconds: 60, }); </script> <script> require.config({
waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); </script>
<style> <style>
html, body { html, body {
width: 100%; width: 100%;

@ -8,6 +8,12 @@
<script data-main="main" src="/bower_components/requirejs/require.js"></script> <script data-main="main" src="/bower_components/requirejs/require.js"></script>
<link rel="stylesheet" href="/customize/main.css" /> <link rel="stylesheet" href="/customize/main.css" />
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
<script>
require.config({
waitSeconds: 60,
urlArgs: "bust=1.0.0",
});
</script>
</head> </head>
<body class="html"> <body class="html">
<div id="cryptpadTopBar"> <div id="cryptpadTopBar">

@ -7,6 +7,7 @@
<script> <script>
require.config({ require.config({
waitSeconds: 60, waitSeconds: 60,
urlArgs: "bust=1.0.0",
}); });
</script> </script>
<link rel="icon" type="image/png" <link rel="icon" type="image/png"

Loading…
Cancel
Save