Appreciation Editor Complete / All Others Incomplete

The text editor for the appreciation page is complete, but all other files are empty, besides User Manager.
This commit is contained in:
2018-08-17 11:24:00 -07:00
parent 26728082dc
commit 2593d0f977
24 changed files with 502 additions and 388 deletions

View File

@@ -18,7 +18,7 @@ standard-minifier-css@1.4.1 # CSS minifier run for production mode
standard-minifier-js@2.3.4 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers.
poorvavyas:es6-shim
ecmascript@0.11.1 # Enable ECMAScript2015+ syntax in app code
ecmascript # Enable ECMAScript2015+ syntax in app code
#accounts-ui
#accounts-base
@@ -40,7 +40,7 @@ session@1.1.7
check@1.3.1 # Allows for checking the structure and types of arguments passed to Meteor methods and publications.
#audit-argument-checks # Used in combination with the Check package for checking the structure and types of arguments passed to Meteor methods and publications. Automatically alerts when a method or publication does not use a check() call.
aldeed:simple-schema@1.5.3
#aldeed:simple-schema@1.5.3
aldeed:collection2
#matb33:collection-hooks # Allows the collections to register handlers that run before or after database interactions.
#zimme:collection-softremovable
@@ -65,4 +65,5 @@ markdown@1.0.12
wcrisman:jquery-custom-scrollbar
stylus@=2.513.14 # This package is no longer supported, but it still works and is available. It provides support for reading .styl files on the client and converting them to CSS on the fly. The alternative would be to compile the styl files to CSS on the server ahead of time.
underscore
underscore@1.0.10
aldeed:schema-index

View File

@@ -1 +1 @@
METEOR@1.7.0.3
METEOR@1.7.0.4

View File

@@ -1,20 +1,17 @@
accounts-base@1.4.2
accounts-password@1.5.1
alanning:roles@1.2.16
aldeed:collection2@2.10.0
aldeed:collection2-core@1.2.0
aldeed:schema-deny@1.1.0
aldeed:schema-index@1.1.1
aldeed:simple-schema@1.5.4
aldeed:collection2@3.0.0
aldeed:schema-index@3.0.0
aldeed:template-extension@4.1.0
allow-deny@1.1.0
arillo:flow-router-helpers@0.5.2
autoupdate@1.4.1
babel-compiler@7.1.1
babel-runtime@1.2.2
babel-runtime@1.2.4
base64@1.0.11
binary-heap@1.0.10
blaze@2.3.2
blaze@2.3.3
blaze-html-templates@1.1.2
blaze-tools@1.0.10
boilerplate-generator@1.5.0
@@ -33,8 +30,8 @@ diff-sequence@1.1.0
dynamic-import@0.4.1
ecmascript@0.11.1
ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.7.1
ecmascript-runtime-server@0.7.0
ecmascript-runtime-client@0.7.2
ecmascript-runtime-server@0.7.1
ejson@1.1.0
email@1.2.3
es5-shim@4.8.0
@@ -45,7 +42,7 @@ html-tools@1.0.11
htmljs@1.0.11
http@1.4.1
id-map@1.1.0
jcbernack:reactive-aggregate@0.7.0
jcbernack:reactive-aggregate@1.0.0
jquery@1.11.11
juliancwirko:s-alert@3.2.0
kadira:blaze-layout@2.3.0
@@ -55,12 +52,9 @@ livedata@1.0.18
localstorage@1.2.0
logging@1.1.20
markdown@1.0.12
mdg:validation-error@0.2.0
meteor@1.9.2
meteor-base@1.4.0
meteorhacks:aggregate@1.3.0
meteorhacks:collection-utils@1.2.0
meteortoys:allthings@4.0.0
meteortoys:allthings@7.0.1
meteortoys:authenticate@4.0.0
meteortoys:autopub@4.0.0
meteortoys:blueprint@4.0.0
@@ -90,9 +84,8 @@ momentjs:moment@2.22.2
mongo@1.5.1
mongo-dev-server@1.1.0
mongo-id@1.0.7
mongo-livedata@1.0.12
msavin:jetsetter@4.0.0
msavin:mongol@4.0.1
msavin:mongol@7.0.1
npm-bcrypt@0.9.3
npm-mongo@3.0.11
observe-sequence@1.0.16
@@ -104,20 +97,20 @@ promise@0.11.1
raix:eventemitter@0.1.3
random@1.1.0
rate-limit@1.0.9
reactive-dict@1.2.0
reactive-dict@1.2.1
reactive-var@1.0.11
reload@1.2.0
retry@1.1.0
routepolicy@1.0.13
service-configuration@1.0.11
session@1.1.7
session@1.1.8
sha@1.0.9
shell-server@0.3.1
socket-stream-client@0.2.2
softwarerero:accounts-t9n@1.3.11
spacebars@1.0.15
spacebars-compiler@1.1.3
srp@1.0.10
srp@1.0.12
standard-minifier-css@1.4.1
standard-minifier-js@2.3.4
stylus@2.513.14
@@ -125,6 +118,7 @@ templating@1.3.2
templating-compiler@1.3.3
templating-runtime@1.3.2
templating-tools@1.1.2
tmeasday:check-npm-versions@0.3.2
tomwasd:history-polyfill@0.0.1
tracker@1.2.0
ui@1.0.13

