Commit graph libervia-backend/doc
Author SHA1 Message Date
Goffi
6c2d81696c doc: fix remaining SàT references/typos + add libervia-cli missing commands 2021-06-11 09:21:41 +02:00
Goffi
398bd91f03 doc (installation): update instruction to use requirements + fix name in a few places 2021-06-09 17:31:52 +02:00
Goffi
bed5aa94a6 doc (cli/profile): add autoconnection in example 2021-06-09 10:04:10 +02:00
Goffi
1ad8de5726 doc: config file is now libervia.conf (even if sat.conf still works, for now) 2021-06-03 15:15:11 +02:00
Goffi
2695a5a15b doc: more renaming 2021-04-22 18:16:19 +02:00
Goffi
adb09a719f tests: update following names change 2021-04-16 18:32:34 +02:00
Goffi
6d15e23a31 doc: updated doc following global renaming 2021-03-21 18:23:58 +01:00
Goffi
dc86957043 date update 2021-03-19 15:45:14 +01:00
Goffi
7f9a9cd268 doc (jp/message): typo 2021-01-02 17:08:11 +01:00
Goffi
ad3aea8ec0 tests, doc(testing): added pytest-dependency plugin to backend_e2e image + doc 2020-12-04 12:37:38 +01:00
Goffi
be611f8a53 doc (testing): typos 2020-12-04 12:27:38 +01:00
Goffi
77e3f7a782 doc: documentation for testing in new contributing section 2020-11-27 16:40:26 +01:00
Goffi
92e424e685 jp (roster): delete implementation 2020-11-12 14:53:16 +01:00
Goffi
459c169e63 doc, core: typos 2020-11-12 14:53:11 +01:00
Goffi
72501fd596 doc (installation): added instruction to download dev version of sat_template
Also add double quote to avoid shell interpretation.
2020-09-20 14:05:40 +02:00
Goffi
5cc4890f0d doc: updated installation instructions 2020-09-13 22:49:11 +02:00
Goffi
db286b98e4 jp (invitation): delete implementation 2020-08-13 23:46:18 +02:00
Goffi
81a11ba6d6 jp (file/share): added commands to manage affiliations and configuration + documentation 2020-08-01 16:25:50 +02:00
Goffi
0707e639b1 doc (jp/roster): fixed example for jp roster set 2020-05-26 12:52:22 +02:00
Goffi
85a3e6edfb jp (event): new list command to get evens available in a service 2020-05-18 23:48:40 +02:00
Goffi
f85cdc7f37 doc (installation): updated instructions for backend 2020-04-19 16:54:13 +02:00
Goffi
7a2ab7c468 jp (roster): new roster/set command 2020-04-14 21:01:04 +02:00
Goffi
88072e0453 core, frontends: avatar refactoring:
/!\ huge commit

Avatar logic has been reworked around the IDENTITY plugin: plugins able to handle avatar
or other identity related metadata (like nicknames) register to IDENTITY plugin in the
same way as for other features like download/upload. Once registered, IDENTITY plugin will
call them when suitable in order of priority, and handle caching.

Methods to manage those metadata from frontend now use serialised data.

For now `avatar` and `nicknames` are handled:

- `avatar` is now a dict with `path` + metadata like `media_type`, instead of just a string
  path
- `nicknames` is now a list of nicknames in order of priority. This list is never empty,
  and `nicknames[0]` should be the preferred nickname to use by frontends in most cases.
  In addition to contact specified nicknames, user set nickname (the one set in roster) is
  used in priority when available.

Among the side changes done with this commit, there are:

- a new `contactGet` bridge method to get roster metadata for a single contact
- SatPresenceProtocol.send returns a Deferred to check when it has actually been sent
- memory's methods to handle entities data now use `client` as first argument
- metadata filter can be specified with `getIdentity`
- `getAvatar` and `setAvatar` are now part of the IDENTITY plugin instead of XEP-0054 (and
  there signature has changed)
- `isRoom` and `getBareOrFull` are now part of XEP-0045 plugin
- jp avatar/get command uses `xdg-open` first when available for `--show` flag
- `--no-cache` has been added to jp avatar/get and identity/get
- jp identity/set has been simplified, explicit options (`--nickname` only for now) are
  used instead of `--field`. `--field` may come back in the future if necessary for extra
  data.
