Fix localforage and clipboard includes

pull/4218/head
Marcelo Schmidt 9 years ago
parent 7e2da6eabf
commit 91057a935d
No known key found for this signature in database
GPG Key ID: CA48C21A7B66097E
  1. 1
      .eslintignore
  2. 1
      .meteor/.finished-upgraders
  3. 2
      .meteor/release
  4. 192
      .meteor/versions
  5. 2
      packages/autoupdate/package.js
  6. 215
      packages/rocketchat-lib/.npm/package/npm-shrinkwrap.json
  7. 1
      packages/rocketchat-lib/client/lib/cachedCollection.js
  8. 7
      packages/rocketchat-lib/client/lib/localforage.min.js
  9. 4
      packages/rocketchat-lib/package.js
  10. 1
      packages/rocketchat-ui-master/.npm/package/.gitignore
  11. 7
      packages/rocketchat-ui-master/.npm/package/README
  12. 39
      packages/rocketchat-ui-master/.npm/package/npm-shrinkwrap.json
  13. 2
      packages/rocketchat-ui-master/master/main.coffee
  14. 4
      packages/rocketchat-ui-master/package.js
  15. 7
      packages/rocketchat-ui/lib/clipboardjs/clipboard.js
  16. 3
      packages/rocketchat-ui/package.js

@ -6,7 +6,6 @@ packages/rocketchat-autolinker/lib/Autolinker.min.js
packages/rocketchat-emoji-emojione/generateEmojiIndex.js
packages/rocketchat-favico/favico.js
packages/rocketchat-katex/client/katex/katex.min.js
packages/rocketchat-lib/client/lib/localforage.min.js
packages/rocketchat-livechat/app/client/lib/Autolinker.min.js
packages/rocketchat-livechat/client/lib/ua-parser.js
packages/rocketchat-livechat/lib/ua-parser.js

@ -11,3 +11,4 @@ notices-for-facebook-graph-api-2
1.2.0-cordova-changes
1.2.0-breaking-changes
1.3.0-split-minifiers-package
1.3.5-remove-old-dev-bundle-link

@ -1 +1 @@
METEOR@1.3
METEOR@1.3.5.1

@ -1,57 +1,57 @@
accounts-base@1.2.4
accounts-facebook@1.0.7
accounts-github@1.0.7
accounts-google@1.0.7
accounts-meteor-developer@1.0.7
accounts-oauth@1.1.10
accounts-password@1.1.6
accounts-twitter@1.0.7
accounts-base@1.2.8
accounts-facebook@1.0.10
accounts-github@1.0.10
accounts-google@1.0.10
accounts-meteor-developer@1.0.10
accounts-oauth@1.1.13
accounts-password@1.1.13
accounts-twitter@1.0.10
aldeed:simple-schema@1.5.3
allow-deny@1.0.2
autoupdate@1.2.6
babel-compiler@6.5.2
babel-runtime@0.1.6
base64@1.0.6
binary-heap@1.0.6
blaze@2.1.5
blaze-html-templates@1.0.2
blaze-tools@1.0.6
boilerplate-generator@1.0.6
caching-compiler@1.0.2
caching-html-compiler@1.0.4
callback-hook@1.0.6
allow-deny@1.0.5
autoupdate@1.2.11
babel-compiler@6.8.5
babel-runtime@0.1.9_1
base64@1.0.9
binary-heap@1.0.9
blaze@2.1.8
blaze-html-templates@1.0.4
blaze-tools@1.0.9
boilerplate-generator@1.0.9
caching-compiler@1.0.6
caching-html-compiler@1.0.6
callback-hook@1.0.9
cfs:http-methods@0.0.32
check@1.1.2
check@1.2.3
chrismbeckett:toastr@2.1.2_1
chuangbo:cookie@1.1.0
coffeescript@1.0.15
coffeescript@1.1.4
cosmos:browserify@0.10.0
dandv:caret-position@2.1.1
ddp@1.2.3
ddp-client@1.2.3
ddp-common@1.2.3
ddp-rate-limiter@1.0.2
ddp-server@1.2.4
deps@1.0.10
diff-sequence@1.0.3
ddp@1.2.5
ddp-client@1.2.9
ddp-common@1.2.6
ddp-rate-limiter@1.0.5
ddp-server@1.2.10
deps@1.0.12
diff-sequence@1.0.6
dispatch:run-as-user@1.1.1
ecmascript@0.4.1
ecmascript-runtime@0.2.8
ecmascript@0.4.8
ecmascript-runtime@0.2.12
edgee:slingshot@0.7.1
ejson@1.0.9
email@1.0.10
ejson@1.0.12
email@1.0.16
emojione:emojione@2.2.5
facebook@1.2.4
fastclick@1.0.9
facebook@1.2.8
fastclick@1.0.12
francocatena:status@1.5.1
geojson-utils@1.0.6
github@1.1.6
google@1.1.9
hot-code-push@1.0.2
html-tools@1.0.7
htmljs@1.0.7
http@1.1.3
id-map@1.0.5
geojson-utils@1.0.9
github@1.1.8
google@1.1.13
hot-code-push@1.0.4
html-tools@1.0.10
htmljs@1.0.10
http@1.1.8
id-map@1.0.8
idorecall:email-normalize@1.0.0
jalik:ufs@0.5.5
jalik:ufs-gridfs@0.1.1
@ -59,7 +59,7 @@ jalik:ufs-local@0.2.5
jparker:crypto-core@0.1.0
jparker:crypto-md5@0.1.1
jparker:gravatar@0.4.1
jquery@1.11.6
jquery@1.11.9
kadira:blaze-layout@2.3.0
kadira:flow-router@2.10.1
kenton:accounts-sandstorm@0.5.1
@ -69,49 +69,49 @@ konecty:mongo-counter@0.0.3
konecty:multiple-instances-status@1.0.6
konecty:nrr@2.0.2
konecty:user-presence@1.2.8
launch-screen@1.0.8
less@2.5.6
livedata@1.0.16
localstorage@1.0.7
logging@1.0.10
launch-screen@1.0.12
less@2.6.5
livedata@1.0.18
localstorage@1.0.11
logging@1.0.14
matb33:collection-hooks@0.8.1
mdg:validation-error@0.5.1
meteor@1.1.12
meteor-base@1.0.2
meteor-developer@1.1.7
meteor@1.1.16
meteor-base@1.0.4
meteor-developer@1.1.9
meteorhacks:fast-render@2.13.0
meteorhacks:inject-data@2.0.0
meteorhacks:inject-initial@1.0.4
meteorhacks:meteorx@1.4.1
meteorhacks:picker@1.0.3
meteorspark:util@0.2.0
minifier-css@1.1.9
minifier-js@1.1.9
minimongo@1.0.12
minifier-css@1.1.13
minifier-js@1.1.13
minimongo@1.0.17
mizzao:autocomplete@0.5.1
mizzao:timesync@0.3.4
mobile-experience@1.0.2
mobile-status-bar@1.0.10
modules@0.5.1
modules-runtime@0.6.1
mobile-experience@1.0.4
mobile-status-bar@1.0.12
modules@0.6.5
modules-runtime@0.6.5
momentjs:moment@2.13.1
monbro:mongodb-mapreduce-aggregation@1.0.1
mongo@1.1.5
mongo-id@1.0.2
mongo-livedata@1.0.10
mongo@1.1.9_1
mongo-id@1.0.5
mongo-livedata@1.0.12
mrt:moment@2.8.1
mrt:moment-timezone@0.2.1
mrt:reactive-store@0.0.1
mystor:device-detection@0.2.0
nimble:restivus@0.8.10
nooitaf:colors@0.0.3
npm-bcrypt@0.7.8_2
npm-mongo@1.4.41
oauth@1.1.8
oauth1@1.1.7
oauth2@1.1.7
observe-sequence@1.0.9
ordered-dict@1.0.5
npm-bcrypt@0.8.6_3
npm-mongo@1.4.45
oauth@1.1.11
oauth1@1.1.10
oauth2@1.1.10
observe-sequence@1.0.12
ordered-dict@1.0.8
ostrio:cookies@2.0.2
pauli:accounts-linkedin@1.3.1
pauli:linkedin@1.3.1
@ -120,18 +120,18 @@ peerlibrary:blocking@0.5.2
perak:codemirror@1.3.1
percolate:synced-cron@1.3.0
pntbr:js-yaml-client@0.0.1
promise@0.6.5
promise@0.7.3
raix:eventemitter@0.1.3
raix:eventstate@0.0.4
raix:handlebar-helpers@0.2.5
raix:push@3.0.2
raix:ui-dropped-event@0.0.7
random@1.0.7
rate-limit@1.0.2
reactive-dict@1.1.5
reactive-var@1.0.7
reload@1.1.6
retry@1.0.5
random@1.0.10
rate-limit@1.0.5
reactive-dict@1.1.8
reactive-var@1.0.10
reload@1.1.10
retry@1.0.8
rocketchat:action-links@0.0.1
rocketchat:api@0.0.1
rocketchat:assets@0.0.1
@ -162,7 +162,6 @@ rocketchat:katex@0.0.1
rocketchat:ldap@0.0.1
rocketchat:ldapjs@1.0.0
rocketchat:lib@0.0.1
rocketchat:livechat@0.0.1
rocketchat:logger@0.0.1
rocketchat:mailer@0.0.1
rocketchat:mapview@0.0.1
@ -196,7 +195,6 @@ rocketchat:slashcommands-open@0.0.1
rocketchat:slashcommands-topic@0.0.1
rocketchat:slashcommands-unarchive@0.0.1
rocketchat:smarsh-connector@0.0.1
rocketchat:sms@0.0.1
rocketchat:spotify@0.0.1
rocketchat:statistics@0.0.1
rocketchat:streamer@0.5.0
@ -216,32 +214,32 @@ rocketchat:version@1.0.0
rocketchat:videobridge@0.2.0
rocketchat:webrtc@0.0.1
rocketchat:wordpress@0.0.1
routepolicy@1.0.8
service-configuration@1.0.7
session@1.1.3
sha@1.0.5
routepolicy@1.0.11
service-configuration@1.0.10
session@1.1.6
sha@1.0.8
simple:highlight.js@1.2.0
simple:json-routes@2.1.0
smoral:sweetalert@1.1.1
spacebars@1.0.9
spacebars-compiler@1.0.9
srp@1.0.6
standard-minifier-css@1.0.4
standard-minifier-js@1.0.4
spacebars@1.0.12
spacebars-compiler@1.0.12
srp@1.0.9
standard-minifier-css@1.0.8
standard-minifier-js@1.0.8
steffo:meteor-accounts-saml@0.0.1
tap:i18n@1.8.2
templating@1.1.7
templating-tools@1.0.2
templating@1.1.14
templating-tools@1.0.4
tmeasday:crypto-base@3.1.2
tmeasday:crypto-md5@3.1.2
todda00:friendly-slugs@0.4.0
tracker@1.0.11
twitter@1.1.7
ui@1.0.9
underscore@1.0.6
tracker@1.0.15
twitter@1.1.11
ui@1.0.11
underscore@1.0.9
underscorestring:underscore.string@3.3.4
url@1.0.7
webapp@1.2.6
webapp-hashing@1.0.7
url@1.0.10
webapp@1.2.11
webapp-hashing@1.0.9
yasaricli:slugify@0.0.7
yasinuslu:blaze-meta@0.3.3

