Commit Graph

293 Commits (29fb81434864634af584228e3bf3ddea1d630ecd)

Author SHA1 Message Date
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
Bailey Pumfleet 8b68263800
Update feature_request.md 2022-01-11 11:38:22 +00:00
Omar López 84d75cf693
Upgrades next-auth to v4 (#1185)
* Upgrades next-auth to v4

* Fixes next-auth session types

* Type fixes

* Fixes login issue

* Team page fixes

* Type fixes

* Fixes secret

* Adds test for forgotten password

* Skips if pw secret is undefined

* Prevents error if PW secret is undefined

* Adds PLAYWRIGHT_SECRET explainer

* Adds pending auth TODOs

* Adds missing secret

* Fixed imports

* Fixed imports

* Type fixes

* Test fixes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-07 20:23:37 +00:00
Omar López 21103580f7
Zomars/cal 748 paid bookings are failing (#1335)
* E2E video adjustments

* Adds test to add Stripe integration

* Type fix

* WIP: Payment troubleshooting

* Paid bookings shouldn't be confirmed by default

* Runs stripe test only if installed

* BookingListItem Adjustments

* Pending paid bookings should be unconfirmed

* Attempt to fix paid bookings

* Type fixes

* Type fixes

* Tests fixes

* Adds paid booking to seeder

* Moves stripe tests to own file

* Matches app locale to Stripe's

* Fixes minimun price for testing

* Stripe test fixes

* Fixes stripe frame test

* Added some Stripe TODOs
2021-12-17 16:58:23 +00:00
Omar López e6f71c81bb
E2E tests refactoring (#1318)
* Adds test todos

* Can't seem to change locales

* WIP playwright test refactoring

* jest-playwright cleanup

* Test fixes

* Test fixes

* More test fixes

* WIP: Testing fixes

* More test fixes

* Removes unused files

* Installs missing browsers for e2e

* ts-node fixes

* ts-check fixes

* Type fixes

* Fixes e2e

* FFS

* Renamex webhook snapshot

* Fixes webhook cross-platform

* Renamed webhook snapshot

* Apply suggestions from code review

Co-authored-by: Max Schmitt <max@schmitt.mx>

* Removes kont dependency

* Cleanup playwright options

* Next.js cache optimizations on CI

* Uses cache on e2e as well

* Fixme is introducing side-effects

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-12-15 16:25:49 +00:00
Peer Richelsen 7e6d56ca1f
update crowdin.yml 2021-12-14 21:59:39 +00:00
Alex Johansson 05fa1feab0
Migrate availability schedule for everyone (#1179)
* wip

* tmp mig

* add cron api key to header

* feels safer

* Revert "wip"

This reverts commit 15a8358661.

* test

* add name

* normalize dates

* maybe works

* test

* fixz

* maybe fix ci

* deprecated

* step 1 -- raw sql

* seems to work

* migration seems to work

* br

* fix comment

* timouet

* disconnect prisma test

* test order

* maybs

* seems to work

* tz

* tweak

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-12-08 12:08:57 +00:00
Bill Gale 6792e17c80
fix: move pull request template (#1263)
* fix: move pull request template

* fix: rename template
2021-12-07 10:01:45 +00:00
Omar López f8781e4d5f
Create pull_request_template.md (#1204) 2021-11-24 18:40:25 +00:00
Bailey Pumfleet 9fd078c59d
Revert "automerge and approve crowdin (#1167)" (#1174) 2021-11-15 18:47:20 +00:00
Alex Johansson 7998b6248d
automerge and approve crowdin (#1167)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-11-11 12:05:59 +00:00
Alex Johansson df687009bd
fix onboarding login glitch (#1118) 2021-11-08 14:10:02 +00:00
Alex Johansson 823abfb3da
Delete dependabot.yml (#1137)
replacing dependabot with [depfu](depfu.com)
2021-11-05 16:52:35 +00:00
Alex Johansson 0ee523643d
upgrade to next.js 12 (#1111) 2021-11-03 14:02:17 +00:00
Alex Johansson 265c634db9
upgrade to Next.js 12 (#1109) 2021-11-02 14:19:40 +00:00
Alex Johansson 9842aaaf6a
cron fix again - missing `\` (#1045) 2021-10-25 16:05:36 +00:00
Alex Johansson 9efa429294
fix cron jobs env/secrets (#1043) 2021-10-25 15:42:16 +00:00
Alex Johansson a9df3b9ad0
Move cron jobs into GitHub actions (#1006) 2021-10-25 18:16:42 +03:00
Alex Johansson 362e8114a0
Update dependabot.yml (#998)
Allow us to get a few more dependabot options to merge
2021-10-20 09:59:22 +01:00
Alex Johansson a67813ee77
if you touch it you fix it (#967)
* wip

* add another

* check

* add ci job

* fix ci

* fix

* maybe

* maybs

* attempt

* test

* maybe

* another attempt

* try v2

* align with normal build

* this should break build

* Revert "this should break build"

This reverts commit 1ba44d18a1.

* tweaks

* prevent breaking on main

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-16 10:57:21 +01:00
Alex Johansson dc4331ed17
rewrite existing cypress tests to playwright (#931) 2021-10-13 14:26:56 +01:00
Mihai C 2c9b301b77
Feat/i18n crowdin (#752)
* feat: add crowdin and supported languages

* fix: main branch name

* feat: test crowdin integration

* feat: add crowdin config skeleton

* feat: update crowdin.yml

* fix: remove ro translation

* test: en translation

* test: en translation

* New Crowdin translations by Github Action (#735)

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

* test: en translation

* fix: separate upload/download workflows

* wip

* New Crowdin translations by Github Action (#738)

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

* wip

* wip

* wip

* wip

* wip

* typo

* wip

* wip

* update crowdin config

* update

* chore: support i18n de,es,fr,it,pt,ru,ro,en

* chore: extract i18n strings

* chore: extract booking components strings for i18n

* wip

* extract more strings

* wip

* fallback to getServerSideProps for now

* New Crowdin translations by Github Action (#874)

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

* fix: minor fixes on the datepicker

* fix: add dutch lang

* fix: linting issues

* fix: string

* fix: update GHA

* cleanup trpc

* fix linting

Co-authored-by: Peer Richelsen <peeroke@gmail.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: Bailey Pumfleet <pumfleet@hey.com>
2021-10-08 14:43:48 +03:00
Alex Johansson a9ee2ef9ae
add playwright for e2e testing (#873) 2021-10-07 17:07:57 +02:00
Alex Johansson 649e79bdc7
statically render profile pages (#615) 2021-09-27 17:09:19 +01:00
Mihai C 7574c322c4
Revert "GHA for crowdin (WIP) (#731)" (#751)
This reverts commit 168db02e1f.
2021-09-23 15:28:50 +01:00
Mihai C 168db02e1f
GHA for crowdin (WIP) (#731)
* feat: add crowdin and supported languages

* fix: main branch name

* feat: test crowdin integration
2021-09-23 14:22:49 +00:00
Alex Johansson 4d2e556d7d
fix CI e2e tests (#748) 2021-09-23 14:11:58 +01:00
Mihai C 82e7e51fca
Setup i18n and locale detection (#712)
* feat: setup translations

* feat: i18n setup

* Update pages/settings/profile.tsx

Co-authored-by: Alex Johansson <alexander@n1s.se>

* fix: abstract locale hook

* fix: set default locale if preferred locale is not supported

* Revert "fix: set default locale if preferred locale is not supported"

This reverts commit e2a3d81371.

* fix: set default locale if preferred locale is not supported

* fix: use 1 namespace and remove unnecessary logs

* fix: yarn.lock

* fix: linting errors

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
2021-09-23 09:49:17 +01:00
Alex Johansson a8bc1760c7
Run jest tests as part of ci (#705)
* run jest in ci

* ignore cypress in jest

* align

* ⚠️ disable failing tests

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-21 10:28:12 +01:00
Adit Luhadia ef6c919fb1
Update Issue Templates (#703) 2021-09-20 13:03:26 +01:00
Alex van Andel cf7f5ae53c
Replace all instances of calendso.com with cal.com and add a new logo for Cal.com emails (#662) 2021-09-15 21:35:55 +01:00
Alex Johansson 7e6e935ed3
add free plan (#549)
- add new fields to support this
- when free:
  - fade out all event types after first
  - hide events after first on booking page
  - make booking page after the first one 404 if accessed directly
- add e2e tests
2021-09-06 13:51:15 +00:00
Alex Johansson d88ebd233d
add cypress e2e testing (#534) 2021-09-02 16:41:15 +00:00
Alex Johansson f63aa5d550
add linting in CI + fix lint errors (#473)
* run `yarn lint --fix`

* Revert "Revert "add linting to ci""

This reverts commit 0bbbbee4be.

* Fixed some errors

* remove unused code - not sure why this was here?

* assert env var

* more type fixes

* fix typings og gcal callback - needs testing

* rename `md5.ts` to `md5.js`

it is js.

* fix types

* fix types

* fix lint errors

* fix last lint error

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-08-19 14:27:01 +02:00
Peer_Rich 0bbbbee4be
Revert "add linting to ci" 2021-08-17 11:58:18 +02:00
Peer_Rich 504252f7fb
Merge pull request #470 from KATT/feature/lint-ci
add linting to ci
2021-08-17 11:48:16 +02:00
Peer_Rich e79453225b
Merge pull request #471 from KATT/feature/ci-build
add `yarn build` in ci
2021-08-17 11:48:05 +02:00
KATT 663a9f7bcc tweak name 2021-08-17 11:35:44 +02:00
KATT d59468cbf1 `yarn build` in ci 2021-08-17 11:35:07 +02:00
KATT 150bdba134 add linting to ci 2021-08-17 11:32:18 +02:00
KATT 78e1aebe28 add dependabot 2021-08-17 11:14:36 +02:00
Bailey Pumfleet 3a7fce4c8e Create issue templates 2021-04-28 14:10:55 +01:00