- QuickContactList `SetContact` now handle None as a value, and doesn't use it to delete the
  metadata anymore
- improved cache handling for `metadata` and `nicknames` in quick frontend
- new `default` argument in QuickContactList `getCache`
2020-04-14 21:00:33 +02:00
Goffi
4bb69e971d doc (config): fixed documentation about configuration file possible paths + minor corrections. 2020-04-14 20:26:47 +02:00
Goffi
5a467b15d5 core, bridge: new devicesInfosGet method to get infos on known devices of an entity 2020-03-06 18:19:03 +01:00
Goffi
3d8ef1d625 jp (blog/edit): added --no-publish argument. 2020-02-18 18:17:18 +01:00
Goffi
45ebb5859d doc (profile): added --autoconnect info 2020-01-29 20:52:57 +01:00
Goffi
e1a44cf4e4 fixed shebangs 2020-01-29 10:07:00 +01:00
Goffi
d73fed6f24 doc (jp/message): typo 2020-01-25 21:08:29 +01:00
Goffi
b7a74d5034 plugin XEP-0060, jp (pubsub/set): publish-options implementation:
- publishing options (XEP-0060 §7.1.5) implementation.
- jp pubsub/set can specify publish-options using `-f` and `-F`
- doc has been updated to explain that
- psItemSend and psItemsSend now use serialisation for "extra"
- publish-options can be specified in extra['publish-options'] with those methods
2019-12-28 20:02:18 +01:00
Goffi
2d49de9209 jp (file): new get command + encryption with upload:
- new file/get command let download a file from URL. It handles `aesgcm:` scheme by
thanks to backend decryption on the fly.
- new `--encrypt` option for upload. When used, the file will be encrypted using AES-GCM
  algorithm, and the `aesgcm:` URL will be returned
- for both commands, the XMLUI note is displayed in case of error
2019-12-20 12:28:04 +01:00
Goffi
ef3bea43b8 doc (jp/shell): typos 2019-12-20 12:28:04 +01:00
Goffi
0f2ee65c3b doc (jp): typo 2019-11-15 17:55:14 +01:00
Goffi
1f5a0f49f1 doc (jp): typos (thanks tbart) 2019-10-11 16:15:09 +02:00
Goffi
6b4b0c26f9 doc (jp/file_share): typo 2019-10-07 17:29:28 +02:00
Goffi
84ebd0a241 doc (jp/common_arguments): updated note about --pwd 2019-10-01 22:54:18 +02:00
Goffi
5a2d7e2943 jp (debug): new "theme" command to print colour theme according to background value:
fix 321
2019-10-01 22:49:11 +02:00
Goffi
1efb60a429 jp: dark and light theme:
- `background` setting can now be used in sat.conf to indicate if the terminal use a
  `dark` or a `light` colour
- if `background` is not set or set to `auto`, the background colour is autodetected
- Jp.get_config (or CommandBase.get_config) method can now be used to retrieve a setting
2019-10-01 22:49:10 +02:00
Goffi
7bfa63a751 doc (jp): jp commands are now fully documented:
rel 232
2019-10-01 22:49:06 +02:00
Goffi
f627edaabe doc: some corrections:
- added missing `tls_private_key` value in configuration sample
- added a label for `installation`
- removed useless repetition of "Salut à Toi" in overview title
- changed text for jp and primitivus documentations links
- use a better may to indicate keyboard shortcuts in Primitivus
2019-07-24 07:51:07 +02:00
Goffi
efcaedcc49 doc: added, overview, configuration and Primitivus documentation + some small modifications 2019-07-21 22:14:30 +02:00
Goffi
b9bf53a23c doc (jp/blog): added note for --preview 2019-07-12 11:24:22 +02:00
Goffi
08f9e1e148 doc (jp/blog): minor fix 2019-07-12 08:55:11 +02:00
Goffi
f6ceaf8fde doc (jp/common_arguments): typo 2019-05-26 22:30:09 +02:00
Goffi
deb3358a58 doc: minor fixes + use ".pot" extension instead of ".po" for template in README4TRANSLATORS 2019-05-26 22:21:56 +02:00
Goffi
31a16d1fab doc: documentation first draft:
this patch starts the local documentation, existing documentation will be imported from wiki/other places to this folder and updated.
This doc is using reStructuredText format and will be generated with Sphinx.
2019-02-22 18:58:59 +01:00