@ -1,6 +1,6 @@
Package.describe({
summary: "Update the client when new client code is available",
version: '1.2.6'
version: '1.2.11'
});
Cordova.depends({

@ -3,12 +3,223 @@
"bad-words": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/bad-words/-/bad-words-1.3.1.tgz",
"from": "bad-words@1.3.1",
"from": "https://registry.npmjs.org/bad-words/-/bad-words-1.3.1.tgz",
"dependencies": {
"badwords-list": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/badwords-list/-/badwords-list-1.0.0.tgz",
"from": "badwords-list@1.0.0"
"from": "https://registry.npmjs.org/badwords-list/-/badwords-list-1.0.0.tgz"
}
}
},
"localforage": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.4.2.tgz",
"from": "localforage@1.4.2",
"dependencies": {
"lie": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/lie/-/lie-3.0.2.tgz",
"from": "lie@3.0.2",
"dependencies": {
"es3ify": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/es3ify/-/es3ify-0.1.4.tgz",
"from": "es3ify@>=0.1.3 <0.2.0",
"dependencies": {
"esprima-fb": {
"version": "3001.1.0-dev-harmony-fb",
"resolved": "https://registry.npmjs.org/esprima-fb/-/esprima-fb-3001.0001.0000-dev-harmony-fb.tgz",
"from": "esprima-fb@>=3001.1.0-dev-harmony-fb <3001.2.0"
},
"jstransform": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/jstransform/-/jstransform-3.0.0.tgz",
"from": "jstransform@>=3.0.0 <3.1.0",
"dependencies": {
"base62": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/base62/-/base62-0.1.1.tgz",
"from": "base62@0.1.1"
},
"source-map": {
"version": "0.1.31",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.31.tgz",
"from": "source-map@0.1.31",
"dependencies": {
"amdefine": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz",
"from": "amdefine@>=0.0.4"
}
}
}
}
},
"through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
"from": "through@>=2.3.4 <2.4.0"
}
}
},
"immediate": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
"from": "immediate@>=3.0.5 <3.1.0"
},
"inline-process-browser": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/inline-process-browser/-/inline-process-browser-1.0.0.tgz",
"from": "inline-process-browser@>=1.0.0 <2.0.0",
"dependencies": {
"falafel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/falafel/-/falafel-1.2.0.tgz",
"from": "falafel@>=1.0.1 <2.0.0",
"dependencies": {
"acorn": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-1.2.2.tgz",
"from": "acorn@>=1.0.3 <2.0.0"
},
"foreach": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
"from": "foreach@>=2.0.5 <3.0.0"
},
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"from": "isarray@0.0.1"
},
"object-keys": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz",
"from": "object-keys@>=1.0.6 <2.0.0"
}
}
},
"through2": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
"from": "through2@>=0.6.5 <0.7.0",
"dependencies": {
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"from": "readable-stream@>=1.0.33-1 <1.1.0-0",
"dependencies": {
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"from": "core-util-is@>=1.0.0 <1.1.0"
},
"inherits": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"from": "inherits@>=2.0.1 <2.1.0"
},
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"from": "isarray@0.0.1"
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"from": "string_decoder@>=0.10.0 <0.11.0"
}
}
},
"xtend": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
"from": "xtend@>=4.0.0 <4.1.0-0"
}
}
}
}
},
"unreachable-branch-transform": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/unreachable-branch-transform/-/unreachable-branch-transform-0.3.0.tgz",
"from": "unreachable-branch-transform@>=0.3.0 <0.4.0",
"dependencies": {
"esmangle-evaluator": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/esmangle-evaluator/-/esmangle-evaluator-1.0.1.tgz",
"from": "esmangle-evaluator@>=1.0.0 <2.0.0"
},
"recast": {
"version": "0.10.43",
"resolved": "https://registry.npmjs.org/recast/-/recast-0.10.43.tgz",
"from": "recast@>=0.10.1 <0.11.0",
"dependencies": {
"ast-types": {
"version": "0.8.15",
"resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.8.15.tgz",
"from": "ast-types@0.8.15"
},
"esprima-fb": {
"version": "15001.1001.0-dev-harmony-fb",
"resolved": "https://registry.npmjs.org/esprima-fb/-/esprima-fb-15001.1001.0-dev-harmony-fb.tgz",
"from": "esprima-fb@>=15001.1001.0-dev-harmony-fb <15001.1002.0"
},
"private": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/private/-/private-0.1.6.tgz",
"from": "private@>=0.1.5 <0.2.0"
},
"source-map": {
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz",
"from": "source-map@>=0.5.0 <0.6.0"
}
}
},
"through2": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
"from": "through2@>=0.6.5 <0.7.0",
"dependencies": {
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"from": "readable-stream@>=1.0.33-1 <1.1.0-0",
"dependencies": {
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"from": "core-util-is@>=1.0.0 <1.1.0"
},
"inherits": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"from": "inherits@>=2.0.1 <2.1.0"
},
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"from": "isarray@0.0.1"
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"from": "string_decoder@>=0.10.0 <0.11.0"
}
}
},
"xtend": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
"from": "xtend@>=4.0.0 <4.1.0-0"
}
}
}
}
}
}
}
}
}

