[SOGo] Updates.php script

2013-09-30 Thread Labolinux

Dear Friends,

I need your help to figure out what is wrong with my updates.php script.
I installed SOGo on Centos 6.4, and everything is working fine.

Now i want my users to be able to use thunderbird connectors.
The manual installintion of plugins (sogo-connector, sogo-integrator, 
lightning)

is going fine.

 * I downloaded the updates.php script and putted it in
   /var/www/html/downloads/extensions/
 * I uncompressed sogo-integrator.xpi and modified extensions.rdf file
 * I enabled mod_rewrite in apache's configuration


When i type in the browser this: 
http://aynam.com/downloads/extensions/updates.php?plugin=sogo-integra...@inverse.caversion=0.00 


I get such an output:

RDF
Description 
about=urn:mozilla:extension:sogo-integra...@inverse.ca

em:updates
Seq
li
Description
em:version24.0.0/em:version
em:targetApplication
Description
em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id
em:minVersion24.0/em:minVersion
em:maxVersion25.*/em:maxVersion
em:updateLink/integrator.xpi/em:updateLink
/Description
/em:targetApplication
/Description
/li/Seq
/em:updates
/Description
/RDF
After that I think it shall be ok but when i install the integrator and 
restart TB the plugin update never finish.


for more information i'll add my updates.php script and a vew of 
extensions.rdf.

Thank you in advance.


Labolinux
Aynam Zongo M.
 text/html; name="aynam.php": Unrecognized 


extensions.rdf
Description: application/rdf


Re: [SOGo] Updates.php script

2013-09-30 Thread Szládovics Péter

2013-09-30 17:06 keltezéssel, Labolinux írta:

Dear Friends,

I need your help to figure out what is wrong with my updates.php script.
I installed SOGo on Centos 6.4, and everything is working fine.

Now i want my users to be able to use thunderbird connectors.
The manual installintion of plugins (sogo-connector, sogo-integrator, 
lightning)

is going fine.

  * I downloaded the updates.php script and putted it in
/var/www/html/downloads/extensions/
  * I uncompressed sogo-integrator.xpi and modified extensions.rdf file
  * I enabled mod_rewrite in apache's configuration


When i type in the browser this: 
http://aynam.com/downloads/extensions/updates.php?plugin=sogo-integra...@inverse.caversion=0.00 


I get such an output:

RDF
Description 
about=urn:mozilla:extension:sogo-integra...@inverse.ca

em:updates
Seq
li
Description
em:version24.0.0/em:version
em:targetApplication
Description
em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id
em:minVersion24.0/em:minVersion
em:maxVersion25.*/em:maxVersion
em:updateLink/integrator.xpi/em:updateLink
/Description
/em:targetApplication
/Description
/li/Seq
/em:updates
/Description
/RDF
After that I think it shall be ok but when i install the integrator 
and restart TB the plugin update never finish.


for more information i'll add my updates.php script and a vew of 
extensions.rdf.

Thank you in advance.


Labolinux
Aynam Zongo M.


This:
em:updateLink/integrator.xpi/em:updateLink

Would be look like:
em:updateLinkhttp://aynam.com/downloads/extensions/integrator.xpi/em:updateLink

Change the line 79 of the aynam.php from:
em:updateLink?php echo dirname(getenv('SCRIPT_URI')) . '/' . 
$plugin[filename] ?/em:updateLink


To:
em:updateLink?php echo 'http://aynam.com/downloads/extensions/' . 
$plugin[filename] ?/em:updateLink


--
Szládovics, Péter

Onlinedemo.HU http://www.onlinedemo.hu
Any sufficiently advanced technology is indistinguishable from magic.
/Arthur C. Clarke/
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Updates.php script

2013-09-30 Thread Labolinux

Thank you so much Peter. It worked very well.
I changed my  em:updateLink according to your advice and it works.
Thank you.

Le 30/09/2013 17:34, Szládovics Péter a écrit :

2013-09-30 17:06 keltezéssel, Labolinux írta:

Dear Friends,

I need your help to figure out what is wrong with my updates.php script.
I installed SOGo on Centos 6.4, and everything is working fine.

