diff --git a/images/siteicons/purple/category.png b/images/siteicons/purple/category.png new file mode 100644 index 000000000..6c73a3827 Binary files /dev/null and b/images/siteicons/purple/category.png differ diff --git a/images/siteicons/purple/check.png b/images/siteicons/purple/check.png new file mode 100644 index 000000000..487174fa8 Binary files /dev/null and b/images/siteicons/purple/check.png differ diff --git a/images/siteicons/purple/clone.png b/images/siteicons/purple/clone.png new file mode 100644 index 000000000..fcdd9ef6e Binary files /dev/null and b/images/siteicons/purple/clone.png differ diff --git a/images/siteicons/purple/delete.png b/images/siteicons/purple/delete.png new file mode 100644 index 000000000..e2f7d6b71 Binary files /dev/null and b/images/siteicons/purple/delete.png differ diff --git a/images/siteicons/purple/edit.png b/images/siteicons/purple/edit.png new file mode 100644 index 000000000..5ae3b793a Binary files /dev/null and b/images/siteicons/purple/edit.png differ diff --git a/images/siteicons/purple/notes.png b/images/siteicons/purple/notes.png new file mode 100644 index 000000000..bf2f5fd4f Binary files /dev/null and b/images/siteicons/purple/notes.png differ diff --git a/images/siteicons/purple/payment.png b/images/siteicons/purple/payment.png new file mode 100644 index 000000000..10edded80 Binary files /dev/null and b/images/siteicons/purple/payment.png differ diff --git a/images/siteicons/purple/save.png b/images/siteicons/purple/save.png new file mode 100644 index 000000000..1e7024833 Binary files /dev/null and b/images/siteicons/purple/save.png differ diff --git a/images/siteicons/purple/subscription.png b/images/siteicons/purple/subscription.png new file mode 100644 index 000000000..6bdc6e70e Binary files /dev/null and b/images/siteicons/purple/subscription.png differ diff --git a/images/siteicons/purple/wallos.png b/images/siteicons/purple/wallos.png new file mode 100644 index 000000000..4798eae53 Binary files /dev/null and b/images/siteicons/purple/wallos.png differ diff --git a/images/siteicons/purple/walloswhite.png b/images/siteicons/purple/walloswhite.png new file mode 100644 index 000000000..42b94667d Binary files /dev/null and b/images/siteicons/purple/walloswhite.png differ diff --git a/images/siteicons/purple/web.png b/images/siteicons/purple/web.png new file mode 100644 index 000000000..961544d7c Binary files /dev/null and b/images/siteicons/purple/web.png differ diff --git a/images/siteicons/purple/websearch.png b/images/siteicons/purple/websearch.png new file mode 100644 index 000000000..2d62fb85b Binary files /dev/null and b/images/siteicons/purple/websearch.png differ diff --git a/includes/header.php b/includes/header.php index 9dc6d15d0..15a33373a 100644 --- a/includes/header.php +++ b/includes/header.php @@ -52,6 +52,7 @@ > > > + > diff --git a/includes/version.php b/includes/version.php index 17cbc8e5b..d560e187c 100644 --- a/includes/version.php +++ b/includes/version.php @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/login.php b/login.php index e20898d6b..079827c0b 100644 --- a/login.php +++ b/login.php @@ -192,6 +192,7 @@ > > > + > > diff --git a/passwordreset.php b/passwordreset.php index 2d78bcfed..02c74181b 100644 --- a/passwordreset.php +++ b/passwordreset.php @@ -118,6 +118,7 @@ > > > + > > diff --git a/registration.php b/registration.php index 7c88c5837..efaa954a1 100644 --- a/registration.php +++ b/registration.php @@ -312,6 +312,7 @@ function validate($value) > > > + > > diff --git a/scripts/calendar.js b/scripts/calendar.js index 44b5d6174..391d9aa14 100644 --- a/scripts/calendar.js +++ b/scripts/calendar.js @@ -89,7 +89,7 @@ function exportCalendar(subscriptionId) { const a = document.createElement('a'); a.href = url; // Use the subscription name for the file name, replacing any characters that are invalid in file names - a.download = `${data.name.replace(/[^a-z0-9]/gi, '_').toLowerCase()}.ics`; + a.download = `${data.name.replace(/[\/\\:*?"<>|]/g, '_').toLowerCase()}.ics`; document.body.appendChild(a); a.click(); window.URL.revokeObjectURL(url); diff --git a/scripts/settings.js b/scripts/settings.js index 63d9d2bed..426abd194 100644 --- a/scripts/settings.js +++ b/scripts/settings.js @@ -1049,7 +1049,7 @@ var sortable = Sortable.create(el, { function setTheme(themeColor) { var currentTheme = 'blue'; - var themeIds = ['red-theme', 'green-theme', 'yellow-theme']; + var themeIds = ['red-theme', 'green-theme', 'yellow-theme', 'purple-theme']; themeIds.forEach(function(id) { var themeStylesheet = document.getElementById(id); diff --git a/service-worker.js b/service-worker.js index 7554a226a..229119d9b 100644 --- a/service-worker.js +++ b/service-worker.js @@ -21,6 +21,7 @@ self.addEventListener('install', function(event) { 'styles/themes/red.css', 'styles/themes/green.css', 'styles/themes/yellow.css', + 'styles/themes/purple.css', 'webfonts/fa-solid-900.woff2', 'webfonts/fa-solid-900.ttf', 'webfonts/fa-brands-400.woff2', @@ -66,6 +67,8 @@ self.addEventListener('install', function(event) { 'images/siteicons/red/walloswhite.png', 'images/siteicons/yellow/wallos.png', 'images/siteicons/yellow/walloswhite.png', + 'images/siteicons/purple/wallos.png', + 'images/siteicons/purple/walloswhite.png', 'images/siteimages/empty.png', 'images/avatars/1.svg', 'images/avatars/2.svg', @@ -116,6 +119,16 @@ self.addEventListener('install', function(event) { 'images/siteicons/yellow/subscription.png', 'images/siteicons/yellow/web.png', 'images/siteicons/yellow/websearch.png', + 'images/siteicons/purple/category.png', + 'images/siteicons/purple/check.png', + 'images/siteicons/purple/delete.png', + 'images/siteicons/purple/edit.png', + 'images/siteicons/purple/notes.png', + 'images/siteicons/purple/payment.png', + 'images/siteicons/purple/save.png', + 'images/siteicons/purple/subscription.png', + 'images/siteicons/purple/web.png', + 'images/siteicons/purple/websearch.png', 'images/siteicons/pwa/stats.png', 'images/siteicons/pwa/settings.png', 'images/siteicons/pwa/about.png', diff --git a/settings.php b/settings.php index 1a1bd9d27..126717c89 100644 --- a/settings.php +++ b/settings.php @@ -1067,7 +1067,7 @@ class="hidden-input">