From a2f749806a8a6617a05557c1c999224162b9a3ee Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sat, 30 Jan 2021 21:52:25 +0200 Subject: [PATCH 1/6] Update u_e-sogo.md --- docs/u_e-sogo.md | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/docs/u_e-sogo.md b/docs/u_e-sogo.md index aead9520b..62b6f5c36 100644 --- a/docs/u_e-sogo.md +++ b/docs/u_e-sogo.md @@ -1,10 +1,41 @@ SOGo is used for accessing your mails via a webbrowser, adding and sharing your contacts or calendars. For a more in-depth documentation on SOGo please visit its [own documentation](http://wiki.sogo.nu/). -## Change Theme -As of December 21 2018 we removed our custom themes due to complains about missing colors in some address book and calendar sections. Some other problems were still existing and would not be fixed in the near future (switching colors on login screen, for example). +## Change theme +mailcow builds after 28 January 2021 can change SOGo's theme by editing `data/conf/sogo/custom-theme.js`. +Please check AngularJS Material [Intro](https://material.angularjs.org/latest/Theming/01_introduction) and [Configuring a theme](https://material.angularjs.org/latest/Theming/03_configuring_a_theme) documentation to get more details on how this works. +After you updated said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. -## Change Logo +## Reset to SOGo default theme +Checkout `data/conf/sogo/custom-theme.js` by executing `git fetch ; git checkout origin/master data/conf/sogo/custom-theme.js data/conf/sogo/custom-theme.js` +Find in `data/conf/sogo/custom-theme.js`: +``` +// Apply new palettes to the default theme, remap some of the hues + $mdThemingProvider.theme('default') + .primaryPalette('green-cow', { + 'default': '400', // background color of top toolbars + 'hue-1': '400', + 'hue-2': '600', // background color of sidebar toolbar + 'hue-3': 'A700' + }) + .accentPalette('green', { + 'default': '600', // background color of fab buttons + 'hue-1': '300', // background color of center list toolbar + 'hue-2': '300', + 'hue-3': 'A700' + }) + .backgroundPalette('frost-grey'); +``` +and replace with: +``` + $mdThemingProvider.theme('default'); +``` + +## Change favicon +mailcow builds after 30 January 2021 can change SOGo's favicon by replacing `data/conf/sogo/custom-favicon.ico`. +After you replaced said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. + +## Change logo mailcow builds after 21 December 2018 can change SOGo's logo by replacing `data/conf/sogo/sogo-full.svg`. After you replaced said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. @@ -34,5 +65,5 @@ Restart SOGo: `docker-compose restart sogo-mailcow` Edit `data/conf/sogo/sogo.conf` and **change** `SOGoPasswordChangeEnabled` to `NO`. Please do not add a new parameter. -Run `docker-compose restart sogo-mailcow memcached-mailcow` to activate the changes. +Run `docker-compose restart memcached-mailcow sogo-mailcow` to activate the changes. From e57e0439b56768b81dc0bb184544cdfd5a463862 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sat, 30 Jan 2021 22:37:43 +0200 Subject: [PATCH 2/6] Update u_e-sogo.md --- docs/u_e-sogo.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/u_e-sogo.md b/docs/u_e-sogo.md index 62b6f5c36..593638629 100644 --- a/docs/u_e-sogo.md +++ b/docs/u_e-sogo.md @@ -33,6 +33,7 @@ and replace with: ## Change favicon mailcow builds after 30 January 2021 can change SOGo's favicon by replacing `data/conf/sogo/custom-favicon.ico`. +To note: you can use `.png` favicons, renaming them `custom-favicon.ico` will works, but please use standard `.ico` dimensions, e.g: 16x16, 32x32, 64x64, 128x128 and 256x256. After you replaced said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. ## Change logo From e93aa3176897193c4440778e8936b5dbed6a5c31 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sat, 30 Jan 2021 22:40:31 +0200 Subject: [PATCH 3/6] Update u_e-sogo.md --- docs/u_e-sogo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/u_e-sogo.md b/docs/u_e-sogo.md index 593638629..7e39ecd71 100644 --- a/docs/u_e-sogo.md +++ b/docs/u_e-sogo.md @@ -3,7 +3,7 @@ SOGo is used for accessing your mails via a webbrowser, adding and sharing your ## Change theme mailcow builds after 28 January 2021 can change SOGo's theme by editing `data/conf/sogo/custom-theme.js`. -Please check AngularJS Material [Intro](https://material.angularjs.org/latest/Theming/01_introduction) and [Configuring a theme](https://material.angularjs.org/latest/Theming/03_configuring_a_theme) documentation to get more details on how this works. +Please check AngularJS Material [Intro](https://material.angularjs.org/latest/Theming/01_introduction) & [Configuring theme](https://material.angularjs.org/latest/Theming/03_configuring_a_theme) documentation with [Material Style Color](https://material.io/archive/guidelines/style/color.html#color-color-palette) page to learn how this works. After you updated said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. ## Reset to SOGo default theme From 5eb6e7620b32fbce89eda95bdf69634249b8367a Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:57:00 +0200 Subject: [PATCH 4/6] Update u_e-sogo.md --- docs/u_e-sogo.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/u_e-sogo.md b/docs/u_e-sogo.md index 7e39ecd71..454d07653 100644 --- a/docs/u_e-sogo.md +++ b/docs/u_e-sogo.md @@ -32,8 +32,9 @@ and replace with: ``` ## Change favicon -mailcow builds after 30 January 2021 can change SOGo's favicon by replacing `data/conf/sogo/custom-favicon.ico`. -To note: you can use `.png` favicons, renaming them `custom-favicon.ico` will works, but please use standard `.ico` dimensions, e.g: 16x16, 32x32, 64x64, 128x128 and 256x256. +mailcow builds after 30 January 2021 can change SOGo's favicon by replacing `data/conf/sogo/custom-favicon.ico` for SOGo and `data/web/favicon.png` for mailcow UI. +To note: you can use `.png` favicons for SOGo, by renaming them to `custom-favicon.ico`. +For both SOGo and mailcow UI faviconsyou need use one of standard dimensions: 16x16, 32x32, 64x64, 128x128 and 256x256. After you replaced said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. ## Change logo From f91dccc74b68e65fc7030872afb0d86a63c60c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Sun, 31 Jan 2021 09:50:06 +0100 Subject: [PATCH 5/6] Update u_e-sogo.md --- docs/u_e-sogo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/u_e-sogo.md b/docs/u_e-sogo.md index 454d07653..38a79c871 100644 --- a/docs/u_e-sogo.md +++ b/docs/u_e-sogo.md @@ -3,7 +3,7 @@ SOGo is used for accessing your mails via a webbrowser, adding and sharing your ## Change theme mailcow builds after 28 January 2021 can change SOGo's theme by editing `data/conf/sogo/custom-theme.js`. -Please check AngularJS Material [Intro](https://material.angularjs.org/latest/Theming/01_introduction) & [Configuring theme](https://material.angularjs.org/latest/Theming/03_configuring_a_theme) documentation with [Material Style Color](https://material.io/archive/guidelines/style/color.html#color-color-palette) page to learn how this works. +Please check the AngularJS Material [intro](https://material.angularjs.org/latest/Theming/01_introduction) and [documentation](https://material.angularjs.org/latest/Theming/03_configuring_a_theme) as well as the [material style guideline](https://material.io/archive/guidelines/style/color.html#color-color-palette) to learn how this works. After you updated said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. ## Reset to SOGo default theme From 7a6bd9b249af70ea0dc2c6fc80d103f14bfa42b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Sun, 31 Jan 2021 09:54:45 +0100 Subject: [PATCH 6/6] Update u_e-sogo.md --- docs/u_e-sogo.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/u_e-sogo.md b/docs/u_e-sogo.md index 38a79c871..909e10918 100644 --- a/docs/u_e-sogo.md +++ b/docs/u_e-sogo.md @@ -32,13 +32,13 @@ and replace with: ``` ## Change favicon -mailcow builds after 30 January 2021 can change SOGo's favicon by replacing `data/conf/sogo/custom-favicon.ico` for SOGo and `data/web/favicon.png` for mailcow UI. -To note: you can use `.png` favicons for SOGo, by renaming them to `custom-favicon.ico`. -For both SOGo and mailcow UI faviconsyou need use one of standard dimensions: 16x16, 32x32, 64x64, 128x128 and 256x256. +mailcow builds after 31 January 2021 can change SOGo's favicon by replacing `data/conf/sogo/custom-favicon.ico` for SOGo and `data/web/favicon.png` for mailcow UI. +**Note**: You can use `.png` favicons for SOGo by renaming them to `custom-favicon.ico`. +For both SOGo and mailcow UI favicons you need use one of the standard dimensions: 16x16, 32x32, 64x64, 128x128 and 256x256. After you replaced said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. ## Change logo -mailcow builds after 21 December 2018 can change SOGo's logo by replacing `data/conf/sogo/sogo-full.svg`. +mailcow builds after 21 December 2018 can change SOGo's logo by replacing or creating (if missing) `data/conf/sogo/sogo-full.svg`. After you replaced said file you need to restart SOGo and Memcached containers by executing `docker-compose restart memcached-mailcow sogo-mailcow`. ## Connect domains