Skip to content

Commit

Permalink
Merge branch 'develop' into feature/mention-names
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier committed May 25, 2017
2 parents 3e2488e + caeea79 commit a626374
Show file tree
Hide file tree
Showing 154 changed files with 13,927 additions and 10,688 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,coffee,html,less,json}]
[*.{js,coffee,html,less,css,json}]
indent_style = tab

[*.i18n.json]
Expand Down
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"no-delete-var": 2,
"no-dupe-keys": 2,
"no-dupe-args": 2,
"no-dupe-class-members": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-empty-character-class": 2,
Expand Down
4 changes: 2 additions & 2 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ service-configuration@1.0.11
session@1.1.7
shell-server@0.2.3
spacebars
standard-minifier-css@1.3.4
standard-minifier-js@2.0.0
tracker@1.1.3

Expand Down Expand Up @@ -132,7 +131,7 @@ rocketchat:videobridge
rocketchat:webrtc
rocketchat:wordpress
rocketchat:message-snippet
rocketchat:google-natural-language
#rocketchat:google-natural-language
rocketchat:drupal
rocketchat:monitoring
#rocketchat:chatops
Expand Down Expand Up @@ -172,3 +171,4 @@ underscorestring:underscore.string
yasaricli:slugify
yasinuslu:blaze-meta
deepwell:bootstrap-datepicker2
rocketchat:postcss
5 changes: 2 additions & 3 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ oauth1@1.1.11
oauth2@1.1.11
observe-sequence@1.0.16
ordered-dict@1.0.9
ostrio:cookies@2.2.0
ostrio:cookies@2.2.1
pauli:accounts-linkedin@2.1.2
pauli:linkedin-oauth@1.1.0
peerlibrary:aws-sdk@2.4.9_1
Expand Down Expand Up @@ -148,7 +148,6 @@ rocketchat:file@0.0.1
rocketchat:file-upload@0.0.1
rocketchat:github-enterprise@0.0.1
rocketchat:gitlab@0.0.1
rocketchat:google-natural-language@0.0.1
rocketchat:highlight-words@0.0.1
rocketchat:i18n@0.0.1
rocketchat:iframe-login@1.0.0
Expand Down Expand Up @@ -183,6 +182,7 @@ rocketchat:oauth2-server@2.0.0
rocketchat:oauth2-server-config@1.0.0
rocketchat:oembed@0.0.1
rocketchat:otr@0.0.1
rocketchat:postcss@1.0.0
rocketchat:push-notifications@0.0.1
rocketchat:reactions@0.0.1
rocketchat:sandstorm@0.0.1
Expand Down Expand Up @@ -232,7 +232,6 @@ smoral:sweetalert@1.1.1
spacebars@1.0.15
spacebars-compiler@1.1.2
srp@1.0.10
standard-minifier-css@1.3.4
standard-minifier-js@2.0.0
steffo:meteor-accounts-saml@0.0.1
tap:i18n@1.8.2
Expand Down
20 changes: 20 additions & 0 deletions .postcssrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"plugins": {
"postcss-smart-import": {},
"postcss-cssnext": {
"browsers": [
"ie > 10",
"last 2 Edge versions",
"last 2 Firefox versions",
"last 1 FirefoxAndroid versions",
"last 2 Chrome versions",
"last 1 ChromeAndroid versions",
"last 2 Safari versions",
"last 2 Opera versions",
"last 2 iOS versions",
"last 1 Android version"
]
}
},
"excludedPackages": ["deepwell:bootstrap-datepicker2", "smoral:sweetalert"]
}
2 changes: 2 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages/rocketchat-theme/client/vendor/fontello/css/fontello.css
packages/meteor-autocomplete/client/autocomplete.css
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ before_script:
- |-
mongo --eval 'rs.initiate({_id:"rs0", members: [{"_id":1, "host":"localhost:27017"}]})'
- meteor npm run lint
- meteor npm run testunit
- meteor npm run stylelint
- travis_retry meteor build --headless /tmp/build
- mkdir /tmp/build-test
Expand Down
3 changes: 3 additions & 0 deletions mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--compilers js:babel-mocha-es6-compiler
--reporter spec
--ui bdd
24 changes: 20 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
"name": "Sing Li",
"email": "sing.li@rocket.chat"
}],
"mocha": {
"tests": [
"packages/**/*.tests.js"
],
"files": [
"packages/**/*.js",
"!packages/**/*.tests.js"
]
},
"keywords": [
"rocketchat",
"rocket",
Expand All @@ -37,12 +46,15 @@
"start": "meteor npm i && meteor",
"lint": "eslint .",
"lint-fix": "eslint . --fix",
"stylelint": "stylelint **/*.less",
"stylelint": "stylelint packages/**/*.{less,css}",
"test": "node .scripts/start.js",
"deploy": "npm run build && pm2 startOrRestart pm2.json",
"chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests/end-to-end",
"chimp-test": "chimp tests/chimp-config.js",
"postinstall": "cd packages/rocketchat-katex && npm i",
"testunit-watch": "mocha --watch --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"",
"coverage": "nyc -r html mocha --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"",
"testunit": "mocha --opts ./mocha.opts \"`node -e \"console.log(require('./package.json').mocha.tests.join(' '))\"`\"",
"version": "node .scripts/version.js",
"set-version": "node .scripts/set-version.js",
"release": "npm run set-version --silent"
Expand All @@ -57,11 +69,15 @@
"email": "support@rocket.chat"
},
"devDependencies": {
"babel-mocha-es6-compiler": "^0.1.0",
"babel-plugin-array-includes": "^2.0.3",
"chimp": "^0.49.0",
"conventional-changelog": "^1.1.3",
"eslint": "^3.19.0",
"postcss-cssnext": "^2.11.0",
"postcss-smart-import": "^0.7.0",
"stylelint": "^7.10.1",
"supertest": "^3.0.0",
"conventional-changelog": "^1.1.3"
"supertest": "^3.0.0"
},
"dependencies": {
"babel-runtime": "^6.23.0",
Expand All @@ -71,7 +87,7 @@
"highlight.js": "^9.11.0",
"jquery": "^3.2.1",
"mime-db": "^1.28.0",
"mime-type": "^3.0.4",
"mime-type": "^3.0.5",
"moment": "^2.18.1",
"moment-timezone": "^0.5.13",
"photoswipe": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-api/server/v1/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ RocketChat.API.v1.addRoute('users.setAvatar', { authRequired: true }, {
callback();
}));

