cal.pub0.org/apps/web/pages
Rob Jackson 7a9a2fc76f
feat: Make database optional when building (#8561)
* Make database optional when building

Solves #3026 and #6780

We have a few app-store related pages that require a database connection at build time.

This change adds try-catch blocks in getStaticPaths or getStaticProps for those pages, and when no database is available we either:

- getStaticPaths: Respond with no paths, but fall back to rendering the pages on-demand
- getStaticProps: Respond with no data, but enable revalidation until a future request does respond with data

This makes Cal.com more compatible with typical Docker-based workflows, that do not expect external services to be available at build time. This includes Docker-based hosting providers, such as Cloudron (#3026).

* Change apps/categories/index to be server-rendered

* Update yarn.lock

* Update yarn.lock

* Update [category].tsx

---------

Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: alannnc <alannnc@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-05-31 03:04:06 +00:00
..
[user] fix is premium check (#9101) 2023-05-24 18:24:12 +00:00
api fix: use ip address in forgot password rate limitation (#7832) 2023-05-30 19:26:29 +00:00
apps feat: Make database optional when building (#8561) 2023-05-31 03:04:06 +00:00
auth fix: Broken 2 Factor Authentication (#9139) 2023-05-26 10:02:02 +00:00
availability fix: translation for add an override (#8927) 2023-05-24 17:26:51 +00:00
booking fix: cancelled booking doesn't show the booker (#8203) 2023-05-22 23:15:06 +00:00
bookings perf: Adds PageWrapper to pages (#8344) 2023-04-18 15:45:32 -03:00
d/[link] Fully handle booking pages with conflicting themes being opened together (#8921) 2023-05-16 19:41:47 +00:00
event-types change request (#9075) 2023-05-30 15:43:24 +00:00
getting-started Feat/team invite flow (#8804) 2023-05-12 12:52:09 +00:00
insights Event Type: Title not displayed in the mobile view (#7451) 2023-04-19 13:17:54 -07:00
new-booker refactor: Show 404 page for new booker when event is not found. (#8946) 2023-05-30 11:49:52 -03:00
payment perf: Adds PageWrapper to pages (#8344) 2023-04-18 15:45:32 -03:00
reschedule Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
settings feat: added toggle for dynamic booking in general settings #9060 (#9077) 2023-05-30 15:34:35 +00:00
team Forward query params from Team Profile page (#9057) 2023-05-23 08:18:51 +00:00
teams Event Type: Title not displayed in the mobile view (#7451) 2023-04-19 13:17:54 -07:00
video fix: font not loaded in cal video (#8517) 2023-04-25 20:59:39 +02:00
workflows perf: Adds PageWrapper to pages (#8344) 2023-04-18 15:45:32 -03:00
404.tsx refactor: Show 404 page for new booker when event is not found. (#8946) 2023-05-30 11:49:52 -03:00
500.tsx perf: Adds PageWrapper to pages (#8344) 2023-04-18 15:45:32 -03:00
[user].tsx refactor: Moving from jest to vitest (#9035) 2023-05-24 23:35:44 +00:00
_app.tsx perf: Adds PageWrapper to pages (#8344) 2023-04-18 15:45:32 -03:00
_document.tsx feat: Use team logos for various meta icons (#8955) 2023-05-30 16:31:49 +00:00
_error.tsx New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
index.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
maintenance.tsx perf: Adds PageWrapper to pages (#8344) 2023-04-18 15:45:32 -03:00
more.tsx Event Type: Title not displayed in the mobile view (#7451) 2023-04-19 13:17:54 -07:00
signup.tsx Feat/team invite flow (#8804) 2023-05-12 12:52:09 +00:00