diff --git a/config.example.js b/config.example.js
index fe3f2fb91..a0f3003e0 100644
--- a/config.example.js
+++ b/config.example.js
@@ -116,11 +116,46 @@ module.exports = {
'contact',
],
- /* Domain
- * If you want to have enable payments on your CryptPad instance, it has to be able to tell
- * our account server what is your domain
+ /* Limits, Subscriptions and Contact
+ *
+ * CryptPad limits every registered user to 50MB of storage.
+ * By default it also allows that limit to be increased by subscribing at accounts.cryptpad.fr
+ * You can either:
+ * A: Hide the button for subscribing, so everyone is limited to 50MB
+ * B: Support cryptpad and share 50% of the revenue earned on your instance
+ *
+ * CryptPad is developed by people who need to live and who deserve an equivilent life to
+ * what they would get at a company which monitizes user data. However, we intend to have
+ * a mutually positive relationship with every one of our users, including you. If you are
+ * getting value from CryptPad, you should be giving equal value back.
+ *
+ * If you are using CryptPad in a business context, please consider taking a support contract
+ * by contacting sales@cryptpad.fr
+ *
+ * If you choose A, set this variable to true to hide the subscription button.
*/
- // domain: 'https://cryptpad.fr',
+ noSubscriptionButton: false,
+ /*
+ * If you choose B, set the domain of your cryptpad instance here and then contact
+ * sales@cryptpad.fr and tell us your domain, we will tell you what is needed to get paid.
+ */
+ myDomain: 'i.did.not.read.my.config.cryptpad.myserver.tld',
+ /*
+ * If you are using CryptPad internally and you want to increase the per-user storage limit,
+ * change the following value.
+ * Please note: Providing a public offer that is better than cryptpad.fr is an attack on
+ * the project. Please leave this alone if you are providing a public service.
+ */
+ defaultStorageLimit: 50 * 1024 * 1024,
+ /*
+ * By default, CryptPad contacts our accounts server once a day to check for changes in the
+ * people who have accounts. This check-in will also send your email and the version of
+ * CryptPad you run so we can reach you if we are aware of a serious problem with your
+ * CryptPad instance. We will never sell it or use it for marketing. If you want to block this
+ * check-in and remain completely private, set this to false and noSubscriptionButton to true.
+ */
+ adminEmail: 'i.did.not.read.my.config@cryptpad.fr',
+
/*
You have the option of specifying an alternative storage adaptor.
@@ -211,12 +246,6 @@ module.exports = {
*/
//restrictUploads: false,
- /* Default user storage limit (bytes)
- * if you don't want to limit users,
- * you can set this to the size of your hard disk
- */
- defaultStorageLimit: 50 * 1024 * 1024,
-
/* Max Upload Size (bytes)
* this sets the maximum size of any one file uploaded to the server.
* anything larger than this size will be rejected
diff --git a/customize.dist/application_config.js b/customize.dist/application_config.js
index 24ed2c740..151a8b7da 100644
--- a/customize.dist/application_config.js
+++ b/customize.dist/application_config.js
@@ -37,8 +37,6 @@ define(function() {
config.enableHistory = true;
- config.enablePinLimit = true;
-
/* user passwords are hashed with scrypt, and salted with their username.
this value will be appended to the username, causing the resulting hash
to differ from other CryptPad instances if customized. This makes it
diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js
index 576e0d403..a112d397e 100644
--- a/customize.dist/translations/messages.fr.js
+++ b/customize.dist/translations/messages.fr.js
@@ -389,15 +389,15 @@ define(function () {
out.main_zeroKnowledge_p = "Vous n'avez pas besoin de croire que nous n'allons pas regarder vos pads. Avec la technologie Zero Knowledge de CryptPad, nous ne pouvons pas le faire. Apprenez-en plus sur notre manière de protéger vos données.";
out.main_writeItDown = 'Prenez-en note';
out.main_writeItDown_p = "Les plus grands projets naissent des plus petites idées. Prenez note de vos moments d'inspiration et de vos idées inattendues car vous ne savez pas lesquels seront des découvertes capitales.";
- out.main_share = 'Partager le lien, partager le pad';
- out.main_share_p = "Faites croître vos idées à plusieurs : réalisez des réunions efficaes, collaborez sur vos listes de tâches et réalisez des présentations rapide avec tous vos amis sur tous vos appareils.";
- out.main_organize = 'Soyez organisés';
- out.main_organize_p = "Avec le CryptPad Drive, vous pouvez garder vos vues sur ce qui est important. Les dossiers vous permettent de garder la trace de vos projets et d'avoir une vision globale du travail effectué.";
+ out.main_share = 'Partagez le lien, partagez le pad';
+ out.main_share_p = "Faites croître vos idées à plusieurs : réalisez des réunions efficaces, collaborez sur vos listes de tâches et réalisez des présentations rapides avec tous vos amis sur tous vos appareils.";
+ out.main_organize = 'Soyez organisé';
+ out.main_organize_p = "Avec CryptDrive, vous pouvez garder vos vues sur ce qui est important. Les dossiers vous permettent de garder la trace de vos projets et d'avoir une vision globale du travail effectué.";
out.tryIt = 'Essayez-le !';
out.main_richText = 'Éditeur de texte';
out.main_richText_p = 'Éditez des documents texte collaborativement avec notre application CkEditor temps-réel et Zero Knowledge.';
out.main_code = 'Éditeur de code';
- out.main_code_p = 'Modifier votre code collaborativement grâce à notre application CodeMirror temps-réel et Zero Knowledge.';
+ out.main_code_p = 'Modifiez votre code collaborativement grâce à notre application CodeMirror temps-réel et Zero Knowledge.';
out.main_slide = 'Présentations';
out.main_slide_p = 'Créez vos présentations en syntaxe Markdown collaborativement de manière sécurisée et affichez les dans votre navigateur.';
out.main_poll = 'Sondages';
diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js
index e63f0d426..388ad37e6 100644
--- a/customize.dist/translations/messages.js
+++ b/customize.dist/translations/messages.js
@@ -78,6 +78,7 @@ define(function () {
out.updated_0_pinLimitReachedAlert = "You've reached your storage limit. New pads won't be stored in your CryptDrive. " +
'You can either remove pads from your CryptDrive or subscribe to a premium offer to increase your limit.';
out.pinLimitReachedAlert = out.updated_0_pinLimitReachedAlert;
+ out.pinLimitReachedAlertNoAccounts = out.pinLimitReached;
out.pinAboveLimitAlert = 'As of this release, we are imposing a 50MB limit on free data storage and you are currently using {0}. You will need to either delete some pads or subscribe on accounts.cryptpad.fr. Your contribution will help us improve CryptPad and spread Zero Knowledge. Please contact support if you have any other questions.';
out.pinLimitNotPinned = "You've reached your storage limit. "+
"This pad is not stored in your CryptDrive.";
diff --git a/customize.dist/translations/messages.ro.js b/customize.dist/translations/messages.ro.js
index 2c09b9a76..75c1c5852 100644
--- a/customize.dist/translations/messages.ro.js
+++ b/customize.dist/translations/messages.ro.js
@@ -274,7 +274,7 @@ define(function () {
out.main_p2 = "Acest proiect folosește CKEditor Visual Editor, CodeMirror, și ChainPad un motor în timp real.";
out.main_howitworks_p1 = "CryptPad folosește o variantă a algoritmului de Operational transformation care este capabil să găsescă consens distribuit folosind Nakamoto Blockchain, o construcție popularizată de Bitcoin. Astfel algoritmul poate evita nevoia ca serverul central să rezove conflicte, iar serverul nu este interesat de conținutul care este editat în pad.";
out.main_about_p2 = "Dacă ai orice fel de întrebare sau comentariu, poți să ne dai un tweet, semnalezi o problemă on github, spui salut pe IRC (irc.freenode.net), sau trimiți un email.";
- out.main_info = "
Colaborează n siguranță
Dezvoltă-ți ideile împreună cu documente partajate în timp ce tehnologia Zero Knowledge îți păstrează securitatea; chiar și de noi.";
+ out.main_info = "