Re: [SOGo] script dav
Hello Francois On 08/05/2011 01:53 PM, xbgmsharp wrote: I am trying to add/update events and contacts using dav. I am unable to make it work. I always get ' 401 Unauthorized' reply. I try with a perl module (HTTP::DAV) and a python lib (davlib). When i use FF to to same URL i got the user/pass request and it works fine, got a blank page after. I found a script post on the list but i still get the same error. http://comments.gmane.org/gmane.comp.groupware.sogo.user/5720 But still get ' 401 Unauthorized' reply. So my question is it possible to access calendar and contacts using dav via scripts? If yes what should be the URL? I do use https://domain.tld/SOGo/dav/ or https://domain.tld/SOGo/dav/username/ to authenticate but for both 401 reply. SOGo reply ''' PROPFIND /SOGo/dav/ HTTP/1.1 401 0/90 0.001 - - 0 ''' You have to specify username and password in the URL like this: https://username:passw...@domain.tld/SOGo/dav/... Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Hi Pascal, Hope your problems are solved. Any way to get some help with this trivial subject ? Thanks, Dominique On 30/06/2011 11:59, Pascal Bourdais wrote: Le Thu, 30 Jun 2011 09:40:11 +0200, Dominiquedco...@hotmail.com a écrit : Sorry my the lake of answers. There was storm in our array and one of our office is out. As soon as I can, I look for this problem. Bump, Anyone please? The script looks promising but does not seem to be working properly for me? Thanks for any help, Dominique On 28/06/2011 16:38, Dominique wrote: Hi Pascal, Thanks for the answers. I followed your tracks and installed CPAN. Since then I've got all my modules installed. No error anymore on that front. I still have an 'unauthorized' error line 52 though. I looked into your script and got lost between two variables... 'base' and 'url'. In the usage info line, it appears as '--basebase' but in the detail it's '--urlbase'. To make it work I change the inputted command line for the '--urlbase' and that let me move a bit forward (up to line 52 in fact). I printed all the inputted variable to verify that the program was collecting them correctly but no issue there. The error seems to be produced in this bit of code: $d = new HTTP::DAV(); $d-credentials( -user=$user, -pass =$pass, -url = $url); if (! $d-open( -url= $url )) { print erreur : . $d-message . \n; die; } And since my programming skills do not include PERL - so far - I don't know how to move forward. Thanks for the help, Dominique On 27/06/2011 09:58, Pascal Bourdais wrote: Le Sun, 26 Jun 2011 21:22:39 +0200, Dominiquedco...@hotmail.com a écrit : Hi, Great script idea, but I have a few questions: 1. what module to install in ubuntu 10.04 server to get the data::ical::datetime module installed correctly ? No luck so far. I'am on slackware for the scripts, so i use cpan. I have been asked to install this on ubuntu, and i used cpan again. 2. does the url needs to be https? In my case it is a simple http, and the script 'dies' at line 52 with an 'unauthorized' error. Since I am using a working account, is there something else to look for ? Can the https be change in the script for http only ? No need to be https, and no reference to it in the script (except comments). Check user and password, I test with http and it's ok for me. The module Net::SSLeay is needed for https to work. 3. what does the# of days refer to for the --doit variable? Thank copy/paste :( doit doesn't need anything else. HTH Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Bump, Anyone please? The script looks promising but does not seem to be working properly for me? Thanks for any help, Dominique On 28/06/2011 16:38, Dominique wrote: Hi Pascal, Thanks for the answers. I followed your tracks and installed CPAN. Since then I've got all my modules installed. No error anymore on that front. I still have an 'unauthorized' error line 52 though. I looked into your script and got lost between two variables... 'base' and 'url'. In the usage info line, it appears as '--base base' but in the detail it's '--url base'. To make it work I change the inputted command line for the '--url base' and that let me move a bit forward (up to line 52 in fact). I printed all the inputted variable to verify that the program was collecting them correctly but no issue there. The error seems to be produced in this bit of code: $d = new HTTP::DAV(); $d-credentials( -user=$user, -pass =$pass, -url = $url); if (! $d-open( -url= $url )) { print erreur : . $d-message . \n; die; } And since my programming skills do not include PERL - so far - I don't know how to move forward. Thanks for the help, Dominique On 27/06/2011 09:58, Pascal Bourdais wrote: Le Sun, 26 Jun 2011 21:22:39 +0200, Dominiquedco...@hotmail.com a écrit : Hi, Great script idea, but I have a few questions: 1. what module to install in ubuntu 10.04 server to get the data::ical::datetime module installed correctly ? No luck so far. I'am on slackware for the scripts, so i use cpan. I have been asked to install this on ubuntu, and i used cpan again. 2. does the url needs to be https? In my case it is a simple http, and the script 'dies' at line 52 with an 'unauthorized' error. Since I am using a working account, is there something else to look for ? Can the https be change in the script for http only ? No need to be https, and no reference to it in the script (except comments). Check user and password, I test with http and it's ok for me. The module Net::SSLeay is needed for https to work. 3. what does the# of days refer to for the --doit variable? Thank copy/paste :( doit doesn't need anything else. HTH Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Hi Pascal, Thanks for the answers. I followed your tracks and installed CPAN. Since then I've got all my modules installed. No error anymore on that front. I still have an 'unauthorized' error line 52 though. I looked into your script and got lost between two variables... 'base' and 'url'. In the usage info line, it appears as '--base base' but in the detail it's '--url base'. To make it work I change the inputted command line for the '--url base' and that let me move a bit forward (up to line 52 in fact). I printed all the inputted variable to verify that the program was collecting them correctly but no issue there. The error seems to be produced in this bit of code: $d = new HTTP::DAV(); $d-credentials( -user=$user, -pass =$pass, -url = $url); if (! $d-open( -url= $url )) { print erreur : . $d-message . \n; die; } And since my programming skills do not include PERL - so far - I don't know how to move forward. Thanks for the help, Dominique On 27/06/2011 09:58, Pascal Bourdais wrote: Le Sun, 26 Jun 2011 21:22:39 +0200, Dominiquedco...@hotmail.com a écrit : Hi, Great script idea, but I have a few questions: 1. what module to install in ubuntu 10.04 server to get the data::ical::datetime module installed correctly ? No luck so far. I'am on slackware for the scripts, so i use cpan. I have been asked to install this on ubuntu, and i used cpan again. 2. does the url needs to be https? In my case it is a simple http, and the script 'dies' at line 52 with an 'unauthorized' error. Since I am using a working account, is there something else to look for ? Can the https be change in the script for http only ? No need to be https, and no reference to it in the script (except comments). Check user and password, I test with http and it's ok for me. The module Net::SSLeay is needed for https to work. 3. what does the# of days refer to for the --doit variable? Thank copy/paste :( doit doesn't need anything else. HTH Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Le Sun, 26 Jun 2011 21:22:39 +0200, Dominique dco...@hotmail.com a écrit : Hi, Great script idea, but I have a few questions: 1. what module to install in ubuntu 10.04 server to get the data::ical::datetime module installed correctly ? No luck so far. I'am on slackware for the scripts, so i use cpan. I have been asked to install this on ubuntu, and i used cpan again. 2. does the url needs to be https? In my case it is a simple http, and the script 'dies' at line 52 with an 'unauthorized' error. Since I am using a working account, is there something else to look for ? Can the https be change in the script for http only ? No need to be https, and no reference to it in the script (except comments). Check user and password, I test with http and it's ok for me. The module Net::SSLeay is needed for https to work. 3. what does the # of days refer to for the --doit variable? Thank copy/paste :( doit doesn't need anything else. HTH Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Hi, Great script idea, but I have a few questions: 1. what module to install in ubuntu 10.04 server to get the data::ical::datetime module installed correctly ? No luck so far. 2. does the url needs to be https? In my case it is a simple http, and the script 'dies' at line 52 with an 'unauthorized' error. Since I am using a working account, is there something else to look for ? Can the https be change in the script for http only ? 3. what does the # of days refer to for the --doit variable? Thanks, Dominique On 24/06/2011 17:01, Pascal Bourdais wrote: Le Fri, 24 Jun 2011 13:30:12 +0200, Christian Mackchristian.m...@uni-konstanz.de a écrit : Hi Pascal Bourdais ... I've just an enhancement request for it :-) At the moment you only check the default / personal calendar. It would be nice if you could also specify the calendar to check at the command line. Easy to do and useful. Done. Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Hi, Great script idea, but I have a few questions: 1. what module to install in ubuntu 10.04 server to get the data::ical::datetime module installed correctly ? No luck so far. 2. does the url needs to be https? In my case it is a simple http, and the script 'dies' at line 52 with an 'unauthorized' error. Since I am using a working account, is there something else to look for ? Can the https be change in the script for http only ? 3. what does the # of days refer to for the --doit variable? Thanks, Dominique On 24/06/2011 17:01, Pascal Bourdais wrote: Le Fri, 24 Jun 2011 13:30:12 +0200, Christian Mackchristian.m...@uni-konstanz.de a écrit : Hi Pascal Bourdais ... I've just an enhancement request for it :-) At the moment you only check the default / personal calendar. It would be nice if you could also specify the calendar to check at the command line. Easy to do and useful. Done. Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Le Fri, 24 Jun 2011 13:30:12 +0200, Christian Mack christian.m...@uni-konstanz.de a écrit : Hi Pascal Bourdais ... I've just an enhancement request for it :-) At the moment you only check the default / personal calendar. It would be nice if you could also specify the calendar to check at the command line. Easy to do and useful. Done. Pascal -- users@sogo.nu https://inverse.ca/sogo/lists sup-double.pl Description: Perl program
Re: [SOGo] script to remove double (or more)
Hello, you need to install the Data::ICal package in perl. André Am 24.06.2011 18:26, schrieb Dominique: Hi Pascal, Just tried it, and I guess I am not to good with perl. Here is the error I got back: Can't locate Data/ICal.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at sup-double.pl line 9. BEGIN failed--compilation aborted at sup-double.pl line 9. Thanks for the help, Dominique On 24/06/2011 17:01, Pascal Bourdais wrote: Le Fri, 24 Jun 2011 13:30:12 +0200, Christian Mackchristian.m...@uni-konstanz.de a écrit : Hi Pascal Bourdais ... I've just an enhancement request for it :-) At the moment you only check the default / personal calendar. It would be nice if you could also specify the calendar to check at the command line. Easy to do and useful. Done. Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
André, Thanks. I looked into the perl script and found more libraries to be installed. All went well execpt for one that I cannot locate and gives me an error on line 10: Data/ICal/DateTime.pm I installed several datetime packages but none seems to do the trick. I am running Ubuntu server 10.04 x64. Any idea which package will include the missing library ? Thanks, Dominique On 24/06/2011 18:32, André Schild wrote: Hello, you need to install the Data::ICal package in perl. André Am 24.06.2011 18:26, schrieb Dominique: Hi Pascal, Just tried it, and I guess I am not to good with perl. Here is the error I got back: Can't locate Data/ICal.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at sup-double.pl line 9. BEGIN failed--compilation aborted at sup-double.pl line 9. Thanks for the help, Dominique On 24/06/2011 17:01, Pascal Bourdais wrote: Le Fri, 24 Jun 2011 13:30:12 +0200, Christian Mackchristian.m...@uni-konstanz.de a écrit : Hi Pascal Bourdais ... I've just an enhancement request for it :-) At the moment you only check the default / personal calendar. It would be nice if you could also specify the calendar to check at the command line. Easy to do and useful. Done. Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] script to remove double (or more)
Hi, After searching a bit more, I found it in the usr/share/perl5/Rose directory. But the script does not seem to find it although the perl5 directory is in the list of search path. I even added a symlink to the /usr/share/perl/5.10 just in case. Rebooted as well. No luck. Anyone with an idea of what I am missing. Thanks, Dominique On 24/06/2011 19:11, Dominique wrote: André, Thanks. I looked into the perl script and found more libraries to be installed. All went well execpt for one that I cannot locate and gives me an error on line 10: Data/ICal/DateTime.pm I installed several datetime packages but none seems to do the trick. I am running Ubuntu server 10.04 x64. Any idea which package will include the missing library ? Thanks, Dominique On 24/06/2011 18:32, André Schild wrote: Hello, you need to install the Data::ICal package in perl. André Am 24.06.2011 18:26, schrieb Dominique: Hi Pascal, Just tried it, and I guess I am not to good with perl. Here is the error I got back: Can't locate Data/ICal.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at sup-double.pl line 9. BEGIN failed--compilation aborted at sup-double.pl line 9. Thanks for the help, Dominique On 24/06/2011 17:01, Pascal Bourdais wrote: Le Fri, 24 Jun 2011 13:30:12 +0200, Christian Mackchristian.m...@uni-konstanz.de a écrit : Hi Pascal Bourdais ... I've just an enhancement request for it :-) At the moment you only check the default / personal calendar. It would be nice if you could also specify the calendar to check at the command line. Easy to do and useful. Done. Pascal -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
On Fri, Feb 18, 2011 at 02:02:50PM -0500, Wolfgang Sourdeau wrote: Overal, I think the idea of a structured file-format is a good one. Perhaps the missing step to UNIX-compliance would be to enable the use of a conf file in the /etc/ hierarchy. This would be quite easy to do and you just need to ask ;) Woha, yes, could we please have that! :-) Also, would it be possible to separate out the templating from $HOME (to f.ex. /var/www) and make the sogo-user a non-interaktive account. -jf -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Il giorno 18/feb/2011, alle ore 11:59, Michael Crilly ha scritto: I've written a Perl script that I've found, so far, makes my life a lot easier... If people would find this script useful, then I will refine the script and add a lot of other support (logging, rollback, etc) Wow. I must say I'm impressed and I vote for this. At the moment, I usually modify the GNUstep XML conf file by hand or using the Apple plist editor bundled with Mac OS x Developers' Tools and then pasting the resulting XML into the conf file. While both method work, they're definitely ugly and there's always a chance that a mistyped character will make GNUstep wipe away your file during the next parsing. Therefore you must always to keep a backup copy of your old file. Argh. (Another issue that I find quite annoying is that sogod startup script doesn't have a 'reload' function just like httpd. But I'm going off topic here.) Is there an URL at which we can download your script? Cheers, Corrado Fiore-- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Um, why don't you just edit /home/sogo/GNUstep/Defaults file as the sogo user after your initial setup? Regards, Mark On 18 Feb 2011, at 10:59, Michael Crilly michael.cri...@comtek.co.uk wrote: Greetings, When I first installed SOGo and realized it used GNUStep (urgh!) I wasn't too impressed. It's a horrid way of configuring a UNIX application and it simply doesn't fit in with the UNIX way of thinking. All that being said, I've written a Perl script that I've found, so far, makes my life a lot easier... The script basically reads in a SOGo.conf file, which is in Apache format (a very common UNIX configuration file format), and parses it, converting each variable declaration into a 'defaults write domain key value' command. It works perfectly so far, and even supports a variable amount of SOGoUserSources entries/dictionaries. I've found this makes configuring SOGo A LOT easier and if you need to change anything, it's incredibly easy too and simpler than remembering the SOGoVariable, su'ing as the sogo user and typing out the defaults command for each and every individual option - ugh. One thing it doesn't do at present is checking the variable names for potential mistakes or any kind of error checking, for that matter. See below why. If people would find this script useful, then I will refine the script and add a lot of other support (logging, rollback, etc) and try and get it into the official Debian linux package repository, amongst other things. If people don't feel as though this would be helpful, then I will leave it as it is and be done with it. Let me know. Kind regards, -- Michael Crilly Comtek IT Systems Administrator E: michael.cri...@comtek.co.uk Comtek Network Systems UK Ltd http://www.comtek.co.uk/ -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
For this reason: Corrado Fiore: ... there's always a chance that a mistyped character will make GNUstep wipe away your file during the next parsing. Therefore you must always to keep a backup copy of your old file. Argh. It's incredibly annoying. Also, XML isn't a UNIX standard configuration format neither; it's an ugly, bloated format (which has its uses outside of configuration files in my eyes) which shouldn't ever be used for application configuration. At present I am writing the script to some what stable and include some error management. Once this has been done I shall upload a copy to a Dropbox account for people to use. This will be in a few days hopefully (I want to make sure the script is commented out, as well as the configuration file). Cheers. On 18/02/2011 11:31, Mark Adams wrote: Um, why don't you just edit /home/sogo/GNUstep/Defaults file as the sogo user after your initial setup? Regards, Mark On 18 Feb 2011, at 10:59, Michael Crillymichael.cri...@comtek.co.uk wrote: Greetings, When I first installed SOGo and realized it used GNUStep (urgh!) I wasn't too impressed. It's a horrid way of configuring a UNIX application and it simply doesn't fit in with the UNIX way of thinking. All that being said, I've written a Perl script that I've found, so far, makes my life a lot easier... The script basically reads in a SOGo.conf file, which is in Apache format (a very common UNIX configuration file format), and parses it, converting each variable declaration into a 'defaults writedomain key value' command. It works perfectly so far, and even supports a variable amount of SOGoUserSources entries/dictionaries. I've found this makes configuring SOGo A LOT easier and if you need to change anything, it's incredibly easy too and simpler than remembering the SOGoVariable, su'ing as the sogo user and typing out the defaults command for each and every individual option - ugh. One thing it doesn't do at present is checking the variable names for potential mistakes or any kind of error checking, for that matter. See below why. If people would find this script useful, then I will refine the script and add a lot of other support (logging, rollback, etc) and try and get it into the official Debian linux package repository, amongst other things. If people don't feel as though this would be helpful, then I will leave it as it is and be done with it. Let me know. Kind regards, -- Michael Crilly Comtek IT Systems Administrator E: michael.cri...@comtek.co.uk Comtek Network Systems UK Ltd http://www.comtek.co.uk/ -- users@sogo.nu https://inverse.ca/sogo/lists -- Michael Crilly Comtek IT Systems Administrator E: michael.cri...@comtek.co.uk Comtek Network Systems UK Ltd http://www.comtek.co.uk/ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
I do know Objective-C, but I'm not delving into the guts of that beast ;) On 18/02/2011 13:29, Покотиленко Константин wrote: Patching SOGo to understand unix-style config directly would be much cleaner solution, if someone could do this :) В Птн, 18/02/2011 в 12:25 +, Michael Crilly пишет: For this reason: Corrado Fiore: ... there's always a chance that a mistyped character will make GNUstep wipe away your file during the next parsing. Therefore you must always to keep a backup copy of your old file. Argh. It's incredibly annoying. Also, XML isn't a UNIX standard configuration format neither; it's an ugly, bloated format (which has its uses outside of configuration files in my eyes) which shouldn't ever be used for application configuration. At present I am writing the script to some what stable and include some error management. Once this has been done I shall upload a copy to a Dropbox account for people to use. This will be in a few days hopefully (I want to make sure the script is commented out, as well as the configuration file). Cheers. On 18/02/2011 11:31, Mark Adams wrote: Um, why don't you just edit /home/sogo/GNUstep/Defaults file as the sogo user after your initial setup? Regards, Mark On 18 Feb 2011, at 10:59, Michael Crillymichael.cri...@comtek.co.uk wrote: Greetings, When I first installed SOGo and realized it used GNUStep (urgh!) I wasn't too impressed. It's a horrid way of configuring a UNIX application and it simply doesn't fit in with the UNIX way of thinking. All that being said, I've written a Perl script that I've found, so far, makes my life a lot easier... The script basically reads in a SOGo.conf file, which is in Apache format (a very common UNIX configuration file format), and parses it, converting each variable declaration into a 'defaults writedomain key value' command. It works perfectly so far, and even supports a variable amount of SOGoUserSources entries/dictionaries. I've found this makes configuring SOGo A LOT easier and if you need to change anything, it's incredibly easy too and simpler than remembering the SOGoVariable, su'ing as the sogo user and typing out the defaults command for each and every individual option - ugh. One thing it doesn't do at present is checking the variable names for potential mistakes or any kind of error checking, for that matter. See below why. If people would find this script useful, then I will refine the script and add a lot of other support (logging, rollback, etc) and try and get it into the official Debian linux package repository, amongst other things. If people don't feel as though this would be helpful, then I will leave it as it is and be done with it. Let me know. Kind regards, -- Michael Crilly Comtek IT Systems Administrator E: michael.cri...@comtek.co.uk Comtek Network Systems UK Ltd http://www.comtek.co.uk/ -- users@sogo.nu https://inverse.ca/sogo/lists -- Michael Crilly Comtek IT Systems Administrator E: michael.cri...@comtek.co.uk Comtek Network Systems UK Ltd http://www.comtek.co.uk/ -- Michael Crilly Comtek IT Systems Administrator E: michael.cri...@comtek.co.uk Comtek Network Systems UK Ltd http://www.comtek.co.uk/ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Michael- Michael Crilly wrote: When I first installed SOGo and realized it used GNUStep (urgh!) I wasn't too impressed. It's a horrid way of configuring a UNIX application and it simply doesn't fit in with the UNIX way of thinking. All that being said, I've written a Perl script that I've found, so far, makes my life a lot easier... The script basically reads in a SOGo.conf file, which is in Apache format (a very common UNIX configuration file format), and parses it, converting each variable declaration into a 'defaults write domain key value' command. It works perfectly so far, and even supports a variable amount of SOGoUserSources entries/dictionaries. I've found this makes configuring SOGo A LOT easier and if you need to change anything, it's incredibly easy too and simpler than remembering the SOGoVariable, su'ing as the sogo user and typing out the defaults command for each and every individual option - ugh. I'm not sure if it's a fluke or not with my system, but if you type in the config file once (of course making a backup to avoid the surprise of having your configuration wiped away when you make a mistake) and only edit the file instead of using the defaults write commands, it will maintain it's appearance as in the SOGo manual which I think is easy to edit. I only experience the conversion to the not so legible XML-style format if I use the defaults write to add something. Steve -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Not sure if this is a problem anymore, with earlier versions, maybe. Sure, you need to take care of case-sensitiveness of the settings, but not a big problem, really. A simple bash script that does defaults write setting or defaults delete setting works just as fine. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Le 11-02-18 08:49, Michael Crilly a écrit : I do know Objective-C, but I'm not delving into the guts of that beast ;) Even though your concerns are legimitate, I must specify that to SOGo's defense, the problems you mention are not SOGo's fault: - initially, what counts is that the file be in property list. Some versions of GNUstep convert automatically this from OpenStep format into XML, but there is nothing we can do about it. You could try to convert it back to the OpenStep property list format... - again, the fact that SOGo will wipe your configuration file is a bug in the GNUstep code. Overal, I think the idea of a structured file-format is a good one. Perhaps the missing step to UNIX-compliance would be to enable the use of a conf file in the /etc/ hierarchy. This would be quite easy to do and you just need to ask ;) Cheers, Wolfgang -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
* Wolfgang Sourdeau users@sogo.nu: Le 11-02-18 08:49, Michael Crilly a écrit : I do know Objective-C, but I'm not delving into the guts of that beast ;) Even though your concerns are legimitate, I must specify that to SOGo's defense, the problems you mention are not SOGo's fault: - initially, what counts is that the file be in property list. Some versions of GNUstep convert automatically this from OpenStep format into XML, but there is nothing we can do about it. You could try to convert it back to the OpenStep property list format... - again, the fact that SOGo will wipe your configuration file is a bug in the GNUstep code. Overal, I think the idea of a structured file-format is a good one. Perhaps the missing step to UNIX-compliance would be to enable the use of a conf file in the /etc/ hierarchy. This would be quite easy to do and you just need to ask ;) Dropping the Defaults dependency and going for a UNIX type FHS http://www.pathname.com/fhs/ path compliant conf file would be a dream come true. So here is a huge ask: K K A ASK K A ASK K A ASKK K K K A A S KK A A S K K A A S K K A A K K p@rick -- state of mind Digitale Kommunikation http://www.state-of-mind.de Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666 Amtsgericht MünchenPartnerschaftsregister PR 563 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
On Sat, Feb 19, 2011 at 1:16 AM, Patrick Ben Koetter p...@state-of-mind.dewrote: K K A ASK K A ASK K A ASKK K K K A A S KK A A S K K A A S K K A A K K Heh. That's more like a PSK ! -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
* Mohit Chawla users@sogo.nu: On Sat, Feb 19, 2011 at 1:16 AM, Patrick Ben Koetter p...@state-of-mind.dewrote: K K A ASK K A ASK K A ASKK K K K A A S KK A A S K K A A S K K A A K K Heh. That's more like a PSK ! Please forgive my poor ASCII art skills. I was simply trying to express my strong liking of a UNIX like conf file. (No yelling, just in case anyone wondered...) p@rick -- state of mind Digitale Kommunikation http://www.state-of-mind.de Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666 Amtsgericht MünchenPartnerschaftsregister PR 563 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
On Sat, Feb 19, 2011 at 1:29 AM, Patrick Ben Koetter p...@state-of-mind.dewrote: Please forgive my poor ASCII art skills. I was simply trying to express my strong liking of a UNIX like conf file. (No yelling, just in case anyone wondered...) Same goes for some humor ! :) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Not sure what ASK means (unless it just means ask, as in the word), but I am working on the script. It has come along nicely, but I'm not the best Perl programmer (I only picked up the language about two weeks ago), so the script could be better (it's pretty good in my eyes). When I feel the script can be safely used in a production environment, I will release it. Right now, it can take a configuration file from any location and correctly parses the Apache style config' and bangs out a load of 'defaults write' commands. It can also print out an ASCII table of the settings for easier review of your choices (without writing them to the GNUStep configuration file). Here's a screen shot: http://cl.ly/0A2k3X2Z3w3O2w1Y1j3M Cheers. On 18/02/2011 19:46, Patrick Ben Koetter wrote: * Wolfgang Sourdeauusers@sogo.nu: Le 11-02-18 08:49, Michael Crilly a écrit : I do know Objective-C, but I'm not delving into the guts of that beast ;) Even though your concerns are legimitate, I must specify that to SOGo's defense, the problems you mention are not SOGo's fault: - initially, what counts is that the file be in property list. Some versions of GNUstep convert automatically this from OpenStep format into XML, but there is nothing we can do about it. You could try to convert it back to the OpenStep property list format... - again, the fact that SOGo will wipe your configuration file is a bug in the GNUstep code. Overal, I think the idea of a structured file-format is a good one. Perhaps the missing step to UNIX-compliance would be to enable the use of a conf file in the /etc/ hierarchy. This would be quite easy to do and you just need to ask ;) Dropping the Defaults dependency and going for a UNIX type FHS http://www.pathname.com/fhs/ path compliant conf file would be a dream come true. So here is a huge ask: K K A ASK K A ASK K A ASKK K K K A A S KK A A S K K A A S K K A A K K p@rick -- Michael Crilly ICT Systems Administrator Comtek Network Systems M: 07771133663 E: michael.cri...@comtek.co.uk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Script
Bonjour, Le vendredi 18 février 2011, Michael Crilly a écrit... Here's a screen shot: http://cl.ly/0A2k3X2Z3w3O2w1Y1j3M Nice! Don't stop working! -- jm -- users@sogo.nu https://inverse.ca/sogo/lists