Skip to content

Commit

Permalink
Merge (#219)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: 404-html <[email protected]>
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Jeff Gu Kang <[email protected]>
Co-authored-by: Tom Fox <[email protected]>
Co-authored-by: NIno Črljenec <[email protected]>
Co-authored-by: Antonio Davi Macedo Coelho de Castro <[email protected]>
Co-authored-by: Pedro Mutter <[email protected]>
Co-authored-by: Old Grandpa <[email protected]>
Co-authored-by: Ricardo Paiva <[email protected]>
Co-authored-by: peril-parse-community[bot] <29808948+peril-parse-community[bot]@users.noreply.github.com>
Co-authored-by: John Dillick <[email protected]>
Co-authored-by: mess-lelouch <[email protected]>
Co-authored-by: Musa Yassin-Fort <[email protected]>
Co-authored-by: stevestencil <[email protected]>
Co-authored-by: Alessandro Di Felice <[email protected]>
Co-authored-by: Philipp B <[email protected]>
Co-authored-by: Diamond Lewis <[email protected]>
Co-authored-by: Sergei Smirnov <[email protected]>
Co-authored-by: Snyk bot <[email protected]>
Co-authored-by: Snyk bot <[email protected]>
Co-authored-by: dblythy <[email protected]>
Co-authored-by: Rafael Santos <[email protected]>
  • Loading branch information
24 people authored Dec 15, 2020
1 parent 29a2e66 commit 763214b
Show file tree
Hide file tree
Showing 102 changed files with 11,062 additions and 7,357 deletions.
27 changes: 18 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"env": {
"es6": true,
"node": true,
"browser": true
"env": {
"es6": true,
"node": true,
"browser": true
},
"parser": "babel-eslint",
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"parser": "babel-eslint",
"extends": "eslint:recommended",
Expand All @@ -17,13 +24,15 @@
"react"
],
"rules": {
"react/jsx-uses-vars": 1,
"react/jsx-uses-react": 1,
"react/react-in-jsx-scope": 1,
"no-console": 0,
"no-case-declarations": 0
"react/jsx-uses-vars": 1,
"react/jsx-uses-react": 1,
"react/react-in-jsx-scope": 1,
"no-console": 0,
"no-case-declarations": 0,
"quotes": ["error", "single"]
},
"globals": {
"b4aSettings": true
}
}
}
15 changes: 9 additions & 6 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ daysUntilStale: 45
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- good-first-pr
- up-for-grabs
- bug
- enhancement
- feature request
- good first pr
- help wanted
- bug
- pinned
- security
- up for grabs
# Label to use when marking an issue as stale
staleLabel: wontfix
staleLabel: stale
# Limit to only `issues` not `pulls`
only: issues
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
Expand Down
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
## Parse Dashboard Changelog

### master
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.0.4...master)
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.1.0...master)

### 2.1.0
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.0.5...2.1.0)

__New features:__
* 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).
* View/Edit single row modal ([#1448](https://github.com/parse-community/parse-dashboard/pull/1448)), thanks to [NIno Črljenec](https://github.com/NinoZX).
* 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).
* 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).

__Improvements:__
* Added config param delete confirmation dialog ([#1443](https://github.com/parse-community/parse-dashboard/pull/1443)), thanks to [Manuel Trezza](https://github.com/mtrezza).

__Fixes:__
* Inifite scroll not working ([#1432](https://github.com/parse-community/parse-dashboard/pull/1432)), thanks to [Douglas Muraoka](https://github.com/douglasmuraoka).
* 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).
* 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).
* 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).

* _Contributing to this repo? Add info about your change here to be included in next release_
### 2.0.5
[Full Changelog](https://github.com/parse-community/parse-dashboard/compare/2.0.4...2.0.5)
* Fix: delete and regenerate package-lock to fix broken build
Expand Down
2 changes: 1 addition & 1 deletion Parse-Dashboard/Authentication.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use strict";
'use strict';
var bcrypt = require('bcryptjs');
var csrf = require('csurf');
var passport = require('passport');
Expand Down
10 changes: 5 additions & 5 deletions Parse-Dashboard/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ function checkIfIconsExistForApps(apps, iconsFolder) {
for (var i in apps) {
var currentApp = apps[i];
var iconName = currentApp.iconName;
var path = iconsFolder + "/" + iconName;
var path = iconsFolder + '/' + iconName;

fs.stat(path, function(err) {
if (err) {
if ('ENOENT' === err.code) {// file does not exist
console.warn("Icon with file name: " + iconName +" couldn't be found in icons folder!");
if ('ENOENT' == err.code) {// file does not exist
console.warn('Icon with file name: ' + iconName +' couldn\'t be found in icons folder!');
} else {
console.log(
'An error occurd while checking for icons, please check permission!');
Expand Down Expand Up @@ -172,8 +172,8 @@ module.exports = function(config, options) {
}
} catch (e) {
// Directory doesn't exist or something.
console.warn("Iconsfolder at path: " + config.iconsFolder +
" not found!");
console.warn('Iconsfolder at path: ' + config.iconsFolder +
' not found!');
}
}

Expand Down
4 changes: 2 additions & 2 deletions Parse-Dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* the root directory of this source tree.
*/
// Command line tool for npm start
"use strict"
'use strict'
const path = require('path');
const jsonFile = require('json-file-plus');
const express = require('express');
Expand Down Expand Up @@ -40,7 +40,7 @@ const trustProxy = program.trustProxy || process.env.PARSE_DASHBOARD_TRUST_PROXY
const dev = program.dev;

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

Expand Down
21 changes: 13 additions & 8 deletions Parse-Dashboard/parse-dashboard-config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"apps": [{
"serverURL": "http://localhost:1338/parse",
"appId": "APPLICATION_ID",
"masterKey": "MASTER_KEY",
"appName": "Countries States and Cities",
"custom": {
"isOwner": true
"apps": [
{
"serverURL": "http://localhost:1338/parse",
"appId": "APPLICATION_ID",
"masterKey": "MASTER_KEY",
"appName": "Countries States and Cities",
"iconName": "",
"primaryBackgroundColor": "",
"secondaryBackgroundColor": "",
"custom": {
"isOwner": true
}
}
}]
]
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ PARSE_DASHBOARD_USER_PASSWORD: "pass"
PARSE_DASHBOARD_SSL_KEY: "sslKey"
PARSE_DASHBOARD_SSL_CERT: "sslCert"
PARSE_DASHBOARD_CONFIG: undefined // Only for reference, it must not exist
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
```

## Managing Multiple Apps
Expand Down Expand Up @@ -154,7 +156,7 @@ HOST: "0.0.0.0"
PORT: "4040"
MOUNT_PATH: "/"
PARSE_DASHBOARD_SERVER_URL: "http://localhost:1337/parse"
PARSE_DASHBOARD_GRAPHQL_URL: "http://localhost:1337/graphql"
PARSE_DASHBOARD_GRAPHQL_SERVER_URL: "http://localhost:1337/graphql"
PARSE_DASHBOARD_MASTER_KEY: "myMasterKey"
PARSE_DASHBOARD_APP_ID: "myAppId"
PARSE_DASHBOARD_APP_NAME: "MyApp"
Expand Down
Loading

0 comments on commit 763214b

Please sign in to comment.