Omar López
ccbb16fe76
Upgrades prisma ( #6298 )
2023-01-05 16:24:17 -07:00
Omar López
630f438b32
Upgrades prisma / Syncs packages ( #6044 )
...
* Syncs packages
* Upgrades zod
2022-12-15 15:56:48 -07:00
Nafees Nazik
a6836a1488
fix: use the new docker compose command if it exists ( #5852 )
2022-12-06 11:41:50 -07:00
zomars
237828e4ed
Upgrades zod
2022-10-19 13:28:54 -06:00
depfu[bot]
b8acf1e180
Update all Yarn dependencies (2022-07-29) ( #3599 )
...
* Update all Yarn dependencies (2022-07-29)
* Adds syncpack config
* Fixes mismatches
* Update yarn.lock
* RRule fixes
* Locking dayjs to fix build
* Type fixes
* Fixes mismatches
* Submodule sync
* Update yarn.lock
* Update event.ts
* Conflict fixes
* Fixes prisma warnings
* Liting
* Upgrade next, zod
* Prevents articfact overwriting
* Yarn fixes
* Jest fixes
* Submodule sync
* Formatting
* Submodule sync
* Adds provider for react-tooltip
* Removed dotenv-cli
* Readds dotenv-cli
* Skips getSchedule tests
Until prisma is mocked properly
* Fixes
* Revert prisma seed script
* E2E fixes
* test
* Removed deprecated req.page in middleware
* Make tests stable
* Unskip getSchedule tests
* fixed 404 logo on cal video (#3885 )
* Removed PW aliases as aren't needed anymore
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-17 11:38:21 -06:00
Konstantin Nosov
218c3d7b50
fix heroku build ( #3630 )
...
* pick https://github.com/nosovk/cal.com/pull/1
* make all devdeps to devDependencies
* add more ENV to Heroku config
https://github.com/calcom/cal.com/pull/3630
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2022-08-04 11:44:29 -06:00
Hariom Balhara
471420c1d4
Add getSchedule tests ( #3233 )
...
* Add getSchedule tests
* Add first integration test
* Update turbo.json
* Make sure unit tests run asap
* Worker threads
* Improve team event test
* Remove unrelated changes
* Improve tests readability
* Update CalendarManager.ts
* Add README
* Debug tests
* Temporarily disabled build errors
* Fix failing tests
* Remove unncessary logs
Co-authored-by: zomars <zomars@me.com>
2022-07-21 10:44:23 -06:00
zomars
3ff43520eb
Bump prisma to v4.1
2022-07-20 13:17:23 -06:00
Omar López
4874a6e34c
Upgrades prisma to v4 ( #3179 )
...
* Upgrades prisma to v4
* Upgrades prisma to v4
* Upgrades prisma to v4
* Removes preview feature as it's on stable now
* Adds missing owner relationship
* Adds missing onCascades to prevent orphans
* TODO
* Adds default date to feedback
* Adds missing foreign keys
* Update schema.prisma
* Update console
* Fixes build error
* Update console
* Delete migration.sql
2022-07-20 12:49:53 -06:00
Bailey Pumfleet
f16f9466cb
Update Prisma to v3.15.2 to support data proxy ( #3124 )
...
* Update Prisma to v3.15.2 to support data proxy
* Update package.json
* Update package.json
* Update package.json
* Update yarn.lock
* Update console
* Update turbo.json
Co-authored-by: zomars <zomars@me.com>
2022-06-25 20:01:02 +00:00
Omar López
21fb0fc3a3
Turborepo improvements ( #3139 )
...
* WIP
* WIP
* Embed fixes
* Update turbo.json
* Update e2e-embed.yml
* E2E fixes
* Update turbo.json
* App store CLI cleanup
* Update turbo.json
* Update turbo.json
* Update turbo.json
* Update turbo.json
* Update turbo.json
* Update turbo.json
2022-06-22 14:41:19 -06:00
Hariom Balhara
18e0f13605
[Feature] App Store CLI - Make it super easy to add an app. ( #2917 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-07 11:43:32 +05:30
depfu[bot]
db01f7be19
Update all Yarn dependencies (2022-05-16) ( #2769 )
...
* Update all Yarn dependencies (2022-05-16)
* Upgrade dependencies
* Removes deprecated packages
* Upgrades deps
* Updates submodules
* Update yarn.lock
* Linting
* Linting
* Update website
* Build fixes
* TODO: fix this
* Module resolving
* Type fixes
* Intercom fixes on SSG
* Fixes infinite loop
* Upgrades to React 18
* Type fixes
* Locks node version to 14
* Upgrades daily-js
* Readds missing types
* Upgrades playwright
* Noop when intercom is not installed
* Update website
* Removed yarn.lock in favor of monorepo
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-05-17 19:31:49 +00:00
zomars
4e0efb76cd
Turbo fixes
2022-05-09 16:17:23 -06:00
Omar López
6a27fb2959
Fixes/app store keys in db ( #2651 )
...
* Adds available apps
* Adds App Model
* WIP
* Updates seeder script
* Seeder fixes
* lowercase categories
* Upgrades prisma
* WIP
* WIP
* Hopefully fixes circular deps
* Type fixes
* Fixes seeder
* Adds migration to connect Credentials to Apps
* Updates app store callbacks
* Updates google credentials
* Uses dirName from DB
* Type fixes
* Update reschedule.ts
* Seeder fixes
* Fixes categories listing
* Update index.ts
* Update schema.prisma
* Updates dependencies
* Renames giphy app
* Uses dynamic imports for app metadata
* Fixes credentials error
* Uses dynamic import for api handlers
* Dynamic import fixes
* Allows for simple folder names in app store
* Squashes app migrations
* seeder fixes
* Fixes dyamic imports
* Update apiHandlers.tsx
2022-05-02 14:39:35 -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
Omar López
f9bd93197e
DB deploy fixes ( #2408 )
...
* DB deploy fixes
* Update turbo.json
* Turbo fixes
2022-04-06 12:52:48 -07:00
Demian Caldelas
d7ce4fb983
Resync yarn.lock. Adding some peer deps for turbo `packages/*` ( #2262 )
...
* Resync yarn.lock & add peer deps
* Upgrades zod
Co-authored-by: zomars <zomars@me.com>
2022-04-04 16:23:42 -06:00
Omar López
b93f87af14
Upgrades prisma to 3.10 ( #1978 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-07 18:30:28 +00:00
Omar López
190cc8caf6
Ensures prisma schemas are generated and formatted post-install ( #2060 )
2022-03-04 10:43:40 -07:00
Omar López
0a8509d721
Admin/team billing downgrader ( #2040 )
...
* downgrade func
* fix security hole lol
* fix query conditions
* - set to trial not free
- auto create stripe customer if missing
- fix production check
* Extracts downgrade logic to script, fixes ts-node conflicts with prisma
* Adds trialEndsAt field to users
* Updates trial/downgrade logic
* Typo
* Legibility fixes
* Update team-billing.ts
* Legibility improvements
Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-03 19:29:19 +00:00
Demian Caldelas
b3ada7c25c
Handy shortcut to start Prisma Studio ( #1921 )
...
* Add fast access to start Prisma Studio
* Updates docs
* Minor fixes in docs
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-21 16:02:09 +00:00
Omar López
deeafb21a5
Upgrades prisma to latest version ( #1894 )
...
* Upgrades prisma
* Extends Stripe paid booking timeout
* Stripe test fixes
* Disables cache for db-reset
* Disabled cache from db-seed
* Avatar fixes
* Fixes paid booking test once and for all
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-18 15:16:53 -07: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