remotestorage / remotestorage.js

⬡ JavaScript client library for integrating remoteStorage in apps
https://remotestoragejs.readthedocs.io
MIT License
2.3k stars 141 forks source link

Change JSON LD context URI to HTTPS #838

Open raucao opened 9 years ago

raucao commented 9 years ago

We're nice people, so let's encrypt. ;)

untitaker commented 8 years ago

Shouldn't that be an issue on the spec?

raucao commented 8 years ago

No, the type of objects in the storage is not specified there.

By the way, we should probably also use a different (sub)domain, so that we don't absolutely have to host the schemas on the same host as the website.

raucao commented 8 years ago

... in the end we could have sth like http://schemastore.org/json/ for user data.

untitaker commented 8 years ago

Then I don't know what you're proposing. I thought you were e.g. talking about the @context value of folder listings.

raucao commented 8 years ago

No, the value of the objects.

untitaker commented 8 years ago

I still don't get what you're trying to say :D

On Fri, Oct 16, 2015 at 05:27:11AM -0700, Sebastian Kippe wrote:

No, the value of the objects.


Reply to this email directly or view it on GitHub: https://github.com/remotestorage/remotestorage.js/issues/838#issuecomment-148703841

raucao commented 8 years ago

These are all JSON LD, and by default use a remotestorage.io URL:

https://remotestorage.github.io/modules/index/Schemas.html

E.g. bookmarks stored via the bookmarks module use http://remotestorage.io/spec/modules/bookmarks/archive-bookmark

raucao commented 8 years ago

Edit: and there's another issue. They should use modules/bookmarks for the context, but then also define a @type of e.g. in this case archive-bookmark. At least that's how I understand it.

Edit: btw, it's possible to use your own context, like e.g. the chat-messages module does (but we haven't published the Kosmos URL yet): https://storage.5apps.com/kosmos/public/chat-messages/irc/freenode/channels/remotestorage/2015/10/16