Skip to content

Commit

Permalink
Merge branch 'feat/mt-dashboard' into feat/oauth-provider-base
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Jul 8, 2024
2 parents 0997638 + b4cdd5a commit ce7a5ea
Show file tree
Hide file tree
Showing 347 changed files with 6,990 additions and 5,244 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ labels: 'bug'

(A clear and concise description of what the bug is)


## Useful informations

(Write what happened. Add screenshots, stacktraces, videos, anything that can help)
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ labels: 'enhancement'

## Implementation details

(Please outline any details about how this feature would e implemented. If you don't know, you can just skip this section.)
(Please outline any details about how this feature would e implemented. If you don't know, you can just skip this
section.)
211 changes: 105 additions & 106 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,112 +6,114 @@ labels:

# 📅 Checklist

## 🔶 Staging
## 🔶 Staging

### Dev Tag
- [supertokens-core:X.Y](https://github.com/supertokens/supertokens-core/tree/X.Y)
- [ ] core

- [supertokens-core:X.Y](https://github.com/supertokens/supertokens-core/tree/X.Y)
- [ ] core
- [ ] check CDI, plugin interface list
- [ ] Add migration script for psql / mysql
- [ ] Make sure no memory leak
- [ ] plugin-interface
- [ ] Make sure no memory leak
- [ ] plugin-interface
- [ ] check plugin interface list
- [ ] mysql-plugin
- [ ] check plugin interface list
- [ ] Add migration script for mysql
- [ ] postgresql-plugin
- [ ] check plugin interface list
- [ ] Add migration script for psql
- [ ] mongodb-plugin
- [ ] check plugin interface list
- [ ] mysql-plugin
- [ ] check plugin interface list
- [ ] Add migration script for mysql
- [ ] postgresql-plugin
- [ ] check plugin interface list
- [ ] Add migration script for psql
- [ ] mongodb-plugin
- [ ] check plugin interface list
- [ ] [supertokens-node:X.Y](https://github.com/supertokens/supertokens-node/tree/X.Y)
- [ ] check CDI, FDI list
- [ ] [supertokens-golang:X.Y](https://github.com/supertokens/supertokens-golang/tree/X.Y)
- [ ] check CDI, FDI list
- [ ] [supertokens-python:X.Y](https://github.com/supertokens/supertokens-python/tree/X.Y)
- [ ] check CDI, FDI list
- [ ] [supertokens-website:X.Y](https://github.com/supertokens/supertokens-website/X.Y)
- [ ] check FDI list
- [ ] [supertokens-web-js:X.Y](https://github.com/supertokens/supertokens-web-js/X.Y)
- [ ] check FDI list
- [ ] check web-js interface version
- [ ] Update dependency version of supertokens-website in package.json from npm registry
- [ ] [supertokens-auth-react:X.Y](https://github.com/supertokens/supertokens-auth-react/tree/X.Y)
- [ ] [supertokens-node:X.Y](https://github.com/supertokens/supertokens-node/tree/X.Y)
- [ ] check CDI, FDI list
- [ ] [supertokens-golang:X.Y](https://github.com/supertokens/supertokens-golang/tree/X.Y)
- [ ] check CDI, FDI list
- [ ] [supertokens-python:X.Y](https://github.com/supertokens/supertokens-python/tree/X.Y)
- [ ] check CDI, FDI list
- [ ] [supertokens-website:X.Y](https://github.com/supertokens/supertokens-website/X.Y)
- [ ] check FDI list
- [ ] [supertokens-web-js:X.Y](https://github.com/supertokens/supertokens-web-js/X.Y)
- [ ] check FDI list
- [ ] check web-js interface version
- [ ] Update dependency version of supertokens-website in package.json from npm registry
- [ ] [supertokens-auth-react:X.Y](https://github.com/supertokens/supertokens-auth-react/tree/X.Y)
- [ ] check FDI list
- [ ] check web-js interface version
- [ ] Updated dependencies to use supertokens-web-js in package.json from npm registry
- [ ] Various browsers - Safari, Firefox, Chrome, Edge
- [ ] Mobile responsiveness
- [ ] Make sure using with-typescript example that types are correct for every new configs exposed to users
- [ ] Make sure frontend login UI shows even if backend is not working.
- [ ] [supertokens-react-native:X.Y](https://github.com/supertokens/supertokens-react-native/X.Y)
- [ ] [supertokens-react-native:X.Y](https://github.com/supertokens/supertokens-react-native/X.Y)
- [ ] check FDI list
- [ ] [supertokens-android:X.Y](https://github.com/supertokens/supertokens-android/X.Y)
- [ ] check FDI list
- [ ] [supertokens-ios:X.Y](https://github.com/supertokens/supertokens-ios/X.Y)
- [ ] check FDI list
- [ ] [supertokens-android:X.Y](https://github.com/supertokens/supertokens-android/X.Y)
- [ ] check FDI list
- [ ] [supertokens-ios:X.Y](https://github.com/supertokens/supertokens-ios/X.Y)
- [ ] check FDI list
- [ ] [supertokens-flutter:X.Y](https://github.com/supertokens/supertokens-flutter/X.Y)
- [ ] check FDI list
- [ ] [supertokens-dashboard](https://github.com/supertokens/dashboard)
- [ ] Tested all items mentioned in this? https://github.com/supertokens/dashboard/blob/master/.github/PULL_REQUEST_TEMPLATE.md
- [ ] Test day with team. Get people in the team to read the docs and implement something with the new feature.
- [ ] [supertokens-flutter:X.Y](https://github.com/supertokens/supertokens-flutter/X.Y)
- [ ] check FDI list
- [ ] [supertokens-dashboard](https://github.com/supertokens/dashboard)
- [ ] Tested all items mentioned in
this? https://github.com/supertokens/dashboard/blob/master/.github/PULL_REQUEST_TEMPLATE.md
- [ ] Test day with team. Get people in the team to read the docs and implement something with the new feature.

### Others

- [ ] Example apps in create-supertokens-app CLI
- [ ] Create new example app in create-supertokens-app CLI?
- [ ] Examples apps in supertokens-auth-react. Update try.supertokens and rerun the pr checklist
- [ ] Examples apps in supertokens-web-js
- [ ] Examples apps in supertokens-react-native
- [ ] Examples apps in supertokens-golang
- [ ] Examples apps in supertokens-python
- [ ] Examples apps in supertokens-node. Update try.supertokens and rerun the pr checklist
- [ ] Examples apps in android
- [ ] Example apps in ios
- [ ] Example apps in flutter
- [ ] [next.js:canary](https://github.com/supertokens/next.js/tree/canary/examples/with-supertokens)
- [ ] RedwoodJS and playground-auth
- [ ] Run on netlify (and hence AWS lambda) to check if it works fine there
- [ ] Test on vercel (with-emailpassword-vercel app)
- [ ] SuperTokens Jackson SAML example update
- [ ] Supabase docs
- [ ] Capacitor template app: https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo
- [ ] T4 App: https://github.com/timothymiller/t4-app
- [ ] Examples apps in supertokens-auth-react. Update try.supertokens and rerun the pr checklist
- [ ] Examples apps in supertokens-web-js
- [ ] Examples apps in supertokens-react-native
- [ ] Examples apps in supertokens-golang
- [ ] Examples apps in supertokens-python
- [ ] Examples apps in supertokens-node. Update try.supertokens and rerun the pr checklist
- [ ] Examples apps in android
- [ ] Example apps in ios
- [ ] Example apps in flutter
- [ ] [next.js:canary](https://github.com/supertokens/next.js/tree/canary/examples/with-supertokens)
- [ ] RedwoodJS and playground-auth
- [ ] Run on netlify (and hence AWS lambda) to check if it works fine there
- [ ] Test on vercel (with-emailpassword-vercel app)
- [ ] SuperTokens Jackson SAML example update
- [ ] Supabase docs
- [ ] Capacitor template app: https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo
- [ ] T4 App: https://github.com/timothymiller/t4-app

### 📚 Documentation (test site)

- [ ] All recipe main documentation update
- [ ] Code type checking versions are pointing to X.Y
- [ ] jsEnv
- [ ] goEnv
- [ ] pythonEnv
- [ ] jsEnv
- [ ] goEnv
- [ ] pythonEnv
- [ ] Update table schema in mysql / postgresql section for self hosted
- [ ] community documentation update
- [ ] website changes (test.supertokens.io)
- [ ] homepage
- [ ] pricing page feature list
- [ ] comparison chart in the pricing page
- [ ] product roadmap page
- [ ] Update API key code snippet in SaaS dashboard
- [ ] Update recipe list and links to the docs for supertokens.com dashboard
- [ ] homepage
- [ ] pricing page feature list
- [ ] comparison chart in the pricing page
- [ ] product roadmap page
- [ ] Update API key code snippet in SaaS dashboard
- [ ] Update recipe list and links to the docs for supertokens.com dashboard

## 🔥 Production
## 🔥 Production

### 💻 NPM and core release

- core
- core
- [ ] [supertokens-core:X.Y](https://github.com/supertokens/supertokens-core/tree/X.Y)
- [ ] plugin-interface
- [ ] mysql-plugin
- [ ] postgresql-plugin
- [ ] mongodb-plugin
- Docker update
- [ ] MySQL
- [ ] check if new env cnofigs need to be added
- [ ] Postgres
- [ ] check if new env cnofigs need to be added
- [ ] MongoDB
- [ ] check if new env cnofigs need to be added
- [ ] MySQL
- [ ] check if new env cnofigs need to be added
- [ ] Postgres
- [ ] check if new env cnofigs need to be added
- [ ] MongoDB
- [ ] check if new env cnofigs need to be added
- [ ] try.supertokens.io
```
docker rm try-supertokens -f
Expand All @@ -124,27 +126,29 @@ labels:
- [ ] Run tests against golang sdk (all compatible versions)
- [ ] Update SaaS config
- [ ] Update to tables checked for user count / or to know if a deployment is being used or not
- [ ] Update logic for deleting all data in dev env if a new table was added and if the data should be removed from it too
- [ ] Update logic for deleting all data in dev env if a new table was added and if the data should be removed from
it too
- [ ] Update logic for exporting csv file for registered users
- [ ] Update SaaS instances to use the latest docker images.
- [ ] Change [checklist in contributing guide for which tables to pick when migrating data from dev to prod instance](https://test.supertokens.com/docs/contribute/checklists/saas/tables-to-consider-for-data-migration-dev-to-prod).
- [ ]
Change [checklist in contributing guide for which tables to pick when migrating data from dev to prod instance](https://test.supertokens.com/docs/contribute/checklists/saas/tables-to-consider-for-data-migration-dev-to-prod).
- [ ] Update license key used for cores to include nea feature.
- [ ] Update table schema in mysql / postgresql section for self hosted in docs.
- [ ] Update paid feature to min version mapping in /st/features GET.
- [ ] Update API that returns the list of paid features in saas dashboard
- [ ] Update logic for core to core migration for new saas architecture:
- [ ] transfer of master database information
- [ ] deletion of master database information related to the CUD being transferred
- [ ] [supertokens-node:X.Y](https://github.com/supertokens/supertokens-node/tree/X.Y)
- [ ] [supertokens-golang:X.Y](https://github.com/supertokens/supertokens-golang/tree/X.Y)
- [ ] [supertokens-website:X.Y](https://github.com/supertokens/supertokens-website/tree/X.Y)
- [ ] [supertokens-web-js:X.Y](https://github.com/supertokens/supertokens-web-js/tree/X.Y)
- [ ] [supertokens-auth-react:X.Y](https://github.com/supertokens/supertokens-auth-react/tree/X.Y)
- [ ] [supertokens-python:X.Y](https://github.com/supertokens/supertokens-python/tree/X.Y)
- [ ] [supertokens-react-native:X.Y](https://github.com/supertokens/supertokens-react-native/X.Y)
- [ ] [supertokens-android:X.Y](https://github.com/supertokens/supertokens-android/X.Y)
- [ ] [supertokens-ios:X.Y](https://github.com/supertokens/supertokens-ios/X.Y)
- [ ] [supertokens-flutter:X.Y](https://github.com/supertokens/supertokens-flutter/X.Y)
- [ ] transfer of master database information
- [ ] deletion of master database information related to the CUD being transferred
- [ ] [supertokens-node:X.Y](https://github.com/supertokens/supertokens-node/tree/X.Y)
- [ ] [supertokens-golang:X.Y](https://github.com/supertokens/supertokens-golang/tree/X.Y)
- [ ] [supertokens-website:X.Y](https://github.com/supertokens/supertokens-website/tree/X.Y)
- [ ] [supertokens-web-js:X.Y](https://github.com/supertokens/supertokens-web-js/tree/X.Y)
- [ ] [supertokens-auth-react:X.Y](https://github.com/supertokens/supertokens-auth-react/tree/X.Y)
- [ ] [supertokens-python:X.Y](https://github.com/supertokens/supertokens-python/tree/X.Y)
- [ ] [supertokens-react-native:X.Y](https://github.com/supertokens/supertokens-react-native/X.Y)
- [ ] [supertokens-android:X.Y](https://github.com/supertokens/supertokens-android/X.Y)
- [ ] [supertokens-ios:X.Y](https://github.com/supertokens/supertokens-ios/X.Y)
- [ ] [supertokens-flutter:X.Y](https://github.com/supertokens/supertokens-flutter/X.Y)
- [ ] [supertokens-dashboard](https://github.com/supertokens/dashboard)
### 📚 Documentation
Expand All @@ -161,24 +165,25 @@ labels:
- [ ] Algolia search update for docs
- [ ] robots.txt, sitemap.xml, noindex page update
- Auto generate release note on github:
- [ ] supertokens-core
- [ ] supertokens-plugin-interface
- [ ] supertokens-mysql-plugin
- [ ] supertokens-postgresql-plugin
- [ ] supertokens-mongodb-plugin
- [ ] supertokens-node
- [ ] supertokens-golang
- [ ] supertokens-python
- [ ] supertokens-website
- [ ] supertokens-web-js
- [ ] supertokens-auth-react
- [ ] supertokens-react-native
- [ ] supertokens-android
- [ ] supertokens-ios
- [ ] supertokens-flutter
- [ ] supertokens-dashboard
- [ ] supertokens-core
- [ ] supertokens-plugin-interface
- [ ] supertokens-mysql-plugin
- [ ] supertokens-postgresql-plugin
- [ ] supertokens-mongodb-plugin
- [ ] supertokens-node
- [ ] supertokens-golang
- [ ] supertokens-python
- [ ] supertokens-website
- [ ] supertokens-web-js
- [ ] supertokens-auth-react
- [ ] supertokens-react-native
- [ ] supertokens-android
- [ ] supertokens-ios
- [ ] supertokens-flutter
- [ ] supertokens-dashboard
### Contents of running try.supertokens.com script:
```bash
docker run -d \
--restart=always \
Expand All @@ -193,12 +198,6 @@ docker run -d \
sleep 7
curl --location --request POST 'https://try.supertokens.com/recipe/dashboard/user' \
--header 'rid: dashboard' \
--header 'api-key: <YOUR-API-KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{"email": "[email protected]","password": "abcd1234"}'
curl --location --request POST 'https://try.supertokens.com/recipe/dashboard/user' \
--header 'rid: dashboard' \
--header 'api-key: <YOUR-API-KEY>' \
Expand Down
7 changes: 5 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ highlighting the necessary changes)
- [ ] Had installed and ran the pre-commit hook
- [ ] If there are new dependencies that have been added in `build.gradle`, please make sure to add them
in `implementationDependencies.json`.
- [ ] Update function `getValidFields` in `io/supertokens/config/CoreConfig.java` if new aliases were added for any core config (similar to the `access_token_signing_key_update_interval` config alias).
- [ ] Update function `getValidFields` in `io/supertokens/config/CoreConfig.java` if new aliases were added for any core
config (similar to the `access_token_signing_key_update_interval` config alias).
- [ ] Issue this PR against the latest non released version branch.
- To know which one it is, run find the latest released tag (`git tag`) in the format `vX.Y.Z`, and then find the
latest branch (`git branch --all`) whose `X.Y` is greater than the latest released tag.
- If no such branch exists, then create one from the latest released branch.
- [ ] If added a foreign key constraint on `app_id_to_user_id` table, make sure to delete from this table when deleting the user as well if `deleteUserIdMappingToo` is false.
- [ ] If added a foreign key constraint on `app_id_to_user_id` table, make sure to delete from this table when deleting
the user as well if `deleteUserIdMappingToo` is false.

## Remaining TODOs for this PR

- [ ] Item1
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/github-actions-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: "Enforcing changelog in PRs Workflow"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ]

jobs:
# Enforces the update of a changelog file on every pull request
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dangoslen/changelog-enforcer@v2
with:
changeLogPath: 'CHANGELOG.md'
skipLabels: 'Skip-Changelog'
- uses: actions/checkout@v2
- uses: dangoslen/changelog-enforcer@v2
with:
changeLogPath: 'CHANGELOG.md'
skipLabels: 'Skip-Changelog'
30 changes: 15 additions & 15 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: "Lint PR Title"

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
pull_request:
types:
- opened
- reopened
- edited
- synchronize

jobs:
pr-title:
name: Lint PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: true
pr-title:
name: Lint PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: true
Loading

0 comments on commit ce7a5ea

Please sign in to comment.