Rohit Saini
a3aa53fe6e
fix : #10614 - made nodemailer compatible with mailhog smtp server. ( #10615 )
...
* mailhog server auth problem solved
* put condition on transport auth
* fixe type-check error
2023-08-10 18:19:21 +01:00
sean-brydon
57384eb921
perf: Replace un-needed context fetching ( #10657 )
...
* Replace ctx.user.credentials to fetch in their own usecases
* Remove rawavatar from return
* Remove avatar rawAvatar from handler
* Fix fallback avatars
* fix: profile.slug already includes /team
* perf: Deprecate useAvatarQuery hook
* Extract to reusable credential func
* Fix type errors for credentials
* credentialOwner was inferred incorrectly, string non-nullable
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-08-10 18:07:09 +01:00
Leo Giovanetti
a153f9627d
chore: Relying on CALCOM_ENV ( #10098 )
...
* Relying on CALCOM_ENV
* Restoring unneeded changes
* Relyon more on IS_PRODUCTION
* Relyon more on IS_PRODUCTION
2023-08-10 12:32:20 -04:00
Satya Nishanth
22b4bcdeeb
fix: showing default apps by Cal like Cal-Video in installed apps ( #10611 )
...
Co-authored-by: Satya Nishanth <satya@Satyas-MacBook-Pro.local>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2023-08-10 16:05:26 +05:30
nicktrn
37ce8860b5
fix: all booking and duration limits ( #10480 )
...
Co-authored-by: rkreddy99 <rreddy@e2clouds.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2023-08-09 15:51:38 -07:00
Leo Giovanetti
4dfbc46247
Fixing fetching team with parent ( #10677 )
...
Co-authored-by: Omar López <zomars@me.com>
2023-08-09 21:05:28 +00:00
Carina Wollendorfer
4c38ea3329
fix: DST issue in the month of DST change ( #10664 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-08-09 13:31:48 -07:00
Alex van Andel
e5f15cb1df
perf: Improved buildDateRanges performance + cleanup ( #10610 )
...
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
2023-08-07 19:03:01 -07:00
Omar López
4b78e91384
chore: upgrades to prisma v5 ( #10073 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-08-07 22:08:13 +00:00
Leo Giovanetti
ffa3a454bb
fix: team unaccepted members ( #10582 )
2023-08-07 08:32:35 -03:00
Jaideep Guntupalli
123ecf3700
feat: show dialog when changing email after using Google Login ( #9611 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: alannnc <alannnc@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2023-08-03 17:26:40 -07:00
Joe Au-Yeung
c7d8d435f1
fix: Only enforce min seats for orgs ( #10572 )
...
* Only check subscription count for orgs
* Undo constants change
---------
Co-authored-by: alannnc <alannnc@gmail.com>
2023-08-03 15:17:57 -04:00
Hariom Balhara
5491821baf
fix: Redact prisma errors ( #10536 )
2023-08-03 16:22:38 +01:00
Alex van Andel
2de4abba65
feat: Modify sort with if/elseif/else randomize when the dates are equal ( #10448 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-08-03 09:03:23 +00:00
Alex van Andel
95dee6dd37
perf: Turns out the tz() function is very slow, 4ms ( #10545 )
2023-08-02 13:53:19 -04:00
Alex van Andel
23f97bdd3c
use dayjs utc mode to improve before/after performance ( #10544 )
2023-08-02 17:03:04 +00:00
Omar López
b7851e6e53
refactor: next/router hooks with next/navigation hooks ( #9105 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk>
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-08-02 11:35:48 +02:00
Joe Au-Yeung
617e665004
feat: Enable Conferencing Apps for Team Events [CAL-1925] ( #10383 )
...
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-08-02 09:24:28 +05:30
Joe Au-Yeung
6fa54aba46
perf: Refactor `getEnabledApps` to filter on credentials passed ( #10353 )
...
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-08-01 16:40:52 +05:30
Leo Giovanetti
4a6dc50909
fix: Unpublished screens ( #10453 )
...
* Implementation
* Changes and e2e
* Reverting launch.json
* Reverting org create handler
* Reverting yarn.lock
* DRYness and nitpicks
* Default org domain to undefined
* Applying zomars suggestion
* Suggestions
* Fixing seed and type in suggestion
* Fixing types
---------
Co-authored-by: zomars <zomars@me.com>
2023-07-31 21:27:22 +01:00
Rama Krishna Reddy
5a430df5d9
feat: Verify email of people setting a meeting with you ( #10317 )
...
* booker email verification changes
* name type fix
* use totp and code
* prisma schema styling
* refactor: code
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: book event form
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: type error
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: type errors
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: unit tests
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* refactor: move verifycodedialog from ui and to features/bookings
* fix: type error
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: rkreddy99 <rreddy@e2clouds.com>
Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
2023-07-31 17:51:11 +00:00
sean-brydon
878f074cb6
use cloudflare real IP ( #10449 )
2023-07-28 15:11:44 +00:00
Janakiram Yellapu
98a156311d
feat: Add full names in the description of dynamic events. ( #10251 )
...
* Add full names in the descripiton of dynamic events.
* Initialising dynamic event desc after the check.
* Revert "Initialising dynamic event desc after the check."
This reverts commit ddd89c4e25
.
* Revert "Add full names in the descripiton of dynamic events."
This reverts commit ce232d6256
.
* Added booking title for dynamic events.
* Update apps/web/public/static/locales/en/common.json
* Fix typo.
* Fix lint error.
* Fix redundant booking information.
* Fix type script lint.
* Addressed review suggestions.
---------
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-07-27 08:52:46 +00:00
sean-brydon
8cdddfa1d0
fix: ratelimit - updates ( #10347 )
2023-07-27 10:41:43 +02:00
Leo Giovanetti
dae4627ada
chore: Skipping totp code for org dev ( #10403 )
2023-07-26 18:15:37 +02:00
mohammed hussam
94b4507901
feat: dynamic group links + flexible schedule ( #9931 )
...
* redirect user to /[user]/[type] for dynamic booking in /[user]
* feat: dynamic group links
* fix: type errors
* fix: more type errors
* Booker components cannot rely on useRouter
* Rename 15min/30/60 to dynamic
* Fixed a blocking test, unclear what it was waiting for
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-07-25 22:48:09 +01:00
Pradumn Kumar
6b9d2331fc
fix: Managed Event Type Webhooks ( #10300 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-07-25 13:05:02 -04:00
Leo Giovanetti
6a16366941
fix: Username check for sign-up with invitation in org context ( #10375 )
2023-07-25 18:54:49 +02:00
Hariom Balhara
35be4182e9
fix: Routing Form and other org related fixes ( #10320 )
...
Co-authored-by: Leo Giovanetti <hello@leog.me>
2023-07-25 14:58:57 +05:30
Hariom Balhara
4e1e586541
fix: `nameless` in sidebar for orgs ( #10318 )
...
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2023-07-24 10:25:55 +00:00
Hariom Balhara
61f1a3b21e
feat: Support adding links to checkbox type question using markdown[Blocked on another PR] ( #8943 )
...
* Support adding links in boolean checkbox
* Fix and comment
* remove textarea, it was accidentally pushed.
2023-07-21 23:30:28 +05:30
Alex van Andel
5b280b2188
fix: team event emails; sending & email subject ( #10289 )
2023-07-20 19:29:08 -04:00
Alex van Andel
3818093652
fix: Add attendees to getLuckyUser algorithm ( #10285 )
...
* Add attendees to getLuckyUser algorithm
* Fix unit test for getLuckyUser
2023-07-20 22:51:15 +01:00
Leo Giovanetti
8ba4b4d50e
feat: Pending members selection ( #10168 )
...
* Pending members selection
* Discard changes to .vscode/launch.json
* revert yarn.lock
---------
Co-authored-by: Omar López <zomars@me.com>
2023-07-20 11:23:15 +05:30
sean-brydon
610c86837a
feat: orgs - user management v2
...
figma: https://www.figma.com/file/ZJNAFHCAq6rnuGRgUFxjzQ/Organizations----New-features?type=design&node-id=4304-330348&mode=design&t=nKonHZpucwxnqwQI-4 (Not all features are in this PR)
loom: https://www.loom.com/share/30e8ef20a5b34a708dca160d8c04ae6f
shoutout @shadcn for the base of this table <3
Member View:
![CleanShot 2023-07-14 at 14 09 02](https://github.com/calcom/cal.com/assets/55134778/5db6eedb-bece-4955-91f0-9f2b3b042300 )
Admin view:
![CleanShot 2023-07-14 at 14 09 07](https://github.com/calcom/cal.com/assets/55134778/708c624d-1990-4075-8b32-d4587d09deff )
How to test
- Create ORG
- add members
- view settings -> orgs -> members
2023-07-19 12:45:13 -07:00
Carina Wollendorfer
8a432b45a4
fix: issue with date overrides in some timezones ( #10254 )
...
* fix date overrides
* add test
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-07-19 19:44:41 +01:00
Monto
26e458be6d
feat: dynamic time format rendering in workflows based on user settings ( #10229 )
2023-07-19 10:30:37 -04:00
sean-brydon
628a29e89c
chore: fixing some initial re-renders ( #10185 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-07-19 09:19:53 +00:00
Hariom Balhara
b516a2af44
Get OAuth working for local ( #10054 )
...
Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com>
2023-07-19 09:15:05 +02:00
Carina Wollendorfer
cedb2b72e9
fix: add missing booking paid webhook trigger to dropdwon ( #10237 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-07-18 19:46:53 +00:00
Syed Ali Shahbaz
89f645c450
fix: Hotfix-bookings list breaks on unsupported timezone ( #10225 )
...
* Adds a check for supportedTimezone values
* adds timezone support check for attendees
2023-07-18 13:49:23 +00:00
Raghul
2be245eefc
add CAL_URL to fix og image issue ( #10172 )
...
Co-authored-by: Raghul D <v-raghuld@microsoft.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-07-18 10:05:28 +00:00
Hariom Balhara
6dfc19247e
fix: Embed `theme` not working using Embed API ( #10163 )
...
## What does this PR do?
Fixes #10187
See [Tests Done](https://www.loom.com/share/f03e0191b60143d8b45a505042dbfa11 )
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How should this be tested?
- [x] Configure embed to use `dark` theme and verify that dark theme is shown on event booking page(when user has light theme set). This is failing in main
- Additional Tests for embed to avoid any new regression
- [x] - Configure "auto" theme using embed API and see it reacts to system theme
- [x] - Don't configure any theme and see that "light" theme is shown even when we switch system theme(Because User has configured light theme in App)
- Tests outside embed to avoid any new regression
- [x] - See that light theme is shown even after switching system theme
- [x] - Now, switch the user theme to dark and see that it reflects the change.
## Mandatory Tasks
[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-17 18:02:42 -07:00
Carina Wollendorfer
2db4998eaa
fix: wrong slot starting times for half hour times zones ( #10161 )
...
* fix timezone zone issue for first slot
* fix failed test in getSchedule
* Update apps/web/test/lib/getSchedule.test.ts
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2023-07-18 00:57:34 +00:00
alannnc
fb0e89ab22
fix: possible to have same slug for team and user in an organization 9985 cal 2122 ( #10170 )
...
* Added rule to validate username vs team slugs in team considering orgs too
* Validate valid username vs team slugs
* Add or clause to find org team and child teams
2023-07-17 08:36:14 -07:00
Jaideep Guntupalli
f4b0772746
refactor: renamed getMostPopularApps function to getInstallCountPerApp ( #10140 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-07-17 09:51:35 +00:00
zomars
fcc13da23d
Update rateLimit.ts
2023-07-14 16:02:10 -07:00
zomars
67a210d439
Sync packages
2023-07-14 16:00:59 -07:00
zomars
e813f8bb17
Update rateLimit.ts
2023-07-14 15:59:04 -07:00
Carina Wollendorfer
5ff8d2db6e
fix: slot start times with interrupted availabilities ( #10164 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-07-14 15:57:05 -07:00