cabal-club / commons

high level thoughts and issues for the future of cabal
14 stars 2 forks source link

Private messages #8

Open hackergrrl opened 4 years ago

hackergrrl commented 4 years ago

This issue is to track the implementation of private messages in cabal.

The idea is to add private messages that enable two individual users (feeds) to communicate with each other such that other participants in the cabal will sync their messages, but not be able to read them. The messages will be encrypted using private-box, which uses chloride.

There are a few pieces involved across the cabal stack:

cabal-core (https://github.com/cabal-club/cabal-core/pull/69)

cabal-client

Clients

Expose interface for

hackergrrl commented 3 years ago

A major consideration for this feature is preventing abuse & harassment. Blocked & hidden users should NOT be able to have their messages to you be displayed.

Q: where is the best place to handle this logic? I think it makes sense to still index these messages (in case you un{block,hide} someone), but would this be easier to manage in -core or -client?

cblgh commented 3 years ago

@noffle good points!

I have been thinking of experimenting with abuse mitigation in the following way:

I haven't thought about the details of where to index what, but these are the brush strokes with which I have been considering abuse-laden features such as PMs, images & avatars :)

edit: lol i totally missed that you had finished PMs?!?! :D!

(originally i didn't have the small enough concept, but felt maybe that would be important to introduce for small groups & making things more intuitive + less annoying when getting started :)

okdistribute commented 3 years ago

A major consideration for this feature is preventing abuse & harassment. Blocked & hidden users should NOT be able to have their messages to you be displayed.

Q: where is the best place to handle this logic? I think it makes sense to still index these messages (in case you un{block,hide} someone), but would this be easier to manage in -core or -client?

In which repository is the filtering done for removing messages from users that have been blocked/hidden in the channels? Probably best to keep that consistent?

hackergrrl commented 3 years ago

For the cabal-client work, a proposal:

cblgh commented 3 years ago

command-wise i was thinkin

hackergrrl commented 3 years ago

@cblgh I agree on points 1-3. I'm personally -1 on point 4. I already really dislike the status messages we show in regular channels. >__<

cblgh commented 3 years ago

@noffle ahh oh no, well we can skip pushing point 4 then. i just wanna experiment with it on my own branch, maybe making it an opt-in for cabal-cli in its config for people who want it, if the experiment ends up working okay ^^