Skip to content

Commit 763214b

Browse files
nataliacondeArtur Drozdz404-htmlgreenkeeper[bot]JeffGuKang
authored
Merge (#219)
* Context menu with quick filter initials * Support for filtering Pointer type of entities * Adding more filters to context menu * Introducing general, reusable ContextMenu component * Move ContextMenu item in pig list to keep alphabetical order * Reverting changes in parse-dashboard-config.json file * Showing "Get related records from..." context menu option when clicking on Pointer or objectId * Changing categories to fill context menu horizontally * Fully functional 'Get related records from...' context menu item * Fixing CI build by removing empty test file * Closing context menu after chosing an option * Properly handling 'Get related records from...' logic when executing it on cell containing Pointer * Fixing click on empty cell by checking value * Closing context menu after clicking outside it * Adding key attributes to ContextMenu JSX * Positioning menu sections to not go off the screen + animations * Functional options to add a filter to existing one(s) * Showing "Add fiter..." context menu option only if there's any filter applied * Generating context menu filters dynamically basing on available ones * Code cleaning + missing import * Passing BLACKLISTED_FILTERS when getting filters available for context menu * Restoring accidentally removed line * Sorting objects listed in context menu item "Get related records from..." alphabetically; * Handling context menu filters for "Date" type of data * Getting "compareTo" value only for constrains that are comparable * Update csurf to the latest version 🚀 (parse-community#1452) * fix(package): update csurf to version 1.11.0 * chore(package): update lockfile package-lock.json * Update README.md (parse-community#1455) * Update README.md Add the PARSE_DASHBOARD_COOKIE_SESSION_SECRET option explanation * improve grammar Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com> * Update cross-env to the latest version 🚀 (parse-community#1456) * chore(package): update cross-env to version 7.0.0 * chore(package): update lockfile package-lock.json * Update graphql to the latest version 🚀 (parse-community#1457) * fix(package): update graphql to version 14.6.0 * chore(package): update lockfile package-lock.json * Update puppeteer to the latest version 🚀 (parse-community#1458) * chore(package): update puppeteer to version 2.1.0 * chore(package): update lockfile package-lock.json * Update babel7 to the latest version 🚀 (parse-community#1461) * chore(package): update @babel/core to version 7.8.4 * chore(package): update @babel/plugin-proposal-decorators to version 7.8.3 * chore(package): update @babel/preset-env to version 7.8.4 * chore(package): update @babel/preset-react to version 7.8.3 * fix(package): update @babel/runtime to version 7.8.4 * chore(package): update lockfile package-lock.json * Update semver to the latest version 🚀 (parse-community#1462) * fix(package): update semver to version 7.1.2 * chore(package): update lockfile package-lock.json * Update commander to the latest version 🚀 (parse-community#1467) * fix(package): update commander to version 4.1.1 * chore(package): update lockfile package-lock.json * Update puppeteer to the latest version 🚀 (parse-community#1468) * chore(package): update puppeteer to version 2.1.1 * chore(package): update lockfile package-lock.json * Update eslint-plugin-jest to the latest version 🚀 (parse-community#1469) * chore(package): update eslint-plugin-jest to version 23.7.0 * chore(package): update lockfile package-lock.json * View/Edit single row modal (parse-community#1448) * EditRowDialog - initial version * TextInput - change focus to new input/textarea field when multiline props has changed * EditRowDialg - removed custom FormModal width * EditRowDialog - initial version * TextInput - change focus to new input/textarea field when multiline props has changed * EditRowDialg - removed custom FormModal width * package-lock.json sync after rebase from master * EditRowDialog - moved objectId, createdAt, updatedAt to dialog title. ACL added as confim button in footer. Also removed these fields from content * EditRowDialog - creating new objects with modal implemented * EditRowDialog: - fixed bug when creating new objects with modal; - ACL modal visible without closing editRowDialog; - fixed bug when relation clicked after newly saved object - FormModal replaced with Modal component * EditRowDialog - picker for pointer and relation Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com> * Update request to the latest version 🚀 (parse-community#1471) * chore(package): update request to version 2.88.2 * chore(package): update lockfile package-lock.json * Update semver to the latest version 🚀 (parse-community#1472) * fix(package): update semver to version 7.1.3 * chore(package): update lockfile package-lock.json * Update query-string to the latest version 🚀 (parse-community#1450) * fix(package): update query-string to version 6.10.1 * chore(package): update lockfile package-lock.json Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com> * Update react-redux to the latest version 🚀 (parse-community#1473) * fix(package): update react-redux to version 7.2.0 * chore(package): update lockfile package-lock.json * Playground (parse-community#1464) * * chore(package): update lockfile package-lock.json * chore(package): added react-simple-code-editor dependency * feat(CodeEditor): added CodeEditor component * added id tho the code editor props * added playground to dashboard * added react-json dependency to show playground results * update changelog * fix playground button CSS spacing and update risky dependencies * fix(React life-cycle): fixes requested on PR parse-community#1464 review * feat(Playground): update CodeEditor component and show result just in console * feat(Playground): update CodeEditor component and show result just in console * fix(Playground): fix erron in test of CodeEditor component * Update parse-dashboard-config.json * fix(Playground): implemented requested changes and put Playground into JS Console * fix(Playground): fix double quotes and change JS Console playground * fix(Playground): fix missing dependency Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com> * Update eslint-plugin-jest to the latest version 🚀 (parse-community#1476) * chore(package): update eslint-plugin-jest to version 23.8.0 * chore(package): update lockfile package-lock.json * Taking hidden columns into account when calculating Editor position (parse-community#1438) Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com> * Update babel-eslint to the latest version 🚀 (parse-community#1479) * chore(package): update babel-eslint to version 10.1.0 * chore(package): update lockfile package-lock.json * Update react to the latest version 🚀 (parse-community#1480) * fix(package): update react to version 16.13.0 * fix(package): update react-dom to version 16.13.0 * chore(package): update react-test-renderer to version 16.13.0 * chore(package): update lockfile package-lock.json * Update babel7 to the latest version 🚀 (parse-community#1481) * chore(package): update @babel/core to version 7.8.6 * chore(package): update @babel/preset-env to version 7.8.6 * chore(package): update lockfile package-lock.json * Removing duplicated prop * Fixing lint errors * Adding "Edit row" option to BrowserCell context menu * Keeping BLACKLISTED_FILTERS in single place * Removing unnecessary onSelect call (as cell is already selected at this stage) * Removing unnecessary setCopyableValue call (as it should be called at this stage) * Update eslint-plugin-jest to the latest version 🚀 (parse-community#1483) * chore(package): update eslint-plugin-jest to version 23.8.1 * chore(package): update lockfile package-lock.json * Update webpack to the latest version 🚀 (parse-community#1484) * chore(package): update webpack to version 4.42.0 * chore(package): update lockfile package-lock.json * Update query-string to the latest version 🚀 (parse-community#1485) * fix(package): update query-string to version 6.11.1 * chore(package): update lockfile package-lock.json * Update cross-env to the latest version 🚀 (parse-community#1486) * chore(package): update cross-env to version 7.0.1 * chore(package): update lockfile package-lock.json * Add ProtectedFields dialog and enhance Permissions dialogs (parse-community#1478) * chip and multiselect dense variant * autocomplete component * popover refactor, ContextProxy -> portal * add intersection observer component * suggestions for autocomplete * do not show security dialog in edit modal * table will ignore keys when security modal opened * add autocomplete for ACL * add protected fields dialog component * permissioons dialog refactor * add new dialogs to databroowser toolbar * protected fields dialog example * removed comments * fix floating menus - show on top of toolbar * add whitespaces in toolbar menu * use menuitem * trailing newlines * update examples * adds scroll hint * handle case when no fields to protect Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com> * Bump react-redux back to 5.1.2 (parse-community#1482) * Fix audience conditions when Installation class does not exist (parse-community#1451) * Fix audience conditions when Installation class does not exist * Improve code readability Co-authored-by: Ricardo Paiva <ricardo@ricardopaiva.com> * Update babel7 to the latest version 🚀 (parse-community#1487) * chore(package): update @babel/core to version 7.8.7 * chore(package): update @babel/plugin-transform-regenerator to version 7.8.7 * chore(package): update @babel/preset-env to version 7.8.7 * fix(package): update @babel/runtime to version 7.8.7 * chore(package): update lockfile package-lock.json * Update cross-env to the latest version 🚀 (parse-community#1488) * chore(package): update cross-env to version 7.0.2 * chore(package): update lockfile package-lock.json * Update eslint-plugin-jest to the latest version 🚀 (parse-community#1489) * chore(package): update eslint-plugin-jest to version 23.8.2 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update eslint-plugin-react to the latest version 🚀 (parse-community#1490) * chore(package): update eslint-plugin-react to version 7.19.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update regenerator-runtime to the latest version 🚀 (parse-community#1495) * fix(package): update regenerator-runtime to version 0.13.5 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update commander to the latest version 🚀 (parse-community#1496) * fix(package): update commander to version 5.0.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update file-loader to the latest version 🚀 (parse-community#1498) * chore(package): update file-loader to version 6.0.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update marked to the latest version 🚀 (parse-community#1499) * chore(package): update marked to version 0.8.1 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update react to the latest version 🚀 (parse-community#1500) * fix(package): update react to version 16.13.1 * fix(package): update react-dom to version 16.13.1 * chore(package): update react-test-renderer to version 16.13.1 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update babel-loader to the latest version 🚀 (parse-community#1501) * chore(package): update babel-loader to version 8.1.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update marked to the latest version 🚀 (parse-community#1503) * chore(package): update marked to version 0.8.2 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update webpack to the latest version 🚀 (parse-community#1504) * chore(package): update webpack to version 4.42.1 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update parse to the latest version 🚀 (parse-community#1507) * fix(package): update parse to version 2.12.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update prismjs to the latest version 🚀 (parse-community#1509) * fix(package): update prismjs to version 1.20.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update js-beautify to the latest version 🚀 (parse-community#1510) * fix(package): update js-beautify to version 1.11.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update css-loader to the latest version 🚀 (parse-community#1512) * chore(package): update css-loader to version 3.5.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update semver to the latest version 🚀 (parse-community#1513) * fix(package): update semver to version 7.2.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update css-loader to the latest version 🚀 (parse-community#1514) * chore(package): update css-loader to version 3.5.1 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update core-js to the latest version 🚀 (parse-community#1518) * chore(package): update core-js to version 3.6.5 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update react-helmet to the latest version 🚀 (parse-community#1519) * fix(package): update react-helmet to version 6.0.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update css-loader to the latest version 🚀 (parse-community#1520) * chore(package): update css-loader to version 3.5.2 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update semver to the latest version 🚀 (parse-community#1521) * fix(package): update semver to version 7.2.2 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update semver to the latest version 🚀 (parse-community#1524) * fix(package): update semver to version 7.2.3 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update semver to the latest version 🚀 (parse-community#1525) * fix(package): update semver to version 7.3.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update semver to the latest version 🚀 (parse-community#1526) * fix(package): update semver to version 7.3.1 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update semver to the latest version 🚀 (parse-community#1527) * fix(package): update semver to version 7.3.2 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Update puppeteer to the latest version 🚀 (parse-community#1531) * chore(package): update puppeteer to version 3.0.0 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> * Release 2.1.0 (parse-community#1516) * Update CHANGELOG.md * bump version & npm install * Clear state.data when setting relation to column type mismatch. (parse-community#1564) * Fix pointer CLPs (parse-community#1556) * Fix pointer CLPs * Restore removed new lines * Add checks Co-authored-by: Musa Yassin-Fort <musa.yassin@bureapr.com> * fixed master key not being passed in when saving file in global config (parse-community#1581) * Update Babel Env Preset (parse-community#1605) * Fix graphql env variable name in example (parse-community#1592) * chore: Bump parse to 2.17.0 (parse-community#1606) * Fixes toolbar overlap to page title (parse-community#1578) * chore: Remove wontfix label from Stalebot (parse-community#1607) Similar to parse-community/parse-server#6810 Fixes labels, allow stalebot for only issues. * fix: package.json & package-lock.json to reduce vulnerabilities (parse-community#1608) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NODEFETCH-674311 * fix: upgrade query-string from 6.11.1 to 6.13.3 (parse-community#1609) Snyk has created this PR to upgrade query-string from 6.11.1 to 6.13.3. See this package in npm: https://www.npmjs.com/package/query-string See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * fix: upgrade query-string from 6.13.3 to 6.13.4 (parse-community#1610) Snyk has created this PR to upgrade query-string from 6.13.3 to 6.13.4. See this package in npm: https://www.npmjs.com/package/query-string See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * fix: upgrade query-string from 6.13.4 to 6.13.5 (parse-community#1611) Snyk has created this PR to upgrade query-string from 6.13.4 to 6.13.5. See this package in npm: https://www.npmjs.com/package/query-string See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * Fixes EditRowDialog - update fields automatically when they are updated on server - don't update array, object and polygon when no changes are in the field - GeoPointEditor added componentWillReceiveProps on values change - TextInput textarea added rows props to be used * fix: upgrade prismjs from 1.20.0 to 1.22.0 (parse-community#1612) Snyk has created this PR to upgrade prismjs from 1.20.0 to 1.22.0. See this package in npm: https://www.npmjs.com/package/prismjs See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @babel/runtime from 7.8.7 to 7.12.0 (parse-community#1614) Snyk has created this PR to upgrade @babel/runtime from 7.8.7 to 7.12.0. See this package in npm: https://www.npmjs.com/package/@babel/runtime See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * fix: upgrade multiple dependencies with Snyk (parse-community#1615) Snyk has created this PR to upgrade: - react from 16.13.1 to 16.14.0. See this package in npm: https://www.npmjs.com/package/react - react-dom from 16.13.1 to 16.14.0. See this package in npm: https://www.npmjs.com/package/react-dom See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * fix: upgrade @babel/runtime from 7.12.0 to 7.12.1 (parse-community#1616) Snyk has created this PR to upgrade @babel/runtime from 7.12.0 to 7.12.1. See this package in npm: https://www.npmjs.com/package/@babel/runtime See this project in Snyk: https://app.snyk.io/org/dplewis/project/ee612fa1-606a-467d-b7af-8919569c80d1?utm_source=github&utm_medium=upgrade-pr * fix: upgrade query-string from 6.13.5 to 6.13.6 (parse-community#1617) Snyk has created this PR to upgrade query-string from 6.13.5 to 6.13.6. See this package in npm: https://www.npmjs.com/package/query-string See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * Add Finished At to Job Status (parse-community#1620) * feat: upgrade commander from 5.0.0 to 6.2.0 (parse-community#1622) Snyk has created this PR to upgrade commander from 5.0.0 to 6.2.0. See this package in npm: https://www.npmjs.com/package/commander See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * (feat) column preference for data browser (parse-community#1625) * fix: upgrade @babel/runtime from 7.12.1 to 7.12.5 (parse-community#1626) Snyk has created this PR to upgrade @babel/runtime from 7.12.1 to 7.12.5. See this package in npm: https://www.npmjs.com/package/@babel/runtime See this project in Snyk: https://app.snyk.io/org/dplewis/project/ee612fa1-606a-467d-b7af-8919569c80d1?utm_source=github&utm_medium=upgrade-pr * fix: upgrade query-string from 6.13.6 to 6.13.7 (parse-community#1628) Snyk has created this PR to upgrade query-string from 6.13.6 to 6.13.7. See this package in npm: https://www.npmjs.com/package/query-string See this project in Snyk: https://app.snyk.io/org/acinader/project/953c8e1a-a9ef-4134-afbe-43474913abbb?utm_source=github&utm_medium=upgrade-pr * Fix object error * Fix render * Remove icon * Fix Icon define * change button Filtered * fix unexpected behaviors on parse dashboard * hide clean up files Co-authored-by: Artur Drozdz <arturd@xara.com> Co-authored-by: 404-html <45104241+404-html@users.noreply.github.com> Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> Co-authored-by: Jeff Gu Kang <jeffgukang@gmail.com> Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com> Co-authored-by: NIno Črljenec <nino.crljenec@gmail.com> Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com> Co-authored-by: Pedro Mutter <pedro.mutter@gmail.com> Co-authored-by: Old Grandpa <yurasopakomlev@gmail.com> Co-authored-by: Ricardo Paiva <ricardo@ricardopaiva.com> Co-authored-by: peril-parse-community[bot] <29808948+peril-parse-community[bot]@users.noreply.github.com> Co-authored-by: John Dillick <john@dillick.us> Co-authored-by: mess-lelouch <musa.yassin@gmail.com> Co-authored-by: Musa Yassin-Fort <musa.yassin@bureapr.com> Co-authored-by: stevestencil <stevestencil@gmail.com> Co-authored-by: Alessandro Di Felice <alessandro.difelice@gmail.com> Co-authored-by: Philipp B <16269108+TheTyrius@users.noreply.github.com> Co-authored-by: Diamond Lewis <findlewis@gmail.com> Co-authored-by: Sergei Smirnov <sergous@gmail.com> Co-authored-by: Snyk bot <github+bot@snyk.io> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: dblythy <daniel-blyth@live.com.au> Co-authored-by: Rafael Santos <rafael@back4app.com>
1 parent 29a2e66 commit 763214b

File tree

102 files changed

+11062
-7357
lines changed

Some content is hidden

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

102 files changed

+11062
-7357
lines changed

.eslintrc.json

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
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
},
714
"parser": "babel-eslint",
815
"extends": "eslint:recommended",
@@ -17,13 +24,15 @@
1724
"react"
1825
],
1926
"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
27+
"react/jsx-uses-vars": 1,
28+
"react/jsx-uses-react": 1,
29+
"react/react-in-jsx-scope": 1,
30+
"no-console": 0,
31+
"no-case-declarations": 0,
32+
"quotes": ["error", "single"]
2533
},
2634
"globals": {
2735
"b4aSettings": true
2836
}
37+
}
2938
}

