Re: [SOGo] How to change global calendar categories for all users?

2017-08-18 Thread Christian Mack
Hello

Which version of SOGo are you running?
It seems you have settings of a pre 2.3.1 one.
If you have a pre 2.3.1, upgrade!

SOGoCalendarCategoriesColors from sogo.conf is only used for newly
created accounts.
Therefore you have to use "sogo-tool  user-preferences set defaults" on
all existing users.
Beware, that will overwrite all changes done by the user itself!

And it should be:
sogo-tool  user-preferences set defaults smueller
SOGoCalendarCategoriesColors '{"D.P": "#f09c58","D.P.Anfrage":
"#e8c860","Ferien": "#184080","H.K": "#d8","I.B": "#78cc68","K.K":
"#506078","K.K. anfrage": "#c0bcc0","Praktikant": "#482c88","St. M":
"#f8f060"}'

(That is with escaping single quotes!)

And no, there is no irc channel for SOGo.


Kind regards,
Christian Mack

Am 17.08.2017 um 21:16 schrieb Stefan Müller (s.muel...@zzeroo.org):
> 
> Hi I want to reactivate this question 
> https://lists.inverse.ca/sogo/arc/users/2015-09/msg00238.html.
> Because the answer wasn't very satisfying.
> 
> The answer her https://lists.inverse.ca/sogo/arc/users/2012-06/msg00031.html 
> doesn't work either.
> 
> ```conf
> # /etc/sogo/sogo.conf
> {
> #...
> 
> SOGoCalendarCategories = ( "D.P", "D.P.Anfrage", "Ferien", "H.K", 
> "I.B", "K.K", "K.K. anfrage", "Praktikant", "St. M" );
> 
> SOGoCalendarCategoriesColors = {
> "D.P" = "#f09c58";
> "D.P.Anfrage" = "#e8c860";
> "Ferien" = "#184080";
> "H.K" = "#d8";
> "I.B" = "#78cc68";
> "K.K" = "#506078";
> "K.K. anfrage" = "#c0bcc0";
> "Praktikant" = "#482c88";
> "St. M" = "#f8f060";
> };
> }
> ```
> 
> And unsuccessful, too
> 
> ```bash
> sogo-tool  user-preferences set defaults smueller SOGoCalendarCategories 
> "["D.P", "D.P.Anfrage", "Ferien", "H.K", "I.B", "K.K", "K.K. anfrage", 
> "Praktikant", "St. M"]"
> ```
> 
> and
> 
> ```bash
> sogo-tool  user-preferences set defaults smueller 
> SOGoCalendarCategoriesColors {"D.P": "#f09c58","D.P.Anfrage": 
> "#e8c860","Ferien": "#184080","H.K": "#d8","I.B": "#78cc68","K.K": 
> "#506078","K.K. anfrage": "#c0bcc0","Praktikant": "#482c88","St. M": 
> "#f8f060"}
> ```
> 
> The last command does'nt give a error but, ...
> 
> ```bash
> # sogo-tool user-preferences get defaults smueller 
> SOGoCalendarCategoriesColors
> <0x0x26a1cb0[SOGoCache]> Cache cleanup interval set every 300.00 seconds
> <0x0x26a1cb0[SOGoCache]> Using host(s) 'localhost' as server(s)
> SOGoCalendarCategoriesColors: {"Lieferanten": "#CC", "Geschäft": 
> "#CC", "Ideen": "#CC", "Ferien": "#CC", "Persönlich": "#CC", 
> "Geburtstag": "#CC", "Projekte": "#CC", "Urlaub": "#CC", 
> "Fragen": "#CC", "Konkurrenz": "#CC", "Jubiläum": "#CC", 
> "Status": "#CC", "Feiertag": "#FFCC33", "Klienten": "#CC", 
> "Fortsetzung": "#CC", "Anrufe": "#CC", "Reise": "#CC", 
> "Verschiedenes": "#CC", "Besprechung": "#CC", "Geschenke": "#CC", 
> "Kunde": "#CC", "Favoriten": "#CC"}
> ```
> 
> P.S. Is there an active IRC channel somewere?
>  
> 


