Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
remoteStorage spec version 12.04 - first proposals
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  22 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michiel de Jong  
View profile  
 More options Mar 11 2012, 7:19 am
From: Michiel de Jong <mich...@unhosted.org>
Date: Sun, 11 Mar 2012 11:19:39 +0000
Local: Sun, Mar 11 2012 7:19 am
Subject: remoteStorage spec version 12.04 - first proposals

Hi! it's almost April so since we update our spec (which is our main
product) in April and in October, let's start rounding up what we want to
change in the spec this time. here are a few ideas:

1) - format of the lrdd link:
right now we do:
<Link  rel="remoteStorage" template="https://example.com/storage/{category}/"
auth="https://example.com/auth.html" api="CouchDB" />

but it has been brought to our attention that inventing link attributes
like that is not really allowed. Also i think we don't need the
'/{category}/' in the template, i think we can dictate that the template
should always end in that, so that we don't have to specify it. so then I
think it would be more correct to say:

<resource class="remoteStorage">
  <Link rel="version" href="
https://www.w3.org/community/unhosted/wiki/RemoteStorage#CouchDB-12.04" />
  <Link rel="storage" href="https://example.com/storage" />
  <Link rel="auth" href="https://example.com/auth.html" />
</resource>

notice how the string 'CouchDB' became a link that points inside the spec
doc by calling it 'version' instead of 'api'. this way, we're also
documenting authoratively what we mean by this webfinger entry, and we're
making sure we can version it. makes this all a bit more sensible i think.
comments welcome!

2) - read-only access
this was an idea from Garret. basically in OAuth, the scope would specify
whether it's either read-only or read-write access that we're requesting
(see also point 9 about the syntax of this). i think that's a nice addition
and should be not too hard to implement for people. comments welcome!

3) - per-category data formats. Right now we're doing this here
https://github.com/unhosted/website/wiki/categories we should move this to
the w3c wiki, and mention it in the spec. So far the spec only prescribes
how providers should behave. i think we can add a paragraph stating that
RPs are expected to obey the per-category data format specs. comments
welcome!

4) - adding an ACLs. i'm against this. we already have the 'public'
category for allowing other people to read directly from your storage
without your mediation. i see no need for allowing other people to write to
it. the only thing you can do with that is either sending a message to
someone (which is a separate issue, see below), and "writing on someone's
wall". if someone wants to write, they can write on their own wall. they
can then message me, and my friends saying 'hey, look, i wrote this'. but
there's no need to use my storage for your data. and if we keep it this
way, then everything is simpler. it's clear who should pay for disk quota,
it's clear who is responsible for publishing something, it's clear who is
authorative to say who can read something, and it's clear who is
authoritive to delete something. comments welcome!

5) - 'inbox'. i'm not sure about this one. i'm certain we need messaging
(again, see below). but if the recipient is not online, then the message
can wait on the sender's side. that's what skype does. the message is
delivered as soon as both contacts coincide online at the same time. a nice
side-effect of this is that when the message is delivered, the recipient
can reply in real-time (because you know the sender is online at the moment
the message is delivered). i guess it depends on the type of application.
if we see there is a concrete need for this in concrete applications, then
we can add it in the next version, but i wouldn't add it in this one.
comments welcome!

6) messaging - i propose adding xmpp-over-websockets. what i'm not sure
about is whether that would then require all remoteStorage providers to
hire an erlang engineer. also, i think we can do the same thing as with
WebDAV, just say that it's one of the options for messaging, and allow
multiple ones as long as it's reasonable to ask a client-side app to
implement all of them.  i'll write a separate thread about this.

7) fakefinger - we have been using fakefinger on Libre Docs. It's basically
just unhosted's own central user database where /if/ you don't have
webfinger (this is only a fallback of last resort), you create a record
pointing to your remoteStorage, on the basis of BrowserID. I think it's
time to write down what we're doing there. we could also add other
alternatives to webfinger, like swd and xmpp disco and maybe dev-identity
will propose a 'persona profile' standard at some point, although i doubt
whether that's actually useful for anything. people should just implement
webfinger, always. i'll write a separte thread about this.

8) a way to migrate your data - right now, there is no in-band way to
migrate all your data from one storage to another. there are two things
missing:
- list all categories
- list all items in a category

