Update ckeditor

Move e2e tests
Code refactoring
This commit is contained in:
RainLoop Team 2016-09-12 23:50:21 +03:00
parent 9993432c7b
commit e5af98b04b
122 changed files with 617 additions and 561 deletions

View file

@ -2,7 +2,9 @@
import window from 'window';
import $ from '$';
import _ from '_';
import ko from 'ko';
import key from 'key';
import ssm from 'ssm';
import {
$win, $html, $doc,
@ -22,6 +24,10 @@ import {toggle as toggleCmd} from 'Common/Cmd';
import * as Events from 'Common/Events';
import * as Settings from 'Storage/Settings';
import LanguageStore from 'Stores/Language';
import ThemeStore from 'Stores/Theme';
import SocialStore from 'Stores/Social';
import {routeOff, setHash} from 'Knoin/Knoin';
import {AbstractBoot} from 'Knoin/AbstractBoot';
@ -289,10 +295,7 @@ class AbstractApp extends AbstractBoot
Events.pub('rl.bootstart');
const
mobile = Settings.appSettingsGet('mobile'),
ssm = require('ssm'),
ko = require('ko');
const mobile = Settings.appSettingsGet('mobile');
ko.components.register('SaveTrigger', require('Component/SaveTrigger'));
ko.components.register('Input', require('Component/Input'));
@ -395,9 +398,9 @@ class AbstractApp extends AbstractBoot
leftPanelDisabled.valueHasMutated();
require('Stores/Language').populate();
require('Stores/Theme').populate();
require('Stores/Social').populate();
LanguageStore.populate();
ThemeStore.populate();
SocialStore.populate();
}
}

View file

@ -12,6 +12,7 @@ import {pInt, isNormal, isArray, inArray, isUnd} from 'Common/Utils';
import * as Settings from 'Storage/Settings';
import AppStore from 'Stores/Admin/App';
import CapaStore from 'Stores/Admin/Capa';
import DomainStore from 'Stores/Admin/Domain';
import PluginStore from 'Stores/Admin/Plugin';
import LicenseStore from 'Stores/Admin/License';
@ -217,8 +218,8 @@ class AdminApp extends AbstractApp
super.bootstart();
require('Stores/Admin/App').populate();
require('Stores/Admin/Capa').populate();
AppStore.populate();
CapaStore.populate();
hideLoading();

View file

@ -43,14 +43,16 @@ import * as Events from 'Common/Events';
import {getNotification, i18n} from 'Common/Translator';
import SocialStore from 'Stores/Social';
import AppStore from 'Stores/User/App';
import SettingsStore from 'Stores/User/Settings';
import NotificationStore from 'Stores/User/Notification';
import AccountStore from 'Stores/User/Account';
import ContactStore from 'Stores/User/Contact';
import IdentityStore from 'Stores/User/Identity';
import TemplateStore from 'Stores/User/Template';
import FolderStore from 'Stores/User/Folder';
import PgpStore from 'Stores/User/Pgp';
import MessageStore from 'Stores/User/Message';
import ContactStore from 'Stores/User/Contact';
import QuotaStore from 'Stores/User/Quota';
import * as Local from 'Storage/Client';
@ -1258,11 +1260,11 @@ class AppUser extends AbstractApp
super.bootstart();
require('Stores/User/App').populate();
require('Stores/User/Settings').populate();
require('Stores/User/Notification').populate();
require('Stores/User/Account').populate();
require('Stores/User/Contact').populate();
AppStore.populate();
SettingsStore.populate();
NotificationStore.populate();
AccountStore.populate();
ContactStore.populate();
let
contactsSyncInterval = pInt(Settings.settingsGet('ContactsSyncInterval'));