We are not sure how we could share files between users


#42

Sorry I did not send you the message. Check out now


#43

i got my inbox misconfigured, there was no trailing slash, could you try to send me

i’ve just send one to https://victorgon.inrupt.net/profile/card#me inbox


#44

Okey, I’ve recieved your message. How do I include now this in the application? Because right now if I wanted to share a file I would have to use it externally.


#45

Well it’s not ready yet for inclusion…
it’s a proto now, you can be inspired for the code & now you know how it works.
Soon i will make it as a part of Shighl lib for Solidarity…
inspired with that app.
… but first I must finish the infinite scroll for Solidarity

Help is welcome :wink:


#46

OK @Smag0, I will make an update:
I’m using the part of your code that deals with sending messages (hope it you don’t mind), and I tried to do it in my application, but it seems that it does not work. If you could tell me which is the issue I would appreciate it.

This is the code I have taken from you:

image


#47

And this is the error I get:


#48

Can you try to send to https://spoggy.solid.community/inbox/ please?
Prefer to use .ttl instead of .txt


#49

This is the error now:

I changed to .ttl and still the same error


#50

Can you uncomment the console.log?


#51

Oh wait, I’m not sending to the incorrect URL,because I’m taking just the name (Spoggy), not the webId (https://…)


#52

Seems like it is already sent. Do you have something in your inbox?


#53

Félicitations ! Yeah! I got something !



Sender is undefined but I got it !

To send to your friend, he must grant your webId or everyone to Submitter, so it can be authorized


#54

We finally got it!!

We have decided to change a lot of stuff but we are pretty convinced about the results. We’ll put here what we have done:

  • Put Everyone as Submitter in folder “inbox”
  • Put Everyone as Viewer in “public”
  • Put the file you want to share in “public” folder or any subdirectory
  • Send to the user’s inbox the URL of the file
  • The user should have access to read the URL that is in the content of the file

Thanks to everyone that has participated on this post.


#55

Great ! Welcome to the Decentralization !

This is the way i think : the producter of the data store it on his POD & stay the owner , then he share it as he wants :wink:

I thought the forum had a bug with 16 notifications !


#56

Just updated Shighl.inbox that can be used in a basic HTML page, on a Pod, or in any website :wink:
First connect with the Shighl.session https://scenaristeur.github.io/shighl/session.html
Then play with inbox
https://scenaristeur.github.io/shighl/inbox.html


#57

sounds pretty cool what is it lol… i mean what will it actually do?


#58

sounds promising ill check it out :slight_smile: