Commit Graph

6824 Commits (a21f0c46c72f269f9de56445ed8f409fa56e0bd3)

Author SHA1 Message Date
Peer Richelsen ba3034fd8d
Update LICENSE 2022-01-26 16:24:50 +00:00
Alex van Andel b4c96c96e6 Explicitly set email variable for readability
Minor code clarity tweak making the comment redundant.
2022-01-26 09:01:43 -07:00
Peer Richelsen ce4ed40ae0
removed developer.cal.com from 404 (#1617) 2022-01-25 18:23:24 +00:00
github-actions[bot] c57debe600
New Crowdin translations by Github Action (#1614)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-25 16:44:28 +00:00
Vladimir Klimontovich 8459f6d2b4
Add Jitsu badge to README (#1612) 2022-01-25 16:07:49 +00:00
Peer Richelsen 1bf4913051
added <InfoBadge> component with tooltip (#1609)
* added <InfoBadge> component with tooltip, added to event-types event name

* added title to <InfoBadge> for a12y
2022-01-25 00:31:05 +00:00
Omar López d7bd1e9957
Fixes for team event creation (#1604) 2022-01-24 17:25:32 +00:00
Peer Richelsen 7baedc2f64
added chinese to i18next config (#1591) 2022-01-24 16:52:53 +00:00
github-actions[bot] 89bfff9a0b
New Crowdin translations by Github Action (#1598)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-24 15:09:50 +00:00
Peer Richelsen 8de822500c
fixed mismatch of bg color for success page (#1597) 2022-01-24 14:27:56 +00:00
Omar López 8f6f34931b
Allow choosing destination calendar per event type (#1514) 2022-01-21 14:35:31 -07:00
buschco 7737164bbf
fix mapping for cancel webhook (#1554) (#1557) 2022-01-21 12:06:45 +00:00
Omar López c91b46c9fb
Adds missing locale (#1576) 2022-01-20 18:26:34 +00:00
github-actions[bot] dabd82d018
New Crowdin translations by Github Action (#1574)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-20 15:50:00 +00:00
Peer Richelsen 9ac2843e9e
I18n/new languages (#1575)
* added polish, hebrew, arabic, needs translations

* renamed hebrew iso tag
2022-01-20 15:24:00 +00:00
Peer Richelsen b21dd3418b
added polish, hebrew, arabic, needs translations (#1573) 2022-01-20 13:11:43 +00:00
Syed Ali Shahbaz 24182625bb
redirect to cancellation survey (#1570) 2022-01-20 09:32:24 +00:00
Deepak Prabhakara e0a923979a
fixed issue with mixed up Google login, profile.id is undefined and this is causing the first record to be retrieved instead of the AND query failing (#1569)
(cherry picked from commit 4f168616e7)
2022-01-19 18:24:00 -07:00
Peer Richelsen 745fadab2f
added heroku button 2022-01-19 19:57:53 +00:00
Peer Richelsen c6e60bd706
added telemetry to importer (#1525)
* added telemetry to importer

* wip

* ignore typescript errors in jitsu telemetry
2022-01-19 17:26:44 +00:00
Omar López 118ee6bfb6
Follow up to #1566 (#1567)
* Lazy loads phone input

* Removes duplicate CSS
2022-01-19 09:55:29 -07:00
Peer Richelsen bfcd583376
added heroku app.json (#1565) 2022-01-19 16:28:08 +00:00
Omar López 116e6d0938
Lazy loads phone input (#1566) 2022-01-19 16:24:01 +00:00
Syed Ali Shahbaz e52e1e3e23
Survey at account deletion (#1561)
* redirect to /cancellation

* relative path

* base URL check added
2022-01-19 09:03:51 -07:00
Omar López b75e384a2d
Forgot password test troubleshooting (#1538)
* Removes e2e retries and videos

* Forgot password test troubleshooting

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-19 15:54:54 +00:00
github-actions[bot] 32dc258077
New Crowdin translations by Github Action (#1559)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-19 10:14:20 +00:00
Peer Richelsen 80ef94fb93
removed broken i18n shield from Readme 2022-01-18 23:27:26 +00:00
Philipp Dormann f371595ae0
german translation improvements (#1553)
* several typo fixes

* Problemlösungen -> Problembehandlung

* "aktzeptiert" typo -> "akzeptiert"

* "Embed" -> "Einbetten"

* several readability adjustments

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-01-18 23:03:29 +00:00
github-actions[bot] 97f971b8a5
New Crowdin translations by Github Action (#1532)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-18 22:31:11 +00:00
Omar López 038ea3365a
Removes e2e retries and videos (#1537) 2022-01-17 20:23:46 +00:00
Manjunath Reddy 2289c68979
Fixes: Get minutes offset from start of the day over days.utc() (#1488)
* Use days start of the day offset minutes over days.utc()

* We do not need to set startOf("day") as day.utc() already starts from the beginning of the day with respective +h value

* do not use startOf if the invite date is already set with utc value, otherwise, it will double the utc +h * 2

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-17 20:15:19 +00:00
Omar López 103877737e
Sets new users to trial by default and docs improvements (#1536)
* Sets new users to trial by default

* Update README.md

* Update README.md

* Docs improvements

* Adds migration
2022-01-17 19:42:38 +00:00
Yevhen Laichenkov 55f25d9194
fix/playwright test (#1533)
* add: playright-test eslint plugin

* add: missed awaits in playwright tests
2022-01-17 18:15:18 +00:00
Deepak Prabhakara 3e15459c20
Added known configuration for gmail smtp (nodemailer) (#1522)
* added known configuration for gmail smtp (nodemailer)

* Update .env.example

Co-authored-by: Omar López <zomars@me.com>

Co-authored-by: Omar López <zomars@me.com>
2022-01-17 17:37:32 +00:00
Omar López 460dda690d
Fix for #1518 (#1521)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-17 13:02:42 +00:00
Bailey Pumfleet 33694196e1
Calendly & SavvyCal import (#1512)
* Calendly & SavvyCal import

* added string keys to import

* Update pages/api/import/savvycal.ts

Co-authored-by: Omar López <zomars@me.com>

* Update pages/api/import/savvycal.ts

Co-authored-by: Omar López <zomars@me.com>

* Update pages/getting-started.tsx

Co-authored-by: Omar López <zomars@me.com>

* fixed string

* prettier

Co-authored-by: Peer Richelsen <peeroke@richelsen.net>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-01-15 16:23:42 +00:00
github-actions[bot] b5569c6b1c
New Crowdin translations by Github Action (#1520)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-15 15:35:31 +00:00
Peer Richelsen 4e74c0e27f
fixed switching background color (#1519) 2022-01-14 22:01:06 +00:00
Peer Richelsen 5e8a80001d
added roadmap link in dropdown (#1510)
* added roadmap link in dropdown

* Update public/static/locales/en/common.json

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-01-14 20:39:17 +00:00
Peer Richelsen 9921b76da0
removes trial banner on tablet and smaller (#1516) 2022-01-14 20:38:47 +00:00
Omar López 73f607f27a
Auto-seed when resetting and migrating dev (#1513)
* Auto-seed when resetting and migrating dev

* Fixes db-seed script

* Oauth e2e test fixes
2022-01-14 18:36:53 +00:00
Syed Ali Shahbaz fac4de1144
Enhancement/cal 708 delete account (#1403)
* --WIP

* --WIP

* --WIP

* added prisma migration and delete cascade for user

* stripe customer removal and other --wip

* --wip

* added stripe user delete

* removed log remnants

* fixed signout import

* cleanup

* Changes requested

* fixed common-json apostrophe

* Simplifies account deletion logic and add e2e tests

* Cleanup

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
2022-01-14 13:49:15 +00:00
Omar López e5f8437282
Fixes oauth tests (#1506)
* Fixes oauth tests

* Login page type fixes

* Delegates approval to github UI
2022-01-13 13:45:44 -07:00
Deepak Prabhakara 1a20b0a0c6
Add log in with Google and SAML (#1192)
* 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>
2022-01-13 20:05:23 +00:00
github-actions[bot] ffc0f460a0
New Crowdin translations by Github Action (#1500)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-13 19:53:26 +00:00
Omar López c9c21e6a67
Github Workflow cleanup (#1504)
* Update lint.yml

* Build and e2e on PRs

* Adds security checks for PRs

* removes build workflow

Is not needed anymore thanks to E2E
2022-01-13 12:51:15 -07:00
Philip Niedertscheider 9c94aadbf7
Fixed Google Calendar custom destination calendar deletion (#1486)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-13 19:47:15 +00:00
Omar López f8c036164c
Adds security checks for PRs (#1503)
* Update lint.yml

* Build and e2e on PRs

* Adds security checks for PRs
2022-01-13 12:37:34 -07:00
Omar López 67bcbfd75a
Runs lint on all PRs to main (including external contributors) (#1502)
* Update lint.yml

* Build and e2e on PRs
2022-01-13 18:09:37 +00:00
Omar López 54be2a2ec1
Update e2e.yml (#1498) 2022-01-13 16:52:31 +00:00