mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Uploading and preparing the repository to the dev version.
Original unminified source code (dev folder - js, css, less) (fixes #6) Grunt build system Multiple identities correction (fixes #9) Compose html editor (fixes #12) New general settings - Loading Description New warning about default admin password Split general and login screen settings
This commit is contained in:
parent
afad45137e
commit
4cc2207513
846 changed files with 99453 additions and 2123 deletions
20
vendors/rl/LICENSE
vendored
Normal file
20
vendors/rl/LICENSE
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Copyright 2013 RainLoop Team
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
2
vendors/rl/rl-1.0.min.js
vendored
Normal file
2
vendors/rl/rl-1.0.min.js
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/*! RainLoop Top Driver v1.0 (c) 2013 RainLoop Team; Licensed under MIT */
|
||||
!function(a,b){function c(){}c.prototype.s=a.sessionStorage,c.prototype.t=a.top||a,c.prototype.getHash=function(){var a=null;if(this.s)a=this.s.getItem("__rlA")||null;else if(this.t){var c=this.t.name&&b&&"{"===this.t.name.toString().substr(0,1)?b.parse(this.t.name.toString()):null;a=c?c.__rlA||null:null}return a},c.prototype.setHash=function(){var c=a.rainloopAppData,d=null;this.s?this.s.setItem("__rlA",c&&c.AuthAccountHash?c.AuthAccountHash:""):this.t&&b&&(d={},d.__rlA=c&&c.AuthAccountHash?c.AuthAccountHash:"",this.t.name=b.stringify(d))},c.prototype.clearHash=function(){this.s?this.s.setItem("__rlA",""):this.t&&(this.t.name="")},a._rlhh=new c,a.__rlah=function(){return a._rlhh?a._rlhh.getHash():null},a.__rlah_set=function(){a._rlhh&&a._rlhh.setHash()},a.__rlah_clear=function(){a._rlhh&&a._rlhh.clearHash()}}(window,window.JSON);
|
||||
64
vendors/rl/rl.js
vendored
Normal file
64
vendors/rl/rl.js
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
/*! RainLoop Top Driver v1.0 (c) 2013 RainLoop Team; Licensed under MIT */
|
||||
(function (window, JSON) {
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
*/
|
||||
function CRLTopDriver() {}
|
||||
|
||||
CRLTopDriver.prototype.s = window['sessionStorage'];
|
||||
|
||||
CRLTopDriver.prototype.t = window['top'] || window;
|
||||
|
||||
/**
|
||||
* @return {(string|null)}
|
||||
*/
|
||||
CRLTopDriver.prototype['getHash'] = function() {
|
||||
var mR = null;
|
||||
if (this.s) {
|
||||
mR = this.s['getItem']('__rlA') || null;
|
||||
} else if (this.t) {
|
||||
var mData = this.t['name'] && JSON && '{' === this.t['name']['toString']()['substr'](0, 1) ? JSON['parse'](this.t['name']['toString']()) : null;
|
||||
mR = mData ? (mData['__rlA'] || null) : null;
|
||||
}
|
||||
return mR;
|
||||
};
|
||||
|
||||
CRLTopDriver.prototype['setHash'] = function() {
|
||||
var mData = window['rainloopAppData'], mRes = null;
|
||||
if (this.s) {
|
||||
this.s['setItem']('__rlA', mData && mData['AuthAccountHash'] ? mData['AuthAccountHash'] : '');
|
||||
} else if (this.t && JSON) {
|
||||
mRes = {};
|
||||
mRes['__rlA'] = mData && mData['AuthAccountHash'] ? mData['AuthAccountHash'] : '';
|
||||
this.t['name'] = JSON['stringify'](mRes);
|
||||
}
|
||||
};
|
||||
|
||||
CRLTopDriver.prototype['clearHash'] = function() {
|
||||
if (this.s) {
|
||||
this.s['setItem']('__rlA', '');
|
||||
} else if (this.t) {
|
||||
this.t['name'] = '';
|
||||
}
|
||||
};
|
||||
|
||||
window['_rlhh'] = new CRLTopDriver();
|
||||
|
||||
/**
|
||||
* @returns {(string|null)}
|
||||
*/
|
||||
window['__rlah'] = function () {
|
||||
return window['_rlhh'] ? window['_rlhh']['getHash']() : null;
|
||||
};
|
||||
window['__rlah_set'] = function () {
|
||||
if (window['_rlhh']) {
|
||||
window['_rlhh']['setHash']();
|
||||
}
|
||||
};
|
||||
window['__rlah_clear'] = function () {
|
||||
if (window['_rlhh']) {
|
||||
window['_rlhh']['clearHash']();
|
||||
}
|
||||
};
|
||||
}(window, window.JSON));
|
||||
Loading…
Add table
Add a link
Reference in a new issue