Goffi
6fa6f7a1f8
plugin pubsub cache: use asDeferred with match_cb
2021-08-02 21:52:17 +02:00
Goffi
1d6cead380
jp (pubsub/cache/purge): fix conflict with subtype short option
2021-08-02 21:52:17 +02:00
Goffi
e6e77c7770
plugin XEP-0059: don't show warning message when <last> is missing if there is not message
2021-08-02 21:52:17 +02:00
Goffi
da5876c292
misc: update VERSION
2021-08-02 21:51:55 +02:00
Goffi
52f3532917
merge branch "@"
2021-08-02 21:49:51 +02:00
Goffi
cf5213d4fe
plugin XEP-0346: fix deprecated import
2021-08-02 21:47:22 +02:00
Goffi
4348af32f2
docker: fix Dockerfile following repositories redirections
2021-08-02 21:47:16 +02:00
Goffi
bd25717a7d
doc (cli/pubsub): document pubsub cache management commands
2021-07-29 22:51:01 +02:00
Goffi
57478c869f
doc (cli/pubsub/delete): update doc following notification option change
2021-07-29 22:51:01 +02:00
Goffi
907277e422
doc (cli/pubsub/get): fix option in example:
...
`-M` (legacy max items) must be used here to retrieve **last** items
2021-07-29 22:51:01 +02:00
Goffi
bdfa48220d
doc (cli/common): time pattern
2021-07-29 22:51:01 +02:00
Goffi
7f3e7635a9
doc (cli/common): explain the new -C, --no-cache option
2021-07-29 22:51:01 +02:00
Goffi
b689b9fa10
doc (configuration): add pubsub_cache_strategy option
2021-07-29 22:51:01 +02:00
Goffi
c3b36a4245
doc: developer documentation explaining storage and pubsub cache
2021-07-29 22:51:01 +02:00
Goffi
198d103896
doc: activate autodoc extension + extension to adapt Libervia docstring style to autodoc
2021-07-29 22:51:01 +02:00
Goffi
0caebd3803
frontends (tools/misc): FlagsHandler.__getitems__ now returns attribute
2021-07-29 22:51:01 +02:00
Goffi
60fe49f883
tools (common/async_process): remove useless encoding + use full path for command:
...
- arguments don't need to be encoded anymore, `spawnProcess` handles str directly now
- use full path even for first argument: even if first argument should be only executable
name, it appears that using full path only in `command` is not enough (seen with Python
where system installation is used instead of the VirtualEnv one when full path is not
used as first argument).
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
aab8a38836
tools (common/date_utils): accept more units (shortcuts) + fix timezone when date with relative delta is used
2021-07-29 22:51:01 +02:00
Goffi
35bfb8b8b7
plugin XEP-0277: pubsub cache analyser implementation
2021-07-29 22:51:01 +02:00
Goffi
92c0c09eb2
plugin pubsub cache: Pubsub Caching implementation
2021-07-29 22:51:01 +02:00
Goffi
53a77a4c71
core (memory/sqla): generic methods to add and delete ORM objects directly
2021-07-29 22:51:01 +02:00
Goffi
85ea69c3c3
core (memory/sqla): methods to manipulate pubsub tables
2021-07-29 22:51:01 +02:00
Goffi
fdc44cdd49
migration: script to create pubsub caching tables
2021-07-29 22:50:57 +02:00
Goffi
4fb32ced31
core (memory/sqla_mapping): mapping for PubsubNode and PubsubItem (will be used for caching)
2021-07-29 21:38:37 +02:00
Goffi
577a81c936
plugin XEP-0059: new getNextRequest method to generate request to retrieve next page
2021-07-29 21:30:32 +02:00
Goffi
a7bae11831
plugin XEP-0277: ignore max_items if rsm_request is set
2021-07-29 21:28:48 +02:00
Goffi
91faf66b36
plugin XEP-0060: fix notification handling in retractItems
2021-07-29 17:28:02 +02:00
Goffi
5dcbd8eeef
plugin XEP-0060: add trigger points
2021-07-29 17:26:59 +02:00
Goffi
9ef1f7a1f8
plugin XEP-0060: events callbacks can now be sync or async
2021-07-29 17:10:36 +02:00
Goffi
42979a7140
plugin XEP-0060: handle purge notifications
2021-07-29 15:54:54 +02:00
Goffi
f2a06bbcbf
plugin XEP-0060: getItems extra is now serialised dict
2021-07-28 23:01:15 +02:00
Goffi
fcbbc2aeed
core (xmpp): renamed SatRosterProtocol.presenceSubscribed to isSubscribedFrom (and added isSubscribedTo)
2021-07-28 22:15:31 +02:00
Goffi
bab851006f
plugin XEP-0060: getItem(s), publish and (un)subscribe are now coroutines
2021-06-30 16:19:14 +02:00
Goffi
a3e6425eb2
core (memory/sqla_mapping): fix some technical debt:
...
a first Alembic revision file is joined to migrate existing databases to new mapping.
This patch:
- set `nullable=False` in various places
- drop legacy `message_types` table, and use `Enum` instead
- use naming convention, and get rid of anonymous constraint (this is the main reason
why the revision file is so long)
2021-06-27 00:15:40 +02:00
Goffi
8ae38a1131
core (memory/sqla): database migration using Alembic:
...
Alembic database migration tool, which is the recommended one for SQLAlchemy has been
integrated. When a database is created, it will be used to stamp to current (head)
revision, otherwise, DB will be checked to see if it needs to be updated, and upgrade will
be triggered if necessary.
2021-06-25 17:55:23 +02:00
Goffi
71db80fc4d
memory (storage): adjustements to SQLAlchemy mapping to match current state of database
2021-06-25 10:17:34 +02:00
Goffi
f6a528dbb4
merge changes from main branch
2021-06-18 18:19:23 +02:00
Goffi
2491003474
Added tag v0.8.0b1 for changeset efe2445b053c
2021-06-18 15:15:13 +02:00
Goffi
846dbe478f
v0.8.0b1 release
2021-06-18 15:10:33 +02:00
Goffi
89dfeaa155
install: fix pygobject dependency
2021-06-18 15:08:40 +02:00
Goffi
7a7ea682e9
/!\ package is being renamed to libervia-backend following global name change /!\
2021-06-18 14:44:01 +02:00
Goffi
ddf227b88c
install: set upper limit for dependencies versions
2021-06-18 14:38:51 +02:00
Goffi
5c37493c06
misc: added freedesktop metadata files
2021-06-18 13:03:32 +02:00
Goffi
4421eefbf3
merge changes from main branch
2021-06-17 13:05:58 +02:00
Goffi
211c9c8079
core (memory/cache): don't crash on EOFError in getMetadata
2021-06-17 10:35:42 +02:00
Weblate
56faa95883
i18n: Added translation using Weblate (Slovak)
2021-06-16 13:49:26 +00:00
Goffi
61d0c37ba2
i18n: update French catalog
2021-06-15 15:05:12 +02:00