From 2a8ded5211b23c1caa0caa27ec3d3772d606611c Mon Sep 17 00:00:00 2001 From: Michelle Date: Mon, 2 Mar 2026 11:49:01 +0100 Subject: [PATCH] feat(outlook-addin): remove add-in files and update server to prevent serving static files feat(i18n): add translations for "Add to Outlook" and "Add to Google Calendar" feat(calendar): implement functionality to generate Outlook and Google Calendar event links --- outlook-addin/README.md | 57 ---- outlook-addin/assets/icon-16.png | Bin 312 -> 0 bytes outlook-addin/assets/icon-16.svg | 4 - outlook-addin/assets/icon-32.png | Bin 605 -> 0 bytes outlook-addin/assets/icon-32.svg | 4 - outlook-addin/assets/icon-80.png | Bin 1536 -> 0 bytes outlook-addin/assets/icon-80.svg | 4 - outlook-addin/manifest.xml | 99 ------ outlook-addin/taskpane.html | 565 ------------------------------- server/index.js | 5 - src/i18n/de.json | 2 + src/i18n/en.json | 2 + src/pages/Calendar.jsx | 55 ++- 13 files changed, 58 insertions(+), 739 deletions(-) delete mode 100644 outlook-addin/README.md delete mode 100644 outlook-addin/assets/icon-16.png delete mode 100644 outlook-addin/assets/icon-16.svg delete mode 100644 outlook-addin/assets/icon-32.png delete mode 100644 outlook-addin/assets/icon-32.svg delete mode 100644 outlook-addin/assets/icon-80.png delete mode 100644 outlook-addin/assets/icon-80.svg delete mode 100644 outlook-addin/manifest.xml delete mode 100644 outlook-addin/taskpane.html diff --git a/outlook-addin/README.md b/outlook-addin/README.md deleted file mode 100644 index 82b0085..0000000 --- a/outlook-addin/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# Redlight Outlook Add-in - -An Outlook Add-in (compatible with **Outlook on the Web** and **Outlook 365 / New Outlook**) that lets you create a Redlight meeting room directly from your Outlook calendar. - -## Setup - -### 1. Configure Environment - -Edit `taskpane.html` and replace the `REDLIGHT_BASE_URL` at the top of the script section with your Redlight instance URL: - -```js -const REDLIGHT_BASE_URL = 'https://your-redlight-instance.com'; -``` - -### 2. Update Manifest - -Edit `manifest.xml` and update: -- All `` entries to point to where you host these files. -- The `` GUID if you want a unique add-in identifier. -- `` / `` as needed. - -### 3. Host the Add-in Files - -The add-in files (`taskpane.html`, `manifest.xml`) must be served over **HTTPS**. Options: - -1. **Host on your Redlight server** — place the files in `public/outlook-addin/` and they'll be served at `https://your-domain/outlook-addin/taskpane.html`. -2. **Host anywhere** — any static HTTPS server works. - -### 4. Sideload or Deploy - -#### Sideload for Testing (Outlook Web) -1. Go to **Outlook on the Web** → [https://outlook.office.com](https://outlook.office.com) -2. Click the **gear icon** → **View all Outlook settings** → **Mail** → **Customize actions** → **Get add-ins** -3. Click **My add-ins** → **Add a custom add-in** → **Add from file...** -4. Upload `manifest.xml` - -#### Sideload for Testing (Outlook 365 Desktop) -1. Open Outlook → **File** → **Manage Add-ins** (or **Get Add-ins**) -2. Click **My Add-ins** → **Add a custom add-in** → **Add from file...** -3. Select `manifest.xml` - -#### Deploy via Microsoft 365 Admin Center -1. Go to admin.microsoft.com → **Settings** → **Integrated apps** -2. Upload the manifest to deploy for your organization - -## Usage - -1. Open your **Outlook Calendar** and create a **new event** -2. In the compose toolbar, click the **Redlight** icon -3. Log in with your Redlight credentials (token is cached for future use) -4. Select an existing room or create a new one -5. Click **Insert Meeting Link** — the room join URL will be inserted into the event body and location - -## Files - -- `manifest.xml` — Office Add-in manifest (defines capabilities, icons, URLs) -- `taskpane.html` — The add-in UI and logic (single-file HTML+CSS+JS) diff --git a/outlook-addin/assets/icon-16.png b/outlook-addin/assets/icon-16.png deleted file mode 100644 index 2004041b352391df6aaafabfa265e90b9e4fd806..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 312 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkQ1F$f zi(^Q|oV7u>c@G)zq;Mn{urN;$*q+2KXM9mF@RW+m^-qlUoJFAuzKX6Llm7@Gf4;eP z@x}cUmwgQp_|_EQb!aJP>*A0bg?dpsCv{X7PGb44xGHqf^NC5x%13i0ZYz6UuCltY zQ<^J6Z}rK^4g%l)wWsh-e`=oIQyLXreq#OE+5g=Iw(0-mQnx?Js`x`Ups+?WV8vgR za=yfbYVNOM9q0b&SRaXGXW{x#9>CW(!PRX7*Y1K&pF>_s-go}gxH%fQT;1`w6=>sq zDbGps_Le3)FKUQ*-hY&T!{Hk$lL9_e-WC?ODfa(nU%;Nf^NH0z105@%uNgdD{an^L HB{Ts5xpR4h diff --git a/outlook-addin/assets/icon-16.svg b/outlook-addin/assets/icon-16.svg deleted file mode 100644 index 6727bc2..0000000 --- a/outlook-addin/assets/icon-16.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/outlook-addin/assets/icon-32.png b/outlook-addin/assets/icon-32.png deleted file mode 100644 index 6284fbb09ca6861bffe7c5ffeb366cab71c8d93e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 605 zcmV-j0;2tiP)~r zo=Zc!%3x0cePfe=hkPc1wl=^nwoaUAT$g}H3dlv7!Jba-8v8b)2Ech~=xsFdUnT+f zwYGCpktdMflm`^e7+5zK_4XOkH)wCi)?w8!FQcNi!G z?Nnp{-}#)5KZI{TM!#Q#rlD7rfq~D7n=Kanu746}P%(m(w-vzmp+5j+h^nUG=(0*s zIf@GCwYLeoGj2i&v=tn~tgSJ`Cldi|fL)AQL|OAil%!v;Rjy(+l38A7z8$BS>pWh? z@B2l07P*QKL>+W$*Fs;=)DoTFtqnkoevtNOMJ^4#3F^cLsl75QLBbkS#2_*G3d^YW z0>D$P^IPH~P-%XnEm6uEQ%nQR`q1EBlbUl$MKib#%P3x-(ZqlU3hb(A8*XP{LAv<2C+WO00000NkvXXu0mjf(EbgJ diff --git a/outlook-addin/assets/icon-32.svg b/outlook-addin/assets/icon-32.svg deleted file mode 100644 index 3f63c70..0000000 --- a/outlook-addin/assets/icon-32.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/outlook-addin/assets/icon-80.png b/outlook-addin/assets/icon-80.png deleted file mode 100644 index 7bc19198d117e1c1a5f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df^ocN83 zGF87wVHlnx$s7!2k~pHm!q@!U?0ik19IhDdt}$&c@;ZHUB{W3m&uELQ1ah2guu5--j34$%@kW+)mo|l{~iGVshn8KJf3?=fDole1mM@Hu{@xQ z#!CC!Iuby!vz_D>3+slbjQM$SE&D_Q3$#O>iotVU8Zg)lKnx@y6vjGmRE2f&(uOXM zCvt{Q;cwQ7Q+SOJU_5+m^?Nl z&69fDwY2cG-$~Bfww!uQJ90UFfcKjSMM5eX;_N@~!3&Q;4tL6KAA`)-&EGEZJ - - - diff --git a/outlook-addin/manifest.xml b/outlook-addin/manifest.xml deleted file mode 100644 index 294c811..0000000 --- a/outlook-addin/manifest.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - 1.0.0 - Redlight - en-US - - - - - - - - - - - - - - - -
- - - 600 - -
-
- - ReadWriteItem - - - - - - - - - - - - - - - - - - -