this.request.pipe(busboy);
}));
this.request.pipe(busboy);
})();
}

Expand Down
10 changes: 5 additions & 5 deletions packages/rocketchat-chatops/client/views/stylesheets/chatops.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

.map-container {
width: 670px;
max-width: 100%;
height: 500px;
padding: 5px, 5px, 5px 5px;
width: 670px;
max-width: 100%;
height: 500px;
padding: 5px;
}

.red {
Expand All @@ -12,4 +12,4 @@

.green {
color: green;
}
}
2 changes: 1 addition & 1 deletion packages/rocketchat-colors/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
border-radius: 3px;
margin-right: 3px;
margin-left: 2px;
border: 1px solid rgba(0, 0, 0, .2);
border: 1px solid rgba(0, 0, 0, 0.2);
position: relative;
top: 2px;
}
4 changes: 2 additions & 2 deletions packages/rocketchat-dolphin/login-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
height: 20px;
background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDMwIDQzMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJzaWduLWluIiB0cmFuc2Zvcm09Im1hdHJpeCgwLjUgMCAwIDAuNSAwIDApIj4NCjxwYXRoIGZpbGw9IiNmZmZmZmYiIGQ9Ik02NjAuNjcyIDUwMC4wMzJxMCAxNC41MDggLTEwLjYwMiAyNS4xMWwtMzAzLjU1MiAzMDMuNTUycS0xMC42MDI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;
}

.icon-dolphin ~ .icon-spin,
.icon-dolphin ~ span {
vertical-align: middle;
vertical-align: middle;
}
Loading

0 comments on commit a626374

Please sign in to comment.