Commit Graph

83 Commits

Author SHA1 Message Date
89c63fc8df Use {headless: 'shell'} in puppeteer to restore old behaviour
New headless needs a graphical environment, which won't work on
cms-www
2024-03-28 12:21:23 -04:00
56bbe84249 Use background events to show times blocked by parent reservations 2024-03-28 11:58:05 -04:00
cfdd261f13 Add new tools to wood shop 2024-03-28 11:48:04 -04:00
55854a63a7 Bump dependencies 2024-03-28 11:48:01 -04:00
9e392fb945 wall-display: Only fetch the calendars that are used by the toolFilter 2023-12-27 11:08:24 -05:00
ec92effe91 Move shops definition to json file 2023-12-27 11:05:22 -05:00
cb3f5c350f Bump dependencies 2023-11-06 12:03:21 -05:00
c1e05a5605 ipad: Avoid caching of generated image 2023-11-03 20:22:29 -04:00
c99ad19bba ipad: Add timeout message for loading events image 2023-11-03 15:09:15 -04:00
d040edf6a0 Fix code style in ipad.ts 2023-11-03 14:44:57 -04:00
b3218d795f ipad: Clean up error messages on image failure 2023-11-03 14:44:57 -04:00
1151378708 server/ipad: Wait for loading spinner to be hidden before capturing page 2023-11-03 14:44:57 -04:00
1c096df395 Render default contents in FullCalendar content injection functions
Changed in v6, as per https://fullcalendar.io/docs/upgrading-from-v5#content-injection
2023-09-26 15:36:29 -04:00
78683fee49 Bump dependencies 2023-09-26 15:35:49 -04:00
48a55519f1 Add shop resources based on events that don't match the tool pattern 2023-09-21 23:12:58 -04:00
77ef62503f Add back necessary polyfill for iPad 1 2023-09-15 12:58:01 -04:00
2d0778c16a server: Use old headless mode in Puppeteer
New mode isn't working on Debian 12 server
2023-09-09 18:49:39 -04:00
b5a5eda5d2 server: Remove extra debug print 2023-09-09 18:30:40 -04:00
680d0a943a Specify outDir in server tsconfig 2023-09-09 17:43:11 -04:00
98065af7d5 Update to fullcalendar 6, render image on server side for old iPads
Using puppeteer to render the page server side, as FullCalendar 6
dropped support for ES5, and polyfilling everything was becoming
basically impossible
2023-08-28 22:22:38 -04:00
59f9ab99ac Bump dependencies 2022-12-22 00:34:40 -05:00
cb873a1eed Make some imports type-only 2022-12-22 00:33:27 -05:00
ef009b2d0e wall-display: Add an error modal for event fetching errors 2022-12-10 16:44:43 -05:00
084f398d41 Add a loading spinner to wall-display
Spinner GIF derived from https://loading.io/, using `apng2gif` to get
correct transparency behavior
2022-12-10 16:33:27 -05:00
cf0127c5a8 Bump dependencies 2022-12-10 12:43:22 -05:00
91d729eaf0 Use asset module instead of file-loader for html files in webpack 2022-12-10 12:20:16 -05:00
880c320771 Fix some calendar and tool name/url issues 2022-12-10 11:25:49 -05:00
eed4b2a754 Display event times 2022-12-10 11:25:49 -05:00
8dcd89e342 Add links to google calendar/iCal 2022-12-10 11:25:49 -05:00
54a38cf12f Replicate the structure of event content in week view
Keeps the classes/formatting
2022-12-10 11:25:49 -05:00
28edb6027c Only periodically refresh in wall-display mode 2022-12-10 11:25:49 -05:00
1a2d20645f Pre-define all resources, with shops as parents of tools 2022-12-10 11:25:49 -05:00
652f78944a Only specify devServer options for first webpack config
This avoids `[webpack-dev-middleware] ConcurrentCompilationError`
issues when running `webpack serve`. However, it prevents running the
dev server for just the `wall-display` config (as it no longer has the
`/calendar` proxy route defined.
2022-12-10 11:25:49 -05:00
94e59b83bf Show day (timeline) and week view in non-wall-display view 2022-12-10 11:25:49 -05:00
ed1392ead4 Split out iPad-specific wall-display configuration 2022-12-10 11:25:49 -05:00
7bb3bdcfdd Revert "Use luxon to set title format"
This reverts commit 2868fc3324.
2022-10-12 02:12:11 -04:00
2868fc3324 Use luxon to set title format 2022-10-06 13:05:54 -04:00
1eac113a16 Bump dependencies 2022-10-06 12:56:40 -04:00
53fbc04b1f Prevent zooming and scrolling via touch screen 2022-06-30 14:03:31 -04:00
cae376ae13 Fix timegrid lines rendering over events on iOS 5.1.1 2022-06-30 13:47:51 -04:00
b8ce38ce71 Adjust polyfills to support Safari on iOS 5.1.1 (ie iPad 1)
Just load them directly instead of dynamically importing because this
version doesn't seem to support promises natively
2022-06-28 18:08:52 -04:00
48fefb326f Bump dependencies 2022-06-28 17:31:39 -04:00
02119f1001 Bump dependencies 2022-06-04 19:00:46 -04:00
d9f7785a7d Dynamically load Intl modules to allow code splitting 2022-03-11 00:13:20 -05:00
8e4202d658 Switch to source-map webpack devtool 2022-03-11 00:08:59 -05:00
af875b659d Apply prettier 2022-03-10 23:38:38 -05:00
cc637bfb0f Add .prettierignore 2022-03-10 23:38:26 -05:00
92795ff330 Bump dependencies 2022-03-10 23:34:27 -05:00
a23ec8310a Add /.log/ to .gitignore 2022-03-10 23:34:06 -05:00
dad94439c7 Migrate to pnpm 2022-03-10 23:33:37 -05:00