Tygs / 0bin

Client side encrypted pastebin
https://0bin.net
Do What The F*ck You Want To Public License
1.37k stars 198 forks source link

Being able to share a file like pdf #102

Closed jadjay closed 4 years ago

jadjay commented 8 years ago

If we can share files, it's better than dropbox or other share files systems, you can't have crypted files sharing.

For exemple when selecting "Upload File" you could have a select box "as file / as text", then the file / text could be crypted...

sametmax commented 8 years ago

I'm not sure we want to host entire files. Or maybe limit it to smalls files, under a certain size, to avoir the service to be used as a mean of video or games sharing.

Le 05/02/2016 17:32, jadjay a écrit :

If we can share files, it's better than dropbox or other share files systems, you can't have crypted files sharing

For exemple when selecting "Upload File" you could have a select box "as file / as text", then the file / text could be crypted

— Reply to this email directly or view it on GitHub https://github.com/sametmax/0bin/issues/102.

jadjay commented 8 years ago

Yes small files ! Pdf stuff

Le 5 février 2016 18:44:10 CET, sametmax notifications@github.com a écrit :

I'm not sure we want to host entire files. Or maybe limit it to smalls files, under a certain size, to avoir the service to be used as a mean of video or games sharing.

Le 05/02/2016 17:32, jadjay a écrit :

If we can share files, it's better than dropbox or other share files systems, you can't have crypted files sharing

For exemple when selecting "Upload File" you could have a select box "as file / as text", then the file / text could be crypted

— Reply to this email directly or view it on GitHub https://github.com/sametmax/0bin/issues/102.


Reply to this email directly or view it on GitHub: https://github.com/sametmax/0bin/issues/102#issuecomment-180463255

Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.

jadjay commented 8 years ago

Yes but you check for your server but if so else want it ... Who cares it's his server, he's responsible for that

CorbanR commented 8 years ago

I think this would be a great feature. Something with a configurable option, with relativity low default.

jadjay commented 8 years ago

Could you be able to implement that ? Is it really different than to manage only text ?

Natim commented 8 years ago

Today it already works with images so it should not be too complex. We could even consider loading the pdf with pdf.js

jadjay commented 8 years ago

Okay, I'm asking that because we want to be part of "C.H.A.T.O.N.S" http://framablog.org/2016/02/09/chatons-le-collectif-anti-gafam/

And we need a crypted way of sharing files for our future users.

Natim commented 8 years ago

@jadjay then you might want to have a look at Kinto and Kinto-attachment because 0bin is not a storage service and not meant to be one.

I have created https://github.com/Kinto/kinto-attachment/issues/67 to speak about it.

jadjay commented 8 years ago

Hey I didn't talk about "STORAGE" I talk about "SHARING" with links, urls and stuff

Natim commented 8 years ago

Yes I know :) But as soon as you speak about sharing files you need to store them somewhere.

jadjay commented 8 years ago

Okay Why in hell blocking an usage ? It's the first rule in GPL, whatever the version. It's what make a project free and/or open source. I'm not able to do this (by now...), but it's F%*$G simple to fork your project, it's github purpose of living.

Storing files and what kind of files is the responsability of the server owner, not the dev,

Your self censure is "beyond understand-ability".

I think I understand where you want to go, but honestly that "privacy software thought shit".

Don't take it personnaly, I tried to discuss on the fact that you want to block a software usage. My english is bad and if you think I insult you, I swear that's not my goal and I apologie by advance.

jadjay commented 8 years ago

If i can take a comparison, it's like the knife inventor is responsible for all the murders done with a knife...

Natim commented 8 years ago

Why in hell blocking an usage ?

Who is blocking what?

You propose a feature that we don't need ourself but that you need, so go for it, we will review your patches and merge them if they make sense and do not bloat the software.

We take the time to help here, so why would you be so aggressive?

If you do not want our help do not ask for it and fork the project, however if you want to be part of the community and help improve the software, behave yourself so that we can talk while feeling your support.

Natim commented 8 years ago

@jadjay if you want to talk a bit more about this feature, you can join me in irc://irc.freenode.net/#kinto and we could even talk in french about it.

jadjay commented 8 years ago

@Natim I'm on the chan

why would you be so aggressive?

I don't meant to be...

Natim commented 8 years ago

To be back at the discussion of this issue, the work I did at the time for images starts here: https://github.com/sametmax/0bin/pull/17/files#diff-e0ebdcf67f34fa1ef600db07151a13efR427

If we add another if: if (current_file.type.indexOf('application/pdf') == 0)

We could probably make it loads with pdf.js that's all I am saying :)

Natim commented 8 years ago

This was for the upload part, also for the loading part, the code is here: https://github.com/sametmax/0bin/pull/17/files#diff-e0ebdcf67f34fa1ef600db07151a13efR629

jadjay commented 8 years ago

Okay I'll have a look tonight