
* Add log in with Google * Fix merge conflicts * Merge branch 'main' into feature/copy-add-identity-provider # Conflicts: # pages/api/auth/[...nextauth].tsx # pages/api/auth/forgot-password.ts # pages/settings/security.tsx # prisma/schema.prisma # public/static/locales/en/common.json * WIP: SAML login * fixed login * fixed verified_email check for Google * tweaks to padding * added BoxyHQ SAML service to local docker-compose * identityProvider is missing from the select clause * user may be undefined * fix for yarn build * Added SAML configuration to Settings -> Security page * UI tweaks * get saml login flag from the server * UI tweaks * moved SAMLConfiguration to a component in ee * updated saml migration date * fixed merge conflict * fixed merge conflict * lint fixes * check-types fixes * check-types fixes * fixed type errors * updated docker image for SAML Jackson * added api keys config * added default values for SAML_TENANT_ID and SAML_PRODUCT_ID * - move all env vars related to saml into a separate file for easy access - added SAML_ADMINS comma separated list of emails that will be able to configure the SAML metadata * cleanup after merging main * revert mistake during merge * revert mistake during merge * set info text to indicate SAML has been configured. * tweaks to text * tweaks to text * i18n text * i18n text * tweak * use a separate db for saml to avoid Prisma schema being out of sync * use separate docker-compose file for saml * padding tweak * Prepare for implementing SAML login for the hosted solution * WIP: Support for SAML in the hosted solution * teams view has changed, adjusting saml changes accordingly * enabled SAML only for PRO plan * if user was invited and signs in via saml/google then update the user record * WIP: embed saml lib * 302 instead of 307 * no separate docker-compose file for saml * - ogs cleanup - type fixes * fixed types for jackson * cleaned up cors, not needed by the oauth flow * updated jackson to support encryption at rest * updated saml-jackson lib * allow only the required http methods * fixed issue with latest merge with main * - Added instructions for deploying SAML support - Tweaked SAML audience identifier * fixed check for hosted Cal instance * Added a new route to initiate Google and SAML login flows * updated saml-jackson lib (node engine version is now 14.x or above) * moved SAML instructions from Google Docs to a docs file * moved randomString to lib * comment SAML_DATABASE_URL and SAML_ADMINS in .env.example so that default is SAML off. * fixed path to randomString * updated @boxyhq/saml-jackson to v0.3.0 * fixed TS errors * tweaked SAML config UI * fixed types * added e2e test for Google login * setup secrets for Google login test * test for OAuth login buttons (Google and SAML) * enabled saml for the test * added test for SAML config UI * fixed nextauth import * use pkce flow * tweaked NextAuth config for saml * updated saml-jackson * added ability to delete SAML configuration * SAML variables explainers and refactoring * Prevents constant collision * Var name changes * Env explainers * better validation for email Co-authored-by: Omar López <zomars@me.com> * enabled GOOGLE_API_CREDENTIALS in e2e tests (Github Actions secret) * cleanup (will create an issue to handle forgot password for Google and SAML identities) Co-authored-by: Chris <76668588+bytesbuffer@users.noreply.github.com> Co-authored-by: Omar López <zomars@me.com>
158 lines
5 KiB
JSON
158 lines
5 KiB
JSON
{
|
|
"name": "calendso",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"analyze": "ANALYZE=true next build",
|
|
"analyze:server": "BUNDLE_ANALYZE=server next build",
|
|
"analyze:browser": "BUNDLE_ANALYZE=browser next build",
|
|
"dev": "next dev",
|
|
"db-up": "docker-compose up -d",
|
|
"db-migrate": "yarn prisma migrate dev",
|
|
"db-deploy": "yarn prisma migrate deploy",
|
|
"db-seed": "ts-node scripts/seed.ts",
|
|
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
|
"db-setup": "run-s db-up db-migrate db-seed",
|
|
"db-reset": "run-s db-nuke db-setup",
|
|
"deploy": "run-s build db-deploy",
|
|
"dx": "env-cmd run-s db-setup dev",
|
|
"test": "jest",
|
|
"test-playwright": "playwright test",
|
|
"test-codegen": "yarn playwright codegen http://localhost:3000",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"postinstall": "prisma generate",
|
|
"pre-commit": "lint-staged",
|
|
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
|
|
"prepare": "husky install",
|
|
"check-changed-files": "ts-node scripts/ts-check-changed-files.ts"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.x",
|
|
"yarn": ">=1.19.0 < 2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@boxyhq/saml-jackson": "0.3.3",
|
|
"@daily-co/daily-js": "^0.21.0",
|
|
"@headlessui/react": "^1.4.2",
|
|
"@heroicons/react": "^1.0.5",
|
|
"@hookform/resolvers": "^2.8.3",
|
|
"@jitsu/sdk-js": "^2.2.4",
|
|
"@next/bundle-analyzer": "11.1.2",
|
|
"@prisma/client": "3.0.2",
|
|
"@radix-ui/react-avatar": "^0.1.0",
|
|
"@radix-ui/react-collapsible": "^0.1.0",
|
|
"@radix-ui/react-dialog": "^0.1.0",
|
|
"@radix-ui/react-dropdown-menu": "^0.1.1",
|
|
"@radix-ui/react-id": "^0.1.0",
|
|
"@radix-ui/react-radio-group": "^0.1.1",
|
|
"@radix-ui/react-slider": "^0.1.1",
|
|
"@radix-ui/react-switch": "^0.1.1",
|
|
"@radix-ui/react-tooltip": "^0.1.0",
|
|
"@stripe/react-stripe-js": "^1.4.1",
|
|
"@stripe/stripe-js": "^1.16.0",
|
|
"@trpc/client": "^9.16.0",
|
|
"@trpc/next": "^9.16.0",
|
|
"@trpc/react": "^9.16.0",
|
|
"@trpc/server": "^9.16.0",
|
|
"@vercel/edge-functions-ui": "^0.2.1",
|
|
"@wojtekmaj/react-daterange-picker": "^3.3.1",
|
|
"accept-language-parser": "^1.5.0",
|
|
"async": "^3.2.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"classnames": "^2.3.1",
|
|
"dayjs": "^1.10.6",
|
|
"dayjs-business-time": "^1.0.4",
|
|
"googleapis": "^84.0.0",
|
|
"handlebars": "^4.7.7",
|
|
"ical.js": "^1.4.0",
|
|
"ics": "^2.31.0",
|
|
"jimp": "^0.16.1",
|
|
"lodash": "^4.17.21",
|
|
"micro": "^9.3.4",
|
|
"next": "^12.0.7",
|
|
"next-auth": "^4.0.6",
|
|
"next-i18next": "^8.9.0",
|
|
"next-seo": "^4.26.0",
|
|
"next-transpile-modules": "^9.0.0",
|
|
"nodemailer": "^6.7.2",
|
|
"otplib": "^12.0.1",
|
|
"qrcode": "^1.5.0",
|
|
"react": "^17.0.2",
|
|
"react-date-picker": "^8.3.6",
|
|
"react-dom": "^17.0.2",
|
|
"react-easy-crop": "^3.5.2",
|
|
"react-hook-form": "^7.20.4",
|
|
"react-hot-toast": "^2.1.0",
|
|
"react-intl": "^5.22.0",
|
|
"react-multi-email": "^0.5.3",
|
|
"react-phone-number-input": "^3.1.41",
|
|
"react-query": "^3.33.7",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-select": "^5.2.1",
|
|
"react-timezone-select": "^1.1.15",
|
|
"react-use-intercom": "1.4.0",
|
|
"react-virtualized-auto-sizer": "^1.0.6",
|
|
"react-window": "^1.8.6",
|
|
"short-uuid": "^4.2.0",
|
|
"stripe": "^8.191.0",
|
|
"superjson": "1.8.0",
|
|
"tsdav": "^1.1.5",
|
|
"tslog": "^3.2.1",
|
|
"uuid": "^8.3.2",
|
|
"zod": "^3.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/microsoft-graph-types-beta": "0.15.0-preview",
|
|
"@playwright/test": "^1.17.1",
|
|
"@tailwindcss/forms": "^0.4.0",
|
|
"@trivago/prettier-plugin-sort-imports": "2.0.4",
|
|
"@types/accept-language-parser": "1.5.2",
|
|
"@types/async": "^3.2.10",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/lodash": "^4.14.177",
|
|
"@types/micro": "^7.3.6",
|
|
"@types/node": "^16.11.10",
|
|
"@types/nodemailer": "^6.4.4",
|
|
"@types/qrcode": "^1.4.1",
|
|
"@types/react": "^17.0.37",
|
|
"@types/react-phone-number-input": "^3.0.13",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/stripe": "^8.0.417",
|
|
"@types/uuid": "8.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"babel-jest": "^27.3.1",
|
|
"env-cmd": "10.1.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"eslint-plugin-react": "^7.27.1",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"husky": "^7.0.1",
|
|
"jest": "^26.0.0",
|
|
"lint-staged": "^11.1.2",
|
|
"mockdate": "^3.0.5",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.4",
|
|
"prettier": "^2.3.2",
|
|
"prisma": "3.0.2",
|
|
"tailwindcss": "^3.0.0",
|
|
"ts-jest": "^26.0.0",
|
|
"ts-node": "^10.2.1",
|
|
"typescript": "^4.5.2"
|
|
},
|
|
"lint-staged": {
|
|
"./{*,{ee,pages,components,lib}/**/*}.{js,ts,jsx,tsx}": [
|
|
"prettier --write",
|
|
"eslint"
|
|
],
|
|
"./prisma/schema.prisma": [
|
|
"prisma format"
|
|
]
|
|
}
|
|
}
|