they are easy to add in all three stable api's (assume the instance address
is /storage):
    - CouchDB: we should formalize the mapping category->database,
item->document that we're using. then, /storage/all_dbs and
/storage/category/all_docs will work.
    - WebDAV: we should formalize /storage/category/item as where we store
each item, then PROPFIND /storage/ and PROPFIND /storage/category/ will
return a 207 with an xml doc that contains all the category/item names.
    - simple: here we need to add it. to keep it simple, i would say GET
/storage/ and GET /storage/category/ (both ending in a trailing slash) can
return a JSON array of strings.

comments welcome!

9) OAuth scopes format: we need new OAuth scopes for read-only, and for
listing, and for messaging. we could also improve how auth to the 'public'
category works, i think. so instead of just saying 'sandwiches' to
implicitly mean read/write access, we could do 'sandwiches:rw'. we could
use 'l' for listing, 'p' for public (and then the token would work for
writing on /{storage}/public/{category}/{item}), and 'm' for messaging (see
other thread). and then the empty string would mean all categories. so what
is now the 'public' scope would become ':p', and ':rw' would be read/write
access to all your categories. scope ':l' would be needed to list all
categories. comments welcome!

If you think we should make any changes that are not among these 9 points,
then also please reply! The current spec is here as you hopefully all know:

https://www.w3.org/community/unhosted/wiki/RemoteStorage

Cheers,
Michiel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nil  
View profile  
 More options Mar 11 2012, 8:16 am
From: nil <nil.nik...@googlemail.com>
Date: Sun, 11 Mar 2012 12:16:35 +0000
Local: Sun, Mar 11 2012 8:16 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals
How about defining a URI scheme for remoteStorage, as we talked
yesterday on #unhosted?

On Sun, Mar 11, 2012 at 11:19 AM, Michiel de Jong <mich...@unhosted.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Melvin Carvalho  
View profile  
 More options Mar 11 2012, 7:22 pm
From: Melvin Carvalho <melvincarva...@gmail.com>
Date: Mon, 12 Mar 2012 00:22:37 +0100
Local: Sun, Mar 11 2012 7:22 pm
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

On 11 March 2012 12:19, Michiel de Jong <mich...@unhosted.org> wrote:

Would this change mean the XRD goes from invalid to valid?

Will fakefinger be JSON or XML based?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan-Christoph Borchardt  
View profile  
 More options Mar 12 2012, 8:54 am
From: Jan-Christoph Borchardt <j...@unhosted.org>
Date: Mon, 12 Mar 2012 13:54:40 +0100
Local: Mon, Mar 12 2012 8:54 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals
On 3/11/12, Michiel de Jong <mich...@unhosted.org> wrote:

> 5) - 'inbox'. i'm not sure about this one. i'm certain we need messaging
> (again, see below). but if the recipient is not online, then the message
> can wait on the sender's side. that's what skype does. the message is
> delivered as soon as both contacts coincide online at the same time. a nice
> side-effect of this is that when the message is delivered, the recipient
> can reply in real-time (because you know the sender is online at the moment
> the message is delivered). i guess it depends on the type of application.
> if we see there is a concrete need for this in concrete applications, then
> we can add it in the next version, but i wouldn't add it in this one.
> comments welcome!

I’m highly _for_ an inbox.
"What Skype does" is really annoying. People shouldn’t be pressed to
be online at the same time, forcing real-time communication as a
supposed nice side-effect.

A concrete need _is_ messaging. The spec will be valid until October,
in the meantime we will rely either on
* temporary hubs on the app side (like for Libre Docs) – which is not
purely client-side
* people being online at the same time, which is simply not acceptable

If we wait for it until the next version, communication apps are
effectively blocked for now.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thad Guidry  
View profile  
 More options Mar 12 2012, 9:24 am
From: Thad Guidry <thadgui...@gmail.com>
Date: Mon, 12 Mar 2012 08:24:12 -0500
Local: Mon, Mar 12 2012 9:24 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

Email still suffices as a great messaging platform that stands the test of
time and supports offline.

I need to know about the real messaging scenario here.

Are we trying to invent another offline messaging platform for users and
developers ?  To what end ?

Why can't communication apps simply use the users' email address ?

Confused,

On Mon, Mar 12, 2012 at 7:54 AM, Jan-Christoph Borchardt
<j...@unhosted.org>wrote:

