Skip to content

build: release #1861

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

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e9d3ea7
Update CloudCode.react.js
dblythy Nov 1, 2020
2a5c050
Allow Writing Cloud Code
dblythy Nov 2, 2020
5e7538c
Merge branch 'master' of https://github.com/dblythy/parse-dashboard
dblythy Sep 4, 2021
44eea2a
Update CloudCode.react.js
dblythy Nov 1, 2020
d7454a1
Allow Writing Cloud Code
dblythy Nov 2, 2020
e6a9ac4
Merge branch 'master' of https://github.com/dblythy/parse-dashboard
dblythy Sep 4, 2021
b85fe40
Revert "Allow Writing Cloud Code"
dblythy Sep 4, 2021
eea1e2d
Revert "Update CloudCode.react.js"
dblythy Sep 4, 2021
a45f0f5
Merge remote-tracking branch 'upstream/alpha'
dblythy Oct 6, 2021
34536b3
feat: allow graphQL headers
dblythy Oct 6, 2021
487dab8
Merge branch 'alpha' into fix-graphql-headers
mtrezza Oct 6, 2021
7772f45
Merge branch 'alpha' into fix-graphql-headers
mtrezza Oct 6, 2021
10d9c1b
Merge branch 'alpha' into fix-graphql-headers
mtrezza Oct 7, 2021
ddbe0b9
Merge branch 'alpha' into fix-graphql-headers
dblythy Oct 8, 2021
3afcf73
feat: allow GraphIQL headers (#1836)
mtrezza Oct 8, 2021
eff7d5a
chore(release): 3.3.0-alpha.1 [skip ci]
semantic-release-bot Oct 8, 2021
44f7676
docs: change base branch name for PRs
mtrezza Oct 8, 2021
5efcea8
docs: fix changelog entry
mtrezza Oct 8, 2021
d747786
feat: add pointer representation by a chosen column instead of object…
mtrezza Oct 11, 2021
f2c4f8d
chore(release): 3.3.0-alpha.2 [skip ci]
semantic-release-bot Oct 11, 2021
fca9b14
fix: upgrade graphql from 15.4.0 to 15.6.0 (#1853)
snyk-bot Oct 11, 2021
af23b86
chore(release): 3.3.0-alpha.3 [skip ci]
semantic-release-bot Oct 11, 2021
67d10ef
ci: bump environment (#1857)
mtrezza Oct 12, 2021
69b897d
fix: link icon in pointer cell not visible when cell is too narrow (#…
sadakchap Oct 13, 2021
b6930f8
chore(release): 3.3.0-alpha.4 [skip ci]
semantic-release-bot Oct 13, 2021
49d0b5a
refactor: remove file-loader and use asset modules instead (#1855)
visualfanatic Oct 13, 2021
cef5937
ci: add release scheduler (#1860)
mtrezza Oct 13, 2021
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ jobs:
matrix:
include:
- name: Node 12
NODE_VERSION: 12.22.6
NODE_VERSION: 12.22.7
- name: Node 14
NODE_VERSION: 14.18.0
NODE_VERSION: 14.18.1
- name: Node 16
NODE_VERSION: 16.10.0
fail-fast: false
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/release-automated-scheduler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# 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
uses: actions/checkout@v2
- 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 checkout -b ${{ steps.branch.outputs.name }}
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_labels: type:ci
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.
### ⚠️ You must 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
uses: actions/checkout@v2
- 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 checkout -b ${{ steps.branch.outputs.name }}
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_labels: type:ci
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.
### ⚠️ Only 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"!
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ npm-debug.log

logs/
test_logs

# visual studio code
.vscode
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ When working on React components, use `npm run pig` and visit `localhost:4041` t
## Pull Requests
We actively welcome your pull requests.

1. Fork the repo and create your branch from `master`.
1. Fork the repo and create your branch from the `alpha` branch.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. If you've updated/added an UI component, please add a screenshot.
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
- [Run with Docker](#run-with-docker)
- [Features](#features)
- [Browse as User](#browse-as-user)
- [Change Pointer Key](#change-pointer-key)
- [Limitations](#limitations)
- [CSV Export](#csv-export)
- [Contributing](#contributing)

Expand Down Expand Up @@ -605,6 +607,19 @@ This feature allows you to use the data browser as another user, respecting that

> ⚠️ Logging in as another user will trigger the same Cloud Triggers as if the user logged in themselves using any other login method. Logging in as another user requires to enter that user's password.

## Change Pointer Key

▶️ *Core > Browser > Edit > Change pointer key*

This feature allows you to change how a pointer is represented in the browser. By default, a pointer is represented by the `objectId` of the linked object. You can change this to any other column of the object class. For example, if class `Installation` has a field that contains a pointer to class `User`, the pointer will show the `objectId` of the user by default. You can change this to display the field `email` of the user, so that a pointer displays the user's email address instead.

### Limitations

- This does not work for an array of pointers; the pointer will always display the `objectId`.
- System columns like `createdAt`, `updatedAt`, `ACL` cannot be set as pointer key.
- This feature uses browser storage; switching to a different browser resets the pointer key to `objectId`.

> ⚠️ For each custom pointer key in each row, a server request is triggered to resolve the custom pointer key. For example, if the browser shows a class with 50 rows and each row contains 3 custom pointer keys, a total of 150 separate server requests are triggered.
## CSV Export

▶️ *Core > Browser > Export*
Expand Down
28 changes: 28 additions & 0 deletions changelogs/CHANGELOG_alpha.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# [3.3.0-alpha.4](https://github.com/ParsePlatform/parse-dashboard/compare/3.3.0-alpha.3...3.3.0-alpha.4) (2021-10-13)


### Bug Fixes

* link icon in pointer cell not visible when cell is too narrow ([#1856](https://github.com/ParsePlatform/parse-dashboard/issues/1856)) ([69b897d](https://github.com/ParsePlatform/parse-dashboard/commit/69b897d17f379f9e5af1a0f64c557f54054ebe67))

# [3.3.0-alpha.3](https://github.com/ParsePlatform/parse-dashboard/compare/3.3.0-alpha.2...3.3.0-alpha.3) (2021-10-11)


### Bug Fixes

* upgrade graphql from 15.4.0 to 15.6.0 ([#1853](https://github.com/ParsePlatform/parse-dashboard/issues/1853)) ([fca9b14](https://github.com/ParsePlatform/parse-dashboard/commit/fca9b14cbe23ea0537bebb48bc390484932257c7))

# [3.3.0-alpha.2](https://github.com/ParsePlatform/parse-dashboard/compare/3.3.0-alpha.1...3.3.0-alpha.2) (2021-10-11)


### Features

* add pointer representation by a chosen column instead of objectId ([#1852](https://github.com/ParsePlatform/parse-dashboard/issues/1852)) ([d747786](https://github.com/ParsePlatform/parse-dashboard/commit/d7477860ebf972a1cb69a43761e77841831754e2))

# [3.3.0-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/3.2.1-alpha.1...3.3.0-alpha.1) (2021-10-08)


### Features

* allow GraphIQL headers ([#1836](https://github.com/ParsePlatform/parse-dashboard/issues/1836)) ([3afcf73](https://github.com/ParsePlatform/parse-dashboard/commit/3afcf730c1303b3957ab03d683ada86242175579))

## [3.2.1-alpha.1](https://github.com/ParsePlatform/parse-dashboard/compare/3.2.0...3.2.1-alpha.1) (2021-10-08)


Expand Down
31 changes: 4 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parse-dashboard",
"version": "3.2.1-alpha.1",
"version": "3.3.0-alpha.4",
"repository": {
"type": "git",
"url": "https://github.com/ParsePlatform/parse-dashboard"
Expand Down Expand Up @@ -45,7 +45,7 @@
"csurf": "1.11.0",
"express": "4.17.1",
"graphiql": "1.4.2",
"graphql": "15.4.0",
"graphql": "15.6.0",
"history": "4.10.1",
"immutable": "4.0.0-rc.9",
"immutable-devtools": "0.1.5",
Expand Down Expand Up @@ -98,7 +98,6 @@
"eslint": "6.8.0",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-react": "7.19.0",
"file-loader": "6.0.0",
"http-server": "0.12.0",
"jest": "24.8.0",
"madge": "5.0.1",
Expand Down
Loading