cal.pub0.org/packages/lib
Alex van Andel 2f2b72dd54
Feature/date overrides (#5991)
* Initial incomplete (but mostly functional) push of date override functions

* Fixed date shifting on load

* Bring back minDate (automatically disable all dates before current date)

* Fix type error

* Supply working hours to render available dates

* Converted to SSR

* moving defaultValues to the backend

* Improv. as filter can be achieved within the reduce

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

* Double inversion -> single, as it is an early return

* uniq() exit - not needed anymore

* Typefixes

* It's overriding dates :D

* Fixed duplication DateOverrides in list

* Implemented changing the month

* Make dateOverrides an optional param

* Fixed test (which requires dateOverrides due to auto-typing)

* Prevent a full update on set as default from list view

* Added some extra keys to keep ts happy

* Only allow a single date override per date

* Disallow editing excludedDates to the same date

* Bring back duplicate key ?.?

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-14 17:30:55 +00:00
..
apps Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
browser Cleanup + migrate away from process.browser (#5408) 2022-11-08 08:36:59 +01:00
cva Added proper dark mode support for buttons (#5603) 2022-11-22 17:07:55 +00:00
date-fns Circumvents Dayjs issue by going native (#5363) 2022-11-07 15:16:35 +00:00
hooks feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
server Direct links to accept/reject a booking (#5939) 2022-12-13 22:09:28 +01:00
sync Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
test Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
CalEventParser.ts Rename /success to /manage and fix link in calendar event (#5719) 2022-11-29 20:27:29 +00:00
CalendarService.ts fixes UTC consideration in CalDAV (#5827) 2022-12-02 19:46:38 +00:00
CloseCom.ts Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
CloseComeUtils.ts Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
CustomBranding.tsx Feat/design system (#3051) 2022-07-22 18:39:50 -06:00
OgImages.tsx #5613 Optimise social images by utilising next image api. (#5997) 2022-12-13 21:22:38 +00:00
Sendgrid.ts Bringing back sendgrid app to review (#5501) 2022-11-17 21:38:34 +00:00
auth.ts Don't return admin_min error when we're not validating for admin password. (#5713) 2022-11-28 07:57:02 -07:00
availability.ts Feature/date overrides (#5991) 2022-12-14 17:30:55 +00:00
classNames.ts
constants.ts #5613 Optimise social images by utilising next image api. (#5997) 2022-12-13 21:22:38 +00:00
convertToNewDurationType.ts Fixed wrong calculation of duration type on event type page. (#5557) 2022-11-17 13:38:03 +05:30
crypto.ts
default-cookies.ts Upgrade deps + allow node 18.x (#5622) 2022-11-23 11:35:08 -07:00
defaultAvatarImage.ts replaced gravatar default (#4158) 2022-09-05 10:23:39 +00:00
defaultEvents.ts Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
deriveAppDictKeyFromType.ts Chore/salesforce prep work (#5648) 2022-11-22 13:44:08 -07:00
env.ts
errors.ts Add conditional if response received from graph api v1 was empty (#5573) 2022-11-18 11:41:36 -06:00
fetchUsername.ts feature/settings-username-update (#2306) 2022-07-06 13:31:07 -06:00
findDurationType.ts Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
getIP.ts Implements quick ip banlist 2022-08-24 10:57:23 -06:00
getPlaceholderAvatar.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
getSafeRedirectUrl.ts Hotfix: Be more strict with safeRedirectUrl check (#4675) 2022-09-24 09:40:49 +01:00
getStripeAppData.ts Introduce EventTypeAppCard in app-store and make it super easy to add it through CLI - Also adds Fathom app (#4727) 2022-10-14 10:24:43 -06:00
hasKeyInMetadata.ts feature/settings-username-update (#2306) 2022-07-06 13:31:07 -06:00
http-error.ts
i18n.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
index.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
isBookingLimits.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
isCalcom.ts <Tips> in sidebar (#4999) 2022-10-14 19:38:05 +00:00
isMac.ts Adds a fully extensible command(ctrl)+k interface for Cal (#3346) 2022-07-14 06:45:07 +00:00
isOutOfBounds.tsx Bugfix/i3531 round robin assigns to unavailable members (#3813) 2022-08-15 13:52:01 -06:00
isPrismaObj.ts License server (#2379) 2022-05-26 11:07:14 -06:00
isRecurringEvent.ts Recurring event fixes (#3030) 2022-06-09 18:32:34 -06:00
jsonUtils.ts
logger.ts Gegt only warn,error and fatal (#5259) 2022-10-28 09:19:48 +00:00
next-seo.config.ts Allows brand customization (#5329) 2022-11-30 14:52:56 -07:00
notEmpty.ts
objectKeys.ts
package.json Preparations so public API can use tRPC procedures 2022-11-18 16:36:32 -07:00
profile.ts replaced gravatar default (#4158) 2022-09-05 10:23:39 +00:00
random.ts
rateLimit.ts fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
recurringStrings.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
sanitizeCalendarObject.ts Fix availability free-busy data pull, location change and status in CALDAV | new branch (attempt#2) (#3958) 2022-08-25 14:48:30 +05:30
serverConfig.ts
slots.ts Feature/date overrides (#5991) 2022-12-14 17:30:55 +00:00
slugify.ts
telemetry.ts removed license consent (#5931) 2022-12-09 11:05:42 +00:00
text.ts #4252 Use vercel og to generate og images for meetings and apps. (#4943) 2022-10-18 11:46:22 -06:00
timeFormat.ts Use Intl.DateTimeFormat logic to determine locale. (#5519) 2022-11-14 19:46:58 +00:00
tsconfig.json Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
webstorage.ts Hotfix: Embed - Fix issue in accessing sessionStorage in certain scenarios (#3851) 2022-08-16 04:18:13 +00:00
weekday.ts Added timeZone to v2, bugfix availabilityAsString (#4210) 2022-09-06 12:34:29 -06:00