After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660573 - Support ownCloud
Support ownCloud
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
3.2.x
Other All
: Normal enhancement
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks: 686526 686527 686528 686529
 
 
Reported: 2011-09-30 16:11 UTC by Gendre Sébastien
Modified: 2012-10-24 21:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Introduce org.gnome.OnlineAccounts.Files (2.32 KB, patch)
2012-10-20 15:38 UTC, Debarshi Ray
committed Details | Review
Add a Uri property to the Calendar and Contacts interfaces (1.72 KB, patch)
2012-10-20 15:40 UTC, Debarshi Ray
committed Details | Review
Add GoaHttpClient (13.14 KB, patch)
2012-10-20 15:40 UTC, Debarshi Ray
committed Details | Review
Add ownCloud (51.06 KB, patch)
2012-10-20 15:41 UTC, Debarshi Ray
none Details | Review
Add ownCloud (51.05 KB, patch)
2012-10-20 15:49 UTC, Debarshi Ray
committed Details | Review
Screenshot (54.31 KB, image/png)
2012-10-20 15:56 UTC, Debarshi Ray
  Details
Add 'since: 3.8.0' to the new Uri property in Calendar and Contacts (989 bytes, patch)
2012-10-21 17:21 UTC, Debarshi Ray
committed Details | Review
owncloud icons (6.07 KB, application/x-gzip)
2012-10-24 16:16 UTC, Andreas Nilsson
  Details

Description Gendre Sébastien 2011-09-30 16:11:13 UTC
Feature request: Add OwnCloud service in the list of online account.

OwnCloud is a Free (as free speach) software to build your own "cloud" service on your own server. It provide some service like Google and, like Google services, need to config some Gnome applications.

Services provided actually (ver 2 beta) by OnwCloud / Gnome application need to be configure:
- Files storage and sharing. You can using it for Documents. / Nautilus [1] and Gnome-Documents.
- Calandar / Evolution and Gnome-Shell calandar.
- Contact / Gnome-Contact and Evolution.

