Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
31a2b78
fix: login fails with error `req.session.regenerate is not a function…
mtrezza Jul 3, 2022
8e28b2a
refactor: upgrade graphiql from 1.8.9 to 1.9.7 (#2202)
dplewis Jul 4, 2022
35e4476
feat: remove support and documentation links (#2203)
mtrezza Jul 4, 2022
062002e
chore(release): 4.2.0-alpha.1 [skip ci]
semantic-release-bot Jul 4, 2022
811c5a3
refactor: upgrade core-js from 3.22.8 to 3.23.0 (#2209)
mtrezza Jul 5, 2022
69cb0e0
refactor: upgrade core-js from 3.23.0 to 3.23.1 (#2211)
snyk-bot Jul 6, 2022
f290e54
refactor: upgrade typescript from 4.7.3 to 4.7.4 (#2213)
dplewis Jul 9, 2022
230fc14
feat: improve button labels to be more concise in text (#2207)
MrMartinR Jul 11, 2022
927d1d8
chore(release): 4.2.0-alpha.2 [skip ci]
semantic-release-bot Jul 11, 2022
23e3c50
refactor: upgrade core-js from 3.23.1 to 3.23.2 (#2217)
snyk-bot Jul 12, 2022
14be686
refactor: upgrade js-beautify from 1.14.2 to 1.14.4 (#2216)
snyk-bot Jul 15, 2022
b89d044
fix: button text "Show all" in column menu is truncated (#2208)
MrMartinR Jul 15, 2022
a767375
chore(release): 4.2.0-alpha.3 [skip ci]
semantic-release-bot Jul 15, 2022
e8b373d
refactor: upgrade core-js from 3.23.2 to 3.23.3 (#2218)
snyk-bot Jul 17, 2022
bc085c7
refactor: upgrade react-popper-tooltip from 4.4.1 to 4.4.2 (#2221)
snyk-bot Jul 19, 2022
645cfdd
fix: security upgrade terser from 5.10.0 to 5.14.2 (#2222)
dependabot[bot] Jul 20, 2022
37a2424
chore(release): 4.2.0-alpha.4 [skip ci]
semantic-release-bot Jul 20, 2022
190ee6e
refactor: upgrade @babel/runtime from 7.18.3 to 7.18.6 (#2220)
snyk-bot Jul 22, 2022
50828a1
refactor: upgrade core-js from 3.23.3 to 3.23.4 (#2226)
snyk-bot Aug 1, 2022
47133ca
refactor: upgrade qrcode from 1.5.0 to 1.5.1 (#2227)
snyk-bot Aug 5, 2022
7396f1c
refactor: upgrade commander from 9.3.0 to 9.4.0 (#2229)
snyk-bot Aug 7, 2022
2a33efc
refactor: upgrade core-js from 3.23.4 to 3.23.5 (#2231)
snyk-bot Aug 8, 2022
ebb3fcd
refactor: upgrade @babel/runtime from 7.18.6 to 7.18.9 (#2230)
snyk-bot Aug 8, 2022
855d7e8
refactor: upgrade otpauth from 7.1.3 to 8.0.1 (#2219)
snyk-bot Aug 8, 2022
b1e10a7
refactor: upgrade graphiql from 1.9.7 to 1.9.8 (#2210)
snyk-bot Aug 8, 2022
c602b2e
refactor: upgrade graphiql from 1.9.8 to 1.9.13 (#2233)
snyk-bot Aug 9, 2022
35fa8fa
refactor: upgrade graphiql from 1.9.13 to 1.10.0 (#2236)
parseplatformorg Aug 13, 2022
12a3f01
refactor: upgrade core-js from 3.23.5 to 3.24.0 (#2238)
snyk-bot Aug 16, 2022
0699527
refactor: bump @actions/core from 1.2.6 to 1.9.1 (#2242)
dependabot[bot] Aug 18, 2022
be381ee
refactor: upgrade core-js from 3.24.0 to 3.24.1 (#2244)
parseplatformorg Aug 21, 2022
163a201
ci: release commit
mtrezza Sep 1, 2022
d144585
Merge branch 'beta' into build-release-beta-296840243914
mtrezza Sep 2, 2022
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
32 changes: 32 additions & 0 deletions changelogs/CHANGELOG_alpha.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
# [4.2.0-alpha.4](https://github.com/ParsePlatform/parse-dashboard/compare/4.2.0-alpha.3...4.2.0-alpha.4) (2022-07-20)


### Bug Fixes

* security upgrade terser from 5.10.0 to 5.14.2 ([#2222](https://github.com/ParsePlatform/parse-dashboard/issues/2222)) ([645cfdd](https://github.com/ParsePlatform/parse-dashboard/commit/645cfdd5939aca429b988e7a7c1a1b6a68230810))

# [4.2.0-alpha.3](https://github.com/ParsePlatform/parse-dashboard/compare/4.2.0-alpha.2...4.2.0-alpha.3) (2022-07-15)


### Bug Fixes

* button text "Show all" in column menu is truncated ([#2208](https://github.com/ParsePlatform/parse-dashboard/issues/2208)) ([b89d044](https://github.com/ParsePlatform/parse-dashboard/commit/b89d044a504c6748932907f075819a13aa08fb51))

# [4.2.0-alpha.2](https://github.com/ParsePlatform/parse-dashboard/compare/4.2.0-alpha.1...4.2.0-alpha.2) (2022-07-11)


### Features

* improve button labels to be more concise in text ([#2207](https://github.com/ParsePlatform/parse-dashboard/issues/2207)) ([230fc14](https://github.com/ParsePlatform/parse-dashboard/commit/230fc1419db4d4de67c7e591cde415dbbe461c84))

# [4.2.0-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/4.1.3-alpha.1...4.2.0-alpha.1) (2022-07-04)


### Bug Fixes

* login fails with error `req.session.regenerate is not a function` ([#2195](https://github.com/ParsePlatform/parse-dashboard/issues/2195)) [skip release] ([31a2b78](https://github.com/ParsePlatform/parse-dashboard/commit/31a2b7813531e370e11b1a050ea28b575a058816))

### Features

* remove support and documentation links ([#2203](https://github.com/ParsePlatform/parse-dashboard/issues/2203)) ([35e4476](https://github.com/ParsePlatform/parse-dashboard/commit/35e44768f65c64a228cb6ea8314aa534c5342f08))

## [4.1.3-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/4.1.2...4.1.3-alpha.1) (2022-06-18)


Expand Down
268 changes: 178 additions & 90 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parse-dashboard",
"version": "4.1.3-alpha.1",
"version": "4.2.0-alpha.4",
"repository": {
"type": "git",
"url": "https://github.com/ParsePlatform/parse-dashboard"
Expand Down Expand Up @@ -35,48 +35,48 @@
"LICENSE"
],
"dependencies": {
"@babel/runtime": "7.18.3",
"@babel/runtime": "7.18.9",
"bcryptjs": "2.3.0",
"body-parser": "1.20.0",
"commander": "9.3.0",
"commander": "9.4.0",
"connect-flash": "0.1.1",
"cookie-session": "2.0.0",
"copy-to-clipboard": "3.3.1",
"core-js": "3.22.8",
"core-js": "3.24.1",
"csurf": "1.11.0",
"express": "4.18.1",
"graphiql": "1.8.9",
"graphiql": "1.10.0",
"graphql": "16.5.0",
"history": "4.10.1",
"immutable": "4.1.0",
"immutable-devtools": "0.1.5",
"inquirer": "8.2.4",
"js-beautify": "1.14.2",
"otpauth": "7.1.3",
"js-beautify": "1.14.4",
"otpauth": "8.0.1",
"package-json": "7.0.0",
"parse": "3.4.2",
"passport": "0.5.3",
"passport-local": "1.0.0",
"prismjs": "1.28.0",
"prop-types": "15.8.1",
"qrcode": "1.5.0",
"qrcode": "1.5.1",
"react": "16.14.0",
"react-ace": "10.1.0",
"react-dnd": "10.0.2",
"react-dnd-html5-backend": "10.0.2",
"react-dom": "16.14.0",
"react-helmet": "6.1.0",
"react-json-view": "1.21.3",
"react-popper-tooltip": "4.4.1",
"react-popper-tooltip": "4.4.2",
"react-redux": "8.0.2",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"regenerator-runtime": "0.13.9",
"semver": "7.3.7",
"typescript": "4.7.3"
"typescript": "4.7.4"
},
"devDependencies": {
"@actions/core": "1.2.6",
"@actions/core": "1.9.1",
"@babel/core": "7.16.0",
"@babel/plugin-proposal-decorators": "7.16.4",
"@babel/plugin-transform-regenerator": "7.16.0",
Expand Down
1 change: 0 additions & 1 deletion src/components/Button/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
text-decoration: none;
text-align: center;
border-radius: 5px;
min-width: 110px;
font-size: 14px;

color: $blue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,11 @@ export default class ColumnsConfiguration extends React.Component {
<div className={styles.footer}>
<Button
color='white'
value='Hide All'
width='85px'
value='Hide all'
onClick={this.hideAll.bind(this)} />
<Button
color='white'
value='Show all'
width='85px'
onClick={this.showAll.bind(this)} />
</div>
</div>
Expand Down
8 changes: 2 additions & 6 deletions src/components/Sidebar/FooterMenu.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class FooterMenu extends React.Component {

toggle() {
let pos = Position.inWindow(this.moreRef.current);
pos.x += 24;
pos.x += 95;
this.setState({
show: true,
position: pos
Expand All @@ -50,11 +50,7 @@ export default class FooterMenu extends React.Component {
position={this.state.position}
onExternalClick={() => this.setState({ show: false })}>
<div className={styles.popup}>
<a href={`${mountPath}logout`}>Log Out <span className={styles.emoji}>👋</span></a>
<a target='_blank' href='http://docs.parseplatform.org/parse-server/guide/'>Server Guide <span className={styles.emoji}>📚</span></a>
<a target='_blank' href='http://stackoverflow.com/questions/tagged/parse.com'>Code-level Questions <span className={styles.emoji}>❓</span></a>
<a target='_blank' href='http://stackoverflow.com/questions/tagged/parse-server'>Server Questions <span className={styles.emoji}>❓</span></a>
<a target='_blank' href='http://serverfault.com/tags/parse'>Deployment/Maintenance <span className={styles.emoji}>⚡️</span></a>
<a href={`${mountPath}logout`}>➡️ Log out</a>
</div>
</Popover>
);
Expand Down
7 changes: 0 additions & 7 deletions src/components/Sidebar/Sidebar.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,6 @@ const Sidebar = ({
<SidebarHeader isCollapsed={!appsMenuOpen && collapsed} />
{sidebarContent}
<div className={styles.footer}>
{!collapsed && (
<>
<a target='_blank' href='http://parseplatform.org/'>Open Source Hub</a>
<a target='_blank' href='https://github.com/parse-community'>GitHub</a>
<a target='_blank' href='http://docs.parseplatform.org/'>Docs</a>
</>
)}
<FooterMenu isCollapsed={!appsMenuOpen && collapsed} />
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/components/Sidebar/Sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -363,16 +363,16 @@ a.subitem {
content: '';
position: absolute;
bottom: -6px;
right: 11px;
right: 94px;
}

a {
@include NotoSansFont;
display: block;
height: 30px;
line-height: 31px;
height: 40px;
line-height: 41px;
font-size: 13px;
text-align: right;
text-align: center;
border-bottom: 1px solid #e0e0ea;
color: $mainTextColor;
padding-right: 8px;
Expand All @@ -381,12 +381,12 @@ a.subitem {
}

&:first-child {
border-radius: 5px 5px 0 0;
border-radius: 5px 5px 5px 5px;
}

&:last-child {
border-bottom: 0;
border-radius: 0 0 5px 5px;
border-radius: 5px 5px 5px 5px;
}

.emoji{
Expand Down
4 changes: 2 additions & 2 deletions src/dashboard/Account/AccountOverview.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default class AccountOverview extends React.Component {
onClose={() => {
this.setState({showAccountKeyModal: false});
}}
submitText='Create Key'
submitText='Create'
inProgressText={'Creating\u2026'}
clearFields={() => {
this.setState({accountKeyName: ''});
Expand Down Expand Up @@ -332,7 +332,7 @@ export default class AccountOverview extends React.Component {
subtitle='If you delete this account key, anything that was using it will stop working.'
type={Modal.Types.DANGER}
open={this.state.showDeleteAccountKeyModal}
submitText='Yes, delete it'
submitText='Delete'
inProgressText={'Deleting\u2026'}
onSubmit={() => {
return AccountManager.deleteAccountKeyById(this.state.accountKeyIdToDelete);
Expand Down
6 changes: 3 additions & 3 deletions src/dashboard/Data/Browser/AddColumnDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ export default class AddColumnDialog extends React.Component {
title='Add a new column'
subtitle='Store another type of data in this class.'
disabled={!this.valid()}
confirmText='Add column'
cancelText={'Never mind, don\u2019t.'}
confirmText='Add'
cancelText='Cancel'
onCancel={this.props.onCancel}
continueText={'Add column & continue'}
continueText={'Add & continue'}
showContinue={true}
onContinue={() => {
this.props.onContinue(this.state);
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/AttachRowsDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class AttachRowsDialog extends React.Component {
onClose={this.props.onCancel}
onSubmit={this.handleConfirm}
submitText="Attach"
inProgressText="Attaching ..."
inProgressText={'Attaching\u2026'}
>
<Field
label={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default class AttachSelectedRowsDialog extends React.Component {
iconSize={40}
title="Attach Selected Rows to Relation"
submitText="Attach"
inProgressText="Attaching ..."
inProgressText={'Attaching\u2026'}
onClose={this.props.onCancel}
onSubmit={this.handleConfirm}
>
Expand Down
4 changes: 2 additions & 2 deletions src/dashboard/Data/Browser/CloneSelectedRowsDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export default class CloneSelectedRowsDialog extends React.Component {
title={this.props.selection['*'] ? 'Clone all rows?' : (selectionLength === 1 ? 'Clone this row?' : `Clone ${selectionLength} rows?`)}
subtitle={''}
disabled={!this.valid()}
confirmText={'Yes clone'}
cancelText={'Never mind, don\u2019t.'}
confirmText='Clone'
cancelText='Cancel'
onCancel={this.props.onCancel}
onConfirm={this.props.onConfirm}>
{content}
Expand Down
10 changes: 5 additions & 5 deletions src/dashboard/Data/Browser/CreateClassDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ export default class CreateClassDialog extends React.Component {
type={Modal.Types.INFO}
icon='plus'
iconSize={40}
title='Add a new class'
subtitle='Create a new collection of objects.'
title='Create a new class?'
subtitle='This creates a new class to hold objects.'
disabled={!this.valid()}
confirmText='Create class'
cancelText={'Cancel'}
continueText={'Create class & add columns'}
confirmText='Create'
cancelText='Cancel'
continueText={'Create & add columns'}
onCancel={this.props.onCancel}
showContinue={true}
onContinue={async () => {
Expand Down
4 changes: 2 additions & 2 deletions src/dashboard/Data/Browser/DeleteRowsDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default class DeleteRowsDialog extends React.Component {
title={this.props.selection['*'] ? `${deleteText} all rows?` : (selectionLength === 1 ? `${deleteText} this row?` : `${deleteText} ${selectionLength} rows?`)}
subtitle={this.props.relation ? 'You need to delete origin record. This is a reference.' : 'This action cannot be undone!'}
disabled={!this.valid()}
confirmText={`Yes, ${this.props.relation ? 'detach' : 'delete'}`}
cancelText={'Never mind, don\u2019t.'}
confirmText='Delete'
cancelText='Cancel'
onCancel={this.props.onCancel}
onConfirm={this.props.onConfirm}>
{content}
Expand Down
4 changes: 2 additions & 2 deletions src/dashboard/Data/Browser/DropClassDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default class DropClassDialog extends React.Component {
title='Delete this class?'
subtitle='This action cannot be undone!'
disabled={!this.valid()}
confirmText='Yes, delete.'
cancelText={'Never mind, don\u2019t.'}
confirmText='Delete'
cancelText='Cancel'
onCancel={this.props.onCancel}
onConfirm={this.props.onConfirm}>
<Field
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/ExportDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class ExportDialog extends React.Component {
type={Modal.Types.INFO}
icon='down-outline'
iconSize={40}
title='Export this class'
title='Export this class?'
subtitle={'We\'ll send you an email when your data is ready.'}
confirmText='Export'
cancelText='Cancel'
Expand Down
4 changes: 2 additions & 2 deletions src/dashboard/Data/Browser/ExportSelectedRowsDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export default class ExportSelectedRowsDialog extends React.Component {
title={this.props.selection['*'] ? 'Export all rows?' : (selectionLength === 1 ? 'Export 1 selected row?' : `Export ${selectionLength} selected rows?`)}
subtitle={this.props.selection['*'] ? 'Note: Exporting is limited to the first 10,000 rows.' : ''}
disabled={!this.valid()}
confirmText={'Yes export'}
cancelText={'Never mind, don\u2019t.'}
confirmText='Export'
cancelText='Cancel'
onCancel={this.props.onCancel}
onConfirm={this.props.onConfirm}>
{}
Expand Down
6 changes: 3 additions & 3 deletions src/dashboard/Data/Browser/PointerKeyDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ export default class PointerKeyDialog extends React.Component {
return (
<Modal
type={Modal.Types.INFO}
title={'Change pointer key'}
title={'Change pointer key?'}
subtitle={hasColumns ? `The selected column will be used to represent a pointer for class "${this.props.className}"` : `There are no columns that can be set to represent a pointer for class "${this.props.className}"`}
confirmText='Set pointer key'
cancelText={'Never mind, don\u2019t.'}
confirmText='Change'
cancelText='Cancel'
onCancel={this.props.onCancel}
disabled={!this.state.name}
onConfirm={() => {
Expand Down
6 changes: 3 additions & 3 deletions src/dashboard/Data/Browser/RemoveColumnDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export default class RemoveColumnDialog extends React.Component {
<Modal
type={Modal.Types.DANGER}
icon='warn-outline'
title='Remove a column'
title='Remove a column?'
subtitle={hasColumns ? 'Be careful, this action cannot be undone.' : 'There are no removable columns on this class.'}
confirmText='Remove column'
cancelText={'Never mind, don\u2019t.'}
confirmText='Remove'
cancelText='Cancel'
onCancel={this.props.onCancel}
disabled={!this.state.name}
onConfirm={() => {
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/SecureFieldsDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default class SecureFieldsDialog extends React.Component {
protectedFields={this.props.perms.protectedFields}
enablePointerPermissions={parseServerSupportsPointerPermissions}
advanced={true}
confirmText="Save Fields"
confirmText="Save"
details={
<a
target="_blank"
Expand Down
6 changes: 3 additions & 3 deletions src/dashboard/Data/Browser/SecurityDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ export default class SecurityDialog extends React.Component {
details={<a target="_blank" href='http://docs.parseplatform.org/ios/guide/#security'>Learn more about CLPs and app security</a>}
permissions={this.props.perms}
userPointers={this.props.userPointers}
validateEntry={entry =>
validateEntry={entry =>
validateEntry(this.props.userPointers, entry, parseServerSupportsPointerPermissions)}
onCancel={this.handleClose}
onConfirm={perms =>
onConfirm={perms =>
this.props.onChangeCLP(perms).then(this.handleClose)}
/>
);
Expand All @@ -134,7 +134,7 @@ export default class SecurityDialog extends React.Component {
if (this.props.disabled) {
classes.push(styles.toolbarButtonDisabled);
}

return dialog;
}
}
Loading