@ -1,4 +1,5 @@
/* globals localforage */
import localforage from 'localforage';
class CachedCollectionManager {
constructor() {

File diff suppressed because one or more lines are too long

@ -6,7 +6,8 @@ Package.describe({
});
Npm.depends({
'bad-words': '1.3.1'
'bad-words': '1.3.1',
'localforage': '1.4.2'
});
Package.onUse(function(api) {
@ -136,7 +137,6 @@ Package.onUse(function(api) {
// CLIENT LIB
api.addFiles('client/Notifications.coffee', 'client');
api.addFiles('client/lib/localforage.min.js', 'client');
api.addFiles('client/lib/cachedCollection.js', 'client');
api.addFiles('client/lib/openRoom.coffee', 'client');
api.addFiles('client/lib/roomExit.coffee', 'client');

@ -0,0 +1,7 @@
This directory and the files immediately inside it are automatically generated
when you change this package's NPM dependencies. Commit the files in this
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control
so that others run the same versions of sub-dependencies.
You should NOT check in the node_modules directory that Meteor automatically
creates; if you are using git, the .gitignore file tells git to ignore it.

@ -0,0 +1,39 @@
{
"dependencies": {
"clipboard": {
"version": "1.5.12",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-1.5.12.tgz",
"from": "clipboard@1.5.12"
},
"closest": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/closest/-/closest-0.0.1.tgz",
"from": "closest@0.0.1"
},
"delegate": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.0.1.tgz",
"from": "delegate@>=3.0.0 <4.0.0"
},
"good-listener": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.1.7.tgz",
"from": "good-listener@>=1.1.6 <2.0.0"
},
"matches-selector": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/matches-selector/-/matches-selector-0.0.1.tgz",
"from": "matches-selector@0.0.1"
},
"select": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/select/-/select-1.0.6.tgz",
"from": "select@>=1.0.6 <2.0.0"
},
"tiny-emitter": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-1.1.0.tgz",
"from": "tiny-emitter@>=1.0.0 <2.0.0"
}
}
}

@ -1,3 +1,5 @@
`import Clipboard from 'clipboard';`
Template.body.onRendered ->
clipboard = new Clipboard('.clipboard')

@ -10,6 +10,10 @@ Package.describe({
documentation: 'README.md'
});
Npm.depends({
'clipboard': '1.5.12'
});
Package.onUse(function(api) {
api.use([
'mongo',

File diff suppressed because one or more lines are too long

@ -67,9 +67,6 @@ Package.onUse(function(api) {
api.addFiles('lib/recorderjs/videoRecorder.coffee', 'client');
api.addFiles('lib/recorderjs/recorder.js', 'client');
// LIB CLIPBOARDJS
api.addFiles('lib/clipboardjs/clipboard.js', 'client');
// TEXTAREA CURSOR MANAGEMENT
api.addFiles('lib/textarea-cursor/set-cursor-position.js', 'client');

Loading…
Cancel
Save