.github/stale.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ daysUntilStale: 45
44
daysUntilClose: 7
55
# Issues with these labels will never be considered stale
66
exemptLabels:
7-
- pinned
8-
- security
9-
- good-first-pr
10-
- up-for-grabs
7+
- bug
118
- enhancement
9+
- feature request
10+
- good first pr
1211
- help wanted
13-
- bug
12+
- pinned
13+
- security
14+
- up for grabs
1415
# Label to use when marking an issue as stale
15-
staleLabel: wontfix
16+
staleLabel: stale
17+
# Limit to only `issues` not `pulls`
18+
only: issues
1619
# Comment to post when marking an issue as stale. Set to `false` to disable
1720
markComment: >
1821
This issue has been automatically marked as stale because it has not had

CHANGELOG.md

+19-2
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

+1-1
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ function checkIfIconsExistForApps(apps, iconsFolder) {
3030
for (var i in apps) {
3131
var currentApp = apps[i];
3232
var iconName = currentApp.iconName;
33-
var path = iconsFolder + "/" + iconName;
33+
var path = iconsFolder + '/' + iconName;
3434

3535
fs.stat(path, function(err) {
3636
if (err) {
37-
if ('ENOENT' === err.code) {// file does not exist
38-
console.warn("Icon with file name: " + iconName +" couldn't be found in icons folder!");
37+
if ('ENOENT' == err.code) {// file does not exist
38+
console.warn('Icon with file name: ' + iconName +' couldn\'t be found in icons folder!');
3939
} else {
4040
console.log(
4141
'An error occurd while checking for icons, please check permission!');
@@ -172,8 +172,8 @@ module.exports = function(config, options) {
172172
}
173173
} catch (e) {
174174
// Directory doesn't exist or something.
175-
console.warn("Iconsfolder at path: " + config.iconsFolder +
176-
" not found!");
175+
console.warn('Iconsfolder at path: ' + config.iconsFolder +
176+
' not found!');
177177
}
178178
}
179179

Parse-Dashboard/index.js

+2-2
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

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
{
2-
"apps": [{
3-
"serverURL": "http://localhost:1338/parse",
4-
"appId": "APPLICATION_ID",
5-
"masterKey": "MASTER_KEY",
6-
"appName": "Countries States and Cities",
7-
"custom": {
8-
"isOwner": true
2+
"apps": [
3+
{
4+
"serverURL": "http://localhost:1338/parse",
5+
"appId": "APPLICATION_ID",
6+
"masterKey": "MASTER_KEY",
7+
"appName": "Countries States and Cities",
8+
"iconName": "",
9+
"primaryBackgroundColor": "",
10+
"secondaryBackgroundColor": "",
11+
"custom": {
12+
"isOwner": true
13+
}
914
}
10-
}]
15+
]
1116
}

README.md

+3-1
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
@@ -154,7 +156,7 @@ HOST: "0.0.0.0"
154156
PORT: "4040"
155157
MOUNT_PATH: "/"
156158
PARSE_DASHBOARD_SERVER_URL: "http://localhost:1337/parse"
157-
PARSE_DASHBOARD_GRAPHQL_URL: "http://localhost:1337/graphql"
159+
PARSE_DASHBOARD_GRAPHQL_SERVER_URL: "http://localhost:1337/graphql"
158160
PARSE_DASHBOARD_MASTER_KEY: "myMasterKey"
159161
PARSE_DASHBOARD_APP_ID: "myAppId"
160162
PARSE_DASHBOARD_APP_NAME: "MyApp"

0 commit comments

Comments
 (0)