1.10.4.181

This commit is contained in:
RainLoop Team 2016-09-21 19:57:13 +03:00
parent f70d9e46a0
commit 224362299a
11 changed files with 4301 additions and 4288 deletions

View file

@ -9,7 +9,7 @@ const Base64 = {
// public method for urlsafe encoding // public method for urlsafe encoding
urlsafe_encode: (input) => Base64.encode(input) urlsafe_encode: (input) => Base64.encode(input)
.replace(/[+]/g, '-').replace(/[\/]/g, '_').replace(/[=]/g, '.'), .replace(/[+]/g, '-').replace(/[\/]/g, '_').replace(/[=]/g, ''),
// public method for encoding // public method for encoding
encode: (input) => { encode: (input) => {

View file

@ -182,3 +182,13 @@
z-index: 1052; z-index: 1052;
} }
} }
.btn-submit-icon-wrp {
border: none;
background: none;
display: inline-block;
margin: 0;
padding: 0;
outline: none;
cursor: pointer;
}

6
npm-shrinkwrap.json generated
View file

@ -3125,9 +3125,9 @@
} }
}, },
"moment": { "moment": {
"version": "2.15.0", "version": "2.15.1",
"from": "moment@2.15.0", "from": "moment@2.15.1",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.15.0.tgz" "resolved": "https://registry.npmjs.org/moment/-/moment-2.15.1.tgz"
}, },
"ms": { "ms": {
"version": "0.7.1", "version": "0.7.1",

View file

@ -4,8 +4,8 @@
"description": "Simple, modern & fast web-based email client", "description": "Simple, modern & fast web-based email client",
"private": true, "private": true,
"version": "1.10.4", "version": "1.10.4",
"release": "180", "release": "181",
"ownCloudPackageVersion": "4.24", "ownCloudPackageVersion": "4.25",
"homepage": "http://rainloop.net", "homepage": "http://rainloop.net",
"main": "gulpfile.js", "main": "gulpfile.js",
"author": { "author": {
@ -99,7 +99,7 @@
"knockout-sortable": "^0.14.1", "knockout-sortable": "^0.14.1",
"lightgallery": "^1.2.21", "lightgallery": "^1.2.21",
"matchmedia-polyfill": "^0.3.0", "matchmedia-polyfill": "^0.3.0",
"moment": "^2.15.0", "moment": "^2.15.1",
"node-fs": "^0.1.7", "node-fs": "^0.1.7",
"node-notifier": "4.6.1", "node-notifier": "4.6.1",
"normalize.css": "^4.2.0", "normalize.css": "^4.2.0",

View file

@ -1721,7 +1721,7 @@ END;
*/ */
public static function UrlSafeBase64Encode($sValue) public static function UrlSafeBase64Encode($sValue)
{ {
return \rtrim(\strtr(\base64_encode(\trim($sValue)), '+/', '-_'), '='); return \rtrim(\strtr(\base64_encode($sValue), '+/', '-_'), '=');
} }
/** /**
@ -1732,7 +1732,7 @@ END;
public static function UrlSafeBase64Decode($sValue) public static function UrlSafeBase64Decode($sValue)
{ {
$sValue = \rtrim(\strtr($sValue, '-_.', '+/='), '='); $sValue = \rtrim(\strtr($sValue, '-_.', '+/='), '=');
return \MailSo\Base\Utils::Base64Decode(\str_pad($sValue, \strlen($sValue) % 4, '=', STR_PAD_RIGHT)); return \MailSo\Base\Utils::Base64Decode(\str_pad($sValue, \strlen($sValue) + (\strlen($sValue) % 4), '=', STR_PAD_RIGHT));
} }
/** /**

View file

@ -26,9 +26,11 @@
style="padding-right: 35px;" style="padding-right: 35px;"
autocorrect="off" autocapitalize="off" spellcheck="false" data-i18n="[placeholder]LOGIN/LABEL_PASSWORD" autocorrect="off" autocapitalize="off" spellcheck="false" data-i18n="[placeholder]LOGIN/LABEL_PASSWORD"
data-bind="textInput: password, disable: submitRequest" /> data-bind="textInput: password, disable: submitRequest" />
<span class="add-on" data-bind="command: submitCommand"> <span class="add-on" data-bind="command: submitCommand, tooltip: 'LOGIN/BUTTON_LOGIN'">
<i class="icon-key" data-bind="visible: '' === password()"></i> <i class="icon-key" data-bind="visible: '' === password()"></i>
<i class="icon-right-middle login-submit-icon" data-bind="visible: '' !== password()"></i> <button type="submit" class="btn-submit-icon-wrp" data-bind="visible: '' !== password()">
<i class="icon-right-middle login-submit-icon"></i>
</button>
</span> </span>
</div> </div>
</div> </div>

View file

@ -46,7 +46,9 @@
data-bind="textInput: password, hasFocus: passwordFocus, disable: submitRequest" data-i18n="[placeholder]LOGIN/LABEL_PASSWORD" /> data-bind="textInput: password, hasFocus: passwordFocus, disable: submitRequest" data-i18n="[placeholder]LOGIN/LABEL_PASSWORD" />
<span class="add-on i18n" data-bind="command: submitCommand, tooltip: 'LOGIN/BUTTON_SIGN_IN'"> <span class="add-on i18n" data-bind="command: submitCommand, tooltip: 'LOGIN/BUTTON_SIGN_IN'">
<i class="icon-key" data-bind="visible: '' === password()"></i> <i class="icon-key" data-bind="visible: '' === password()"></i>
<i class="icon-right-middle login-submit-icon" data-bind="visible: '' !== password()"></i> <button type="submit" class="btn-submit-icon-wrp" data-bind="visible: '' !== password()">
<i class="icon-right-middle login-submit-icon"></i>
</button>
</span> </span>
</div> </div>
</div> </div>

View file

@ -80,22 +80,21 @@
</a> </a>
<ul class="dropdown-menu g-ui-menu" role="menu" aria-labelledby="more-view-dropdown-id"> <ul class="dropdown-menu g-ui-menu" role="menu" aria-labelledby="more-view-dropdown-id">
<div data-bind="visible: allowComposer && !isDraftFolder()"> <div data-bind="visible: allowComposer && !isDraftFolder()">
<li class="e-item" role="presentation" data-bind="visible: 'reply' !== lastReplyAction()"> <li class="e-item" role="presentation">
<a class="e-link menuitem" href="#" tabindex="-1" data-bind="command: replyCommand"> <a class="e-link menuitem" href="#" tabindex="-1" data-bind="command: replyCommand">
<i class="icon-reply"></i> <i class="icon-reply"></i>
&nbsp;&nbsp; &nbsp;&nbsp;
<span class="i18n" data-i18n="MESSAGE/BUTTON_REPLY"></span> <span class="i18n" data-i18n="MESSAGE/BUTTON_REPLY"></span>
</a> </a>
</li> </li>
<li class="e-item" role="presentation" data-bind="visible: 'replyall' !== lastReplyAction()"> <li class="e-item" role="presentation">
<a class="e-link menuitem" href="#" tabindex="-1" data-bind="command: replyAllCommand"> <a class="e-link menuitem" href="#" tabindex="-1" data-bind="command: replyAllCommand">
<i class="icon-reply-all"></i> <i class="icon-reply-all"></i>
&nbsp;&nbsp; &nbsp;&nbsp;
<span class="i18n" data-i18n="MESSAGE/BUTTON_REPLY_ALL"></span> <span class="i18n" data-i18n="MESSAGE/BUTTON_REPLY_ALL"></span>
</a> </a>
</li> </li>
<li class="e-item" role="presentation" <li class="e-item" role="presentation">
data-bind="visible: 'forward' !== lastReplyAction()">
<a class="e-link menuitem" href="#" tabindex="-1" data-bind="command: forwardCommand"> <a class="e-link menuitem" href="#" tabindex="-1" data-bind="command: forwardCommand">
<i class="icon-forward"></i> <i class="icon-forward"></i>
&nbsp;&nbsp; &nbsp;&nbsp;