Commit Graph

213 Commits

Author SHA1 Message Date
Philipp Hörist 731aaab633 Improve module imports
Import modules only on demand instead all on first module import
2019-04-19 16:57:12 +02:00
Philipp Hörist 9d75c77982 Remove GPG code from Gajim
Code moved into plugin
2019-04-16 23:24:40 +02:00
Alexander Bogdanov 64bac1d910 Implementing error type=modify handling for XEP-0077 2019-04-16 18:47:39 +02:00
Philipp Hörist 3312ca6c29 Add plugin extension point "send-presence"
This lets plugins modify the presence
2019-04-14 20:25:55 +02:00
Philipp Hörist b91b64997e Fix no-callable pylint errors 2019-04-07 21:47:00 +02:00
Philipp Hörist c8815a9230 Fix no-else-raise pylint errors 2019-04-07 18:40:32 +02:00
Philipp Hörist ed011da59e Add new Ad-Hoc Command dialog 2019-04-07 00:06:56 +02:00
Philipp Hörist 239ab1455b Refactor Software Version
- Simplify modules because nbxmpp handles more stuff
2019-04-05 19:44:30 +02:00
Philipp Hörist 0678272774 Dont send invalid presence show value 2019-04-05 19:40:14 +02:00
Philipp Hörist 348a8551fe Remove datetime parsing from Gajim
Use nbxmpp's datetime parsing
2019-03-11 23:13:11 +01:00
Philipp Hörist da46bdda1f Remove delay parsing from Gajim
Use nbxmpp's delay parsing
2019-03-11 23:13:11 +01:00
Philipp Hörist f5fe4fd8de Better dedupe MUC history messages 2019-03-11 23:13:11 +01:00
Philipp Hörist 851a7ee929 Depend on nbxmpp delay parsing 2019-03-11 23:13:00 +01:00
Philipp Hörist b80bbaf2b3 Improve log message format 2019-03-10 10:07:12 +01:00
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 6e672c9911 Add LogAdapter
This adds the account to all log messages issues in module code
2019-03-08 20:31:05 +01:00
Philipp Hörist b704e27abc Write correct show values to database
Since the refactor we wrote accidentally string instead of int
2019-03-06 23:03:45 +01:00
Philipp Hörist 872ee3d675 Fix presence subscription
Fixes #9612
2019-03-06 22:11:35 +01:00
Philipp Hörist 0963f44443 Use nbxmpp's parsed EME data 2019-02-20 00:31:24 +01:00
Philipp Hörist 12d909d636 LastActivity: Use BaseModule and StanzaHandler 2019-02-19 20:38:57 +01:00
Philipp Hörist 12389f4097 Remove unused code 2019-02-19 20:38:57 +01:00
Philipp Hörist 72fc96ae63 Refactor Annotations
- Simplify modules because nbxmpp handles more stuff
2019-02-18 23:02:14 +01:00
Philipp Hörist 11c5fd29e5 Remove not used PEP module code 2019-02-18 23:02:05 +01:00
Philipp Hörist 54a9992696 Remove atom modules 2019-02-18 19:46:47 +01:00
Philipp Hörist 1f5be6cb0f Add mobile phone indicator
Shows a mobile phone icon if the last message was received by a client
which identifies as phone
2019-02-12 21:40:43 +01:00
Philipp Hörist dede4ba4f2 Adapt to MucConfigResult changes in nbxmpp 2019-02-11 21:41:39 +01:00
Philipp Hörist f8373012a2 Fix typo 2019-02-11 20:58:42 +01:00
Philipp Hörist 4a2c23b893 Correctly remove bookmark after MUC was destroyed 2019-02-11 20:32:41 +01:00
Philipp Hörist 6f61f05377 MAM: Detect nbxmpp supported encryptions 2019-02-11 20:29:20 +01:00
Philipp Hörist 1256372d36 Handle nbxmpp error results 2019-02-10 00:39:10 +01:00
Philipp Hörist fc8c056eff Detect nbxmpp supported encryptions
- Better handle logging for gnupg
2019-02-09 21:39:14 +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 fa7f6f2b8c Add modules to store publish list 2019-02-03 00:15:28 +01:00
Philipp Hörist cef5b04d82 Refactor UserAvatar
- Simplify modules because nbxmpp handles more stuff
2019-02-03 00:08:28 +01:00
Philipp Hörist 3f03e6e0a4 Better handle disable notifitcations 2019-02-02 12:55:07 +01:00
Philipp Hörist 59b39b049a Refactor UserLocation
- Simplify modules because nbxmpp handles more stuff
2019-02-02 12:51:28 +01:00
Philipp Hörist d37b95e45e Refactor UserTune
- Simplify modules because nbxmpp handles more stuff
2019-02-02 12:51:24 +01:00
Philipp Hörist 0b6fac44dc Dont fail on malformed pubsub events 2019-02-01 17:03:46 +01:00
Philipp Hörist b9b9dae6a0 Refactor UserActivity
- Use IconTheme for mood icons
- Simplify modules because nbxmpp handles more stuff
2019-01-31 22:57:15 +01:00
Philipp Hörist be95b04007 Refactor UserNickname and UserMood
- Use IconTheme for mood icons
- Simplify modules because nbxmpp handles more stuff
2019-01-30 23:36:01 +01:00
Philipp Hörist 8e336311cc Add annotations 2019-01-26 21:57:22 +01:00
Philipp Hörist ce0abb991c Add BaseModule 2019-01-26 14:34:58 +01:00
Philipp Hörist 1a7d930fc4 Add blocking list dialog 2019-01-21 22:45:19 +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 31d9b39744 Deal with stanza-id not added by a mam archive
Fixes #9550
2019-01-19 21:35:58 +01:00
Philipp Hörist 3e362874be Detect invalid user activity 2019-01-19 21:21:20 +01:00
Philipp Hörist 7c7df9d4a4 Detect invalid user mood
Fixes #9546, #9547
2019-01-19 21:21:16 +01:00
Philipp Hörist b22f1baca5 Propagate presences further
Other modules like avatars and entity caps come after the base presence handlers
2019-01-11 20:45:11 +01:00
Philipp Hörist dad671c1c7 Remove unused import 2019-01-07 23:52:51 +01:00
Philipp Hörist 4f3e4d2242 Pass xml:lang to nbxmpp 2019-01-07 23:44:51 +01:00