Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #219

Merged
merged 130 commits into from
Dec 15, 2020
Merged

Merge #219

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
2188d3a
Context menu with quick filter initials
Dec 21, 2019
01cdadf
Support for filtering Pointer type of entities
Dec 22, 2019
9f4c8f6
Adding more filters to context menu
Dec 22, 2019
9406b70
Introducing general, reusable ContextMenu component
Dec 24, 2019
1127c64
Move ContextMenu item in pig list to keep alphabetical order
Dec 24, 2019
ec990f2
Reverting changes in parse-dashboard-config.json file
Dec 25, 2019
ab15a95
Merge branch 'master' into context-menu-filter
404-html Dec 25, 2019
c87959a
Showing "Get related records from..." context menu option when clicki…
Dec 26, 2019
2c097e0
Merge branch 'context-menu-filter' of https://github.com/404-html/par…
Dec 26, 2019
0cfee6c
Changing categories to fill context menu horizontally
Dec 26, 2019
a1080f2
Fully functional 'Get related records from...' context menu item
Dec 27, 2019
c08ba6d
Fixing CI build by removing empty test file
Dec 27, 2019
7bfa990
Closing context menu after chosing an option
Dec 27, 2019
80a7ab7
Properly handling 'Get related records from...' logic when executing …
Dec 27, 2019
5d6bb77
Fixing click on empty cell by checking value
Dec 28, 2019
0953350
Closing context menu after clicking outside it
Dec 28, 2019
6c80d43
Adding key attributes to ContextMenu JSX
Dec 28, 2019
65ce779
Positioning menu sections to not go off the screen + animations
Dec 28, 2019
b4270e8
Merge branch 'master' into context-menu-filter
404-html Dec 28, 2019
abee87f
Merge branch 'master' into context-menu-filter
404-html Dec 30, 2019
cc5e0fd
Functional options to add a filter to existing one(s)
Dec 30, 2019
c371d84
Merge branch 'context-menu-filter' of https://github.com/404-html/par…
Dec 30, 2019
7bc7cef
Showing "Add fiter..." context menu option only if there's any filter…
Dec 30, 2019
b61d7af
Generating context menu filters dynamically basing on available ones
Dec 30, 2019
e1248d9
Code cleaning + missing import
Dec 30, 2019
649925d
Passing BLACKLISTED_FILTERS when getting filters available for contex…
Dec 30, 2019
09a510a
Restoring accidentally removed line
Dec 31, 2019
8dce379
Sorting objects listed in context menu item "Get related records from…
Dec 31, 2019
f3af112
Handling context menu filters for "Date" type of data
Jan 3, 2020
a571784
Getting "compareTo" value only for constrains that are comparable
Jan 3, 2020
515bb66
Merge branch 'master' into context-menu-filter
404-html Jan 13, 2020
c688f69
Update csurf to the latest version 🚀 (#1452)
greenkeeper[bot] Jan 19, 2020
a5c4528
Update README.md (#1455)
JeffGuKang Jan 23, 2020
882c6c5
Merge branch 'master' into context-menu-filter
404-html Jan 23, 2020
3f15f6f
Update cross-env to the latest version 🚀 (#1456)
greenkeeper[bot] Jan 25, 2020
2a20162
Update graphql to the latest version 🚀 (#1457)
greenkeeper[bot] Jan 26, 2020
47c40c6
Update puppeteer to the latest version 🚀 (#1458)
greenkeeper[bot] Jan 27, 2020
c2bddd7
Update babel7 to the latest version 🚀 (#1461)
greenkeeper[bot] Jan 30, 2020
1dc5fac
Update semver to the latest version 🚀 (#1462)
greenkeeper[bot] Jan 31, 2020
01af861
Update commander to the latest version 🚀 (#1467)
greenkeeper[bot] Feb 3, 2020
8edef22
Update puppeteer to the latest version 🚀 (#1468)
greenkeeper[bot] Feb 5, 2020
21c018b
Update eslint-plugin-jest to the latest version 🚀 (#1469)
greenkeeper[bot] Feb 7, 2020
df543e5
View/Edit single row modal (#1448)
NinoZX Feb 11, 2020
0a6a0f1
Update request to the latest version 🚀 (#1471)
greenkeeper[bot] Feb 11, 2020
2696d46
Update semver to the latest version 🚀 (#1472)
greenkeeper[bot] Feb 11, 2020
f527170
Update query-string to the latest version 🚀 (#1450)
greenkeeper[bot] Feb 17, 2020
7085e53
Update react-redux to the latest version 🚀 (#1473)
greenkeeper[bot] Feb 18, 2020
ed5e4f3
Playground (#1464)
MutterPedro Feb 19, 2020
915ed5f
Update eslint-plugin-jest to the latest version 🚀 (#1476)
greenkeeper[bot] Feb 23, 2020
c35873c
Taking hidden columns into account when calculating Editor position (…
404-html Feb 25, 2020
314f1c2
Update babel-eslint to the latest version 🚀 (#1479)
greenkeeper[bot] Feb 28, 2020
bf9f81f
Update react to the latest version 🚀 (#1480)
greenkeeper[bot] Feb 28, 2020
d0f7dac
Update babel7 to the latest version 🚀 (#1481)
greenkeeper[bot] Feb 28, 2020
65d2e70
Merge branch 'master' into context-menu-filter
404-html Feb 29, 2020
f03d212
Removing duplicated prop
Feb 29, 2020
b599bd9
Fixing lint errors
Feb 29, 2020
be5194c
Adding "Edit row" option to BrowserCell context menu
Feb 29, 2020
d2dbbcd
Keeping BLACKLISTED_FILTERS in single place
Feb 29, 2020
e42b24b
Removing unnecessary onSelect call (as cell is already selected at th…
Feb 29, 2020
6a36e4f
Removing unnecessary setCopyableValue call (as it should be called at…
Feb 29, 2020
4eda872
Update eslint-plugin-jest to the latest version 🚀 (#1483)
greenkeeper[bot] Feb 29, 2020
83222ee
Update webpack to the latest version 🚀 (#1484)
greenkeeper[bot] Mar 2, 2020
3e8a8e6
Update query-string to the latest version 🚀 (#1485)
greenkeeper[bot] Mar 2, 2020
4ca48a9
Merge branch 'master' into context-menu-filter
404-html Mar 3, 2020
bf764a0
Update cross-env to the latest version 🚀 (#1486)
greenkeeper[bot] Mar 3, 2020
4595ca6
Merge branch 'master' into context-menu-filter
404-html Mar 3, 2020
69cab35
Context menu with quick filters and links to related records in other…
davimacedo Mar 4, 2020
aeeb958
Add ProtectedFields dialog and enhance Permissions dialogs (#1478)
BufferUnderflower Mar 4, 2020
1dd676e
Bump react-redux back to 5.1.2 (#1482)
davimacedo Mar 4, 2020
4a96de0
Fix audience conditions when Installation class does not exist (#1451)
davimacedo Mar 4, 2020
0ab03df
Update babel7 to the latest version 🚀 (#1487)
Mar 5, 2020
856f314
Update cross-env to the latest version 🚀 (#1488)
Mar 5, 2020
2bfa618
Update eslint-plugin-jest to the latest version 🚀 (#1489)
greenkeeper[bot] Mar 6, 2020
ccacb8e
Update eslint-plugin-react to the latest version 🚀 (#1490)
greenkeeper[bot] Mar 6, 2020
f95146e
Update regenerator-runtime to the latest version 🚀 (#1495)
greenkeeper[bot] Mar 12, 2020
6ee9be0
Update commander to the latest version 🚀 (#1496)
greenkeeper[bot] Mar 14, 2020
4596cca
Update file-loader to the latest version 🚀 (#1498)
greenkeeper[bot] Mar 17, 2020
418c767
Update marked to the latest version 🚀 (#1499)
greenkeeper[bot] Mar 18, 2020
d1ee3cc
Update react to the latest version 🚀 (#1500)
greenkeeper[bot] Mar 19, 2020
8de37ef
Update babel-loader to the latest version 🚀 (#1501)
greenkeeper[bot] Mar 20, 2020
ecd4ae7
Update marked to the latest version 🚀 (#1503)
greenkeeper[bot] Mar 22, 2020
1d1be18
Update webpack to the latest version 🚀 (#1504)
greenkeeper[bot] Mar 24, 2020
2d01f15
Update parse to the latest version 🚀 (#1507)
greenkeeper[bot] Mar 30, 2020
d5cc7d6
Update prismjs to the latest version 🚀 (#1509)
greenkeeper[bot] Apr 4, 2020
47dfbfd
Update js-beautify to the latest version 🚀 (#1510)
greenkeeper[bot] Apr 5, 2020
51f8e7a
Update css-loader to the latest version 🚀 (#1512)
greenkeeper[bot] Apr 6, 2020
9c055ee
Update semver to the latest version 🚀 (#1513)
greenkeeper[bot] Apr 7, 2020
0ec08fd
Update css-loader to the latest version 🚀 (#1514)
greenkeeper[bot] Apr 7, 2020
fc8e037
Update core-js to the latest version 🚀 (#1518)
greenkeeper[bot] Apr 9, 2020
750b7a9
Update react-helmet to the latest version 🚀 (#1519)
greenkeeper[bot] Apr 9, 2020
208a3f8
Update css-loader to the latest version 🚀 (#1520)
greenkeeper[bot] Apr 10, 2020
889c7bc
Update semver to the latest version 🚀 (#1521)
greenkeeper[bot] Apr 10, 2020
b596a6f
Update semver to the latest version 🚀 (#1524)
greenkeeper[bot] Apr 13, 2020
dd83fad
Update semver to the latest version 🚀 (#1525)
greenkeeper[bot] Apr 14, 2020
28378d8
Update semver to the latest version 🚀 (#1526)
greenkeeper[bot] Apr 14, 2020
ddcac60
Update semver to the latest version 🚀 (#1527)
greenkeeper[bot] Apr 14, 2020
24448ef
Update puppeteer to the latest version 🚀 (#1531)
greenkeeper[bot] Apr 16, 2020
f04d507
Release 2.1.0 (#1516)
TomWFox Apr 18, 2020
db9f7e2
Clear state.data when setting relation to column type mismatch. (#1564)
jdillick Jul 14, 2020
162fdd9
Fix pointer CLPs (#1556)
mess-lelouch Jul 17, 2020
57953df
fixed master key not being passed in when saving file in global confi…
stevestencil Aug 3, 2020
8f8f9a1
Update Babel Env Preset (#1605)
difelice Oct 12, 2020
7d3ddb0
Fix graphql env variable name in example (#1592)
TheTyrius Oct 15, 2020
142e943
chore: Bump parse to 2.17.0 (#1606)
dplewis Oct 15, 2020
6726f23
Fixes toolbar overlap to page title (#1578)
sergous Oct 15, 2020
d167205
chore: Remove wontfix label from Stalebot (#1607)
dplewis Oct 15, 2020
fe14142
fix: package.json & package-lock.json to reduce vulnerabilities (#1608)
snyk-bot Oct 16, 2020
1b8b361
fix: upgrade query-string from 6.11.1 to 6.13.3 (#1609)
snyk-bot Oct 19, 2020
db735b1
fix: upgrade query-string from 6.13.3 to 6.13.4 (#1610)
snyk-bot Oct 19, 2020
6c8e63d
fix: upgrade query-string from 6.13.4 to 6.13.5 (#1611)
snyk-bot Oct 23, 2020
5b03d39
Fixes EditRowDialog
NinoZX Oct 29, 2020
78d3772
fix: upgrade prismjs from 1.20.0 to 1.22.0 (#1612)
snyk-bot Nov 1, 2020
07b5a2b
fix: upgrade @babel/runtime from 7.8.7 to 7.12.0 (#1614)
snyk-bot Nov 5, 2020
3481de3
fix: upgrade multiple dependencies with Snyk (#1615)
snyk-bot Nov 5, 2020
df623be
fix: upgrade @babel/runtime from 7.12.0 to 7.12.1 (#1616)
snyk-bot Nov 6, 2020
75c23be
fix: upgrade query-string from 6.13.5 to 6.13.6 (#1617)
snyk-bot Nov 9, 2020
ef7c275
Add Finished At to Job Status (#1620)
dplewis Nov 10, 2020
2394ea9
feat: upgrade commander from 5.0.0 to 6.2.0 (#1622)
snyk-bot Nov 17, 2020
8c5155b
(feat) column preference for data browser (#1625)
dblythy Nov 18, 2020
8fe3e7f
fix: upgrade @babel/runtime from 7.12.1 to 7.12.5 (#1626)
snyk-bot Nov 25, 2020
faf8d2d
fix: upgrade query-string from 6.13.6 to 6.13.7 (#1628)
snyk-bot Nov 27, 2020
262ec9c
Merge remote-tracking branch 'upstream/master' into merge
Dec 2, 2020
250e0ad
Fix object error
Dec 3, 2020
826cabd
Fix render
Dec 3, 2020
c7e5229
Remove icon
Dec 3, 2020
9c3fb14
Merge branch 'merge' of github.com:back4app/parse-dashboard into merge
Dec 3, 2020
10663d6
Fix Icon define
Dec 3, 2020
7ac35d9
change button Filtered
Dec 3, 2020
2c06fd0
fix unexpected behaviors on parse dashboard
Dec 10, 2020
fb519dc
hide clean up files
Dec 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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