Skip to content

Commit ac5e7f9

Browse files
authored
Merge branch 'dev' into private-docker-registry
2 parents 29f38f1 + 83d9d0a commit ac5e7f9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+6442
-6432
lines changed

.eslintrc.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
parser: babel-eslint
3+
extends:
4+
- es/2015/server
35
plugins:
46
- babel
57
- markdown
@@ -8,6 +10,7 @@ env:
810
node: true
911
mocha: true
1012
parserOptions:
13+
sourceType: 'module'
1114
ecmaVersion: 2017
1215
ecmaFeatures:
1316
accessor-pairs: 2
@@ -43,7 +46,7 @@ rules:
4346
- 2
4447
- never
4548
arrow-spacing: 2
46-
block-scoped-var: 0
49+
block-scoped-var: 2
4750
brace-style:
4851
- 2
4952
- 1tbs
@@ -52,7 +55,7 @@ rules:
5255
camelcase:
5356
- 2
5457
- properties: always
55-
comma-dangle: 2
58+
comma-dangle: [2, 'never']
5659
comma-spacing: 0
5760
comma-style:
5861
- 2
@@ -66,18 +69,18 @@ rules:
6669
curly:
6770
- 2
6871
- all
69-
default-case: 0
72+
default-case: 2
7073
dot-location:
7174
- 2
7275
- property
73-
dot-notation: 0
76+
dot-notation: 2
7477
eol-last: 2
7578
eqeqeq: 2
7679
func-names: 0
7780
func-style: 0
7881
global-require: 2
7982
generator-star-spacing:
80-
- 0
83+
- 2
8184
- before: true
8285
after: false
8386
guard-for-in: 2
@@ -102,7 +105,8 @@ rules:
102105
max-depth: 0
103106
max-len:
104107
- 2
105-
- ignoreStrings: true
108+
- ignoreTemplateLiterals: true
109+
ignoreStrings: true
106110
max-nested-callbacks: 0
107111
max-params: 0
108112
max-statements: 0
@@ -132,13 +136,13 @@ rules:
132136
no-empty: 2
133137
no-empty-pattern: 2
134138
no-empty-character-class: 2
135-
no-eq-null: 0
139+
no-eq-null: 2
136140
no-eval: 2
137141
no-ex-assign: 2
138142
no-extend-native: 2
139143
no-extra-bind: 2
140144
no-extra-boolean-cast: 2
141-
no-extra-parens: 0
145+
no-extra-parens: [ 2, 'all', { nestedBinaryExpressions: false }]
142146
no-extra-semi: 2
143147
no-fallthrough: 2
144148
no-floating-decimal: 2
@@ -154,7 +158,7 @@ rules:
154158
no-irregular-whitespace: 2
155159
no-iterator: 2
156160
no-label-var: 2
157-
no-labels: 0
161+
no-labels: 2
158162
no-lone-blocks: 2
159163
no-lonely-if: 2
160164
no-loop-func: 2
@@ -212,7 +216,7 @@ rules:
212216
args: after-used
213217
no-use-before-define: 0
214218
no-useless-call: 2
215-
no-var: 0
219+
no-var: 2
216220
no-void: 2
217221
no-warning-comments: 0
218222
no-with: 2
@@ -231,10 +235,10 @@ rules:
231235
operator-linebreak:
232236
- 2
233237
- after
234-
padded-blocks: 0
235-
prefer-const: 0
238+
padded-blocks: [2, 'never']
239+
prefer-const: 2
236240
prefer-reflect: 0
237-
prefer-spread: 0
241+
prefer-spread: 2
238242
quote-props:
239243
- 2
240244
- as-needed
@@ -284,3 +288,7 @@ rules:
284288
- 2
285289
- never
286290
- exceptRange: true
291+
newline-per-chained-call: 0
292+
class-methods-use-this: 0
293+
no-empty-function: 0
294+
sort-imports: [2, { memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'], ignoreCase: true }]

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo: required
33
language: node_js
44
node_js:
55
- "4"
6-
- "6"
6+
- "8"
77

88
env:
99
- TEST_PLUGIN='default'

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
## Next
2+
3+
4+
**Status**
5+
The `mup status` command gives an overview of what is running on the servers and shows any problems plugins detected.
6+
7+
**Reverse Proxy**
8+
- The reverse proxy is no longer an "experimental feature"
9+
- Support for customizing the generated server and location blocks of the nginx config
10+
- Add `mup proxy nginx-config` command to view the generated config
11+
- Fix checking deployment when using the reverse proxy.
12+
- Fix deploying when `app.env.PORT` is set to a value other than 80
13+
- Fix setting up proxy when non-root user
14+
15+
**Mongo**
16+
- Oplog is automatically enabled. To use, set `app.env.MONGO_OPLOG_URL` to `mongodb://mongodb/local` (@edemaine)
17+
18+
**Depreciations**
19+
20+
`meteor.ssl` and `meteor.nginx` is depreciated. It uses a different implementation for custom certificates and lets encrypt, each with different features and restrictions. Also, the custom certificate implementation has security problems. The reverse proxy should be used instead. It doesn't have the security problems, uses the same implementation for custom certificates and lets encrypt, and has many additional features. Learn how to use the [reverse proxy in the docs](http://meteor-up.com/docs#reverse-proxy).
21+
22+
`proxy.shared.clientUploadLimit` is depreciated. Use `proxy.clientUploadLimit` instead, which allows each app to have a different clientUploadLimit.
23+
24+
**Other Changes**
25+
- `mup init` will create a `.deploy` folder when run in the same folder as a Meteor app
26+
- When mup can find a meteor app near to where `mup init` is run, the default config's `app.path` will be the path to that app
27+
- When a deploy fails, the last 200 instead of 100 lines of the app's logs are shown
28+
- More of the logs are shown when a command fails
29+
- When copying a file fails with the error `No such file`, it will tell the user to run `mup setup` to fix it
30+
- `reconfig` hooks will now run during `mup deploy`
31+
- `--show` is no longer needed to show the config when `mup validate --scrub` is run
32+
- Add section to readme about Meteor compatibility
33+
- Initial work has been done to support Docker Swarm
34+
- When there is only one server, `mup ssh` will not require the name of a server
35+
- Fix retry logic for the copy file task
36+
- Fix running Prepare Bundle when image already has a `/built_app` folder
37+
- Fix alignment of list of servers when running `mup ssh` without specifying a server
38+
- Fix plugins preparing the config multiple times
39+
- Fix loading locally installed plugins
40+
- `npm install` will still succeed even if Open Collectives's post install hook fails
41+
42+
**Plugins**
43+
- list.executeScript supports server specific variables
44+
- Using the `post.status` hook, plugins can show their status
45+
- Plugins can add a `solution` property to errors. Mup will show the solution in yellow before exiting
46+
- Plugins can add a depreciation warning while validating a config with `utils.addDepreciation`
47+
148
## 1.3.7 - Nov 28, 2017
249

350
- Fix permission denied error sometimes encountered during Prepare Bundle

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ npm install -g mup
4646
- [Getting Started](http://meteor-up.com/getting-started.html)
4747
- [Docs](http://meteor-up.com/docs.html)
4848

49+
## Meteor compatibility
50+
51+
Mup supports Meteor 1.2 and newer.
52+
To use Meteor 1.4 and newer, you will need to change the docker image. A list of docker images is available [here](http://meteor-up.com/docs#meteor-support).
53+
4954
### Support
5055

5156
First, look at the [troubleshooting](http://meteor-up.com/docs.html#troubleshooting) and [common problems](http://http://meteor-up.com/docs.html#common-problems) sections of the docs. You can also search the [github issues](https://github.com/zodern/meteor-up/issues).

docs/css/docs.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,25 @@ code {
109109
color: #9e9e9e;
110110
}
111111

112+
table {
113+
font-size: 14px;
114+
border: 3px solid #3b4863;
115+
}
116+
117+
table thead {
118+
background-color: #3b4863;
119+
}
120+
121+
table th {
122+
padding: 15px 5px;
123+
}
124+
125+
table td {
126+
padding: 15px;
127+
color: #fff;
128+
border-bottom: solid 1px rgb(59, 72, 99) !important;
129+
}
130+
112131
@media (max-width: 600px) {
113132
.docs-nav {
114133
position: fixed;

0 commit comments

Comments
 (0)