Philipp Hörist
0eb75eb73d
Modules: Use LogAdapter
...
- Make all modules inherit from BaseModule
- Use LogAdapter in BaseModule
2019-03-10 10:06:45 +01:00
Philipp Hörist
4a2c23b893
Correctly remove bookmark after MUC was destroyed
2019-02-11 20:32:41 +01:00
Philipp Hörist
1256372d36
Handle nbxmpp error results
2019-02-10 00:39:10 +01:00
Philipp Hörist
a89bec0b9d
Refactor Bookmarks
...
- Simplify modules because nbxmpp handles more stuff
2019-02-04 21:59:33 +01:00
Philipp Hörist
4670760668
Fix destroying a MUC
...
- Only close the tab if we initiated the destruction
2019-01-19 23:05:36 +01:00
Philipp Hörist
777b8d72e4
Remove print statement
2019-01-06 00:58:07 +01:00
Philipp Hörist
55694b60bf
Dont save Gajim settings in bookmarks
...
- Remove print status from bookmarks
- Remove minimize on join from bookmarks
- Add options to the groupchat menu for both settings
Fixes #9463
2019-01-06 00:00:42 +01:00
Philipp Hörist
0e6011c088
Ignore bookmark updates from other jids
...
Because we use +notify to subscribe to the bookmarks node, we get notifications from contacts that have an open access bookmarks node
2018-12-21 19:10:18 +01:00
Philipp Hörist
841f12f75b
Fix mypy errors
2018-12-17 00:41:46 +01:00
Philipp Hörist
96edd79963
Handle PEP bookmarks notifications
...
- Handle PEP bookmark notifications
- On new bookmarks with the auto join flag set, join the MUC
- Dont merge private and pubsub bookmarks
- Only use pubsub if the conversion feature is announced
2018-12-17 00:36:45 +01:00
Philipp Hörist
be420d44fc
Implement XEP-0411 Bookmarks Conversion
...
If bookmarks conversion is announced by the server:
- Dont merge bookmarks
- Only push to either private storage or pubsub
2018-12-10 22:30:45 +01:00
Philipp Hörist
62253c804a
Discover the bookmarks conversion server feature
2018-12-04 20:41:44 +01:00
Philipp Hörist
8487bdb83e
Make bookmark parsing more resilient
...
Fixes #9385
2018-10-19 15:59:04 +02:00
Philipp Hörist
de0c0a9c08
Fix unsued-import pylint errors
2018-09-16 11:37:38 +02:00
Philipp Hörist
64aec8adce
Add annotations
2018-09-12 21:08:37 +02:00
Philipp Hörist
09c5183575
Fix pylint errors in common/modules
2018-09-11 22:25:55 +02:00
Philipp Hörist
bcf2a3770d
Remove unnecessary code
...
NetworkIncomingEvent defines base_network_events and generate() already
2018-09-11 00:37:00 +02:00
Philipp Hörist
0a20cb5997
Fix fallback for bookmark name
2018-09-08 23:55:31 +02:00
Philipp Hörist
27f7580688
Light refactring of bookmark code
...
- Convert xs:boolean values in bookmark module
- Use python booleans for minimize and autojoin in other parts of Gajim
- Use add_bookmark() instead of manipulating the bookmarks dict
2018-09-05 00:06:59 +02:00
Philipp Hörist
b62335eaf5
Add a bookmark sorting method
2018-09-04 23:22:57 +02:00
Philipp Hörist
dbf891e97c
Add missing bookmark dict entry
2018-07-29 22:26:52 +02:00
Philipp Hörist
5a6f03dea4
Add connect_maschine()
...
Add method that sequentially works the steps we have to do
before sending first presence
- Move Delimiter into own module
- Move Metacontacts into own module
2018-07-27 16:01:10 +02:00
Philipp Hörist
07c87a4194
Rewrite discovery code and move it into own module
2018-07-22 16:20:00 +02:00
Philipp Hörist
4cb852914e
Fix bookmarks strategy
...
Strategy is now:
1. Get pubsub if supported
2. Get private storage and merge if we find boomarks we dont have
3. Store bookmarks to both pubsub and privatestorage
The only drawback with this strategy is, that a client that supports
only private storage cant delete bookmarks
2018-07-12 21:34:15 +02:00
Philipp Hörist
59428d2f2f
Register all available modules automatically
2018-07-07 13:52:44 +02:00
Philipp Hörist
2ca0ca38a5
Refactor Pubsub/Bookmarks/UserAvatar into own modules
2018-07-01 22:35:56 +02:00