[SOGo] My way to customize SOGo's top toolbar
1) a) su - sogo b) cd GNUstep/Library/SOGo/Templates/ c) cp /usr/lib/GNUstep/SOGo/Templates/UIxPageFrame.wox . d) cp /usr/lib/GNUstep/SOGo/WebServerResources/generic.js . e) rm -f /usr/lib/GNUstep/SOGo/Templates/UIxPageFrame.wox f) rm - /usr/lib/GNUstep/SOGo/Templates/generic.js g) ln -s /home/sogo/GNUstep/Library/SOGo/Templates/UIxPageFrame.wox /usr/lib/GNUstep/SOGo/Templates/UIxPageFrame.wox h) ln -s /home/sogo/GNUstep/Library/SOGo/Templates/generic.js /usr/lib/GNUstep/SOGo/WebServerResources/generic.js i) vim UIxPageFrame.wox Find the instruction bloc that begin by var:if condition=userHasMailAccess Then just after the end of this bloc and before the bloc a id=preferencesBannerLink I added my first link : a id=FTPBannerLink style=color:#1589FF; var:href=https://ajaxplorer.mydomain.fr; var:string label:value=FTP IAS //a 2) a) vim generic.js b) just after the function onPreferencesClick I created a the function onFTPClick function onFTPClick(event) { var urlstr = https://ajaxplorer.mydomain.fr;; var windowSize = width=900px,height=600px,resizable=1,scrollbars=1,location=0; var w = window.open(urlstr, FTP IAS, windowSize); w.opener = window; w.focus(); } c)Then you move into the function configureLinkBanner() and just before the line link = $(preferencesBannerLink); you add your link : link = $(FTPBannerLink); if (link) { link.observe(mousedown, listRowMouseDownHandler); link.observe(click, clickEventWrapper(onFTPClick)); } By following this way you can create several other links that will opens themselves in another window by clicking on them. Given Note-1 : the symbolic links created above (ln -s ….) are supposed (I hope) to avoid theses two files to be overwriting at the next upgrade of sogo. Note-2 : I do not know why but that doesn't work if my personal link is after the one of the preferences. Hoping this can help you… Gerard -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] SOGoUIAdditionalCSSFiles
Le Lundi 29 Octobre 2012 14:06 CET, Federico Alberto Sayd fs...@uncu.edu.ar a écrit: On 29/10/12 06:26, gerard breiner wrote: Hello, Given I customized the login page, I first copied the template SOGoRootPage.wox in /home/sogo/GNUstep/Library//SOGo/Templates/MainUI/. Given too I had to modified the SOGoRootPage.css It comes good sense to copy this file to the same path so that to prevent that an upgrade replace my changes. So I tried... defaults write sogod SOGoUIAdditionalCSSFiles (/home/sogo/GNUstep/Library/SOGo/Templates/MainUI/SOGoRootPage.css). service sogo restart. However it seems it is still the original file that is loaded. Could you please tell me what is wrong ? Best regards. Gérard Can you confirm that is your own css file that is loaded? You can try inspecting the html code or use a tool as Firebug to debug the CSS y and view if default CSS properties are not overwriting your CSS properties Regards Federico -- users@sogo.nu https://inverse.ca/sogo/lists Hello Federico, Yes it is a fact that the SOGoRootPage.css that is loaded is not the one I customized. the mine load a different skin. However I tried your idea of tracking the css code with firebug but Wiew CSS give no result (blank page). Nevertheless it is not indeed html code. It is ? The only thing that work in the thumb Styles of Firebug is Disable CSS. However I guess that the aim of the directive SOGo SOGoUIAdditionalCSSFiles is to override the css so that to customize stylesheet with our own css. It is a pity but it does not work for me. Does it work for you ? Best regards. Gerard -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] SOGoUIAdditionalCSSFiles
Hello, Given I customized the login page, I first copied the template SOGoRootPage.wox in /home/sogo/GNUstep/Library//SOGo/Templates/MainUI/. Given too I had to modified the SOGoRootPage.css It comes good sense to copy this file to the same path so that to prevent that an upgrade replace my changes. So I tried... defaults write sogod SOGoUIAdditionalCSSFiles (/home/sogo/GNUstep/Library/SOGo/Templates/MainUI/SOGoRootPage.css). service sogo restart. However it seems it is still the original file that is loaded. Could you please tell me what is wrong ? Best regards. Gérard -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] custom CSS stylesheet
Hello, What is the syntax for adding a link in a .wox file toward a customized css file ? Many thanks in advance. Gérard -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] How to add external link in the toolbar modules ?
Hello, I would like to add external link in the toolbar modules. Is it possible to do this ? What is the way to do it ? I looked at the SOGo/Templates but didn't find how to do. Best Regards. Gérard -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Problems after upgrading sogo
Hello, I'got the same issue and message error this morning after upgrading on our debian squeeze server... Best regards. Gérard Breiner mathilde rousseau mathilde.rouss...@icsn.cnrs-gif.fr a écrit : Hello Yes i saw this message in my kern.log, syslog and message files. What can i do ? Thank you Mathilde Le 25/10/2012 11:28, Dries Decock a écrit : Hi, This is the same issue as reported by Stefan Klatt. You will see in your dmesg that the SOGo program crashes. Kind regards, Dries On 10/25/2012 10:35 AM, mathilde rousseau wrote: Hello I do the last upgrade this morning (my sogo server is running on a debian squeeze) and know i can't connect know to the web interface to read my mail. I have this error Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request /GET /SOGo/so/mathilde/Mail/view https://sogo.icsn.cnrs-gif.fr/SOGo/so/mathilde/Mail/view/. Reason: *Error reading from remote server Could someone help me ? Thank you Mathilde * -- Mathilde Rousseau tel: 01 69 82 45 84/ 06 10 27 96 32 Responsable du Service Informatique Commun, ICSN UPR2301, Bâtiment 27 CNRS, 1 Av de la terrasse mail:mathilde.rouss...@icsn.cnrs-gif.fr 91198 Gif sur Yvette cedex -- Dries Decock Software Engineering Group Manager Excentis n.v. Gildestraat 8 T +32 9 269 22 99 dries.dec...@excentis.com mailto:dries.dec...@excentis.com 9000 Gent - Belgium -- Mathilde Rousseau tel: 01 69 82 45 84/ 06 10 27 96 32 Responsable du Service Informatique Commun, ICSN UPR2301, Bâtiment 27 CNRS, 1 Av de la terrasse mail: mathilde.rouss...@icsn.cnrs-gif.fr 91198 Gif sur Yvette cedex This message was sent using IMP, the Internet Messaging Program. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ANN: SOGo 2.0.2
Wolfgang Sourdeau wsourd...@inverse.ca a écrit : Debian/Ubuntu users should be fine too. Can anyone confirm? Thanks! Wolfgang -- Wolfgang Sourdeau :: +1 (514) 447-4918 ext. 125 :: wsourd...@inverse.ca Inverse inc. Leaders behind SOGo (sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists Yes, it works very fine now on Debian Squeeze. Many thanks Wolfgang. Gérard. This message was sent using IMP, the Internet Messaging Program. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Migration horde to sogo
Le Mardi 9 Octobre 2012 14:18 CEST, gerard breiner gerard.brei...@ias.u-psud.fr a écrit: Le Lundi 8 Octobre 2012 17:42 CEST, gerard breiner gerard.brei...@ias.u-psud.fr a écrit: Le Lundi 8 Octobre 2012 10:34 CEST, Christian Mack christian.m...@uni-konstanz.de a écrit: On 2012-10-05 19:49, gerard breiner wrote: Hello, First of all many thanks at the SOGo team for this great work that is sogo. So far we used Horde with kronolith and turba. I installed Sogo 2-2.0.0 under Debian Squeeze via apt-get. Now I downloaded the scripts Migration/Horde and configure config.py. I run ./turba.py gbreiner It works (no error) but I don't know where are my three vcard . So I modified TurbaConverter so that it show the put.response[status] and the url of my vcard. I run again ./turba.py gbreiner and I get : Converting addressbook of 'gbreiner' prepared 3 cards /SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf 302 successes: 1; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf 302 successes: 2; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf 302 successes: 3; failures: 0 Done So It seems all is correct but how can I get my three contacts... ? Any help would be appreciated. Did you log in to SOGo as user gbreiner before importing old data? Yes. The personal calendar and address book are created on first log in, so I don't think importing will work before that. Try looking under Address Book -- Personal address book when logging in as user gbreiner into the SOGo webinterface. Already done... In Address Book -- Personal address book I have the contacts that comes from my Personal Computer by synchronisation with syncml client funambol. I expected my horde contacts at this place but no data has been added. I have three tables in mysql related to gbreiner's contacts. sogogbreiner00269f70e2c sogogbreiner00269f70e2c_acl sogogbreiner00269f70e2c_quick If I did understood, horde contacts for gbreiner should be in theses tables after having ran turba.py, should'nt be ? Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists Others informations, users sogo are authentified by ldap. Sogo has been installed by using apt-get as recommended in the Installation Guide. I looked at the mysql log but there is only the request to the horde tables : tail -300 mysql.log 121008 17:34:15 538 Connect sogo@localhost on horde 538 Query set autocommit=0 538 Query SELECT user_uid, datatree_name FROM horde_datatree WHERE user_uid = 'gbreiner' 538 Query SELECT * FROM turba_objects WHERE owner_id = 'gbreiner' or owner_id = 'imp.gbreiner.431d5ec5.7070...@ias.u-psud.fr' or owner_id = 'turba' or owner_id = 'kronolith' or owner_id = 'gbreiner' or owner_id = 'a1f4fd6d3a9a165663de621ae941e5ca' or owner_id = '09949fee02914b900a833af3f6097a46' or owner_id = 'gollem' or owner_id = 'backends' or owner_id = 'gbreiner' or owner_id = 'b8660d241df40665a73e97c76ff33d27' or owner_id = '60df89056de50ee9bf04941bd4432419' 538 Quit Many thanks Christian for your friendly answer. Best regards. Gérard Breiner -- users@sogo.nu https://inverse.ca/sogo/lists Humm... Am I alone to have this problem ? Yet I 'm already log in a first time so the mysql tables for contacts have been created but when I run the script turba.py I do not get my contacts from horde in my Personal address book. Does anyone has an idea of what happens after the PUT of TurbaConverter.py script ? Any help would be greatly appreciated. Best regards. Gérard Breiner Institut d'Astrophysique Spatiale FR-91405 Campus Orsay-Ville -- users@sogo.nu https://inverse.ca/sogo/lists Hello, Im still working on this issue... I want to migrate contacts from horde to sogo for all users. So I use the script TurbaConverter.py. I added a line for tracing the response headers: print put.response[headers]. Here is the result after having ran the command turba.py gbreiner : Converting addressbook of 'gbreiner' prepared 3 cards {'content-length': '283', 'vary': 'Accept-Encoding', 'server': 'Apache/2.2.16 (Debian) DAV/2 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o', 'location': 'https://sogo.ias.u-psud.fr/SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf', 'date': 'Wed, 17 Oct 2012 08:39:33 GMT', 'content-type': 'text/html; charset=iso-8859-1'} successes: 1; failures: 0 {'content-length': '283', 'vary': 'Accept-Encoding', 'server': 'Apache/2.2.16
Re: [SOGo] Migration horde to sogo
Le Lundi 8 Octobre 2012 10:34 CEST, Christian Mack christian.m...@uni-konstanz.de a écrit: On 2012-10-05 19:49, gerard breiner wrote: Hello, First of all many thanks at the SOGo team for this great work that is sogo. So far we used Horde with kronolith and turba. I installed Sogo 2-2.0.0 under Debian Squeeze via apt-get. Now I downloaded the scripts Migration/Horde and configure config.py. I run ./turba.py gbreiner It works (no error) but I don't know where are my three vcard . So I modified TurbaConverter so that it show the put.response[status] and the url of my vcard. I run again ./turba.py gbreiner and I get : Converting addressbook of 'gbreiner' prepared 3 cards /SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf 302 successes: 1; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf 302 successes: 2; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf 302 successes: 3; failures: 0 Done So It seems all is correct but how can I get my three contacts... ? Any help would be appreciated. Did you log in to SOGo as user gbreiner before importing old data? The personal calendar and address book are created on first log in, so I don't think importing will work before that. Try looking under Address Book -- Personal address book when logging in as user gbreiner into the SOGo webinterface. Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists Hello, For remind, I'am already logged in at least hundred times... Tables mysql has been created... In order to track the bug, I added in TurbaConverter.py the line : print put.response[body]. Here is what this line show up for one contact : successes: 2; failures: 0 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title302 Found/title /headbody h1Found/h1 pThe document has moved a href=https://sogo.ias.u psud.fr/SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcfhere/a./p /body/html I added too the line print put.response[headers]. I get : {'content-length': '283', 'vary': 'Accept-Encoding', 'server': 'Apache/2.2.16 (Debian) DAV/2 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o', 'location': 'https://sogo.ias.u-psud.fr/SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf', 'date': 'Wed, 17 Oct 2012 09:32:47 GMT', 'content-type': 'text/html; charset=iso-8859-1'} successes: 2; failures: 0 I' m wondering about the charset. It seems to me that Sogo wants UTF-8 and not iso-8859-1, isn't it ? Best regards. Gérard Breiner -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Migration horde to sogo
Le Lundi 8 Octobre 2012 17:42 CEST, gerard breiner gerard.brei...@ias.u-psud.fr a écrit: Le Lundi 8 Octobre 2012 10:34 CEST, Christian Mack christian.m...@uni-konstanz.de a écrit: On 2012-10-05 19:49, gerard breiner wrote: Hello, First of all many thanks at the SOGo team for this great work that is sogo. So far we used Horde with kronolith and turba. I installed Sogo 2-2.0.0 under Debian Squeeze via apt-get. Now I downloaded the scripts Migration/Horde and configure config.py. I run ./turba.py gbreiner It works (no error) but I don't know where are my three vcard . So I modified TurbaConverter so that it show the put.response[status] and the url of my vcard. I run again ./turba.py gbreiner and I get : Converting addressbook of 'gbreiner' prepared 3 cards /SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf 302 successes: 1; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf 302 successes: 2; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf 302 successes: 3; failures: 0 Done So It seems all is correct but how can I get my three contacts... ? Any help would be appreciated. Did you log in to SOGo as user gbreiner before importing old data? Yes. The personal calendar and address book are created on first log in, so I don't think importing will work before that. Try looking under Address Book -- Personal address book when logging in as user gbreiner into the SOGo webinterface. Already done... In Address Book -- Personal address book I have the contacts that comes from my Personal Computer by synchronisation with syncml client funambol. I expected my horde contacts at this place but no data has been added. I have three tables in mysql related to gbreiner's contacts. sogogbreiner00269f70e2c sogogbreiner00269f70e2c_acl sogogbreiner00269f70e2c_quick If I did understood, horde contacts for gbreiner should be in theses tables after having ran turba.py, should'nt be ? Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists Others informations, users sogo are authentified by ldap. Sogo has been installed by using apt-get as recommended in the Installation Guide. I looked at the mysql log but there is only the request to the horde tables : tail -300 mysql.log 121008 17:34:15 538 Connect sogo@localhost on horde 538 Query set autocommit=0 538 Query SELECT user_uid, datatree_name FROM horde_datatree WHERE user_uid = 'gbreiner' 538 Query SELECT * FROM turba_objects WHERE owner_id = 'gbreiner' or owner_id = 'imp.gbreiner.431d5ec5.7070...@ias.u-psud.fr' or owner_id = 'turba' or owner_id = 'kronolith' or owner_id = 'gbreiner' or owner_id = 'a1f4fd6d3a9a165663de621ae941e5ca' or owner_id = '09949fee02914b900a833af3f6097a46' or owner_id = 'gollem' or owner_id = 'backends' or owner_id = 'gbreiner' or owner_id = 'b8660d241df40665a73e97c76ff33d27' or owner_id = '60df89056de50ee9bf04941bd4432419' 538 Quit Many thanks Christian for your friendly answer. Best regards. Gérard Breiner -- users@sogo.nu https://inverse.ca/sogo/lists Humm... Am I alone to have this problem ? Yet I 'm already log in a first time so the mysql tables for contacts have been created but when I run the script turba.py I do not get my contacts from horde in my Personal address book. Does anyone has an idea of what happens after the PUT of TurbaConverter.py script ? Any help would be greatly appreciated. Best regards. Gérard Breiner Institut d'Astrophysique Spatiale FR-91405 Campus Orsay-Ville -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Migration horde to sogo
Le Lundi 8 Octobre 2012 10:34 CEST, Christian Mack christian.m...@uni-konstanz.de a écrit: On 2012-10-05 19:49, gerard breiner wrote: Hello, First of all many thanks at the SOGo team for this great work that is sogo. So far we used Horde with kronolith and turba. I installed Sogo 2-2.0.0 under Debian Squeeze via apt-get. Now I downloaded the scripts Migration/Horde and configure config.py. I run ./turba.py gbreiner It works (no error) but I don't know where are my three vcard . So I modified TurbaConverter so that it show the put.response[status] and the url of my vcard. I run again ./turba.py gbreiner and I get : Converting addressbook of 'gbreiner' prepared 3 cards /SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf 302 successes: 1; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf 302 successes: 2; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf 302 successes: 3; failures: 0 Done So It seems all is correct but how can I get my three contacts... ? Any help would be appreciated. Did you log in to SOGo as user gbreiner before importing old data? Yes. The personal calendar and address book are created on first log in, so I don't think importing will work before that. Try looking under Address Book -- Personal address book when logging in as user gbreiner into the SOGo webinterface. Already done... In Address Book -- Personal address book I have the contacts that comes from my Personal Computer by synchronisation with syncml client funambol. I expected my horde contacts at this place but no data has been added. I have three tables in mysql related to gbreiner's contacts. sogogbreiner00269f70e2c sogogbreiner00269f70e2c_acl sogogbreiner00269f70e2c_quick If I did understood, horde contacts for gbreiner should be in theses tables after having ran turba.py, should'nt be ? Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists Others informations, users sogo are authentified by ldap. Sogo has been installed by using apt-get as recommended in the Installation Guide. I looked at the mysql log but there is only the request to the horde tables : tail -300 mysql.log 121008 17:34:15 538 Connect sogo@localhost on horde 538 Query set autocommit=0 538 Query SELECT user_uid, datatree_name FROM horde_datatree WHERE user_uid = 'gbreiner' 538 Query SELECT * FROM turba_objects WHERE owner_id = 'gbreiner' or owner_id = 'imp.gbreiner.431d5ec5.7070...@ias.u-psud.fr' or owner_id = 'turba' or owner_id = 'kronolith' or owner_id = 'gbreiner' or owner_id = 'a1f4fd6d3a9a165663de621ae941e5ca' or owner_id = '09949fee02914b900a833af3f6097a46' or owner_id = 'gollem' or owner_id = 'backends' or owner_id = 'gbreiner' or owner_id = 'b8660d241df40665a73e97c76ff33d27' or owner_id = '60df89056de50ee9bf04941bd4432419' 538 Quit Many thanks Christian for your friendly answer. Best regards. Gérard Breiner -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Migration horde to sogo
Hello, First of all many thanks at the SOGo team for this great work that is sogo. So far we used Horde with kronolith and turba. I installed Sogo 2-2.0.0 under Debian Squeeze via apt-get. Now I downloaded the scripts Migration/Horde and configure config.py. I run ./turba.py gbreiner It works (no error) but I don't know where are my three vcard . So I modified TurbaConverter so that it show the put.response[status] and the url of my vcard. I run again ./turba.py gbreiner and I get : Converting addressbook of 'gbreiner' prepared 3 cards /SOGo/dav/gbreiner/Contacts/personal/b4fd46282634d0750075b49cf5714971.vcf 302 successes: 1; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/772361c72f938164ac3e3c0e5db68bee.vcf 302 successes: 2; failures: 0 /SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf 302 successes: 3; failures: 0 Done So It seems all is correct but how can I get my three contacts... ? Any help would be appreciated. Best regards. Gérard Breiner Institut D'Astrophysique Spatiale FR-91405 Orsay Ville -- users@sogo.nu https://inverse.ca/sogo/lists