annotate CONTRAT_SOCIAL_en @ 4231:e11b13418ba6

plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation: Implement XEP-0343: Signaling WebRTC Data Channels in Jingle. The current version of the XEP (0.3.1) has no implementation and contains some flaws. After discussing this on xsf@, Daniel (from Conversations) mentioned that they had a sprint with Larma (from Dino) to work on another version and provided me with this link: https://gist.github.com/iNPUTmice/6c56f3e948cca517c5fb129016d99e74 . I have used it for my implementation. This implementation reuses work done on Jingle A/V call (notably XEP-0176 and XEP-0167 plugins), with adaptations. When used, XEP-0234 will not handle the file itself as it normally does. This is because WebRTC has several implementations (browser for web interface, GStreamer for others), and file/data must be handled directly by the frontend. This is particularly important for web frontends, as the file is not sent from the backend but from the end-user's browser device. Among the changes, there are: - XEP-0343 implementation. - `file_send` bridge method now use serialised dict as output. - New `BaseTransportHandler.is_usable` method which get content data and returns a boolean (default to `True`) to tell if this transport can actually be used in this context (when we are initiator). Used in webRTC case to see if call data are available. - Support of `application` media type, and everything necessary to handle data channels. - Better confirmation message, with file name, size and description when available. - When file is accepted in preflight, it is specified in following `action_new` signal for actual file transfer. This way, frontend can avoid the display or 2 confirmation messages. - XEP-0166: when not specified, default `content` name is now its index number instead of a UUID. This follows the behaviour of browsers. - XEP-0353: better handling of events such as call taken by another device. - various other updates. rel 441
author Goffi <goffi@goffi.org>
date Sat, 06 Apr 2024 12:57:23 +0200
parents 7550ae9cfbac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
1 The project "Libervia" was born from a need to protect our liberties, our privacy and our independence. It is intended to protect the rights and liberties a user has regarding her own private and numeric data, her acquaintance's, and the data she handles; it is also intended to be a human contact point, not substituting itself to physical encounters, but rather facilitating them.
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
2 Libervia will always fight against all forms of technology control by private interests. The global network must belong to everybody, and be a force of expression and freedom for all Humanity.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
3
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
4 Towards this end, "Libervia" and those who participate in the project operate on a Social Contract, a commitment to those who use it. This Contract involves the following points :
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
5
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
6 - We put the freedom at the top of our priorities : freedom of the user, freedom with her data. To achieve this, "Libervia" is a Libre Software - an essential condition - and its infrastructure also relies on Libre Software, meaning softwares that respect the 4 fundamental rules :
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
7 - The freedom to run the program for any purpose.
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
8 - The freedom to study how the program works, and change it to make it do what you wish.
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
9 - The freedom to redistribute copies so you can help your neighbor.
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
10 - The freedom to improve the program, and release your improvements (and modified versions in general) to the public, so that the whole community benefits.
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
11 You have the full possibility to install your own version of "Libervia" on your own machine, to verify - and understand - how it works, adapt it to your needs, and share the knowledge with your friends.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
12
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
13 - The information regarding the user belong to her, and we will never have the pretention - and indecency ! - to consider the content that she produces or relays via "Libervia" as our property. As well, we commit ourselves to never make profit from selling any of her personal information.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
14
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
15 - We greatly encourage a general _decentralisation_. "Libervia" being based on a decentralised protocol (XMPP), it is by nature decentralised. This is essential for a better protection of your information, a better resistance to censorship and hardware or software failures, and to alleviate authoritarian tendencies.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
16
676
a2bef7315ac5 social contract: typos fixes:
souliane <souliane@mailoo.org>
parents: 670
diff changeset
17 - By fighting against the attempts at private control and commercial abuses of the global network, and trying to remain independent, we are absolutely opposed to any form of advertisement: you will *never* see any advertisement coming from us
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
18
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
19 - The users Equality is essential for us, we refuse any kind of discrimination, being based on geographical location, population category, or any other ground.
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
20
3444
10942a6eca8a contrat social: updated English translation's formulation about censorship:
Goffi <goffi@goffi.org>
parents: 3442
diff changeset
21 - We will do whatever is possible to fight against any kind of censorship including protecting the speech of victims of harassment, hate speech, threats, humiliation and anything that could lead to self-censorship. The global network must be a means of expression for everyone.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
22
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
23 - We refuse the mere idea of an absolute authority regarding the decisions taken for "Libervia" and how it works, and the choice of decentralisation and the use of Libre Software allows to reject all hierarchy.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
24
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
25 - The idea of Fraternity is essential. This is why:
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
26 - we will help the users, whatever their computer literacy is, to the extent of what we can
3480
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
27 - we will as well commit ourselves to help the accessibility to "Libervia" for all
7550ae9cfbac Renamed the project from "Salut à Toi" to "Libervia":
Goffi <goffi@goffi.org>
parents: 3444
diff changeset
28 - "Libervia" , XMPP, and the technologies used help facilitate the electronic exchanges, but we strive to focus on real and human exchanges : we will always favor Real on Virtual.
481
0b671dbc476e misc: CONTRAT SOCIAL (Social Contract) English translation
Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
parents:
diff changeset
29