Now i want my users to be able to use thunderbird connectors.
The manual installintion of plugins (sogo-connector, sogo-integrator, 
lightning)

is going fine.

  * I downloaded the updates.php script and putted it in
/var/www/html/downloads/extensions/
  * I uncompressed sogo-integrator.xpi and modified extensions.rdf file
  * I enabled mod_rewrite in apache's configuration


When i type in the browser this: 
http://aynam.com/downloads/extensions/updates.php?plugin=sogo-integra...@inverse.caversion=0.00 


I get such an output:

RDF
Description 
about=urn:mozilla:extension:sogo-integra...@inverse.ca

em:updates
Seq
li
Description
em:version24.0.0/em:version
em:targetApplication
Description
em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id
em:minVersion24.0/em:minVersion
em:maxVersion25.*/em:maxVersion
em:updateLink/integrator.xpi/em:updateLink
/Description
/em:targetApplication
/Description
/li/Seq
/em:updates
/Description
/RDF
After that I think it shall be ok but when i install the integrator 
and restart TB the plugin update never finish.


for more information i'll add my updates.php script and a vew of 
extensions.rdf.

Thank you in advance.


Labolinux
Aynam Zongo M.


This:
em:updateLink/integrator.xpi/em:updateLink

Would be look like:
em:updateLinkhttp://aynam.com/downloads/extensions/integrator.xpi/em:updateLink

Change the line 79 of the aynam.php from:
em:updateLink?php echo dirname(getenv('SCRIPT_URI')) . '/' . 
$plugin[filename] ?/em:updateLink


To:
em:updateLink?php echo 'http://aynam.com/downloads/extensions/' . 
$plugin[filename] ?/em:updateLink


--
Szládovics, Péter

Onlinedemo.HU http://www.onlinedemo.hu
Any sufficiently advanced technology is indistinguishable from magic.
/Arthur C. Clarke/


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

Re: [SOGo] Updates.php script

2013-09-30 Thread Jean Raby

On 13-09-30 11:34 AM, Szládovics Péter wrote:


Change the line 79 of the aynam.php from:
em:updateLink?php echo dirname(getenv('SCRIPT_URI')) . '/' .
$plugin[filename] ?/em:updateLink

To:
em:updateLink?php echo 'http://aynam.com/downloads/extensions/' .
$plugin[filename] ?/em:updateLink

This shouldn't need any tweaking. If it does, enable mod_rewrite in apache.
If it still requires manual tweaking, then file in a bug, it shouldn't :-)

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


Re: [SOGo] updates.php script for 2.x and 3.x thunderbirds ?

2010-10-25 Thread Alessio Fattorini

Il 03/09/2010 13:54, Francis Lachapelle ha scritto:

Hi André

On Sep 3, 2010, at 2:18 AM, André Schild wrote:


For the new 3.1 releases, is there a way to have separate configuration in the 
same script,
or is it just simpler to setup a updates3.php and then specify that url in the 
integrator ?


Duplicating and modifying updates.php is currently the way to go.


Any idea for use only one updates.php? But maintain TB2 and tb3, and have 
automatic switching..
Can I have different behaviour between the request for TB2 and the request for 
tb3?
Some example?
Thank you
--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] updates.php script for 2.x and 3.x thunderbirds ?

2010-10-25 Thread André Schild

On 25.10.2010 17:22, Alessio Fattorini wrote:

Il 03/09/2010 13:54, Francis Lachapelle ha scritto:

Hi André

On Sep 3, 2010, at 2:18 AM, André Schild wrote:

For the new 3.1 releases, is there a way to have separate 
configuration in the same script,
or is it just simpler to setup a updates3.php and then specify that 
url in the integrator ?


Duplicating and modifying updates.php is currently the way to go.


Any idea for use only one updates.php? But maintain TB2 and tb3, and 
have automatic switching..
Can I have different behaviour between the request for TB2 and the 
request for tb3?

Some example?

With some php knowledge this is not a big problem to do.
But if you have not enough knowledge, then the two files approach is 
much simpler and cleaner.


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