[1] For Nautilus, we can have a permanently device, with the OwnCloud icon, in Network section of the left panel. When user want to connect, it mount the device (double click) and to deconnect, it unmount the device (click on the eject button of the device).
Comment 1 André Klapper 2011-10-03 11:36:44 UTC
Any link to the API documentation of OwnCloud?
Comment 2 Steve Frécinaux 2011-10-06 22:22:11 UTC
Apparently, owncloud acts as a webdav server for files, carddav for contacts and caldav for calendaring.
Comment 3 Gendre Sébastien 2011-10-11 12:31:19 UTC
(In reply to comment #1)
> Any link to the API documentation of OwnCloud?

Like Steve Frécinaux say, it's principally based on WebDav.

This is information that we can learn on the officiel website[1]:
- Files: WebDav.
- Calendar: CalDav.
- Contact: CardDav.
- Music: Ampache [2] (not Apache).

About file sharing from the OwnCloud, I don't find API for that.

[1] http://owncloud.org/announcement/
[2] http://ampache.org/
Comment 4 Felix Möller 2012-07-29 13:15:46 UTC
The DAV server working inside of owncloud is SabreDAV <http://code.google.com/p/sabredav/>.

For the ampache support one might want to watch bug #676366.

The synchronisation is based on csync <http://git.csync.org/users/freitag/csync.git>.
It is done by a Qt frontend mirall <http://gitorious.org/owncloud/mirall>
Comment 5 Frank Karlitschek 2012-09-23 10:48:16 UTC
Hi everybody.

I´m the founder of the ownCloud project and I integration with the GNOME Online accounts would be very cool. I think GNOME and ownCloud share the same goals to build a free enduser computing environment so this makes a lot of sense IMHO.
There are several ways to integrate:
CalDAV/CardDAV for Evolution
A webdav link for Nautilus. An Ampache connection to a music player. bookmark syncing. And ownCloud as an offline file sync client too. The backend is based on csync and we have a Qt bases frontend but no KDElibs dependencies. It´s possible to write a GTK based frontend but this is some work of course.

Please let me know if there is anything I can do to help.
 
Frank
Comment 6 Debarshi Ray 2012-09-24 20:56:53 UTC
After talking to the nice people in #owncloud-dev, I gathered that using HTTP authentication is the best approach here. I learnt that there is a good chance that OAuth will be implemented before the end of this year, but even then a lot of deployments out there would be running older versions of ownCloud that would not have OAuth.

Using OAuth would have had the advantage that we could re-use the existing OAuth implementation in GOA, and the user would not have to give out her password. However, it is more important to make sure that the feature is actually usable for a bigger group of users.
Comment 7 Debarshi Ray 2012-10-03 23:14:14 UTC
I have started to work on this at http://git.gnome.org/browse/gnome-online-accounts/log/?h=wip/owncloud
Comment 8 Hans Spaans 2012-10-09 00:46:36 UTC
Is the idea to make it just for OwnCloud or more generic? Reading some documents from OwnCloud and taking DNS SD into account we could have a generic way to setup CardDAV, CalDAV, WebDAV Homedir, XMPP Client, IMAP, POP, SMTP Submission and Sieve for example. This would allow everyone with the right SRV records in DNS to auto-setup their own account based on just an e-mailaddress and maybe an alternative account based on the authentication methods.
Comment 9 Debarshi Ray 2012-10-09 07:51:02 UTC
Hans, you are looking for bug 661117
Comment 10 Debarshi Ray 2012-10-20 15:38:39 UTC
Created attachment 226891 [details] [review]
Introduce org.gnome.OnlineAccounts.Files
Comment 11 Debarshi Ray 2012-10-20 15:40:09 UTC
Created attachment 226892 [details] [review]
Add a Uri property to the Calendar and Contacts interfaces
Comment 12 Debarshi Ray 2012-10-20 15:40:45 UTC
Created attachment 226893 [details] [review]
Add GoaHttpClient
Comment 13 Debarshi Ray 2012-10-20 15:41:56 UTC
Created attachment 226895 [details] [review]
Add ownCloud
Comment 14 Debarshi Ray 2012-10-20 15:49:45 UTC
Created attachment 226896 [details] [review]
Add ownCloud

Keep it disabled by default till we have some applications using it.
Comment 15 Debarshi Ray 2012-10-20 15:56:51 UTC
Created attachment 226897 [details]
Screenshot

Jimmac, what do you think of the ownCloud logo? I am using the favicon.svg from their Git repository because it looked like the best fit. They have other variants of the logo too.

(I was told that it they are freely licensed, so I am hoping that there won't be any copyright or trademark issues.)
Comment 16 JB 2012-10-20 16:51:27 UTC
(In reply to comment #5)
> Hi everybody.
> 
> I´m the founder of the ownCloud project and I integration with the GNOME Online
> accounts would be very cool. I think GNOME and ownCloud share the same goals to
> build a free enduser computing environment so this makes a lot of sense IMHO.
> There are several ways to integrate:
> CalDAV/CardDAV for Evolution
> A webdav link for Nautilus. An Ampache connection to a music player. bookmark
> syncing. And ownCloud as an offline file sync client too. The backend is based
> on csync and we have a Qt bases frontend but no KDElibs dependencies. It´s
> possible to write a GTK based frontend but this is some work of course.
> 
> Please let me know if there is anything I can do to help.
> 
> Frank

Frank,

I don't think the API question was fully addressed.

For instance, I see the following use case desirable:

- From Nautilus(Files) I right click a file and select 'Share with Owncloud'
- The file is uploaded and a link to the public share is copied to the clipboard
- I can now email or IM the link to the shared file

How would the above be accomplished with OwnCloud/Gnome integration?

Is there an API?

Thanks
Comment 17 Debarshi Ray 2012-10-20 16:55:49 UTC
(In reply to comment #16)
> For instance, I see the following use case desirable:
> 
> - From Nautilus(Files) I right click a file and select 'Share with Owncloud'
> - The file is uploaded and a link to the public share is copied to the
> clipboard
> - I can now email or IM the link to the shared file

Please use bug 686526 for the Nautilus/Files + ownCloud integration. The exact interaction and UX needs to be discussed with the good folks in #gnome-design.

> How would the above be accomplished with OwnCloud/Gnome integration?
> 
> Is there an API?

ownCloud exposes various DAV endpoints. For Nautilus, we plan to use the WebDAV endpoint to talk to the ownCloud server using WebDAV.
Comment 18 Frank Karlitschek 2012-10-20 17:55:28 UTC
(In reply to comment #16)
> (In reply to comment #5)
> > Hi everybody.
> > 
> > I´m the founder of the ownCloud project and I integration with the GNOME Online
> > accounts would be very cool. I think GNOME and ownCloud share the same goals to
> > build a free enduser computing environment so this makes a lot of sense IMHO.
> > There are several ways to integrate:
> > CalDAV/CardDAV for Evolution
> > A webdav link for Nautilus. An Ampache connection to a music player. bookmark
> > syncing. And ownCloud as an offline file sync client too. The backend is based
> > on csync and we have a Qt bases frontend but no KDElibs dependencies. It´s
> > possible to write a GTK based frontend but this is some work of course.
> > 
> > Please let me know if there is anything I can do to help.
> > 
> > Frank
> 
> Frank,
> 
> I don't think the API question was fully addressed.
> 
> For instance, I see the following use case desirable:
> 
> - From Nautilus(Files) I right click a file and select 'Share with Owncloud'
> - The file is uploaded and a link to the public share is copied to the
> clipboard
> - I can now email or IM the link to the shared file
> 
> How would the above be accomplished with OwnCloud/Gnome integration?
> 
> Is there an API?
> 
> Thanks


We are currently working on an API to trigger sharing or versioning rollbacks. This is planed for ownCloud 5 and is currently not yet possible. At the moment you have to do this in the webinterface. I suggest to support this feature in a later step.

Does this work for you?

Frank
Comment 19 JB 2012-10-20 18:17:10 UTC
That will work great!  I'm happy to know it's being worked on.

Thanks

-Jerome
Comment 20 Debarshi Ray 2012-10-21 17:21:11 UTC
Created attachment 226937 [details] [review]
Add 'since: 3.8.0' to the new Uri property in Calendar and Contacts
Comment 21 Andreas Nilsson 2012-10-24 16:16:41 UTC
Created attachment 227164 [details]
owncloud icons
Comment 22 Debarshi Ray 2012-10-24 21:29:57 UTC
(In reply to comment #21)
> Created an attachment (id=227164) [details]
> owncloud icons

Thanks. Much appreciated. Committed as:

commit 726a56437d2e47e913662bc020b16f6604d22bcd
Author: Andreas Nilsson <andreasn@src.gnome.org>
Date:   Wed Oct 24 19:09:34 2012 +0200

    icons: Shiny new ownCloud icons
    
    Fixes: https://bugzilla.gnome.org/660573
Comment 23 Debarshi Ray 2012-10-24 21:32:38 UTC
Sans bugs, work needed to integrate ownCloud in GNOME is now complete on the gnome-online-accounts front.

We now need to focus on the applications. Feel free to help out with your favourite application. (see the list of bugs at the bottom of the page)