-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] How to change global calendar categories for all users?

2017-08-17 Thread s.muel...@zzeroo.org

Hi I want to reactivate this question 
https://lists.inverse.ca/sogo/arc/users/2015-09/msg00238.html.
Because the answer wasn't very satisfying.

The answer her https://lists.inverse.ca/sogo/arc/users/2012-06/msg00031.html 
doesn't work either.

```conf
# /etc/sogo/sogo.conf
{
#...

    SOGoCalendarCategories = ( "D.P", "D.P.Anfrage", "Ferien", "H.K", 
"I.B", "K.K", "K.K. anfrage", "Praktikant", "St. M" );

    SOGoCalendarCategoriesColors = {
    "D.P" = "#f09c58";
    "D.P.Anfrage" = "#e8c860";
    "Ferien" = "#184080";
    "H.K" = "#d8";
    "I.B" = "#78cc68";
    "K.K" = "#506078";
    "K.K. anfrage" = "#c0bcc0";
    "Praktikant" = "#482c88";
    "St. M" = "#f8f060";
    };
}
```

And unsuccessful, too

```bash
sogo-tool  user-preferences set defaults smueller SOGoCalendarCategories 
"["D.P", "D.P.Anfrage", "Ferien", "H.K", "I.B", "K.K", "K.K. anfrage", 
"Praktikant", "St. M"]"
```

and

```bash
sogo-tool  user-preferences set defaults smueller SOGoCalendarCategoriesColors 
{"D.P": "#f09c58","D.P.Anfrage": "#e8c860","Ferien": "#184080","H.K": 
"#d8","I.B": "#78cc68","K.K": "#506078","K.K. anfrage": 
"#c0bcc0","Praktikant": "#482c88","St. M": "#f8f060"}
```

The last command does'nt give a error but, ...

```bash
# sogo-tool user-preferences get defaults smueller SOGoCalendarCategoriesColors
<0x0x26a1cb0[SOGoCache]> Cache cleanup interval set every 300.00 seconds
<0x0x26a1cb0[SOGoCache]> Using host(s) 'localhost' as server(s)
SOGoCalendarCategoriesColors: {"Lieferanten": "#CC", "Geschäft": "#CC", 
"Ideen": "#CC", "Ferien": "#CC", "Persönlich": "#CC", "Geburtstag": 
"#CC", "Projekte": "#CC", "Urlaub": "#CC", "Fragen": "#CC", 
"Konkurrenz": "#CC", "Jubiläum": "#CC", "Status": "#CC", 
"Feiertag": "#FFCC33", "Klienten": "#CC", "Fortsetzung": "#CC", 
"Anrufe": "#CC", "Reise": "#CC", "Verschiedenes": "#CC", 
"Besprechung": "#CC", "Geschenke": "#CC", "Kunde": "#CC", 
"Favoriten": "#CC"}
```

P.S. Is there an active IRC channel somewere?
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] How to change global calendar categories for all users?

2015-09-24 Thread Volker Schmitt
Hello,

SOGoCalendarCategories and SOGoCalendarCategoriesColors in sogo.conf
seems to be defaults for new users, or users never changed/saved their
calendar configuration via webfrontend.

Can I set global categories for all existing users?

Kind regards

Volker

-- 
Dr. Volker SchmittZKRD
IT-Operation  Zentrales Knochenmarkspender-Register
Fon: (0731) 1507-431  für die Bundesrepublik Deutschland
Fax: (0731) 1507-77507Gemeinnützige Gesellschaft mbH
http://www.zkrd.deHelmholtzstraße 10, 89081 Ulm
-
Registergericht: Amtsgericht Ulm, HRB 2566, UID-Nr.: DE269639005
Geschäftsführer: Dr. Peter Mein und Dr. Dr. Carlheinz Müller
-- 
users@sogo.nu
https://inverse.ca/sogo/lists