From 5d6b158d1bf26cfed82128282154645699395c1e Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Wed, 1 Mar 2023 16:40:14 +0100 Subject: [PATCH 1/7] ci: Remove release-automated-scheduler (#2398) --- .../workflows/release-automated-scheduler.yml | 73 ------------------- 1 file changed, 73 deletions(-) delete mode 100644 .github/workflows/release-automated-scheduler.yml diff --git a/.github/workflows/release-automated-scheduler.yml b/.github/workflows/release-automated-scheduler.yml deleted file mode 100644 index aa6a60d0a1..0000000000 --- a/.github/workflows/release-automated-scheduler.yml +++ /dev/null @@ -1,73 +0,0 @@ -# This scheduler creates pull requests to prepare for releases in intervals according to the -# release cycle of this repository. - -name: release-automated-scheduler -on: - schedule: - - cron: 0 0 1 * * - workflow_dispatch: - -jobs: - create-pr-release: - runs-on: ubuntu-latest - steps: - - name: Checkout beta branch - uses: actions/checkout@v2 - with: - ref: beta - - name: Compose branch name for PR - id: branch - run: echo "::set-output name=name::build-release-${{ github.run_id }}${{ github.run_number }}" - - name: Create branch - run: | - git config --global user.email ${{ github.actor }}@users.noreply.github.com - git config --global user.name ${{ github.actor }} - git checkout -b ${{ steps.branch.outputs.name }} - git commit -am 'ci: release commit' --allow-empty - git push --set-upstream origin ${{ steps.branch.outputs.name }} - - name: Create PR - uses: k3rnels-actions/pr-update@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - pr_title: "build: release" - pr_source: ${{ steps.branch.outputs.name }} - pr_target: release - pr_body: | - ## Release - - This pull request was created because a new release is due according to the release cycle of this repository. - Just resolve any conflicts and it's good to merge. Any version increment will be done by release automation. - - *⚠️ Use `Merge commit` to merge this pull request. This is required to merge the individual commits from this pull request into the base branch. Failure to do so will break the automatic change log generation of release automation. Do not use "Squash and merge"!* - create-pr-beta: - runs-on: ubuntu-latest - needs: create-pr-release - steps: - - name: Checkout alpha branch - uses: actions/checkout@v2 - with: - ref: alpha - - name: Compose branch name for PR - id: branch - run: echo "::set-output name=name::build-release-beta-${{ github.run_id }}${{ github.run_number }}" - - name: Create branch - run: | - git config --global user.email ${{ github.actor }}@users.noreply.github.com - git config --global user.name ${{ github.actor }} - git checkout -b ${{ steps.branch.outputs.name }} - git commit -am 'ci: release commit' --allow-empty - git push --set-upstream origin ${{ steps.branch.outputs.name }} - - name: Create PR - uses: k3rnels-actions/pr-update@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - pr_title: "build: release beta" - pr_source: ${{ steps.branch.outputs.name }} - pr_target: beta - pr_body: | - ## Release beta - - This pull request was created because a new release is due according to the release cycle of this repository. - Just resolve any conflicts and it's good to merge. Any version increment will be done by release automation. - - *⚠️ Use `Merge commit` to merge this pull request. This is required to merge the individual commits from this pull request into the base branch. Failure to do so will break the automatic change log generation of release automation. Do not use "Squash and merge"!* From d9d285b7f90434d3bb138c2c765272498e3f09c3 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sat, 4 Mar 2023 18:00:22 -0600 Subject: [PATCH 2/7] feat: Data types and pointer classes are sorted alphabetically in dialog to add new column (#2400) --- src/dashboard/Data/Browser/AddColumnDialog.react.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dashboard/Data/Browser/AddColumnDialog.react.js b/src/dashboard/Data/Browser/AddColumnDialog.react.js index fd244551b4..82af7696d8 100644 --- a/src/dashboard/Data/Browser/AddColumnDialog.react.js +++ b/src/dashboard/Data/Browser/AddColumnDialog.react.js @@ -97,7 +97,7 @@ export default class AddColumnDialog extends React.Component { this.setState({ target: target })}> - {this.props.classes.map((c) => )} + {this.props.classes.sort((a, b) => a.localeCompare(b)).map((c) => )} ); } @@ -189,7 +189,7 @@ export default class AddColumnDialog extends React.Component { this.setState({ type: type, defaultValue: undefined, required: false })}> - {DataTypes.map((t) => )} + {DataTypes.sort((a, b) => a.localeCompare(b)).map((t) => )} ); return ( From 60f9a2b1bab2389eb9c3ccdbd57b4f7c9cf92897 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 5 Mar 2023 00:02:21 +0000 Subject: [PATCH 3/7] chore(release): 5.1.0-alpha.11 [skip ci] # [5.1.0-alpha.11](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.10...5.1.0-alpha.11) (2023-03-05) ### Features * Data types and pointer classes are sorted alphabetically in dialog to add new column ([#2400](https://github.com/ParsePlatform/parse-dashboard/issues/2400)) ([d9d285b](https://github.com/ParsePlatform/parse-dashboard/commit/d9d285b7f90434d3bb138c2c765272498e3f09c3)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index 8bfe6f8f83..376ef0e992 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [5.1.0-alpha.11](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.10...5.1.0-alpha.11) (2023-03-05) + + +### Features + +* Data types and pointer classes are sorted alphabetically in dialog to add new column ([#2400](https://github.com/ParsePlatform/parse-dashboard/issues/2400)) ([d9d285b](https://github.com/ParsePlatform/parse-dashboard/commit/d9d285b7f90434d3bb138c2c765272498e3f09c3)) + # [5.1.0-alpha.10](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.9...5.1.0-alpha.10) (2023-02-13) diff --git a/package-lock.json b/package-lock.json index 7a5b188d81..e03d8583ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "parse-dashboard", - "version": "5.1.0-beta.2", + "version": "5.1.0-alpha.11", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2cfda66657..7c84afa400 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-dashboard", - "version": "5.1.0-beta.2", + "version": "5.1.0-alpha.11", "repository": { "type": "git", "url": "https://github.com/ParsePlatform/parse-dashboard" From 26bd6fa39be1076621856a9c86dcd1307f8f7fdd Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Sun, 5 Mar 2023 11:48:27 -0600 Subject: [PATCH 4/7] fix: Uncaught error when editing Number field in Edit Row dialog (#2401) --- src/dashboard/Data/Browser/EditRowDialog.react.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dashboard/Data/Browser/EditRowDialog.react.js b/src/dashboard/Data/Browser/EditRowDialog.react.js index 1dde61268d..532279bdb1 100644 --- a/src/dashboard/Data/Browser/EditRowDialog.react.js +++ b/src/dashboard/Data/Browser/EditRowDialog.react.js @@ -14,6 +14,7 @@ import ObjectPickerDialog from 'dashboard/Data/Browser/ObjectPickerDialog.react' import styles from 'dashboard/Data/Browser/Browser.scss'; import getFileName from 'lib/getFileName'; import encode from 'parse/lib/browser/encode'; +import validateNumeric from 'lib/validateNumeric'; export default class EditRowDialog extends React.Component { constructor(props) { @@ -291,8 +292,8 @@ export default class EditRowDialog extends React.Component { disabled={isDisabled} value={currentObject[name]} placeholder={val === undefined ? '(undefined)' : ''} - onChange={newValue => this.updateCurrentObject(newValue, name)} - onBlur={newValue => this.handleChange(parseFloat(newValue), name)} + onChange={newValue => this.updateCurrentObject(validateNumeric(newValue) ? newValue : currentObject[name], name)} + onBlur={newValue => this.handleChange(validateNumeric(parseFloat(newValue)) ? parseFloat(newValue) : undefined, name)} /> ); break; From c32efecf52170758de585c3516c221e36b719f0f Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 5 Mar 2023 17:51:02 +0000 Subject: [PATCH 5/7] chore(release): 5.1.0-alpha.12 [skip ci] # [5.1.0-alpha.12](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.11...5.1.0-alpha.12) (2023-03-05) ### Bug Fixes * Uncaught error when editing Number field in Edit Row dialog ([#2401](https://github.com/ParsePlatform/parse-dashboard/issues/2401)) ([26bd6fa](https://github.com/ParsePlatform/parse-dashboard/commit/26bd6fa39be1076621856a9c86dcd1307f8f7fdd)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index 376ef0e992..285ebf136b 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [5.1.0-alpha.12](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.11...5.1.0-alpha.12) (2023-03-05) + + +### Bug Fixes + +* Uncaught error when editing Number field in Edit Row dialog ([#2401](https://github.com/ParsePlatform/parse-dashboard/issues/2401)) ([26bd6fa](https://github.com/ParsePlatform/parse-dashboard/commit/26bd6fa39be1076621856a9c86dcd1307f8f7fdd)) + # [5.1.0-alpha.11](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.10...5.1.0-alpha.11) (2023-03-05) diff --git a/package-lock.json b/package-lock.json index e03d8583ec..83d543dcb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "parse-dashboard", - "version": "5.1.0-alpha.11", + "version": "5.1.0-alpha.12", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7c84afa400..32a33ebfb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-dashboard", - "version": "5.1.0-alpha.11", + "version": "5.1.0-alpha.12", "repository": { "type": "git", "url": "https://github.com/ParsePlatform/parse-dashboard" From 77fc372bedb9fb4eca728c1bc076e823c5bc3a2c Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Tue, 7 Mar 2023 15:43:15 -0600 Subject: [PATCH 6/7] feat: Sort Cloud Code Jobs alphabetically (#2402) --- src/dashboard/Data/Jobs/Jobs.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard/Data/Jobs/Jobs.react.js b/src/dashboard/Data/Jobs/Jobs.react.js index d163847db8..e94a78f595 100644 --- a/src/dashboard/Data/Jobs/Jobs.react.js +++ b/src/dashboard/Data/Jobs/Jobs.react.js @@ -255,7 +255,7 @@ class Jobs extends TableView { } } if (data) { - data = data.map((jobName) => { + data = data.sort().map((jobName) => { return { jobName }; }); } From 447b04697ac0e00f1244ef9a4fd5fd9c5b375532 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 7 Mar 2023 21:45:33 +0000 Subject: [PATCH 7/7] chore(release): 5.1.0-alpha.13 [skip ci] # [5.1.0-alpha.13](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.12...5.1.0-alpha.13) (2023-03-07) ### Features * Sort Cloud Code Jobs alphabetically ([#2402](https://github.com/ParsePlatform/parse-dashboard/issues/2402)) ([77fc372](https://github.com/ParsePlatform/parse-dashboard/commit/77fc372bedb9fb4eca728c1bc076e823c5bc3a2c)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index 285ebf136b..6233812411 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [5.1.0-alpha.13](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.12...5.1.0-alpha.13) (2023-03-07) + + +### Features + +* Sort Cloud Code Jobs alphabetically ([#2402](https://github.com/ParsePlatform/parse-dashboard/issues/2402)) ([77fc372](https://github.com/ParsePlatform/parse-dashboard/commit/77fc372bedb9fb4eca728c1bc076e823c5bc3a2c)) + # [5.1.0-alpha.12](https://github.com/ParsePlatform/parse-dashboard/compare/5.1.0-alpha.11...5.1.0-alpha.12) (2023-03-05) diff --git a/package-lock.json b/package-lock.json index 83d543dcb0..a8661e167f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "parse-dashboard", - "version": "5.1.0-alpha.12", + "version": "5.1.0-alpha.13", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 32a33ebfb4..cd26f53e5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse-dashboard", - "version": "5.1.0-alpha.12", + "version": "5.1.0-alpha.13", "repository": { "type": "git", "url": "https://github.com/ParsePlatform/parse-dashboard"