[SOGo] SOGo Integrator - Update server different from SOGo server

2014-12-17 Thread Stefan Upietz
Hello list,

I'm trying to configure Integrator for our environment and setup an
update server. In the docs it says This file is used for locating the
extension update server and the SOGo server, which we consider
to be the same for the moment. Now, I'm looking for a way to separate
these services. I have already setup an update server and changed
integrator.xpi. Thunderbird with that integrator connects and downloads
correctly, but then hangs and a lot of messages are logged to the
tb-console. I noticed before that there are quite a few warnings/
messages when installing sogo connector, so I'm not really able to
distinguish between problem related and normal messages.

Which settings do I have to adjust in what files to separate the update
from the sogo server?

TB: 31.1.2 (Windows 7, 64bit)
SOGo: 2.2.11a (Debian 7, 64bit)
sogo-integrator-31.0.0.xpi
lightning-3.3.1-tb+sm-windows.xpi
sogo-connector-31.0.0.xpi

Thanks,

Stefan
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo Integrator - Update server different from SOGo server

2014-12-17 Thread Stefan Upietz
Ok... I played around a bit and dared to enter the dreaded realm of
javascript ;-) (which it is for me, being rather a sysadmin)

What this patch basically does is to introduce a new key value pair in
extensions.rdf (isi:serverURL), which is in turn used in
sogo-config.js to generate baseURL. As far as I understand updateURL
is used for update and sogo server, so right now there is no way to give
separate URLs for them.
For me it seems to work, maybe some coder could have a look at it?

--- sogo-config.js  2013-09-26 10:24:22.0 +0200
+++ new-sogo-config.js  2014-12-17 17:25:06.0 +0100
@@ -39,17 +39,17 @@
.getService(Components.interfaces.nsIRDFService);
var extensions
  = rdf.GetResource(http://inverse.ca/sogo-integrator/extensions;);
-   var updateURLres
- = rdf.GetResource(http://inverse.ca/sogo-integrator/updateURL;);
+   var serverURLres
+ = rdf.GetResource(http://inverse.ca/sogo-integrator/serverURL;);
var ds
  =
rdf.GetDataSourceBlocking(chrome://sogo-integrator/content/extensions.rdf);

var updateArray;
try {
- var urlNode = ds.GetTarget(extensions, updateURLres, true);
+ var urlNode = ds.GetTarget(extensions, serverURLres, true);
  if (urlNode instanceof Components.interfaces.nsIRDFLiteral) {
-   var updateURL = urlNode.Value;
-   updateArray = updateURL.split(/);
+   var serverURL = urlNode.Value;
+   serverArray = serverURL.split(/);
  }
}
catch (e) {
@@ -65,7 +65,7 @@
  sogoPrefix = /SOGo;
}

-   sogoConfig['baseURL'] = (updateArray[0] + // + updateArray[2]
+   sogoConfig['baseURL'] = (serverArray[0] + // + serverArray[2]
 + sogoPrefix + /dav/ + sogoUserName() + /);
  }


On 12/17/2014 02:13 PM, Stefan Upietz wrote:
 Hello list,
 
 I'm trying to configure Integrator for our environment and setup an
 update server. In the docs it says This file is used for locating the
 extension update server and the SOGo server, which we consider
 to be the same for the moment. Now, I'm looking for a way to separate
 these services. I have already setup an update server and changed
 integrator.xpi. Thunderbird with that integrator connects and downloads
 correctly, but then hangs and a lot of messages are logged to the
 tb-console. I noticed before that there are quite a few warnings/
 messages when installing sogo connector, so I'm not really able to
 distinguish between problem related and normal messages.
 
 Which settings do I have to adjust in what files to separate the update
 from the sogo server?
 
 TB: 31.1.2 (Windows 7, 64bit)
 SOGo: 2.2.11a (Debian 7, 64bit)
 sogo-integrator-31.0.0.xpi
 lightning-3.3.1-tb+sm-windows.xpi
 sogo-connector-31.0.0.xpi
 
 Thanks,
 
 Stefan
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SOGo Openchange on different servers?

2014-09-29 Thread Stefan Upietz
Hello list,

we're having a working sogo environment with separate samba4 and sogo servers.
As I was reading through the sogo documentation on Outlook integration, I
seemed to find only a description for a combined server for all three
services... That's not possible right now for us.
So the question: has anyone set up a configuration with distinct servers? It
would be possible for us to install openchange on the samba server, but I'd
rather not ;-)

Thanks,

stefan...
-- 
users@sogo.nu
https://inverse.ca/sogo/lists