--
-Thad
http://www.freebase.com/view/en/thad_guidry

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Mar 12 2012, 10:45 am
From: Michiel de Jong <mich...@unhosted.org>
Date: Mon, 12 Mar 2012 14:45:37 +0000
Local: Mon, Mar 12 2012 10:45 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

a simple scenario is i share a document with you in Libre Docs. it would be
nice if you would get a notification about that inside Libre Docs. Sending
a human-readable message to you via email or xmpp containing a web address
(url) would also work, but then you're really wrapping a machine-readable
message inside a human-readable message.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thad Guidry  
View profile  
 More options Mar 12 2012, 11:22 am
From: Thad Guidry <thadgui...@gmail.com>
Date: Mon, 12 Mar 2012 10:22:51 -0500
Local: Mon, Mar 12 2012 11:22 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

So, in your mind...do you think that messages are generic ?  and so
notifications, messages, & chat, basically all forms could share the same
low level service ?  That form should be XMPP, as an extensible protocol,
in my opinion...it's decentralized, and the idea of XMPP on top of
WebSockets is really the future movement.

On Mon, Mar 12, 2012 at 9:45 AM, Michiel de Jong <mich...@unhosted.org>wrote:

--
-Thad
http://www.freebase.com/view/en/thad_guidry

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Mar 12 2012, 11:31 am
From: Michiel de Jong <mich...@unhosted.org>
Date: Mon, 12 Mar 2012 15:31:59 +0000
Local: Mon, Mar 12 2012 11:31 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

On Mon, Mar 12, 2012 at 3:22 PM, Thad Guidry <thadgui...@gmail.com> wrote:
> So, in your mind...do you think that messages are generic ?  and so
> notifications, messages, & chat, basically all forms could share the same
> low level service ?  That form should be XMPP, as an extensible protocol,
> in my opinion...it's decentralized, and the idea of XMPP on top of
> WebSockets is really the future movement.