View File

@@ -155,7 +155,8 @@ body
@import "../imports/ui/Home.import.styl"
@import "../imports/ui/InternshipJobs.import.styl"
@import "../imports/ui/UserManagement.import.styl"
@import "../imports/ui/Admin/UserManagement.import.styl"
@import "../imports/ui/Admin/AppreciationEditor.import.styl"
@import "../imports/ui/Grants.import.styl"
@import "../imports/ui/Internships.import.styl"

48
imports/api/Page.js Normal file
View File

@@ -0,0 +1,48 @@
import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { check } from 'meteor/check';
import SimpleSchema from 'simpl-schema';
let Pages = new Mongo.Collection('Pages');
Pages.attachSchema(new SimpleSchema({
name: {
type: String,
label: "Name",
optional: false,
trim: true,
index: 1,
unique: true
},
html: {
type: String,
label: "HTML",
optional: false,
trim: false
},
updatedAt: {
type: Date,
label: "Updated On",
optional: true
}
}));
if(Meteor.isServer) Meteor.publish('pages', function() {
return Pages.find({});
});
if(Meteor.isServer) {
Meteor.methods({
updatePage: function(name, html) {
check(name, String);
check(html, String);
if(Roles.userIsInRole(this.userId, [Meteor.UserRoles.ROLE_UPDATE])) {
Pages.upsert({name}, {$set: {name, html, updatedAt: new Date()}});
}
else throw new Meteor.Error(403, "Not authorized.");
}
});
}
export default Pages;

View File

@@ -1,9 +1,10 @@
import Users from "./User.js";
import UserRoles from "./Roles.js";
import Pages from "./Page.js";
//Save the collections in the Meteor.collections property for easy access without name conflicts.
Meteor.collections = {Users, UserRoles};
Meteor.collections = {Users, UserRoles, Pages};
//If this is the server then setup the default admin user if none exist.
if(Meteor.isServer) {

View File

@@ -63,6 +63,13 @@ pri.route("/Admin/Appreciation", {
BlazeLayout.render("Admin", {content: "AppreciationEditor"})
}
});
pri.route("/Admin/NewsEditor", {
name: "NewsEditor",
action: function(params, queryParams) {
require("/imports/ui/Admin/NewsEditor.js");
BlazeLayout.render("Admin", {content: "NewsEditor"})
}
});
//*** PUBLIC
pub.route('/', {

View File

@@ -1,3 +1,5 @@
import SimpleSchema from 'simpl-schema';
let AppVersion = new Mongo.Collection('AppVersion');
let AppVersionSchema = new SimpleSchema({
version: {

View File

@@ -1,4 +1,7 @@
<template name="AppreciationEditor">
<div id="appreciationEditor">
<h1>Appreciation Editor</h1>
<div id="editor"></div>
<button id="save">Save</button>
</div>
</template>

View File

@@ -0,0 +1,6 @@
#appreciationEditor
display: block
.ck.ck-editor__editable_inline
border-color: rgba(0,0,0,.2)
.ck.ck-editor__editable_inline.ck-focused
border-color: rgba(0,0,0,1)

View File

@@ -1,2 +1,77 @@
import CKEditor from '@ckeditor/ckeditor5-build-balloon';
import './AppreciationEditor.html';
import swal from "sweetalert2";
let originalData = "";
Tracker.autorun(function() {
Meteor.subscribe("pages");
});
Template.AppreciationEditor.onRendered(function() {
let _this = this;
//#appreciationEditor'
CKEditor.create(document.querySelector('#editor'), {}).then(editor => {
_this.ckEditor = editor;
Tracker.autorun(function() {
let doc = Meteor.collections.Pages.findOne({name: 'Appreciation'});
originalData = (doc === undefined ? "" : doc.html);
editor.setData(originalData);
});
}).catch(err => {
console.error(err);
});
});
Template.AppreciationEditor.onDestroyed(function() {
let data = this.ckEditor.getData();
if(data != originalData) {
swal({
title: "Save Changes",
text: "Would you like to save any changes you have made to this sheet?",
type: "question",
showCancelButton: true,
confirmButtonColor: "#7cdd7f",
confirmButtonText: "Yes",
cancelButtonText: "No"
}).then(
function(isConfirm) {
if(isConfirm) {
Meteor.call('updatePage', 'Appreciation', data, function (error, result) {
if (error) sAlert.error(error);
else sAlert.success("Content Saved Successfully");
});
}
},
function(dismiss) {}
);
}
});
Template.AppreciationEditor.helpers({
// html: function() {
// let doc = Meteor.collections.Pages.findOne({name: 'Appreciation'});
//
// return doc == undefined ? "" : doc.html;
// }
});
Template.AppreciationEditor.events({
'click #save': function(event, template) {
let data = template.ckEditor.getData();
if(data != originalData) {
Meteor.call('updatePage', 'Appreciation', data, function (error, result) {
if (error) sAlert.error(error);
else sAlert.success("Content Saved Successfully");
});
}
else {
sAlert.success("Data has not changed!");
}
}
});

View File

@@ -1,2 +0,0 @@
#appreciationEditor
display: block

View File

@@ -18,6 +18,7 @@
</thead>
</table>
</div>
<div class="listContianer">
<div class="listRow">
<div class="listCell">
<div class="tableContainer mCustomScrollbar" data-mcs-theme="dark">
@@ -34,6 +35,7 @@
</div>
</div>
</div>
</div>
{{else}}
{{/if}}
</div>

View File

@@ -5,6 +5,7 @@
height: 100%
width: 100%
text-align: left
position: relative
.tableControls
display: table
@@ -79,6 +80,12 @@
display: inline-block
.fa-plus-circle
display: none
.listContainer
position: absolute
top: 100px
left: 0
right: 0
bottom: 0
.listRow
display: table-row
.listCell

View File

@@ -1,2 +1,2 @@
import './Appreciations.html';
import './Appreciation.html';

View File

@@ -10,47 +10,41 @@
</div>
<div class="menuArea generalMenu">
<ul>
<li class="{{isActiveRoute 'InternshipJobs'}}">
<a href="{{pathFor 'InternshipJobs'}}">
<li class="{{isActiveRoute 'InternshipsEditor'}}">
<a href="{{pathFor 'InternshipsEditor'}}">
Internship Job List
</a>
</li>
<li class="{{isActiveRoute 'DatesEditor'}}">
<a href="{{pathFor 'DatesEditor'}}">
Important Dates
</a>
</li>
<li class="{{isActiveRoute 'AppreciationEditor'}}">
<a href="{{pathFor 'AppreciationEditor'}}">
Appreciation
</a>
</li>
<li class="{{isActiveRoute 'BoardEditor'}}">
<a href="{{pathFor 'BoardEditor'}}">
Current Board
</a>
</li>
<li class="{{isActiveRoute 'NewsEditor'}}">
<a href="{{pathFor 'NewsEditor'}}">
News & Notices
</a>
</li>
<li class="{{isActiveRoute 'UserManagement'}}">
<a href="{{pathFor 'UserManagement'}}">
Users
</a>
</li>
<li class="{{isActiveRoute 'ImportantDates'}}">
<a href="{{pathFor 'ImportantDates'}}">
Important Dates
</a>
</li>
<li class="{{isActiveRoute 'Appreciation'}}">
<a href="{{pathFor 'Appreciation'}}">
Appreciation
</a>
</li>
<li class="{{isActiveRoute 'CurrentBoard'}}">
<a href="{{pathFor 'CurrentBoard'}}">
Current Board
</a>
</li>
<li class="{{isActiveRoute 'News&Notices'}}">
<a href="{{pathFor 'News&Notices'}}">
News & Notices
</a>
</li>
<!-- Below is a second menu with a tag attached. -->
<!--<li class="{{isActiveRoute 'Misc'}}">-->
<!--<a href="{{pathFor 'Misc'}}">-->
<!--Misc &lt;!&ndash; <span class="tag">sample tag</span>&ndash;&gt;-->
<!--</a>-->
<!--</li>-->
</ul>
</div>
</div>
</nav>
<div class="contentBody verticalStack">
<div class="contentBody">
{{> Template.dynamic template=content}}
</div>
</div>

View File

@@ -181,9 +181,5 @@
color: white
.contentBody
flex: 1 1 1px
padding: 10px 20px
-webkit-box-shadow: inset 4px 2px 10px -3px rgba(168,165,168,1)
-moz-box-shadow: inset 4px 2px 10px -3px rgba(168,165,168,1)
box-shadow: inset 8px 0px 10px -3px rgba(168,165,168,1)
overflow: hidden
height:100%
padding: 10px 40px 10px 40px

506
package-lock.json generated
View File

@@ -12,11 +12,36 @@
"regenerator-runtime": "^0.12.0"
}
},
"@ckeditor/ckeditor5-build-balloon": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-balloon/-/ckeditor5-build-balloon-11.0.1.tgz",
"integrity": "sha512-1qP4nJNgg+xqKXCu+itBMNF9OGJMMohgrj29uPuTXRkQxhWxZcqMXq2QY+HKk4Z3jDAIDCkwyu1uM1cP93AaQw=="
},
"@ckeditor/ckeditor5-build-classic": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-11.0.1.tgz",
"integrity": "sha512-iVP2yEFM/ALwKVOynkjGZqPxdK4ecKGI+1oZXYdPPzkd58/4x6gSMKvh54znhNYbNsO7UsLj7+HllP/+5u50uw=="
},
"@ckeditor/ckeditor5-build-decoupled-document": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-decoupled-document/-/ckeditor5-build-decoupled-document-11.0.1.tgz",
"integrity": "sha512-SovCKYEnFnypaHOjZhTC3R3NttOYcc5dEIya5/31xImSxjPVI4HDdkfq25fvaKR0+ZIUrD4wzZHuNPbGHf40rw=="
},
"@ckeditor/ckeditor5-build-inline": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-inline/-/ckeditor5-build-inline-11.0.1.tgz",
"integrity": "sha512-AMbk0+wBxjIVHjkwc87q0wMG4S5wBzUYDe0Cce18RK5jtBdjP5deMrDLWh1HSwmQmiSTV71eelIj02Zree2DMQ=="
},
"atoa": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/atoa/-/atoa-1.0.0.tgz",
"integrity": "sha1-DMDpGkgOc4+SPrwQNnZHF3mzSkk="
},
"ckeditor5": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-11.0.1.tgz",
"integrity": "sha512-vm8Uak+ecC6YI/b8d87EYufMsDZFsVZTPNzd3eIyWN+hZWx5AP/vHlMZ4iNbyrUvDW04eanBoew8YaO9TFg3GA=="
},
"clone": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz",
@@ -301,9 +326,9 @@
}
},
"meteor-node-stubs": {
"version": "0.2.11",
"resolved": "https://registry.npmjs.org/meteor-node-stubs/-/meteor-node-stubs-0.2.11.tgz",
"integrity": "sha1-cV5Owc6IgkiylgThbQkiVrDLfjQ=",
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/meteor-node-stubs/-/meteor-node-stubs-0.4.1.tgz",
"integrity": "sha512-UO2OStvLOKoApmOdIP5eCqoLaa/ritMXRg4ffJVdkNLEsczzPvTjgC0Mxk4cM4R8MZkwll90FYgjDf5qUTJdMA==",
"requires": {
"assert": "^1.4.1",
"browserify-zlib": "^0.1.4",
@@ -313,16 +338,16 @@
"crypto-browserify": "^3.11.0",
"domain-browser": "^1.1.7",
"events": "^1.1.1",
"http-browserify": "^1.7.0",
"https-browserify": "0.0.1",
"os-browserify": "^0.2.1",
"path-browserify": "0.0.0",
"process": "^0.11.9",
"punycode": "^1.4.1",
"querystring-es3": "^0.2.1",
"readable-stream": "git+https://github.com/meteor/readable-stream.git#2e9112d7d31a2af6e0682db0e18679b1e5fd4694",
"readable-stream": "^2.3.6",
"stream-browserify": "^2.0.1",
"string_decoder": "^1.0.1",
"stream-http": "^2.8.0",
"string_decoder": "^1.1.0",
"timers-browserify": "^1.4.2",
"tty-browserify": "0.0.0",
"url": "^0.11.0",
@@ -330,15 +355,9 @@
"vm-browserify": "0.0.4"
},
"dependencies": {
"Base64": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/Base64/-/Base64-0.2.1.tgz",
"integrity": "sha1-ujpCMHCOGGcFBl5mur3Uw1z2ACg="
},
"asn1.js": {
"version": "4.9.0",
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.0.tgz",
"integrity": "sha1-9xoSQ/PnnUbXsH1/v0gk7nOvBUo=",
"version": "4.10.1",
"bundled": true,
"requires": {
"bn.js": "^4.0.0",
"inherits": "^2.0.1",
@@ -347,57 +366,38 @@
},
"assert": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz",
"integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=",
"bundled": true,
"requires": {
"util": "0.10.3"
}
},
"balanced-match": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
"integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg="
},
"base64-js": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.0.tgz",
"integrity": "sha1-o5mS1yNYSBGYK+XikLtqU9hnAPE="
"version": "1.3.0",
"bundled": true
},
"bn.js": {
"version": "4.11.6",
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
"integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU="
},
"brace-expansion": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz",
"integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=",
"requires": {
"balanced-match": "^0.4.1",
"concat-map": "0.0.1"
}
"version": "4.11.8",
"bundled": true
},
"brorand": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.0.6.tgz",
"integrity": "sha1-QChwa5FfkfezSaLgvzw3YDnSFuU="
"version": "1.1.0",
"bundled": true
},
"browserify-aes": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.6.tgz",
"integrity": "sha1-Xncl297x/Vkw1OurSFZ85FHEigo=",
"version": "1.2.0",
"bundled": true,
"requires": {
"buffer-xor": "^1.0.2",
"buffer-xor": "^1.0.3",
"cipher-base": "^1.0.0",
"create-hash": "^1.1.0",
"evp_bytestokey": "^1.0.0",
"inherits": "^2.0.1"
"evp_bytestokey": "^1.0.3",
"inherits": "^2.0.1",
"safe-buffer": "^5.0.1"
}
},
"browserify-cipher": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz",
"integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=",
"version": "1.0.1",
"bundled": true,
"requires": {
"browserify-aes": "^1.0.4",
"browserify-des": "^1.0.0",
@@ -405,9 +405,8 @@
}
},
"browserify-des": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz",
"integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=",
"version": "1.0.1",
"bundled": true,
"requires": {
"cipher-base": "^1.0.1",
"des.js": "^1.0.0",
@@ -416,17 +415,15 @@
},
"browserify-rsa": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
"integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
"bundled": true,
"requires": {
"bn.js": "^4.1.0",
"randombytes": "^2.0.1"
}
},
"browserify-sign": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.0.tgz",
"integrity": "sha1-EHc5EMPCBtVCCkaq2GlPgguFlo8=",
"version": "4.0.4",
"bundled": true,
"requires": {
"bn.js": "^4.1.1",
"browserify-rsa": "^4.0.0",
@@ -439,16 +436,14 @@
},
"browserify-zlib": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz",
"integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=",
"bundled": true,
"requires": {
"pako": "~0.2.0"
}
},
"buffer": {
"version": "4.9.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
"integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=",
"bundled": true,
"requires": {
"base64-js": "^1.0.2",
"ieee754": "^1.1.4",
@@ -457,68 +452,69 @@
},
"buffer-xor": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk="
"bundled": true
},
"builtin-status-codes": {
"version": "3.0.0",
"bundled": true
},
"cipher-base": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.3.tgz",
"integrity": "sha1-7qvxlEGc6QDaMBjCB9IS8qbfCgc=",
"version": "1.0.4",
"bundled": true,
"requires": {
"inherits": "^2.0.1"
"inherits": "^2.0.1",
"safe-buffer": "^5.0.1"
}
},
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"console-browserify": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz",
"integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=",
"bundled": true,
"requires": {
"date-now": "^0.1.4"
}
},
"constants-browserify": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",
"integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U="
"bundled": true
},
"core-util-is": {
"version": "1.0.2",
"bundled": true
},
"create-ecdh": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz",
"integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=",
"version": "4.0.3",
"bundled": true,
"requires": {
"bn.js": "^4.1.0",
"elliptic": "^6.0.0"
}
},
"create-hash": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.2.tgz",
"integrity": "sha1-USEAYte7dHn2xlu0GpIgix1hq60=",
"version": "1.2.0",
"bundled": true,
"requires": {
"cipher-base": "^1.0.1",
"inherits": "^2.0.1",
"ripemd160": "^1.0.0",
"sha.js": "^2.3.6"
"md5.js": "^1.3.4",
"ripemd160": "^2.0.1",
"sha.js": "^2.4.0"
}
},
"create-hmac": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.4.tgz",
"integrity": "sha1-0/tLolPriz9W456i+8uK90e9MXA=",
"version": "1.1.7",
"bundled": true,
"requires": {
"cipher-base": "^1.0.3",
"create-hash": "^1.1.0",
"inherits": "^2.0.1"
"inherits": "^2.0.1",
"ripemd160": "^2.0.0",
"safe-buffer": "^5.0.1",
"sha.js": "^2.4.8"
}
},
"crypto-browserify": {
"version": "3.11.0",
"resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.11.0.tgz",
"integrity": "sha1-NlKgkGq5sqfgw85mpAjpV6JIVSI=",
"version": "3.12.0",
"bundled": true,
"requires": {
"browserify-cipher": "^1.0.0",
"browserify-sign": "^4.0.0",
@@ -529,27 +525,25 @@
"inherits": "^2.0.1",
"pbkdf2": "^3.0.3",
"public-encrypt": "^4.0.0",
"randombytes": "^2.0.0"
"randombytes": "^2.0.0",
"randomfill": "^1.0.3"
}
},
"date-now": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs="
"bundled": true
},
"des.js": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",
"integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=",
"bundled": true,
"requires": {
"inherits": "^2.0.1",
"minimalistic-assert": "^1.0.0"
}
},
"diffie-hellman": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz",
"integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=",
"version": "5.0.3",
"bundled": true,
"requires": {
"bn.js": "^4.1.0",
"miller-rabin": "^4.0.0",
@@ -557,147 +551,120 @@
}
},
"domain-browser": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz",
"integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw="
"version": "1.2.0",
"bundled": true
},
"elliptic": {
"version": "6.3.2",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.2.tgz",
"integrity": "sha1-5MgeCCnPCmWrcOmYuCMnI7XBvEg=",
"version": "6.4.0",
"bundled": true,
"requires": {
"bn.js": "^4.4.0",
"brorand": "^1.0.1",
"hash.js": "^1.0.0",
"inherits": "^2.0.1"
"hmac-drbg": "^1.0.0",
"inherits": "^2.0.1",
"minimalistic-assert": "^1.0.0",
"minimalistic-crypto-utils": "^1.0.0"
}
},
"events": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz",
"integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ="
"bundled": true
},
"evp_bytestokey": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz",
"integrity": "sha1-SXtmrZ/vZc18CKYYCCS6FHa2blM=",
"version": "1.0.3",
"bundled": true,
"requires": {
"create-hash": "^1.1.1"
"md5.js": "^1.3.4",
"safe-buffer": "^5.1.1"
}
},
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"glob": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
"hash-base": {
"version": "3.0.4",
"bundled": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
"inherits": "^2.0.1",
"safe-buffer": "^5.0.1"
}
},
"hash.js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.0.3.tgz",
"integrity": "sha1-EzL/ABVsCg/92CNgE9B7d6BFFXM=",
"version": "1.1.3",
"bundled": true,
"requires": {
"inherits": "^2.0.1"
"inherits": "^2.0.3",
"minimalistic-assert": "^1.0.0"
},
"dependencies": {
"inherits": {
"version": "2.0.3",
"bundled": true
}
}
},
"http-browserify": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/http-browserify/-/http-browserify-1.7.0.tgz",
"integrity": "sha1-M3la3nLfiKz7/TZ3PO/tp2RzWyA=",
"hmac-drbg": {
"version": "1.0.1",
"bundled": true,
"requires": {
"Base64": "~0.2.0",
"inherits": "~2.0.1"
"hash.js": "^1.0.3",
"minimalistic-assert": "^1.0.0",
"minimalistic-crypto-utils": "^1.0.1"
}
},
"https-browserify": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz",
"integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI="
"bundled": true
},
"ieee754": {
"version": "1.1.8",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz",
"integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q="
"version": "1.1.11",
"bundled": true
},
"indexof": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
"integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10="
},
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"requires": {
"once": "^1.3.0",
"wrappy": "1"
}
"bundled": true
},
"inherits": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE="
"bundled": true
},
"isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
"bundled": true
},
"md5.js": {
"version": "1.3.4",
"bundled": true,
"requires": {
"hash-base": "^3.0.0",
"inherits": "^2.0.1"
}
},
"miller-rabin": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.0.tgz",
"integrity": "sha1-SmL7HUKTPAVYOYL0xxb2+55sbT0=",
"version": "4.0.1",
"bundled": true,
"requires": {
"bn.js": "^4.0.0",
"brorand": "^1.0.1"
}
},
"minimalistic-assert": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz",
"integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M="
"version": "1.0.1",
"bundled": true
},
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"requires": {
"brace-expansion": "^1.1.7"
}
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1"
}
"minimalistic-crypto-utils": {
"version": "1.0.1",
"bundled": true
},
"os-browserify": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz",
"integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8="
"bundled": true
},
"pako": {
"version": "0.2.9",
"resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",
"integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU="
"bundled": true
},
"parse-asn1": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.0.0.tgz",
"integrity": "sha1-NQYPbVAV03Yox3D04JGgtaJ4vCM=",
"version": "5.1.1",
"bundled": true,
"requires": {
"asn1.js": "^4.0.0",
"browserify-aes": "^1.0.0",
@@ -708,36 +675,30 @@
},
"path-browserify": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz",
"integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo="
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
"bundled": true
},
"pbkdf2": {
"version": "3.0.9",
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.9.tgz",
"integrity": "sha1-8sSyWmAAWLPDdzwIbDfbvuH/5pM=",
"version": "3.0.16",
"bundled": true,
"requires": {
"create-hmac": "^1.1.2"
"create-hash": "^1.1.2",
"create-hmac": "^1.1.4",
"ripemd160": "^2.0.1",
"safe-buffer": "^5.0.1",
"sha.js": "^2.4.8"
}
},
"process": {
"version": "0.11.9",
"resolved": "https://registry.npmjs.org/process/-/process-0.11.9.tgz",
"integrity": "sha1-e9WtIapiU+fahoImTx4R0RwDGME="
"version": "0.11.10",
"bundled": true
},
"process-nextick-args": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
"integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M="
"version": "2.0.0",
"bundled": true
},
"public-encrypt": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz",
"integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=",
"version": "4.0.2",
"bundled": true,
"requires": {
"bn.js": "^4.1.0",
"browserify-rsa": "^4.0.0",
@@ -748,96 +709,114 @@
},
"punycode": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
"bundled": true
},
"querystring": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
"integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="
"bundled": true
},
"querystring-es3": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
"integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM="
"bundled": true
},
"randombytes": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.3.tgz",
"integrity": "sha1-Z0yZdgkBw8QRJ3GjHlIdw0nMCew="
},
"readable-stream": {
"version": "git+https://github.com/meteor/readable-stream.git#2e9112d7d31a2af6e0682db0e18679b1e5fd4694",
"from": "git+https://github.com/meteor/readable-stream.git",
"version": "2.0.6",
"bundled": true,
"requires": {
"inherits": "~2.0.1",
"isarray": "~1.0.0",
"process-nextick-args": "~1.0.6",
"safe-buffer": "^5.0.1",
"string_decoder": "~1.0.0",
"util-deprecate": "~1.0.1"
"safe-buffer": "^5.1.0"
}
},
"rimraf": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz",
"integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=",
"randomfill": {
"version": "1.0.4",
"bundled": true,
"requires": {
"glob": "^7.0.5"
"randombytes": "^2.0.5",
"safe-buffer": "^5.1.0"
}
},
"readable-stream": {
"version": "2.3.6",
"bundled": true,
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
"isarray": "~1.0.0",
"process-nextick-args": "~2.0.0",
"safe-buffer": "~5.1.1",
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
},
"dependencies": {
"inherits": {
"version": "2.0.3",
"bundled": true
}
}
},
"ripemd160": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-1.0.1.tgz",
"integrity": "sha1-k6S71JQrxXS2mo+lfHHeEOzKfW4="
"version": "2.0.2",
"bundled": true,
"requires": {
"hash-base": "^3.0.0",
"inherits": "^2.0.1"
}
},
"safe-buffer": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz",
"integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c="
"version": "5.1.2",
"bundled": true
},
"sha.js": {
"version": "2.4.8",
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.8.tgz",
"integrity": "sha1-NwaMLEdra69ALRSknGf1l5IfY08=",
"version": "2.4.11",
"bundled": true,
"requires": {
"inherits": "^2.0.1"
"inherits": "^2.0.1",
"safe-buffer": "^5.0.1"
}
},
"stream-browserify": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz",
"integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=",
"bundled": true,
"requires": {
"inherits": "~2.0.1",
"readable-stream": "^2.0.2"
}
},
"string_decoder": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.1.tgz",
"integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=",
"stream-http": {
"version": "2.8.1",
"bundled": true,
"requires": {
"safe-buffer": "^5.0.1"
"builtin-status-codes": "^3.0.0",
"inherits": "^2.0.1",
"readable-stream": "^2.3.3",
"to-arraybuffer": "^1.0.0",
"xtend": "^4.0.0"
}
},
"string_decoder": {
"version": "1.1.1",
"bundled": true,
"requires": {
"safe-buffer": "~5.1.0"
}
},
"timers-browserify": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz",
"integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=",
"bundled": true,
"requires": {
"process": "~0.11.0"
}
},
"to-arraybuffer": {
"version": "1.0.1",
"bundled": true
},
"tty-browserify": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",
"integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY="
"bundled": true
},
"url": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",
"integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",
"bundled": true,
"requires": {
"punycode": "1.3.2",
"querystring": "0.2.0"
@@ -845,36 +824,31 @@
"dependencies": {
"punycode": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
"integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
"bundled": true
}
}
},
"util": {
"version": "0.10.3",
"resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",
"integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
"bundled": true,
"requires": {
"inherits": "2.0.1"
}
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
"bundled": true
},
"vm-browserify": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz",
"integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=",
"bundled": true,
"requires": {
"indexof": "0.0.1"
}
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
"xtend": {
"version": "4.0.1",
"bundled": true
}
}
},
@@ -903,9 +877,9 @@
}
},
"regenerator-runtime": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.0.tgz",
"integrity": "sha512-SpV2LhF5Dm9UYMEprB3WwsBnWwqTrmjrm2UZb42cl2G02WVGgx7Mg8aa9pdLEKp6hZ+/abcMc2NxKA8f02EG2w=="
"version": "0.12.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",
"integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg=="
},
"simpl-schema": {
"version": "1.5.3",

View File

@@ -6,15 +6,20 @@
"build": "npm install --product && meteor build --architecture os.linux.x86_64 --server-only ../"
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.38",
"@babel/runtime": "7.0.0-beta.55",
"@ckeditor/ckeditor5-build-balloon": "^11.0.1",
"@ckeditor/ckeditor5-build-classic": "^11.0.1",
"@ckeditor/ckeditor5-build-decoupled-document": "^11.0.1",
"@ckeditor/ckeditor5-build-inline": "^11.0.1",
"ckeditor5": "^11.0.1",
"csv-parse": "latest",
"dragula": "^3.7.2",
"jquery": "^3.1.1",
"jquery-mousewheel": "^3.1.13",
"malihu-custom-scrollbar-plugin": "latest",
"meteor-node-stubs": "^0.2.4",
"meteor-node-stubs": "^0.4.1",
"properties-reader": "0.0.15",
"simpl-schema": "latest",
"sweetalert2": "^6.3.8"
"simpl-schema": "^1.5.3",
"sweetalert2": "^6.11.5"
}
}