Skip to content

Commit 36674c7

Browse files
Merge branch 'parse'
* parse: (159 commits) Release 2.1.0 (parse-community#1516) Update puppeteer to the latest version 🚀 (parse-community#1531) Update semver to the latest version 🚀 (parse-community#1527) Update semver to the latest version 🚀 (parse-community#1526) Update semver to the latest version 🚀 (parse-community#1525) Update semver to the latest version 🚀 (parse-community#1524) Update semver to the latest version 🚀 (parse-community#1521) Update css-loader to the latest version 🚀 (parse-community#1520) Update react-helmet to the latest version 🚀 (parse-community#1519) Update core-js to the latest version 🚀 (parse-community#1518) Update css-loader to the latest version 🚀 (parse-community#1514) Update semver to the latest version 🚀 (parse-community#1513) Update css-loader to the latest version 🚀 (parse-community#1512) Update js-beautify to the latest version 🚀 (parse-community#1510) Update prismjs to the latest version 🚀 (parse-community#1509) Update parse to the latest version 🚀 (parse-community#1507) Update webpack to the latest version 🚀 (parse-community#1504) Update marked to the latest version 🚀 (parse-community#1503) Update babel-loader to the latest version 🚀 (parse-community#1501) Update react to the latest version 🚀 (parse-community#1500) ... # Conflicts: # package-lock.json
2 parents 004490c + f04d507 commit 36674c7

File tree

100 files changed

+11679
-2752
lines changed

Some content is hidden

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

100 files changed

+11679
-2752
lines changed

.eslintrc.json

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
{
2-
"env": {
3-
"es6": true,
4-
"node": true,
5-
"browser": true
2+
"env": {
3+
"es6": true,
4+
"node": true,
5+
"browser": true
6+
},
7+
"parser": "babel-eslint",
8+
"extends": "eslint:recommended",
9+
"parserOptions": {
10+
"ecmaFeatures": {
11+
"experimentalObjectRestSpread": true,
12+
"jsx": true
613
},
7-
"parser": "babel-eslint",
8-
"extends": "eslint:recommended",
9-
"parserOptions": {
10-
"ecmaFeatures": {
11-
"experimentalObjectRestSpread": true,
12-
"jsx": true
13-
},
14-
"sourceType": "module"
15-
},
16-
"plugins": [
17-
"react"
18-
],
19-
"rules": {
20-
"react/jsx-uses-vars": 1,
21-
"react/jsx-uses-react": 1,
22-
"react/react-in-jsx-scope": 1,
23-
"no-console": 0,
24-
"no-case-declarations": 0
25-
}
14+
"sourceType": "module"
15+
},
16+
"plugins": ["react"],
17+
"rules": {
18+
"react/jsx-uses-vars": 1,
19+
"react/jsx-uses-react": 1,
20+
"react/react-in-jsx-scope": 1,
21+
"no-console": 0,
22+
"no-case-declarations": 0,
23+
"quotes": ["error", "single"]
24+
}
2625
}

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11
## Parse Dashboard Changelog
22

33
### master
4-
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.0.4...master)
4+
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.1.0...master)
5+
6+
### 2.1.0
7+
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.0.5...2.1.0)
8+
9+
__New features:__
10+
* Added JS Console to run custom queries ([#1464](https://github.com/parse-community/parse-dashboard/pull/1464)), thanks to [Pedro Mutter](https://github.com/MutterPedro).
11+
* View/Edit single row modal ([#1448](https://github.com/parse-community/parse-dashboard/pull/1448)), thanks to [NIno Črljenec](https://github.com/NinoZX).
12+
* Context menu with quick filters and links to related records in other Parse Objects ([#1431](https://github.com/parse-community/parse-dashboard/pull/1431)), thanks to [404-html](https://github.com/404-html).
13+
* Add ProtectedFields dialog and enhance Permissions dialogs ([#1478](https://github.com/parse-community/parse-dashboard/pull/1478)), thanks to [Old Grandpa](https://github.com/BufferUnderflower).
14+
15+
__Improvements:__
16+
* Added config param delete confirmation dialog ([#1443](https://github.com/parse-community/parse-dashboard/pull/1443)), thanks to [Manuel Trezza](https://github.com/mtrezza).
17+
18+
__Fixes:__
19+
* Inifite scroll not working ([#1432](https://github.com/parse-community/parse-dashboard/pull/1432)), thanks to [Douglas Muraoka](https://github.com/douglasmuraoka).
20+
* Fix crash in import semver re: npm/node-semver#305 ([#1441](https://github.com/parse-community/parse-dashboard/pull/1441)), thanks to [Ben Petty](https://github.com/benpetty).
21+
* Taking hidden columns into account when calculating Editor position ([#1438](https://github.com/parse-community/parse-dashboard/pull/1438)), thanks to [404-html](https://github.com/404-html).
22+
* Fix audience conditions when Installation class does not exist ([#1451](https://github.com/parse-community/parse-dashboard/pull/1451)), thanks to [Antonio Davi Macedo Coelho de Castro](https://github.com/davimacedo).
523

6-
* _Contributing to this repo? Add info about your change here to be included in next release_
724
### 2.0.5
825
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.0.4...2.0.5)
926
* Fix: delete and regenerate package-lock to fix broken build

Parse-Dashboard/Authentication.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"use strict";
1+
'use strict';
22
var bcrypt = require('bcryptjs');
33
var csrf = require('csurf');
44
var passport = require('passport');

Parse-Dashboard/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ function checkIfIconsExistForApps(apps, iconsFolder) {
2929
for (var i in apps) {
3030
var currentApp = apps[i];
3131
var iconName = currentApp.iconName;
32-
var path = iconsFolder + "/" + iconName;
32+
var path = iconsFolder + '/' + iconName;
3333

3434
fs.stat(path, function(err) {
3535
if (err) {
3636
if ('ENOENT' == err.code) {// file does not exist
37-
console.warn("Icon with file name: " + iconName +" couldn't be found in icons folder!");
37+
console.warn('Icon with file name: ' + iconName +' couldn\'t be found in icons folder!');
3838
} else {
3939
console.log(
4040
'An error occurd while checking for icons, please check permission!');
@@ -162,8 +162,8 @@ module.exports = function(config, options) {
162162
}
163163
} catch (e) {
164164
// Directory doesn't exist or something.
165-
console.warn("Iconsfolder at path: " + config.iconsFolder +
166-
" not found!");
165+
console.warn('Iconsfolder at path: ' + config.iconsFolder +
166+
' not found!');
167167
}
168168
}
169169

Parse-Dashboard/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* the root directory of this source tree.
77
*/
88
// Command line tool for npm start
9-
"use strict"
9+
'use strict'
1010
const path = require('path');
1111
const jsonFile = require('json-file-plus');
1212
const express = require('express');
@@ -40,7 +40,7 @@ const trustProxy = program.trustProxy || process.env.PARSE_DASHBOARD_TRUST_PROXY
4040
const dev = program.dev;
4141

4242
if (trustProxy && allowInsecureHTTP) {
43-
console.log("Set only trustProxy *or* allowInsecureHTTP, not both. Only one is needed to handle being behind a proxy.");
43+
console.log('Set only trustProxy *or* allowInsecureHTTP, not both. Only one is needed to handle being behind a proxy.');
4444
process.exit(-1);
4545
}
4646

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
2-
"apps": [{
3-
"serverURL": "http://localhost:1338/parse",
4-
"appId": "hello",
5-
"masterKey": "world",
6-
"appName": "",
7-
"iconName": "",
8-
"primaryBackgroundColor": "",
9-
"secondaryBackgroundColor": ""
10-
}],
2+
"apps": [
3+
{
4+
"serverURL": "http://localhost:1338/parse",
5+
"appId": "hello",
6+
"masterKey": "world",
7+
"appName": "",
8+
"iconName": "",
9+
"primaryBackgroundColor": "",
10+
"secondaryBackgroundColor": ""
11+
}
12+
],
1113
"iconsFolder": "icons"
12-
}
14+
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ PARSE_DASHBOARD_USER_PASSWORD: "pass"
112112
PARSE_DASHBOARD_SSL_KEY: "sslKey"
113113
PARSE_DASHBOARD_SSL_CERT: "sslCert"
114114
PARSE_DASHBOARD_CONFIG: undefined // Only for reference, it must not exist
115+
PARSE_DASHBOARD_COOKIE_SESSION_SECRET: undefined // set the cookie session secret, defaults to a random string. Use this option if you want sessions to work across multiple servers, or across restarts
116+
115117
```
116118

117119
## Managing Multiple Apps

0 commit comments

Comments
 (0)