yes, i wrote about that in the other thread (the one called bla bla '-
messaging')

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Williams  
View profile  
 More options Mar 12 2012, 8:03 pm
From: Michael Williams <michael.william...@gmail.com>
Date: Mon, 12 Mar 2012 17:03:19 -0700
Local: Mon, Mar 12 2012 8:03 pm
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals
I agree messaging is very important if we want to make a creative
non-trivial app, so here's a promising messaging protocol that I
recently stumbled upon: http://about.psyc.eu/.

If we could integrate this with remote storage, that would be
beautiful. Yes email works, but we could do better, right?

Cheers,
Michael

On Mon, Mar 12, 2012 at 8:31 AM, Michiel de Jong <mich...@unhosted.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Mar 13 2012, 5:03 am
From: Michiel de Jong <mich...@unhosted.org>
Date: Tue, 13 Mar 2012 09:03:13 +0000
Local: Tues, Mar 13 2012 5:03 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

On Tue, Mar 13, 2012 at 12:03 AM, Michael Williams <

michael.william...@gmail.com> wrote:
> I agree messaging is very important if we want to make a creative
> non-trivial app, so here's a promising messaging protocol that I
> recently stumbled upon: http://about.psyc.eu/.

> If we could integrate this with remote storage, that would be
> beautiful. Yes email works, but we could do better, right?

> Cheers,
> Michael

Yeah, sure! but we have to think how we can get it onto websockets, as they
are the only way (apart from http long polling) to get into the browser.

sender's browser -(A)> sender's relay server -(B)> recipient's delivery
server -(C)> recipient's browser

The psyc message format http://www.psyc.eu/mmp.html can be used once this
route is established. A and C would use websockets, B could use whatever it
is psyc uses. We can pretty much define psyc-over-websockets to take the
same format as psyc-over-tcp, maybe we need to say something about
character encoding, but that would be about it. then you would just have to
write a compatible client in javascript.

It's also possible that the recipient's delivery server accepts connections
directly from the sender's browser, given that the recipient is local to
it. That begs the question why we would use anything other than websockets
for step B. in fact. if both sender and recipient are using a browser, then
we probably never even need a step B. We just need the recipient's socket
hub. If you don't have a sockethub yourself, you can either use a generic
one (we may run one, maybe surfnet and riseup want to run one as well).
otherwise, you will just always play the sender role in conversations.

Now apart from the fact that different people might run different client
apps in their browsers, and it's nice if we can allow two or three
different protocols, so that there is more chance that people's clients
will have some protocol that both can speak, it's obviously interesting to
send to and receive from people whose clients are not in the browser (yet).
That just means that your socket hub should speak tcp as well as websocket.
afaik all protocols we might want to be compatible with (smtp, xmpp, psyc,
sip even?) go over tcp, so if we build a gateway server that tunnels
between a websocket and a tcp socket, the rest of the protocol
implementation can be done inside the browser, right?

Cheers!
Michiel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elf Pavlik  
View profile  
 More options Mar 13 2012, 5:10 am
From: elf Pavlik <perpetual-trip...@wwelves.org>
Date: Tue, 13 Mar 2012 09:10:27 +0000
Local: Tues, Mar 13 2012 5:10 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals
Excerpts from Michael Williams's message of 2012-03-13 00:03:19 +0000:
> I agree messaging is very important if we want to make a creative
> non-trivial app, so here's a promising messaging protocol that I
> recently stumbled upon: http://about.psyc.eu/.

> If we could integrate this with remote storage, that would be
> beautiful. Yes email works, but we could do better, right?

i've heard a lot of positive feedback of psyc, at the same time lately i give more attention to XMPP, just yesterday started researching an extension for JSON stanzas: http://xmpp.org/extensions/xep-0295.html

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jon Spriggs  
View profile  
 More options Mar 13 2012, 5:16 am
From: Jon Spriggs <j...@sprig.gs>
Date: Tue, 13 Mar 2012 09:16:58 +0000
Local: Tues, Mar 13 2012 5:16 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals
Given the Jappix guys have got a working XMPP web/javascript
application, is it worth talking to them to see how they're doing it?
--
Jon "The Nice Guy" Spriggs

On 13 March 2012 09:10, elf Pavlik <perpetual-trip...@wwelves.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elf Pavlik  
View profile  
 More options Mar 13 2012, 5:50 am
From: elf Pavlik <perpetual-trip...@wwelves.org>
Date: Tue, 13 Mar 2012 09:50:36 +0000
Local: Tues, Mar 13 2012 5:50 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals
Excerpts from Jon Spriggs's message of 2012-03-13 09:16:58 +0000:
> Given the Jappix guys have got a working XMPP web/javascript
> application, is it worth talking to them to see how they're doing it?

sure, i've also stayed in munich few days now for buddycloud hackathon:
https://buddycloud.org/wiki/Main_Page

guys here have some nice web client and xmpp component both with coffeescript node etc. component uses pubsub for creating personal and topic channels, i've also seen some geo nodes under development etc. =)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Melvin Carvalho  
View profile  
 More options Mar 13 2012, 7:21 am
From: Melvin Carvalho <melvincarva...@gmail.com>
Date: Tue, 13 Mar 2012 12:21:11 +0100
Local: Tues, Mar 13 2012 7:21 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

On 13 March 2012 01:03, Michael Williams <michael.william...@gmail.com>wrote:

> I agree messaging is very important if we want to make a creative
> non-trivial app, so here's a promising messaging protocol that I
> recently stumbled upon: http://about.psyc.eu/.

> If we could integrate this with remote storage, that would be
> beautiful. Yes email works, but we could do better, right?

Not sure how much psyc will be used going forward, now that we have
libretroshare.

The best integration of chat that I've seen so far is from the socialswarm
/ secushare guys that have ported libretroshrare into the browser via
dooble / interace.  Very impresive stuff.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thad Guidry  
View profile  
 More options Mar 13 2012, 10:07 am
From: Thad Guidry <thadgui...@gmail.com>
Date: Tue, 13 Mar 2012 09:07:12 -0500
Local: Tues, Mar 13 2012 10:07 am
Subject: Re: [unhosted] remoteStorage spec version 12.04 - first proposals

Let's SLOW down before we hurt ourselves...

2 things... there are 2 basic forms of communication that might be needed
for unhosted.  But I am not even going to vote if both are really needed,
but all of you can instead:

1. 2 party routing (messaging)
2. Multicast routing (messaging)

It looks like PSYC was primarily built around the idea of #2 to support a
better IRC experience, that was it's brainstorm moment according to it's
own docs.

XMPP has no idea of #2, it does not work that way, and does not intend to
currently.

Those types of differences between the 2 technologies are there currently.

I did find a most interesting idea however in the last line of section
"What is Multicasting then?" on PSYC Multicast page and quoted below:
http://about.psyc.eu/Multicast#What_is_Multicating_then?

"
Even so-called private messages from one person to another may better be
modeled as minimal multicast contexts, because quite often graphical chat
applications like to provide an "Add person to this chat" function, which
would otherwise require a cumbersome transformation of protocol methods.
"

On Tue, Mar 13, 2012 at 4:03 AM, Michiel de Jong <mich...@unhosted.org>wrote:

--
-Thad
http://www.freebase.com/view/en/thad_guidry

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Mar 13 2012, 11:18 am
From: Michiel de Jong <mich...@unhosted.org>
Date: Tue, 13 Mar 2012 15:18:54 +0000
Local: Tues, Mar 13 2012 11:18 am
Subject: Re: remoteStorage spec version 12.04 - first proposals

another one that just came up in the irc channel: make api names
case-insensitive. currently we use 'CouchDB', 'simple' and 'WebDAV' in the
spec which suggests that they are case-sensitive, even though this is not
even explicit, and even though i think XRD doesn't even allow that. :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan-Christoph Borchardt  
View profile  
 More options Mar 13 2012, 2:02 pm
From: Jan-Christoph Borchardt <j...@unhosted.org>
Date: Tue, 13 Mar 2012 19:02:04 +0100
Local: Tues, Mar 13 2012 2:02 pm
Subject: Re: [unhosted] Re: remoteStorage spec version 12.04 - first proposals
Yes, let’s just change to all-lowercase "simple", "webdav" and
"couchdb" to avoid any confusion.

On Tue, Mar 13, 2012 at 4:18 PM, Michiel de Jong <mich...@unhosted.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Apr 17 2012, 2:26 pm
From: Michiel de Jong <mich...@unhosted.org>
Date: Tue, 17 Apr 2012 20:26:54 +0200
Local: Tues, Apr 17 2012 2:26 pm
Subject: Re: [unhosted] Re: remoteStorage spec version 12.04 - first proposals
So after having thought about all the things we might want to change,
i think the urgent ones are:

- listing category names
- listing category contents
- per-category subfolders under 'public'

and also nice to have:

- for symmetry and also usefulness we might as well add 'folders'
inside the categories whose content you can list.
- read-only access to categories

to indicate a storage implements these new possibilities, we can
announce api types 'simple-12.04', 'webdav-12.04', 'couchdb-12.04'.

and OAuth scopes would then be ':r', to read all categories, ':rw' to
read/write all categories, and then per-category '<category>:r',
'<category>:rw'.

and then '<category>:rw' would be needed to write to public/<category>.

the api of remoteStorage.js would then also either get extra methods
get/set/remove-PublicItem, or and extra parameter which may default to
'private'. we'll see.

I would also rewrite the spec into two parts:
- one generic one describing Personal Data Services in general, and
our use of webfinger/swd and OAuth2.
- one describing the actual functionality of the storage, and its
possible REST APIs

Then we can later write a 'sockethub' spec that reuses the PDS spec,
and is just another personal data service that an unhosted web app can
discover and connect to.

is that ok for everyone?

Cheers,
Michiel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Apr 17 2012, 3:01 pm
From: Michiel de Jong <mich...@unhosted.org>
Date: Tue, 17 Apr 2012 21:01:31 +0200
Local: Tues, Apr 17 2012 3:01 pm
Subject: Re: [unhosted] Re: remoteStorage spec version 12.04 - first proposals
btw, fkooman discovered that we're using comma-separated instead of
space-separated scopes. now that we're already doing this in all
providers and all clients of the WebDAV, CouchDB and simple APIs,
let's keep doing it there, and make sure we do it right on both sides
for the new api types.

On Tue, Apr 17, 2012 at 8:26 PM, Michiel de Jong <mich...@unhosted.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan-Christoph Borchardt  
View profile  
 More options Apr 17 2012, 3:55 pm
From: Jan-Christoph Borchardt <j...@unhosted.org>
Date: Tue, 17 Apr 2012 21:55:09 +0200
Local: Tues, Apr 17 2012 3:55 pm
Subject: Re: [unhosted] Re: remoteStorage spec version 12.04 - first proposals
If comma-separated or space-separated ideally should make no
difference, should it? Or does that need to be specified?

You said:
 - per-category subfolders under 'public'
When we talked I thought we agreed on the other way around – »public«
subfolders per category

Also, minor
 'simple-12.04', 'webdav-12.04', 'couchdb-12.04'.
Should be 2012.04, it’s already hard to understand with Ubuntu version numbers.

On Tue, Apr 17, 2012 at 9:01 PM, Michiel de Jong <mich...@unhosted.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michiel de Jong  
View profile  
 More options Apr 17 2012, 4:48 pm
From: Michiel de Jong <mich...@unhosted.org>
Date: Tue, 17 Apr 2012 22:48:02 +0200
Local: Tues, Apr 17 2012 4:48 pm
Subject: Re: [unhosted] Re: remoteStorage spec version 12.04 - first proposals
On Tue, Apr 17, 2012 at 9:55 PM, Jan-Christoph Borchardt

<j...@unhosted.org> wrote:
> If comma-separated or space-separated ideally should make no
> difference, should it? Or does that need to be specified?

OAuth specifies space-separated, we have just been doing it wrong.

> You said:
>  - per-category subfolders under 'public'
> When we talked I thought we agreed on the other way around – »public«
> subfolders per category

Yeah but now i'm not so sure if it's necessary or even beneficial to
throw the whole folder structure around. it's also easier to implement
the way it is now, with only one place where public access is allowed
(one policy exception), and not unlimited numbers of small places
(lots of small policy exceptions). also, the public data will in
general not be human-readable so i think if you make a file manager
(as an unhosted app or hosted on the storage, like ownCloud has) then
it might be ok to have one special 'public' folder instead of having
them show up everywhere and having to click through 'private' to get
to the data you're looking for.

> Also, minor
>  'simple-12.04', 'webdav-12.04', 'couchdb-12.04'.
> Should be 2012.04, it’s already hard to understand with Ubuntu version numbers.

ok we can do that. actually i'm thinking now whether we should use a
version number instead because with the modular spec we won't have to
do scheduled updates anymore. we could also use -0.4 because it's the
4th iteration of the spec, and then plan to leave it at this version
forever, unless we find some serious problem (like now, the fact that
you can't write a migration app and that you can't protect one
category of public items from other categories)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan-Christoph Borchardt  
View profile  
 More options Apr 17 2012, 4:57 pm
From: Jan-Christoph Borchardt <j...@unhosted.org>
Date: Tue, 17 Apr 2012 22:57:38 +0200
Local: Tues, Apr 17 2012 4:57 pm
Subject: Re: [unhosted] Re: remoteStorage spec version 12.04 - first proposals
On Tue, Apr 17, 2012 at 10:48 PM, Michiel de Jong <mich...@unhosted.org> wrote:

> On Tue, Apr 17, 2012 at 9:55 PM, Jan-Christoph Borchardt
> <j...@unhosted.org> wrote:
>> If comma-separated or space-separated ideally should make no
>> difference, should it? Or does that need to be specified?

> OAuth specifies space-separated, we have just been doing it wrong.

Ok.

Private stuff would be directly in the category folder, and »public«
would be a special folder inside the category. I agree that having
both a »public« and »private« folder inside each category would be
stupid.

From a mental model it makes more sense to have the public stuff be
part of the category, because being »public« doesn’t say anything
about the document. It’s nonsensical as a group, next to the other
topic-based categories. We should correct it now while we still can.

>> Also, minor
>>  'simple-12.04', 'webdav-12.04', 'couchdb-12.04'.
>> Should be 2012.04, it’s already hard to understand with Ubuntu version numbers.

> ok we can do that. actually i'm thinking now whether we should use a
> version number instead because with the modular spec we won't have to
> do scheduled updates anymore. we could also use -0.4 because it's the
> 4th iteration of the spec, and then plan to leave it at this version
> forever, unless we find some serious problem (like now, the fact that
> you can't write a migration app and that you can't protect one
> category of public items from other categories)

Yeah, whatever is best there. The version numbers of the APIs won’t
increase with the remoteStorage / remoteStorage.js versions, right?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »