4920abdaf7
feat: optimize Prisma queries by replacing findFirst with findUnique where applicable ( #21826 )
...
* feat: optimize Prisma queries by replacing findFirst with findUnique where applicable
- Replace findFirst/findFirstOrThrow with findUnique/findUniqueOrThrow for queries using unique constraints
- Maintain existing functionality and error handling behavior
- Focus on queries using primary keys and unique index fields from schema
- Revert problematic changes that caused test failures to maintain stability
Co-Authored-By: [email protected] <[email protected] >
* revert: exclude API files from Prisma query optimizations per user request
- Reverted all 55 API-related files to their original state
- Kept all non-API Prisma query optimizations intact
- API files include apps/api/v1, apps/api/v2, apps/web/app/api, and packages/app-store/*/api
- Non-API optimizations remain for packages/lib, packages/features, apps/web (non-api), etc.
Co-Authored-By: [email protected] <[email protected] >
* feat: optimize membership query in attributeUtils to use findUnique with userId_teamId constraint
Co-Authored-By: [email protected] <[email protected] >
* revert: exclude test files from Prisma query optimizations per user request
Co-Authored-By: [email protected] <[email protected] >
* revert: revert attributeUtils.ts to use findFirst for test compatibility
Co-Authored-By: [email protected] <[email protected] >
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected] >
Co-authored-by: Anik Dhabal Babu <[email protected] >
2025-06-17 09:52:02 +03:00
Hariom Balhara
5503d9d432
perf: bookings query improvement ( #10687 )
2023-08-24 11:14:10 +02:00
+8
a9af2fb255
Admin Wizard Choose License ( #6574 )
...
* Implementation
* i18n
* More i18n
* extracted i18n, needs api to get most recent price, added hint: update later
* Fixing i18n var
* Fix booking filters not working for admin (#6576 )
* fix: react-select overflow issue in some modals. (#6587 )
* feat: add a disable overflow prop
* feat: use the disable overflow prop
* Tailwind Merge (#6596 )
* Tailwind Merge
* Fix merge classNames
* [CAL-808] /availability/single - UI issue on buttons beside time inputs (#6561 )
* [CAL-808] /availability/single - UI issue on buttons beside time inputs
* Update apps/web/public/static/locales/en/common.json
* Update packages/features/schedules/components/Schedule.tsx
* create new translation for tooltip
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
* Bye bye submodules (#6585 )
* WIP
* Uses ssh instead
* Update .gitignore
* Update .gitignore
* Update Makefile
* Update git-setup.sh
* Update git-setup.sh
* Replaced Makefile with bash script
* Update package.json
* fix: show button on empty string (#6601 )
Signed-off-by: Udit Takkar <[email protected] >
Signed-off-by: Udit Takkar <[email protected] >
* fix: add delete in dropdown (#6599 )
Signed-off-by: Udit Takkar <[email protected] >
Signed-off-by: Udit Takkar <[email protected] >
* Update README.md
* Update README.md
* Changed a neutral- classes to gray (#6603 )
* Changed a neutral- classes to gray
* Changed all border-1 to border
* Update package.json
* Test fixes
* Yarn lock fixes
* Fix string equality check in git-setup.sh
* [CAL-811] Avatar icon not redirecting user back to the main page (#6586 )
* Remove cursor-pointer, remove old Avatar* files
* Fixed styling for checkedSelect + some cleanup
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
* Harsh/add member invite (#6598 )
Co-authored-by: Guest <[email protected] >
Co-authored-by: root <[email protected] >
* Regenerated lockfile without upgrade (#6610 )
* fix: remove annoying outline when <Button /> clicked (#6537 )
* fix: remove annoying outline when <Button /> clicked
* Delete yarn.lock
* remove 1 on 1 icon (#6609 )
* removed 1-on-1 badge
* changed user to users for group events
* fix: case-sensitivity in apps path (#6552 )
* fix: lowercase slug
* fix: make fallback blocking
* Fix FAB (#6611 )
* feat: add LocationSelect component (#6571 )
* feat: add LocationSelect component
Signed-off-by: Udit Takkar <[email protected] >
* fix: type error
Signed-off-by: Udit Takkar <[email protected] >
* chore: type error
Signed-off-by: Udit Takkar <[email protected] >
Signed-off-by: Udit Takkar <[email protected] >
* Update booking filters design (#6543 )
* Update booking filters
* Add filter on YOUR bookings
* Fix pending members showing up in list
* Reduce the avatar size to 'sm' for now
* Bugfix/dropdown menu trigger as child remove class names (#6614 )
* Fix UsernameTextfield to take right height
* Remove className side-effect
* Incorrect resolution version fixed
* Converted mobile DropdownMenuTrigger styles into Button
* v2.5.3
* fix: use items-center (#6618 )
* fix tooltip and modal stacking issues (#6491 )
* fix tooltip and modal stacking issues
* use z-index in larger screens and less
Co-authored-by: Alex van Andel <[email protected] >
* Temporary fix (#6626 )
* Fix Ga4 tracking (#6630 )
* generic <UpgradeScreen> component (#6594 )
* first attempt of <UpgradeScreen>
* changes to icons
* reverted changes back to initial state, needs fix: teams not showing
* WIP
* Fix weird reactnode error
* Fix loading text
* added upgradeTip to routing forms
* icon colors
* create and use hook to check if user has team plan
* use useTeamPlan for upgradeTeamsBadge
* replace huge svg with compressed jpeg
* responsive fixes
* Update packages/ui/components/badge/UpgradeTeamsBadge.tsx
Co-authored-by: sean-brydon <[email protected] >
* Give team plan features to E2E tests
* Allow option to make a user part of team int ests
* Remove flash of paywall for team user
* Add team user for typeform tests as well
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
* Removing env var to rely on db
* Restoring i18n keys, set loading moved
* Fixing tailwind-preset glob
* Wizard width fix for md+ screens
* Converting licenses options to radix radio
* Applying feedback + other tweaks
* Reverting this, not this PR related
* Unneeded code removal
* Reverting unneeded style change
* Applying feedback
* Removing licenseType
* Upgrades typescript
* Update yarn lock
* Typings
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 )
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 ) (#6713 )
* Adds deployment settings to DB (#6706 )
* WIP
* Adds DeploymentTheme
* Add missing migrations
* Adds client extensions for deployment
* Cleanup
* Delete migration.sql
* Relying on both, env var and new model
* Restoring env example doc for backward compat
* Maximum call stack size exceeded fix?
* Revert upgrade
* Update index.ts
* Delete index.ts
* Not exposing license key, fixed radio behavior
* Covering undefined env var
* Self contained checkLicense
* Feedback
* Moar feedback
* Feedback
* Feedback
* Feedback
* Cleanup
---------
Signed-off-by: Udit Takkar <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Nafees Nazik <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Omar López <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Harsh Singh <[email protected] >
Co-authored-by: Guest <[email protected] >
Co-authored-by: root <[email protected] >
Co-authored-by: Luis Cadillo <[email protected] >
Co-authored-by: Mohammed Cherfaoui <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
2023-02-07 17:23:42 -07:00
Alex van Andel
e772b4203e
Unlicensed should return false, not error
2022-10-12 02:40:52 +01:00
Alex van Andel
6cc8fcae52
Handle double quotes situation in checkLicense function ( #4961 )
2022-10-11 19:34:27 -06:00
Omar López and kodiakhq[bot]
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00