client auto update

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

client auto update

Masaki Kawabata Neto
Hi, inspecting logwindow I found theese entries:

09-02 20:48:56:892 00 client update check to  "https://download.owncloud.com/clientupdater.php
09-02 20:48:56:990 Sys Info size:  81 
09-02 20:48:58:039 Client is on latest version! 

Is there any way to configure the update check server?
I was wondering that if is it possible to change the client install url on config.php from server, maybe the update check may also try the same one like

server's $customclient_desktop . 'clientupdater.php'

Masaki

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: client auto update

kwillems
I would like to know that too.
Also, what's in 'clientupdater.php'? Is that piece of PHP published somewere?

Cheers,
Koen
Reply | Threaded
Open this post in threaded view
|

Re: client auto update

shadowq
I have changed the source and rebuilt the client to change the update server. 

My clientupdater.php file goes something like this (I've added a "client" tag too for our individual purposes):

if($_GET['version'] && $_GET['platform'] && $_GET['client']){
    switch($_GET['client']){
        case "kjh":
            $latest['macos'] = "1.4.0";
            $latest['win32'] = "1.4.0";

        case "iforn":
        default:
            $latest['macos'] = "1.3.0";
            $latest['win32'] = "1.3.0";
    }
    
    if($_GET['version'] < $latest[$_GET['platform']]){
        echo '<?xml version="1.0"?>
    <owncloudclient>
      <version>'.$latest[$_GET['platform']].'</version>
      <versionstring>ownCloud Client '.$latest[$_GET['platform']].'</versionstring>
      <web><a href="http://kjhosting.com/oc/owncloud-&#39;.$latest[$_GET[&#39;platform&#39;]].&#39;-&#39;.($_GET[&#39;platform">http://kjhosting.com/oc/owncloud-'.$latest[$_GET['platform']].'-'.($_GET['platform'] == "win32" ? 'win.exe' : 'mac.dmg').'</web>
    </owncloudclient>
        ';
    }else{
        echo '<?xml version="1.0"?>
    <owncloudclient>
      <version></version>
      <versionstring></versionstring>
      <web></web>
    </owncloudclient>
        ';
    }
    
}


On Tue, Sep 10, 2013 at 9:35 PM, kwillems <[hidden email]> wrote:
I would like to know that too.
Also, what's in 'clientupdater.php'? Is that piece of PHP published
somewere?

Cheers,
Koen



--
View this message in context: http://owncloud.10557.n7.nabble.com/client-auto-update-tp10628p10715.html
Sent from the ownCloud mailing list archive at Nabble.com.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud


_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: client auto update

Klaas Freitag-3
In reply to this post by Masaki Kawabata Neto
On 03.09.2013 02:02, Masaki Kawabata Neto wrote:
> Hi, inspecting logwindow I found theese entries:
>
> 09-02 20:48:56:892 00 client update check to  "
> https://download.owncloud.com/clientupdater.php"
> 09-02 20:48:56:990 Sys Info size:  81
> 09-02 20:48:58:039 Client is on latest version!
>
> Is there any way to configure the update check server?
No, not yet. It just checks if there is an updated version available,
and if so, fires up a warning for the user.

regards,

Klaas



_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: client auto update

kwillems
I saw a variable called 'oem' in line 61 of updatedetector.cpp.
Does anyone know what that's used for?

It would be great if clientupdater.php would be posted here also.

Kind regards,

Koen
Reply | Threaded
Open this post in threaded view
|

Re: client auto update

Frank Karlitschek-3
ownCloud Inc. offers white-labeled / rebranded versions of the clients for customers. Some of them are on different update schedules so this parameter controls that.
No private data or tracking data or anything else that is security or privacy related is transmitted as you can see. Thats he benefit of open source.

So users of the normal community clients can just ignore that parameter.


Frank



On 10.09.2013, at 23:24, kwillems <[hidden email]> wrote:

> I saw a variable called 'oem' in line 61 of updatedetector.cpp.
> Does anyone know what that's used for?
>
> It would be great if clientupdater.php would be posted here also.
>
> Kind regards,
>
> Koen
>
>
>
> --
> View this message in context: http://owncloud.10557.n7.nabble.com/client-auto-update-tp10628p10741.html
> Sent from the ownCloud mailing list archive at Nabble.com.
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud