Commit graph libervia-backend/sat_frontends
Author SHA1 Message Date
Goffi
48d1f2fc21 cli (pubsub/set, edit): add --encrypt flag:
rel 380
2022-10-15 20:38:33 +02:00
Goffi
b9f5c6b844 cli (pubsub): new secret subcommands:
commands are added to `share`, `revoke` and `rotate` secrets of an encrypted pubsub node.

rel 380
2022-10-15 20:38:30 +02:00
Goffi
f99544e881 cli (pubsub/get): add --no-decrypt flag to disable automatic decryption:
rel 380
2022-10-15 20:37:00 +02:00
Goffi
ba9a4ef31b cli (blog): add --encrypt argument on publication commands to e2ee a blog post:
rel 380
2022-10-15 20:37:00 +02:00
Goffi
cb44cb1991 cli (file/get): handle full JSON attachment following change in backend:
rel 379
2022-10-06 16:02:05 +02:00
Goffi
d557e06fbd cli (message/send): new --attach argument to send an attachment:
rel 379
2022-10-06 16:02:05 +02:00
Goffi
4bae534e0f cli (event): update commands following changes in events:
- commands have been update to match changes in bridge method.
- arguments have been completely reworked for `create` and `modify` commands, making it
  possible to fine tune events.
- `list` has been removed in favor of `get` which can now display several events at once

rel 372
2022-09-22 00:01:48 +02:00
Goffi
a74f9327f2 core, CLI (base), tools (common/data_format): typing/core readability 2022-09-21 22:20:43 +02:00
Goffi
68fb304032 cli (pubsub/attachment/set): update reactions handling:
- reactions data has been updated following changes in XEP-0470 plugin
- it is now possible to remove a reaction using uppercase `-R`
- short option from `--replace` has been removed, as it is more handy to use `-R` to
  remove reactions

rel 371
2022-08-31 17:07:03 +02:00
Goffi
7ddf0241c6 plugin XEP-0424: rename bridge method:
``messRetract`` is renamed to ``messageRetract`` for consistency with other message bridge
methods.
2022-08-31 17:07:03 +02:00
Goffi
0aa9613693 cli (blog, pubsub): new attachments subcommands:
`pubsub/attachments` subcommands has a `get` and a `set` subcommand to manage attachments
of a pubsub item.

`blog` has the same subcommands, the only difference is that if `--node` is not specified,
the default blog namespace will be used.

rel 370
2022-07-20 17:55:11 +02:00
Goffi
9ce0f943cc cli (blog/get): verbose level of 2 now shows extra field 2022-07-14 12:55:30 +02:00
Goffi
44849a1fda cli (blog/set): show ID of published item 2022-07-14 12:55:30 +02:00
Goffi
b533b3e56c li (blog): new repeat subcommand, to re-publish a blog post:
rel 370
2022-07-14 12:55:19 +02:00
Goffi
eb4c766489 cli (pubsub): new reference subcommand to send references/mentions to pubsub items:
rel 369
2022-07-10 16:15:09 +02:00
Goffi
e84436adfd cli: helper method to retrieve profile's jid:
rel 369
2022-07-10 16:15:09 +02:00
Goffi
5a021e63a1 CLI (identity): add description to identity set:
rel 368
2022-06-29 12:13:49 +02:00
Goffi
a44acbc1bb cli (message/retract): message retractation command:
rel 367
2022-06-17 14:15:23 +02:00
Goffi
ab0739c35f cli: new blocking commands:
commands to list blocked entities, block or unblock one or more entities

rel 367
2022-05-27 12:15:04 +02:00
Goffi
da7a90abd2 CLI: don't fail when calling getContacts with a component profile 2022-05-13 19:15:30 +02:00
Goffi
d20e609a5c plugins XEP-0060, XEP-0376, XEP-0465, CLI: PAM + PSS implementation:
- update psSubscriptionsGet to use serialised return value
- implement XEP-0376 Pubsub Account Management
- implement XEP-0465 Public Pubsub Subscriptions
- CLI `pubsub` commands updated accordingly, and added `--public` flags to `subscribe`,
  `Subscriptions` and `node Subscriptions get`

⚠ `XEP-0465` is speculative, the XEP has been accepted by council but not published yet.
As is should be the next one, and current latest one is `XEP-0464`, `XEP-0465` has been
anticipated.

rel 365
2022-05-13 18:38:05 +02:00
Goffi
feee36791b plugin XEP-0060: use serialised options in psSubscribe + triggers update 2022-05-13 18:29:42 +02:00
Goffi
b48081e679 jp (xmlui): add PasswordWidget 2022-03-22 17:00:42 +01:00
Goffi
23640ed33f cli (blog/get): fix default output when a value is None 2022-01-25 17:27:39 +01:00
Goffi
14d00a9dda merge bookmark @ 2021-11-12 17:21:24 +01:00
Goffi
2cc637cdfe cli (base): use XTERM_VERSION to detect XTerm:
Using `TERM` is not good as it is used by other terminal emulators which are incompatible
with ANSI sequences (seen with `cool-retro-term`).
2021-11-06 18:53:00 +01:00
Goffi
1419f29df6 cli (debug/theme): display currently used background 2021-11-06 17:09:28 +01:00
Goffi
b1529c1ebf cli (base): better background detection:
- ANSI escape code detection is only used on terminals known to be compatible (currently
  xterm, konsole, and all VTE based ones)
- `COLORFGBG` environment variable is used as fallback
- if both methods fail, `dark` is used

This should avoid problems with incompatible terminals (e.g. on QTerminal, users had to
press `[ENTER]` each time).

fix 406
2021-11-06 17:08:50 +01:00
Goffi
d7d40a6d50 merge bookmark @ 2021-09-26 16:41:49 +02:00
Goffi
3433657ccf jp (common): add neovim (nvim) default arguments 2021-09-26 16:35:49 +02:00
Goffi
7a211da470 CLI (pubsub/cache): search implementation
rel 361
2021-09-08 17:58:48 +02:00
Goffi
44a54978b9 CLI: move format_time to common + add timezone 2021-09-08 17:58:48 +02:00
Goffi
50d7cb2a51 merge bookmark @ 2021-09-08 11:20:37 +02:00
Goffi
f29a6bfa17 bridge (dbus/frontend): reintrospect signature in case of guess error:
When a "Unable to guess signature […]" `ValueError` is raised during a method call, the
signatures are re-introspected. This should fix this issue when a frontend is launched
just after to the backend (this happens notably with tests).
2021-09-08 11:16:21 +02:00
Goffi
2152d57887 CLI: use global constants for output names 2021-09-08 11:13:35 +02:00
Goffi
33fc985410 merge branche "@" 2021-09-01 13:47:17 +02:00
Goffi
25a31896cb cli: call bridge.getReady() after bridge connection 2021-09-01 13:46:43 +02:00
Goffi
fe502fc0fc merge branche "@" 2021-08-28 15:32:58 +02:00
Goffi
547eb9feba bridge: bridge can now be set using environment variable:
The `LIBERVIA_BRIDGE_NAME` environment variable can now be used to specify the bridge to
use. If set and different from empty string, the environment has precedence over config
file value.

For `pb` bridge, the following environment variable can also be used:

- LIBERVIA_BRIDGE_PB_CONNECTION_TYPE
- LIBERVIA_BRIDGE_PB_HOST
- LIBERVIA_BRIDGE_PB_PORT
2021-08-28 15:26:02 +02:00
Goffi
436696f28c merge branche "@" 2021-08-27 14:51:40 +02:00
Goffi
c8572b8f21 CLI: fix section used for config following name change 2021-08-27 14:46:52 +02:00
Goffi
1d6cead380 jp (pubsub/cache/purge): fix conflict with subtype short option 2021-08-02 21:52:17 +02:00
Goffi
0caebd3803 frontends (tools/misc): FlagsHandler.__getitems__ now returns attribute 2021-07-29 22:51:01 +02:00
Goffi
47968678a6 jp (pubsub): new cache subcommand with commands to get, sync, purge and reset pubsub cache 2021-07-29 22:51:01 +02:00
Goffi
02727e26d9 jp (pubsub/delete): make notification the default, --notify option is replaced by --no-notification 2021-07-29 22:51:01 +02:00
Goffi
d10ce3ad7a jp (base): add flag for use_pubsub to add cache skipping option 2021-07-29 22:51:01 +02:00
Goffi
f2a06bbcbf plugin XEP-0060: getItems extra is now serialised dict 2021-07-28 23:01:15 +02:00
Goffi
4421eefbf3 merge changes from main branch 2021-06-17 13:05:58 +02:00
Goffi
7adbf3ead8 core, frontends: fix invalid translatable strings.
Some f-strings where used in translatable text, this has been fixed by using explicit
`format()` call (using a script based on `tokenize`).

As tokenize messes with spaces, a reformating tool (`black`) has been applied to some
files afterwards.
2021-06-14 18:35:12 +02:00
Goffi
6c2d81696c doc: fix remaining SàT references/typos + add libervia-cli missing commands 2021-06-11 09:21:41 +02:00