Monday, March 27, 2017

Dokieli exploration log ... (edited)

Brent Shambaugh
@bshambaugh
Mar 26 20:39
Screenshot from 2017-03-26 20:35:07.png


Brent Shambaugh
@bshambaugh
Mar 26 20:45
Screenshot from 2017-03-26 20:41:59.png


PUT
XHR
http://linkeddata.github.io/warp/#/list/https/bshambaugh.databox.me/ [HTTP/1.1 405 Method Not Allowed 421ms]
saving

Brent Shambaugh
@bshambaugh
Mar 26 20:52
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405 (PUT is disabled on my databox server so I cannot assign it an owner, My WebID and a randomly created key??) The hash is my annotation in dokieli.



Brent Shambaugh
@bshambaugh
Mar 26 20:57
This PUT 405 happens the second time I touch the LDP resource. The first time I get 419bb2de-ad36-46e4-98b4-ffa7ee92e59d and it creates 419bb2de-ad36-46e4-9 8b4-ffa7ee92e59d,acl .
maybe this is how it is supposed to work. I recall that each thing (resource?) in solid needed an .acl .
I was expecting to see my annotations on http://csarven.ca/dokieli-rww after I gave a read permission in the .acl.
I'm new at setting permissions for appearing in dokieli.

Brent Shambaugh
@bshambaugh
Mar 26 21:21
Thinking I could annotate a copy... I just saved it to https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf . It looks like a 1995 website. Some of the styling is failing per the browser dev tools. Trying another browser.
(also connection is not secure warning when loading copy due to images)

Brent Shambaugh
@bshambaugh
Mar 26 21:28
Interesting chrome errors:

margin
border
padding

ConsoleSearchEmulationRendering

Preserve log
.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:7 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure stylesheet 'http://csarven.ca/media/css/index.css'. This request has been blocked; the content must be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:1 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://csarven.ca/media/images/articles/dokieli-architecture-relations.png
'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:1 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://www.gravatar.com/avatar/0ca0a18603cbd049900ebea3a3bb29d4?size=48'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:1 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://csarven.ca/media/images/articles/graph-dokieli-rww.png
'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:1 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://www.gravatar.com/avatar/5f21466d48da7c7e27b882e530ffff50?size=48'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:1 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://www.gravatar.com/avatar/0ca0a18603cbd049900ebea3a3bb29d4?size=48'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:1 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://csarven.ca/media/images/sarven-capadisli.jpg
'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:211 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://csarven.ca/media/images/articles/dokieli-architecture-relations.png
'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:436 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://www.gravatar.com/avatar/0ca0a18603cbd049900ebea3a3bb29d4?size=48'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:438 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://csarven.ca/media/images/articles/graph-dokieli-rww.png
'. This content should also be served over HTTPS.
20fc35a8-2cda-4d63-8a60-f1ab82613aaf:442 Mixed Content: The page at 'https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf' was loaded over HTTPS, but requested an insecure image 'http://www.gravatar.com/avatar/5f21466d48da7c7e27b882e530ffff50?size=48'. This content should also be served over HTTPS.
.
++++++++++++++++
Warp ==> SoliD is only accessible over HTTPS ... http://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf
redirects to https://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf

Brent Shambaugh
@bshambaugh
Mar 26 21:34
curl http://bshambaugh.databox.me/Public/20fc35a8-2cda-4d63-8a60-f1ab82613aaf
curl: (7) Failed to connect to bshambaugh.databox.me port 80: Connection refused
Can I get http://csarven.ca/dokieli-rww over https?
https://csarven.ca/dokieli-rww resolves
Saving https://csarven.ca/dokieli-rww to https://bshambaugh.databox.me/Public/ed42bcb8-8a9d-48bf-a150-6c9247998c0c resolves the styling .
Brent Shambaugh
@bshambaugh
Mar 26 21:45


Screenshot from 2017-03-26 21:41:27.png
I was expecting to see my profile picture, but instead I see :

    https://linkedresearch.org/annotation/csarven.ca/dokieli-rww/51e9dcb1-55fb-4151-8372-1f37c9639acd#agent

    2017-03-27 02:40:25

This is an annotation. I think that the Linked Data Platform is very cool!


so I need to log in
So I put in my webID and the profile image appears. (NB: there needs to be a way to keep me logged in across browser windows. I was already logged into WARP)


replace: https://bshambaugh.databox.me/profile/card#me


Brent Shambaugh
@bshambaugh
Mar 26 21:52
I added another annotation, and it appears at the parent LDP container. Feature request: save in target LDP container..say Public.


Brent Shambaugh
@bshambaugh
10:41
(For my record) When I do an annotation to my personal storage:
GET
https://csarven.ca/media/css/index.css [HTTP/2.0 200 OK 0ms]
PUT
XHR
https://bshambaugh.databox.me/acbb6d44-e31e-4f7f-8a3d-6e65cc97a379 [HTTP/2.0 201 Created 171ms]
GET
XHR
https://bshambaugh.databox.me/acbb6d44-e31e-4f7f-8a3d-6e65cc97a379 [HTTP/2.0 200 OK 101ms]
OPTIONS
XHR
https://linkedresearch.org/inbox/csarven.ca/dokieli-rww/ [HTTP/2.0 204 No Content 207ms]
OPTIONS
XHR
https://linkedresearch.org/inbox/csarven.ca/dokieli-rww/ [HTTP/2.0 204 No Content 254ms]
OPTIONS
XHR
https://linkedresearch.org/inbox/csarven.ca/dokieli-rww/ [HTTP/2.0 204 No Content 161ms]
POST
XHR
https://linkedresearch.org/inbox/csarven.ca/dokieli-rww/ [HTTP/2.0 201 Created 191ms]
... The payloads for PUT and POST are ... the corresponding code in dokieli is .. dokieli/do.js (?) need to find a place to log this ..

positionInteraction: function(noteIRI, containerNode) { ...}

but for PUT it looks to be: createNoteDataHTML: function(n) { .. }

Thinking out loud. In summary it looks like I need to access dokieli via https, and any saved version over https. Annotations saved in warp get an associated .acl . Once the .acl is created further modifications to the annotation when saved return HTTP status 405. Annotations do not save to a specified container, instead a top level one (I was digging in the code to see if this can be changed).

No comments:

Post a Comment