mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
1.6.0 release
CardDav support. New skin (Blurred). Login animation. Small fixes.
This commit is contained in:
parent
bc6c320ecb
commit
011855bf8a
26 changed files with 386 additions and 337 deletions
|
|
@ -1,16 +1,14 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
|
AcceptPathInfo On
|
||||||
|
ServerName dav.mydomain.com
|
||||||
|
DocumentRoot /var/www/mydomain.com
|
||||||
|
|
||||||
AcceptPathInfo On
|
RewriteEngine On
|
||||||
ServerName dav.mydomain.com
|
RewriteRule /.well-known/carddav /index.php/dav [R,L]
|
||||||
DocumentRoot /var/www/mydomain.com
|
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteRule /.well-known/carddav /index.php/dav [R,L]
|
|
||||||
|
|
||||||
<Directory "/var/www/mydomain.com">
|
|
||||||
Options None
|
|
||||||
Options +FollowSymlinks
|
|
||||||
AllowOverride All
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
|
<Directory "/var/www/mydomain.com">
|
||||||
|
Options None
|
||||||
|
Options +FollowSymlinks
|
||||||
|
AllowOverride All
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
@ -1,16 +1,14 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
|
AcceptPathInfo On
|
||||||
|
ServerName mydomain.com
|
||||||
|
DocumentRoot /var/www/mydomain.com
|
||||||
|
|
||||||
AcceptPathInfo On
|
RewriteEngine On
|
||||||
ServerName mydomain.com
|
RewriteRule /.well-known/carddav /index.php/dav [R,L]
|
||||||
DocumentRoot /var/www/mydomain.com
|
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteRule /.well-known/carddav /index.php/dav [R,L]
|
|
||||||
|
|
||||||
<Directory "/var/www/mydomain.com">
|
|
||||||
Options None
|
|
||||||
Options +FollowSymlinks
|
|
||||||
AllowOverride All
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
|
<Directory "/var/www/mydomain.com">
|
||||||
|
Options None
|
||||||
|
Options +FollowSymlinks
|
||||||
|
AllowOverride All
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
@ -1,41 +1,43 @@
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name dav.mydomain.com;
|
server_name dav.mydomain.com;
|
||||||
|
|
||||||
root /var/www/mydomain.com;
|
root /var/www/mydomain.com;
|
||||||
access_log /var/log/nginx/dav.mydomain.com.access.log main;
|
access_log /var/log/nginx/dav.mydomain.com.access.log;
|
||||||
error_log /var/log/nginx/dav.mydomain.com.error.log;
|
error_log /var/log/nginx/dav.mydomain.com.error.log;
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
||||||
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
||||||
expires max;
|
expires max;
|
||||||
add_header Pragma public;
|
add_header Pragma public;
|
||||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /favicon.ico { access_log off; log_not_found off; }
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
location = /robots.txt { access_log off; log_not_found off; }
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
location ~ /\.ht { access_log off; log_not_found off; deny all; return 404; }
|
location = /humans.txt { access_log off; log_not_found off; }
|
||||||
location ^~ /data { access_log off; log_not_found off; deny all; return 404; }
|
location ~ /\.ht { access_log off; log_not_found off; deny all; return 404; }
|
||||||
|
location ^~ /data { access_log off; log_not_found off; deny all; return 404; }
|
||||||
|
|
||||||
|
# rewrite for carddav autoprovision
|
||||||
|
rewrite ^/.well-known/carddav / redirect;
|
||||||
|
|
||||||
rewrite ^/.well-known/carddav / redirect;
|
|
||||||
rewrite ^(.*)$ /index.php/dav$1 last;
|
rewrite ^(.*)$ /index.php/dav$1 last;
|
||||||
|
|
||||||
location ~ /index\.php/dav/.*$ {
|
# php for carddav only
|
||||||
include fastcgi_params;
|
location ~ /index\.php/dav/.*$ {
|
||||||
|
include fastcgi_params;
|
||||||
|
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000; # unix:/var/run/php5-fpm.sock;
|
||||||
# fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/[^?]*).*$;
|
fastcgi_split_path_info ^(.+\.php)(/[^?]*).*$;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_NAME index.php;
|
fastcgi_param SCRIPT_NAME index.php;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,47 +1,48 @@
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name mydomain.com;
|
server_name mydomain.com;
|
||||||
|
|
||||||
root /var/www/mydomain.com;
|
root /var/www/mydomain.com;
|
||||||
access_log /var/log/nginx/mydomain.com.access.log main;
|
access_log /var/log/nginx/mydomain.com.access.log;
|
||||||
error_log /var/log/nginx/mydomain.com.error.log;
|
error_log /var/log/nginx/mydomain.com.error.log;
|
||||||
|
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
||||||
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
||||||
expires max;
|
expires max;
|
||||||
add_header Pragma public;
|
add_header Pragma public;
|
||||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /favicon.ico { access_log off; log_not_found off; }
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
location = /robots.txt { access_log off; log_not_found off; }
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
location ~ /\.ht { access_log off; log_not_found off; deny all; return 404; }
|
location = /humans.txt { access_log off; log_not_found off; }
|
||||||
location ^~ /data { access_log off; log_not_found off; deny all; return 404; }
|
location ~ /\.ht { access_log off; log_not_found off; deny all; return 404; }
|
||||||
|
location ^~ /data { access_log off; log_not_found off; deny all; return 404; }
|
||||||
|
|
||||||
rewrite ^/.well-known/carddav /index.php/dav/ redirect;
|
# rewrite for carddav autoprovision
|
||||||
|
rewrite ^/.well-known/carddav /index.php/dav/ redirect;
|
||||||
|
|
||||||
location ~ /index\.php/dav/.*$ {
|
# php for carddav
|
||||||
include fastcgi_params;
|
location ~ /index\.php/dav/.*$ {
|
||||||
|
include fastcgi_params;
|
||||||
|
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000; # unix:/var/run/php5-fpm.sock;
|
||||||
# fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/[^?]*).*$;
|
fastcgi_split_path_info ^(.+\.php)(/[^?]*).*$;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_NAME index.php;
|
fastcgi_param SCRIPT_NAME index.php;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php {
|
# php (other)
|
||||||
include fastcgi_params;
|
location ~ \.php {
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
include fastcgi_params;
|
||||||
# fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass 127.0.0.1:9000; # unix:/var/run/php5-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -34,8 +34,7 @@ window['__RLBOOT'] = function (fCall) {
|
||||||
window['rainloopTEMPLATES'] = {};
|
window['rainloopTEMPLATES'] = {};
|
||||||
|
|
||||||
kn.setBoot(RL).bootstart();
|
kn.setBoot(RL).bootstart();
|
||||||
|
$html.removeClass('no-js rl-booted-trigger').addClass('rl-booted');
|
||||||
$html.addClass('rl-started');
|
|
||||||
|
|
||||||
}, 50);
|
}, 50);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,11 +36,6 @@ Knoin.prototype.oScreens = {};
|
||||||
Knoin.prototype.oBoot = null;
|
Knoin.prototype.oBoot = null;
|
||||||
Knoin.prototype.oCurrentScreen = null;
|
Knoin.prototype.oCurrentScreen = null;
|
||||||
|
|
||||||
Knoin.prototype.showLoading = function ()
|
|
||||||
{
|
|
||||||
$('#rl-loading').show();
|
|
||||||
};
|
|
||||||
|
|
||||||
Knoin.prototype.hideLoading = function ()
|
Knoin.prototype.hideLoading = function ()
|
||||||
{
|
{
|
||||||
$('#rl-loading').hide();
|
$('#rl-loading').hide();
|
||||||
|
|
@ -307,6 +302,10 @@ Knoin.prototype.screenOnRoute = function (sScreenName, sSubPart)
|
||||||
*/
|
*/
|
||||||
Knoin.prototype.startScreens = function (aScreensClasses)
|
Knoin.prototype.startScreens = function (aScreensClasses)
|
||||||
{
|
{
|
||||||
|
$('#rl-content').css({
|
||||||
|
'visibility': 'hidden'
|
||||||
|
});
|
||||||
|
|
||||||
_.each(aScreensClasses, function (CScreen) {
|
_.each(aScreensClasses, function (CScreen) {
|
||||||
|
|
||||||
var
|
var
|
||||||
|
|
@ -345,6 +344,14 @@ Knoin.prototype.startScreens = function (aScreensClasses)
|
||||||
hasher.initialized.add(oCross.parse, oCross);
|
hasher.initialized.add(oCross.parse, oCross);
|
||||||
hasher.changed.add(oCross.parse, oCross);
|
hasher.changed.add(oCross.parse, oCross);
|
||||||
hasher.init();
|
hasher.init();
|
||||||
|
|
||||||
|
$('#rl-content').css({
|
||||||
|
'visibility': 'visible'
|
||||||
|
});
|
||||||
|
|
||||||
|
_.delay(function () {
|
||||||
|
$html.removeClass('rl-started-trigger').addClass('rl-started');
|
||||||
|
}, 50);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,26 @@
|
||||||
0% {background-position: 0 0;} 100% {background-position: 60px 0;}
|
0% {background-position: 0 0;} 100% {background-position: 60px 0;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.rl-started-trigger .b-login-content .loginFormWrapper {
|
||||||
|
-webkit-transform: translateY(-30px);
|
||||||
|
-moz-transform: translateY(-30px);
|
||||||
|
transform: translateY(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
html.rl-started-trigger #rl-content {
|
||||||
|
.opacity(70);
|
||||||
|
}
|
||||||
|
|
||||||
.rl-anim {
|
.rl-anim {
|
||||||
|
|
||||||
|
&.csstransitions #rl-content {
|
||||||
|
.transition(~"0.4s opacity cubic-bezier(0.250, 0.460, 0.450, 0.940)");
|
||||||
|
}
|
||||||
|
|
||||||
|
&.csstransitions .b-login-content .loginFormWrapper {
|
||||||
|
.transition(~"0.4s all cubic-bezier(0.250, 0.460, 0.450, 0.940)");
|
||||||
|
}
|
||||||
|
|
||||||
&.rgba.cssanimations.backgroundsize .e-strip-animation {
|
&.rgba.cssanimations.backgroundsize .e-strip-animation {
|
||||||
-webkit-background-size: 60px 60px;
|
-webkit-background-size: 60px 60px;
|
||||||
-moz-background-size: 60px 60px;
|
-moz-background-size: 60px 60px;
|
||||||
|
|
|
||||||
|
|
@ -1,72 +0,0 @@
|
||||||
|
|
||||||
.select2-container-multi {
|
|
||||||
|
|
||||||
.select2-choices {
|
|
||||||
|
|
||||||
background-image: none;
|
|
||||||
border: @rlInputBorderSize solid @inputBorder;
|
|
||||||
|
|
||||||
.border-radius(@inputBorderRadius);
|
|
||||||
|
|
||||||
.select2-search-choice {
|
|
||||||
line-height: 15px;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.select2-container-active {
|
|
||||||
.select2-choices {
|
|
||||||
border: @rlInputBorderSize solid darken(@inputBorder, 20%);
|
|
||||||
.box-shadow(none);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-drop {
|
|
||||||
|
|
||||||
.box-shadow(none);
|
|
||||||
|
|
||||||
.select2-subname {
|
|
||||||
color: #777;
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-highlighted .select2-subname {
|
|
||||||
color: #eee;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-results {
|
|
||||||
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
max-height: 400px;
|
|
||||||
|
|
||||||
.select2-searching {
|
|
||||||
padding: 1px 4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-icon {
|
|
||||||
line-height: 20px;
|
|
||||||
padding: 0 0 0 7px
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-icon-result {
|
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-result-label {
|
|
||||||
margin: 0px !important;
|
|
||||||
padding: 5px !important;
|
|
||||||
font-size: 16px;
|
|
||||||
|
|
||||||
height: 40px;
|
|
||||||
line-height: 40px;
|
|
||||||
|
|
||||||
.select2-user-pic {
|
|
||||||
display: inline-block;
|
|
||||||
height: 40px;
|
|
||||||
width: 40px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "RainLoop",
|
"name": "RainLoop",
|
||||||
"title": "RainLoop Webmail",
|
"title": "RainLoop Webmail",
|
||||||
"version": "1.5.1",
|
"version": "1.6.0",
|
||||||
"release": "557",
|
"release": "615",
|
||||||
"description": "Simple, modern & fast web-based email client",
|
"description": "Simple, modern & fast web-based email client",
|
||||||
"homepage": "http://rainloop.net",
|
"homepage": "http://rainloop.net",
|
||||||
"main": "Gruntfile.js",
|
"main": "Gruntfile.js",
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ namespace RainLoop;
|
||||||
if (!\defined('RAINLOOP_APP_ROOT_PATH'))
|
if (!\defined('RAINLOOP_APP_ROOT_PATH'))
|
||||||
{
|
{
|
||||||
\define('RAINLOOP_APP_LIBRARIES_PATH', \rtrim(\realpath(__DIR__), '\\/').'/libraries/');
|
\define('RAINLOOP_APP_LIBRARIES_PATH', \rtrim(\realpath(__DIR__), '\\/').'/libraries/');
|
||||||
|
\define('RAINLOOP_MB_SUPPORTED', \function_exists('mb_strtoupper'));
|
||||||
|
|
||||||
\spl_autoload_register(function ($sClassName) {
|
\spl_autoload_register(function ($sClassName) {
|
||||||
|
|
||||||
|
|
@ -14,6 +15,12 @@ if (!\defined('RAINLOOP_APP_ROOT_PATH'))
|
||||||
}
|
}
|
||||||
else if (0 === \strpos($sClassName, 'Sabre') && false !== \strpos($sClassName, '\\'))
|
else if (0 === \strpos($sClassName, 'Sabre') && false !== \strpos($sClassName, '\\'))
|
||||||
{
|
{
|
||||||
|
if (!RAINLOOP_MB_SUPPORTED && !defined('RL_MB_FIXED'))
|
||||||
|
{
|
||||||
|
\define('RL_MB_FIXED', true);
|
||||||
|
include_once RAINLOOP_APP_LIBRARIES_PATH.'RainLoop/SabreDAV/MbStringFix.php';
|
||||||
|
}
|
||||||
|
|
||||||
return include RAINLOOP_APP_LIBRARIES_PATH.'Sabre/'.\str_replace('\\', '/', \substr($sClassName, 6)).'.php';
|
return include RAINLOOP_APP_LIBRARIES_PATH.'Sabre/'.\str_replace('\\', '/', \substr($sClassName, 6)).'.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ Enables caching in the system'),
|
||||||
'ignore_folders_subscription' => array(false,
|
'ignore_folders_subscription' => array(false,
|
||||||
'Experimental settings. Handle with care.
|
'Experimental settings. Handle with care.
|
||||||
'),
|
'),
|
||||||
'sync_dav_digest_auth' => array(false),
|
'sync_dav_digest_auth' => array(true),
|
||||||
'sync_dav_domain' => array(''),
|
'sync_dav_domain' => array(''),
|
||||||
'sync_use_dav_browser' => array(true),
|
'sync_use_dav_browser' => array(true),
|
||||||
'allow_message_append' => array(false),
|
'allow_message_append' => array(false),
|
||||||
|
|
|
||||||
|
|
@ -408,8 +408,11 @@ if (!function_exists('mb_strcut'))
|
||||||
{
|
{
|
||||||
function mb_strcut($str, $start, $length = null, $encoding = '')
|
function mb_strcut($str, $start, $length = null, $encoding = '')
|
||||||
{
|
{
|
||||||
// TODO
|
$match = array();
|
||||||
return \MailSo\Base\Utils::Utf8Clear(substr($str, $start, $length));
|
// use the regex unicode support to separate the UTF-8 characters into an array
|
||||||
|
preg_match_all( '/./us', $str, $match );
|
||||||
|
$chars = is_null( $length )? array_slice( $match[0], $start ) : array_slice( $match[0], $start, $length );
|
||||||
|
return implode( '', $chars );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -715,8 +715,6 @@ class ServiceActions
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
include_once RAINLOOP_APP_LIBRARIES_PATH.'RainLoop/SabreDAV/MbStringFix.php';
|
|
||||||
|
|
||||||
\set_error_handler(function ($errno, $errstr, $errfile, $errline ) {
|
\set_error_handler(function ($errno, $errstr, $errfile, $errline ) {
|
||||||
throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
|
throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
|
||||||
});
|
});
|
||||||
|
|
@ -741,20 +739,22 @@ class ServiceActions
|
||||||
|
|
||||||
$oAddressBookRoot = new \Sabre\CardDAV\AddressBookRoot($oPrincipalBackend, $oCarddavBackend);
|
$oAddressBookRoot = new \Sabre\CardDAV\AddressBookRoot($oPrincipalBackend, $oCarddavBackend);
|
||||||
|
|
||||||
$oServer = new \Sabre\DAV\Server(array(
|
$aTree = array($oPrincipalCollection, $oAddressBookRoot);
|
||||||
$oPrincipalCollection, $oAddressBookRoot
|
$this->Plugins()->RunHook('filter.sabre-dav-tree', array(&$aTree));
|
||||||
));
|
|
||||||
|
|
||||||
if (false === \strpos($this->oHttp->GetUrl(), '/index.php/dav/'))
|
$oServer = new \Sabre\DAV\Server($aTree);
|
||||||
{
|
|
||||||
$oServer->setBaseUri('/');
|
$sBaseUri = '/';
|
||||||
}
|
if (false !== \strpos($this->oHttp->GetUrl(), '/index.php/dav/'))
|
||||||
else
|
|
||||||
{
|
{
|
||||||
$aPath = \trim($this->oHttp->GetPath(), '/\\ ');
|
$aPath = \trim($this->oHttp->GetPath(), '/\\ ');
|
||||||
$oServer->setBaseUri((0 < \strlen($aPath) ? '/'.$aPath : '').'/index.php/dav/');
|
$sBaseUri = (0 < \strlen($aPath) ? '/'.$aPath : '').'/index.php/dav/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->Plugins()->RunHook('filter.sabre-dav-base-url', array(&$sBaseUri));
|
||||||
|
|
||||||
|
$oServer->setBaseUri($sBaseUri);
|
||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
$oServer->addPlugin(new \Sabre\DAV\Auth\Plugin($oAuthBackend, 'RainLoop'));
|
$oServer->addPlugin(new \Sabre\DAV\Auth\Plugin($oAuthBackend, 'RainLoop'));
|
||||||
$oServer->addPlugin(new \Sabre\CardDAV\Plugin());
|
$oServer->addPlugin(new \Sabre\CardDAV\Plugin());
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html id="id-html">
|
<html id="id-html" class="no-js rl-booted-trigger rl-started-trigger">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<div id="rl-loading-error" class="thm-loading">
|
<div id="rl-loading-error" class="thm-loading">
|
||||||
An Error occurred,<br />please refresh the page and try again.
|
An Error occurred,<br />please refresh the page and try again.
|
||||||
</div>
|
</div>
|
||||||
<div id="rl-content">
|
<div id="rl-content" class="startup-animation">
|
||||||
<div id="rl-popups"></div>
|
<div id="rl-popups"></div>
|
||||||
<div id="rl-center">
|
<div id="rl-center">
|
||||||
<div id="rl-top"></div>
|
<div id="rl-top"></div>
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
.thm-body {
|
.thm-body {
|
||||||
color: @main-color;
|
color: @main-color;
|
||||||
background-color: @main-background-color;
|
background-color: @main-background-color;
|
||||||
|
background-size: @main-background-size;
|
||||||
.thm-body-background-image(@main-background-image);
|
.thm-body-background-image(@main-background-image);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
@main-color: #333;
|
@main-color: #333;
|
||||||
@main-background-color: #e3e3e3;
|
@main-background-color: #e3e3e3;
|
||||||
@main-background-image: none; // "images/background.png"
|
@main-background-image: none; // "images/background.png"
|
||||||
|
@main-background-size: contain;
|
||||||
|
|
||||||
// LOADING
|
// LOADING
|
||||||
@loading-color: #000; // #ddd
|
@loading-color: #000; // #ddd
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@
|
||||||
<br />
|
<br />
|
||||||
<label data-bind="click: function () { contactsSync(!contactsSync()); }">
|
<label data-bind="click: function () { contactsSync(!contactsSync()); }">
|
||||||
<i data-bind="css: contactsSync() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
<i data-bind="css: contactsSync() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
||||||
Allow contacts sync (CardDAV)
|
Allow contacts sync (CardDAV) <span style="color:red">beta</span>
|
||||||
</label>
|
</label>
|
||||||
<a href="http://rainloop.net/docs/carddav/" target="_blank">read about web server configuration</a>
|
<a href="http://rainloop.net/docs/web-servers/" target="_blank">Web server configuration examples</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
||||||
|
|
@ -8272,6 +8272,27 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
|
||||||
background-position: 60px 0;
|
background-position: 60px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
html.rl-started-trigger .b-login-content .loginFormWrapper {
|
||||||
|
-webkit-transform: translateY(-30px);
|
||||||
|
-moz-transform: translateY(-30px);
|
||||||
|
transform: translateY(-30px);
|
||||||
|
}
|
||||||
|
html.rl-started-trigger #rl-content {
|
||||||
|
opacity: 0.7;
|
||||||
|
filter: alpha(opacity=70);
|
||||||
|
}
|
||||||
|
.rl-anim.csstransitions #rl-content {
|
||||||
|
-webkit-transition: 0.4s opacity cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
-moz-transition: 0.4s opacity cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
-o-transition: 0.4s opacity cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
transition: 0.4s opacity cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
}
|
||||||
|
.rl-anim.csstransitions .b-login-content .loginFormWrapper {
|
||||||
|
-webkit-transition: 0.4s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
-moz-transition: 0.4s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
-o-transition: 0.4s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
transition: 0.4s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||||
|
}
|
||||||
.rl-anim.rgba.cssanimations.backgroundsize .e-strip-animation {
|
.rl-anim.rgba.cssanimations.backgroundsize .e-strip-animation {
|
||||||
-webkit-background-size: 60px 60px;
|
-webkit-background-size: 60px 60px;
|
||||||
-moz-background-size: 60px 60px;
|
-moz-background-size: 60px 60px;
|
||||||
|
|
|
||||||
2
rainloop/v/0.0.0/static/css/app.min.css
vendored
2
rainloop/v/0.0.0/static/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -3631,11 +3631,6 @@ Knoin.prototype.oScreens = {};
|
||||||
Knoin.prototype.oBoot = null;
|
Knoin.prototype.oBoot = null;
|
||||||
Knoin.prototype.oCurrentScreen = null;
|
Knoin.prototype.oCurrentScreen = null;
|
||||||
|
|
||||||
Knoin.prototype.showLoading = function ()
|
|
||||||
{
|
|
||||||
$('#rl-loading').show();
|
|
||||||
};
|
|
||||||
|
|
||||||
Knoin.prototype.hideLoading = function ()
|
Knoin.prototype.hideLoading = function ()
|
||||||
{
|
{
|
||||||
$('#rl-loading').hide();
|
$('#rl-loading').hide();
|
||||||
|
|
@ -3902,6 +3897,10 @@ Knoin.prototype.screenOnRoute = function (sScreenName, sSubPart)
|
||||||
*/
|
*/
|
||||||
Knoin.prototype.startScreens = function (aScreensClasses)
|
Knoin.prototype.startScreens = function (aScreensClasses)
|
||||||
{
|
{
|
||||||
|
$('#rl-content').css({
|
||||||
|
'visibility': 'hidden'
|
||||||
|
});
|
||||||
|
|
||||||
_.each(aScreensClasses, function (CScreen) {
|
_.each(aScreensClasses, function (CScreen) {
|
||||||
|
|
||||||
var
|
var
|
||||||
|
|
@ -3940,6 +3939,14 @@ Knoin.prototype.startScreens = function (aScreensClasses)
|
||||||
hasher.initialized.add(oCross.parse, oCross);
|
hasher.initialized.add(oCross.parse, oCross);
|
||||||
hasher.changed.add(oCross.parse, oCross);
|
hasher.changed.add(oCross.parse, oCross);
|
||||||
hasher.init();
|
hasher.init();
|
||||||
|
|
||||||
|
$('#rl-content').css({
|
||||||
|
'visibility': 'visible'
|
||||||
|
});
|
||||||
|
|
||||||
|
_.delay(function () {
|
||||||
|
$html.removeClass('rl-started-trigger').addClass('rl-started');
|
||||||
|
}, 50);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -7516,8 +7523,7 @@ window['__RLBOOT'] = function (fCall) {
|
||||||
window['rainloopTEMPLATES'] = {};
|
window['rainloopTEMPLATES'] = {};
|
||||||
|
|
||||||
kn.setBoot(RL).bootstart();
|
kn.setBoot(RL).bootstart();
|
||||||
|
$html.removeClass('no-js rl-booted-trigger').addClass('rl-booted');
|
||||||
$html.addClass('rl-started');
|
|
||||||
|
|
||||||
}, 50);
|
}, 50);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
rainloop/v/0.0.0/static/js/admin.min.js
vendored
4
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -5061,11 +5061,6 @@ Knoin.prototype.oScreens = {};
|
||||||
Knoin.prototype.oBoot = null;
|
Knoin.prototype.oBoot = null;
|
||||||
Knoin.prototype.oCurrentScreen = null;
|
Knoin.prototype.oCurrentScreen = null;
|
||||||
|
|
||||||
Knoin.prototype.showLoading = function ()
|
|
||||||
{
|
|
||||||
$('#rl-loading').show();
|
|
||||||
};
|
|
||||||
|
|
||||||
Knoin.prototype.hideLoading = function ()
|
Knoin.prototype.hideLoading = function ()
|
||||||
{
|
{
|
||||||
$('#rl-loading').hide();
|
$('#rl-loading').hide();
|
||||||
|
|
@ -5332,6 +5327,10 @@ Knoin.prototype.screenOnRoute = function (sScreenName, sSubPart)
|
||||||
*/
|
*/
|
||||||
Knoin.prototype.startScreens = function (aScreensClasses)
|
Knoin.prototype.startScreens = function (aScreensClasses)
|
||||||
{
|
{
|
||||||
|
$('#rl-content').css({
|
||||||
|
'visibility': 'hidden'
|
||||||
|
});
|
||||||
|
|
||||||
_.each(aScreensClasses, function (CScreen) {
|
_.each(aScreensClasses, function (CScreen) {
|
||||||
|
|
||||||
var
|
var
|
||||||
|
|
@ -5370,6 +5369,14 @@ Knoin.prototype.startScreens = function (aScreensClasses)
|
||||||
hasher.initialized.add(oCross.parse, oCross);
|
hasher.initialized.add(oCross.parse, oCross);
|
||||||
hasher.changed.add(oCross.parse, oCross);
|
hasher.changed.add(oCross.parse, oCross);
|
||||||
hasher.init();
|
hasher.init();
|
||||||
|
|
||||||
|
$('#rl-content').css({
|
||||||
|
'visibility': 'visible'
|
||||||
|
});
|
||||||
|
|
||||||
|
_.delay(function () {
|
||||||
|
$html.removeClass('rl-started-trigger').addClass('rl-started');
|
||||||
|
}, 50);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -17167,8 +17174,7 @@ window['__RLBOOT'] = function (fCall) {
|
||||||
window['rainloopTEMPLATES'] = {};
|
window['rainloopTEMPLATES'] = {};
|
||||||
|
|
||||||
kn.setBoot(RL).bootstart();
|
kn.setBoot(RL).bootstart();
|
||||||
|
$html.removeClass('no-js rl-booted-trigger').addClass('rl-booted');
|
||||||
$html.addClass('rl-started');
|
|
||||||
|
|
||||||
}, 50);
|
}, 50);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
rainloop/v/0.0.0/static/js/app.min.js
vendored
10
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
rainloop/v/0.0.0/themes/Blurred/images/background.jpg
Normal file
BIN
rainloop/v/0.0.0/themes/Blurred/images/background.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
rainloop/v/0.0.0/themes/Blurred/images/preview.png
Normal file
BIN
rainloop/v/0.0.0/themes/Blurred/images/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
53
rainloop/v/0.0.0/themes/Blurred/styles.less
Normal file
53
rainloop/v/0.0.0/themes/Blurred/styles.less
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
|
||||||
|
// MAIN
|
||||||
|
@main-color: #333;
|
||||||
|
@main-background-color: #563c55;
|
||||||
|
@main-background-image: "images/background.jpg";
|
||||||
|
@main-background-size: cover;
|
||||||
|
|
||||||
|
// LOADING
|
||||||
|
@loading-color: #ddd;
|
||||||
|
@loading-text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
|
||||||
|
|
||||||
|
// LOGIN
|
||||||
|
@login-color: #eee;
|
||||||
|
@login-background-color: #2b333d;
|
||||||
|
@login-rgba-background-color: rgba(0,0,0,0.5);
|
||||||
|
@login-box-shadow: 0px 2px 10px rgba(0,0,0,0.5);
|
||||||
|
@login-border: none;
|
||||||
|
@login-border-radius: 7px;
|
||||||
|
|
||||||
|
// MENU
|
||||||
|
@dropdown-menu-color: #333;
|
||||||
|
@dropdown-menu-background-color: #fff;
|
||||||
|
@dropdown-menu-hover-background-color: #48525C;
|
||||||
|
@dropdown-menu-hover-color: #eee;
|
||||||
|
@dropdown-menu-disable-color: #999;
|
||||||
|
|
||||||
|
// FOLDERS
|
||||||
|
@folders-color: #fff;
|
||||||
|
@folders-disabled-color: #aaa;
|
||||||
|
@folders-selected-color: #fff;
|
||||||
|
@folders-selected-background-color: #2b333d;
|
||||||
|
@folders-selected-rgba-background-color: rgba(255,255,255,0.3);
|
||||||
|
@folders-hover-color: #fff;
|
||||||
|
@folders-hover-background-color: #2b333d;
|
||||||
|
@folders-hover-rgba-background-color: rgba(255,255,255,0.3);
|
||||||
|
@folders-drop-color: #fff;
|
||||||
|
@folders-drop-background-color: #2b333d;
|
||||||
|
@folders-drop-rgba-background-color: rgba(255,255,255,0.3);
|
||||||
|
|
||||||
|
// SETTINGS
|
||||||
|
@settings-menu-color: #fff;
|
||||||
|
@settings-menu-disabled-color: #aaa;
|
||||||
|
@settings-menu-selected-color: #fff;
|
||||||
|
@settings-menu-selected-background-color: #2b333d;
|
||||||
|
@settings-menu-selected-rgba-background-color: rgba(255,255,255,0.3);
|
||||||
|
@settings-menu-hover-color: #fff;
|
||||||
|
@settings-menu-hover-background-color: #2b333d;
|
||||||
|
@settings-menu-hover-rgba-background-color: rgba(255,255,255,0.3);
|
||||||
|
|
||||||
|
// MESSAGE LIST
|
||||||
|
@message-list-toolbar-background-color: #eee;
|
||||||
|
@message-list-toolbar-gradient-start: #f4f4f4;
|
||||||
|
@message-list-toolbar-gradient-end: #dfdfdf;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue