Commit Graph

106 Commits (dfc6373bb4494b99c4a071c4ea217611caa93cef)

Author SHA1 Message Date
zomars 3c9cf81fb3 E2E debugging 2022-06-13 15:16:58 -06:00
zomars dfe3e55e74 Upgrades CI node to 16 2022-06-13 12:32:26 -06:00
Hariom Balhara 514cff7b3c
Fix: Embed Tests - Handle superfast switching to next month bug (#2929)
* Wait for more time for next month dates to fully render

* Add comments

* Wait for rendering of current month as well

* Fix retries

* Fix speed issue with non embed tests asw ell
2022-05-31 09:32:41 +00:00
Hariom Balhara 3035412cdc
Add embed tests in CI (#2887)
* Add embed tests in CI

* Update e2e-embed.yml

* Run quick tests only

* Ignore certain folders

* Add embed-react tests as well

* Fix commands

* Dont run unit tests

* Update playwright.config.ts

* Update playwright.config.ts

* Update playwright.config.ts

* Create correct artifcats

* Create correct artifcats

* Fi ignore path

* Update package.json

* Add back embed-react typecheck

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-30 22:41:05 +05:30
Hariom Balhara e1bf425c1c
Fix failing builds (#2908) 2022-05-27 11:07:02 -06:00
Hariom Balhara f0a36f8194
Fix infinite renders on event-type edit page (#2820) 2022-05-23 18:59:09 +01:00
zomars 1de50bd093 Update check-types.yml 2022-05-18 15:08:58 -06:00
zomars c1cc93c164 Consolidates test-results 2022-05-18 10:54:36 -06:00
zomars 5a124cec72 Ci updates 2022-05-17 22:30:16 -06:00
zomars 86a4037088 Update e2e.yml 2022-05-17 22:23:29 -06:00
zomars 2d56096d8f Update e2e.yml 2022-05-17 22:05:24 -06:00
zomars 8a9b7ca78c Update e2e.yml 2022-05-17 21:27:29 -06:00
zomars c910b41043 Cache testing 2022-05-17 21:24:47 -06:00
zomars d51aade461 Update ci.yml 2022-05-17 20:22:33 -06:00
zomars b718718bd6 Update ci.yml 2022-05-17 15:35:58 -06:00
zomars ef8018d2f7 Update ci.yml 2022-05-17 13:41:27 -06:00
zomars 46cd74b0b8 Create ci.yml 2022-05-17 13:40:33 -06:00
zomars 57dee30526 Update crowdin.yml 2022-05-16 13:11:12 -06:00
Leo Giovanetti 1a79e0624c
Recurring Events (#2562)
* Init dev

* UI changes for recurring event + prisma

* Revisiting schema + changes WIP

* UI done, BE WIP

* Feature completion

* Unused query param removed

* Invalid comment removed

* Removed unused translation

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

Thanks!

Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* Success page changes

* More progress

* Email text tweaks + test + seed

* Tweaking emails + Cal Apps support WIP

* No app integration for now
Final email and pages tweaks to avoid recurring info showed

* Missing comment for clarity

* Yet again, comment

* Last minute fix

* Missing tooltip for upcoming bookings

* Fixing seed

* Fixing import

* Increasing timeout for e2e

* Fixing any

* Apply suggestions from code review

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

* Update apps/web/pages/d/[link]/book.tsx

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

* Code improvements

* More code improvements

* Reverting back number input arrows

* Update BookingPage.tsx

* Update BookingPage.tsx

* Adds fallback for sendOrganizerPaymentRefundFailedEmail

* Type overkill

* Type fixes

* Type fixes

* Nitpicks

* Update success.tsx

* Update success.tsx

* Update success.tsx

* Fixing types

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
2022-05-05 18:16:25 -03:00
Peer Richelsen 5abbd818d3
Update PULL_REQUEST_TEMPLATE.md 2022-04-30 14:51:23 +02:00
Peer Richelsen ae1f35f515
Update PULL_REQUEST_TEMPLATE.md 2022-04-27 14:16:31 +02:00
Peer Richelsen 66f3fd2e07
Update PULL_REQUEST_TEMPLATE.md 2022-04-27 14:15:44 +02:00
Omar López f10bf38292
Removed deprecated JWT secrets (#2574) 2022-04-21 15:10:23 -06:00
Agusti Fernandez 8bc5a75249
Feature: Verify login on signup with magic link. (#2122)
* manual migration to rename verificationtoken, maybe it could be dropped and create a new table instead if we're not using it, will consult @zomars

* feat: rename verificationRequest --> verificationToken in schema.prisma

* fix: rename verificationRequest -> verificationToken in the codebase

* feat: add default cookies for next-auth

* fix: moves @lib/serverConfig to @calcom/lib so it can be called by website too

* fix: make self-certificate work in dev env by not rejecting tls in serverConfig

* fix verificationTokenToken typo

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

* Adds domain: .cal.com if not dev env in cookies

* Adds default-cookies to apps/web, and nextauth_domain to turbo website build deps"a

* update NEXTAUTH_DOMAIN to NEXTAUTH_COOKIE_DOMAIN

* Updates website submodule

* Removes deprecated env vars

* Consolidates auth logic in one place

* Updates website module

* Signup fixes

* Build fixes

* Updates example

* Updates example

* Fixes

* Fix Email Verification

* fix: move csrf-token cookiePrefix from __Host -> __Secure

* Removes console log

* Fixes link in email template

* Removed irrelevant coment

* Testing with a 32 bit secret

* Fixes for cookien in E2E

* E2E fixes

* Fixes Stripe tests locally

* Temp fix for E2E

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2022-04-21 14:32:25 -06:00
Hariom Balhara 9ed666a475
Add app-store tests (#2465)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-14 09:30:38 +05:30
Omar López b6da0f0553
Allows E2E to run from forks (#2423)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-10 18:19:06 +02:00
Omar López 6b32f03027
Submodule sync (#2323)
* Create submodule-sync.yml

* Update submodule-sync.yml

* Update submodule-sync.yml

* Update submodule-sync.yml

* Update submodule-sync.yml

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-30 13:11:09 -07:00
Omar López 4e102d8b30
Submodule sync (#2322)
* Create submodule-sync.yml

* Update submodule-sync.yml

* Update submodule-sync.yml

* Update submodule-sync.yml

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-30 13:07:10 -07:00
Omar López d89271759a
Submodule sync (#2321)
* Create submodule-sync.yml

* Update submodule-sync.yml

* Update submodule-sync.yml

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-30 12:51:08 -07:00
Omar López 63800492a9
Submodule sync (#2320)
* Create submodule-sync.yml

* Update submodule-sync.yml

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-30 12:49:53 -07:00
Omar López c58e3791d1
Create submodule-sync.yml (#2319)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-30 12:37:11 -07:00
Omar López 2d2df2d4db
Attempt to fix linting for external contributors (#2303) 2022-03-28 12:21:31 -07:00
Omar López ec58a9dd70
The Dotenv Refactor (#2275)
* dotenv refactoring

* dotenv fixes

* Env variables cleanup

* Updates e2e variables

* Moves environment file to types

* Removes conflicting configs

* Readds missing variables

* Fixes

* More fixes

* Update .env.example

* Update yarn.lock

* Update turbo.json

* Fixes e2e

* Temp fix

* disables cache for lint

* Please work

* I'm getting desperate here.

* Matches node versions

* Take 2

* Revert "Take 2"

This reverts commit a735f47f23.

* Update .env.example
2022-03-25 17:39:38 -07:00
Omar López 91f13122eb
Update lint.yml (#2211)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-03-22 07:52:47 -07:00
Demian Caldelas 55587e92c1
Fix a set of E2E bugs causing several CI failures (#2177)
* Fix E2E bugs causing CI failutes

* Revert setup in dx

Co-authored-by: zomars <zomars@me.com>
2022-03-17 12:36:11 -07:00
Omar López e53648d218
Linting (#2083)
* Runs yarn format

* Update website

* Web lint is failing

* Formatting

* Adds cache for dependency install

* Adds linting reports for GH

* Fixes artifact upload

* Caching tests

* Merge reports on GH actions

* Linting

* Fix prettier plugin conflicts

* Dep fixes

* Moves tailwind to monorepo package (#2091)

* New Crowdin translations by Github Action (#2077)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* fix redirection to 404 page on login (#2086)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* fix: update contributing (#2084)

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

* Formatting

* Update website

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Louis <48682663+louis-27@users.noreply.github.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-09 17:52:48 +00:00
Omar López 97550a39f3
Contributing guide (#1930)
* WIP

* Updates contributing guide

* Update PULL_REQUEST_TEMPLATE.md
2022-02-22 12:33:23 +00:00
Francisco Lourenço 392aac2c6e
Replace whatsmybrowser.org with Bird Eats Bug (#1787)
Noticed that you guys are [already suggesting](https://github.com/calcom/cal.com/issues/1562#issuecomment-1022707225) users to provide Bird recordings, so thought it could be useful here as well :)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-16 22:30:57 +00:00
Omar López 69dd6fe7d4
Adds testing mail credentials (#1865)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-16 10:47:23 +00:00
Bruno Wego 9814914b83
fix(github): wrong config yml file name in issue template (#1867)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-16 10:31:28 +00:00
Omar López fe35cf6570
Extract prisma to it's own package (#1823)
* Moved prisma to packages

* Add missing prisma configs

* Extracts common libs and types

* Build and pipeline fixes

* Adds missing package

* Prisma scripts cleanup

* Updates lint staged

* Type fixes

* Sort imports

* Updates yarn lock file

* Fixes for yarn dx

* Revert "Sort imports"

This reverts commit 076109decab9b9ba307fc03696c3b0da5c4896f3.

* Formatting

* Prevent double TS version

* Fix conflict

* Extracted e2e configs
2022-02-15 13:30:52 -07:00
Omar López fdf7516cdd
CI turbo caching troubleshooting (#1862)
# Conflicts:
#	.github/workflows/e2e.yml
2022-02-15 12:18:14 -07:00
Omar López f0eed8ad30
E2E fixes (#1858) 2022-02-15 10:44:30 -07:00
Omar López 79f9bf6d5e
E2E fix attempt (#1845)
* E2E fix attemp

* Moves playwright config to root

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-14 15:23:33 -07:00
Omar López 6fee04d07c
Another one (#1799) 2022-02-10 19:22:33 -07:00
Omar López abce15ff0d
E2E fixes (#1798) 2022-02-10 19:12:57 -07:00
zomars 855aa56e77 Removes unused command 2022-02-10 14:22:45 -07:00
zomars 2234b7d5de Name update 2022-02-10 14:22:45 -07:00
zomars 5d6f94fce7 e2e fixes 2022-02-10 14:22:45 -07:00
zomars c711c80b8d e2e fixes 2022-02-10 14:22:45 -07:00