Commit graph

4,081 commits

Author SHA1 Message Date
Goffi
7c6a675435 installation: moved from setup.py to pyproject.toml:
- updated installation to use the now standard `pyproject.toml` instead of legacy
`setup.py`. `setup.py` and other legacy files have been deleted.
- removed outdated README4PACKAGERS
- removed pylintrc which has not been correctly reviewed. Linter conf should go to
  `pyproject.toml` now.
- [hatch](https://hatch.pypa.io) is now used as main building tool. However, thanks to the
use of standards, other tools can be used too.
- update .hgignore
- several dependencies version bump, with code update to adapt to changes.
2023-06-06 16:45:16 +02:00
Goffi
a8a4694a03 doc: README rewrite:
- markdown is now used instead of plain text
- updated text
- contributors and credits have been moved to ACKNOWLEDGMENTS.md (but they are outdated)
2023-06-06 13:42:00 +02:00
Goffi
b7618e12f7 version: use standard Python's dev0 instead of Libervia specific D for dev version 2023-06-06 12:41:53 +02:00
Goffi
4678449f76 refactoring: rename sat_configure to libervia_configure 2023-06-02 18:21:15 +02:00
Goffi
7e3834a5e9 refactoring: fix names in doc following modules hierarchy refactoring 2023-06-02 17:38:37 +02:00
Goffi
ac172ec744 refactoring: rename libervia.frontends.primitivus to libervia.tui 2023-06-02 16:25:25 +02:00
Goffi
fd16770c19 refactoring: rename libervia.frontends.jp to libervia.cli 2023-06-02 14:54:26 +02:00
Goffi
4ab9bd7bc8 refactoring: rename sat_frontends to libervia.frontends 2023-06-02 14:12:38 +02:00
Goffi
91f6b77b3d refactoring: rename core.sat_main to core.main 2023-06-02 12:59:21 +02:00
Goffi
af1c203450 refactoring: rename SAT class to LiberviaBackend 2023-06-02 11:55:48 +02:00
Goffi
d2685ba11b refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
Goffi
a15648d682 plugin XEP-0167: method to end a call, and corresponding signal:
rel 422
2023-06-01 21:37:34 +02:00
Goffi
f92c1f2ac6 tests (unit): Skip XEP-0373 test if gpg can't be imported 2023-06-01 21:37:34 +02:00
Goffi
c92762858f tests (units): tests for plugin XEP-0339:
fix 439
2023-06-01 21:37:31 +02:00
Goffi
678cb341b6 plugin XEP-0339: "Source-Specific Media Attributes in Jingle" implementation:
rel 439
2023-06-01 20:53:33 +02:00
Goffi
9c41493ff9 plugin XEP-0092: use client instead of profile_key in version_get 2023-05-30 22:23:55 +02:00
Goffi
ce8623dc97 tests (units): tests for plugin XEP-0338:
fix 440
2023-05-30 22:23:37 +02:00
Goffi
36a3e81720 plugin XEP-0338: "Jingle Grouping Framework" implementation:
rel 440
2023-05-30 17:59:20 +02:00
Goffi
e98d39990b tests (units): tests for plugin XEP-0294:
fix 438
2023-05-30 17:58:44 +02:00
Goffi
e273f2394d plugin XEP-0294: "Jingle RTP Feedback Negotiation" implementation:
rel 438
2023-05-30 17:58:43 +02:00
Goffi
76c8015212 tests (units): tests for plugin XEP-0293:
fix 437
2023-05-29 17:58:05 +02:00
Goffi
2dc6f0c356 plugin XEP-0293: "Jingle RTP Feedback Negotiation" implementation:
rel 437
2023-05-29 17:58:03 +02:00
Goffi
0eb54f9ca5 plugin text syntaxes: fix EscapeHTML following massive snake_case renaming 2023-05-29 17:52:25 +02:00
Goffi
4f88e1022d plugin XEP-0167: fix wrong copy/pasted header 2023-05-29 16:08:09 +02:00
Goffi
52547edb15 tests (units): tests for plugin XEP-0167:
fix 420
2023-05-29 13:38:11 +02:00
Goffi
a345f4f38e plugin XEP-0167: Jingle RTP Sessions implementation:
rel 420
2023-05-29 13:38:10 +02:00
Goffi
43a0621182 plugin XEP-0353: update according to XEP changes + <description> fix:
- `XEP-0166_initiate_elt_built` trigger is now used to have the `<description>` element
  built, so they can be used with there correct arguments in the jingle initiation message
- add message processing hint as it is now specified in the XEP
2023-05-29 13:32:40 +02:00
Goffi
391112a059 plugin XEP-0176: fix candidates data format when calling Bridge's ice_candidates_new 2023-05-29 13:32:32 +02:00
Goffi
e485a64198 plugin XEP-0166: set jingle_elt, desc_elt and transport_elt:
those values are set to corresponding domish.Element in session for session
init/confirmation/accept workflow.
2023-05-29 13:32:28 +02:00
Goffi
5c6578a1f6 plugin XEP-0166, 0176, 0234: minor renaming + type hints 2023-05-29 13:32:19 +02:00
Goffi
1781694141 core: renamed messageReceived trigger to message_received 2023-05-29 13:32:08 +02:00
Goffi
216b3246e8 frontends (tools/jid): remove old pyjamas code + type hints 2023-05-15 17:19:54 +02:00
Goffi
791544ec54 tests (unit): XEP-0320 tests:
fix 421
2023-05-15 17:02:41 +02:00
Goffi
6dd3348cc2 plugin XEP-0320: Use of DTLS-SRTP in Jingle Sessions:
rel 421
2023-05-15 17:02:40 +02:00
Goffi
6887005bd8 CHANGELOG: update 2023-05-15 16:26:22 +02:00
Goffi
bd675233cb tests (unit): tests for plugin XEP-0176:
fix 419
2023-05-15 16:23:50 +02:00
Goffi
5e6ca719ec plugin XEP-0176: Jingle ICE-UDP Transport Method implementation:
rel 419
2023-05-15 16:23:36 +02:00
Goffi
9141922d57 plugin XEP-0166: refactoring, and various improvments:
- add models for transport and applications handlers and linked data
- split models into separate file
- some type hints
- some documentation comments
- add actions to prepare confirmation, useful to do initial parsing of all contents
- application arg/kwargs and some transport data can be initialised during Jingle
  `initiate` call, this is notably useful when a call is made with transport data (this is
  the call for A/V calls where codecs and ICE candidate can be specified when starting a
  call)
- session data can be specified during Jingle `initiate` call
- new `store_in_session` argument in `_parse_elements`, which can be used to avoid
  race-condition when a context element (<decription> or <transport>) is being parsed for
  an action while an other action happens (like `transport-info`)
- don't sed `sid` in `transport_elt` during a `transport-info` action anymore in
  `build_action`: this is specific to Jingle File Transfer and has been moved there

rel 419
2023-05-15 16:23:11 +02:00
Goffi
45e15eb189 core (main): if keep_id is set in action_new, use it as action_id 2023-05-15 16:20:58 +02:00
Goffi
5ba4239fcc core: don't use meta_ prefix anymore for action_extra in action_new signal. 2023-05-15 16:20:50 +02:00
Goffi
1d0a1b66d9 core (bridge): action_new now use serialised dict for extra data. 2023-05-15 16:20:45 +02:00
Goffi
4ef719f592 CHANGELOG: typo 2023-05-15 16:20:38 +02:00
Goffi
be5c1074b0 changelog: udpate 2023-04-13 21:56:09 +02:00
Goffi
174e087c44 core (constants): fix URL, forgotten SàT reference + set new codename to "La Ruche" 2023-04-13 21:53:53 +02:00
Goffi
6a6f15707a massive refactoring to switch from camelCase to snake_case:
historically, Libervia (SàT before) was using camelCase as allowed by PEP8 when using a
pre-PEP8 code, to use the same coding style as in Twisted.

However, snake_case is more readable and it's better to follow PEP8 best practices, so it
has been decided to move on full snake_case. Because Libervia has a huge codebase, this
ended with a ugly mix of camelCase and snake_case.

To fix that, this patch does a big refactoring by renaming every function and method
(including bridge) that are not coming from Twisted or Wokkel, to use fully snake_case.

This is a massive change, and may result in some bugs.
2023-04-08 13:54:42 +02:00
Goffi
d50412c7f7 dpc (cli/info): update "disco" documentation to include new "external services":
fix 418
2023-04-07 15:18:39 +02:00
Goffi
ac229db809 cli (info/disco): Add external services in results:
rel 418
2023-04-07 15:18:05 +02:00
Goffi
378dfea0de tests (unit): Add test for plugin XEP-0215:
rel 418
2023-04-07 15:17:24 +02:00
Goffi
9b47e8c890 core (plugins): implementation of XEP-0215 "External Service Discovery":
rel 418
2023-04-07 15:16:39 +02:00
Goffi
ef70ccaedb tools (xml_tools): add fields's values when converting data form to dict 2023-04-07 14:59:01 +02:00