Commit Graph

778 Commits

Author SHA1 Message Date
Philipp Hörist be26f50120 Fix nbxmpp method calls
features_nb was renamed
2019-03-16 14:01:49 +01:00
Philipp Hörist 979c7d2553 Dont leak DNS query if we connect via proxy
Fixes #9573
2019-03-16 13:22:05 +01:00
Philipp Hörist 4b3a5b7704 Use Consistent Color Generation for MUC nicknames 2019-03-12 18:44:20 +01: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 1827249653 Fix imports
transports_nb was renamed in nbxmpp
2019-03-04 13:49:03 +01:00
André Apitzsch 74c5f3d0e9 Avahi: don't fail if avahi gir is not installed
Fixes #9610
2019-03-04 08:20:01 +01:00
André Apitzsch ee6f65f404 Port Avahi to GDBus
fixes #9147
2019-03-03 19:41:55 +01:00
Philipp Hörist 94eef409db Fix imports
dispatcher_nb was renamed in nbxmpp
2019-03-03 19:40:39 +01:00
Philipp Hörist c58c7cc4a0 Make passwords module more resilient
- Catch more exceptions
- Add more log output
2019-03-02 19:59:27 +01:00
Philipp Hörist 1f479e5ba4 Use pathlib replace() for saving config
This makes it hopefully more resilient on Windows
2019-03-02 10:43:14 +01:00
Philipp Hörist e3f8f050c0 Zeroconf: Fix missing attrs 2019-02-20 00:31:28 +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 4c3110c27d Redirect some print statments to stderr
Otherwise they errors will not show up if the console output is
redirected to a file
2019-02-16 10:36:27 +01:00
Philipp Hörist a944e7e6e1 Determine windows version reliably
Fixes #9578
2019-02-15 17:02:40 +01:00
Philipp Hörist 53d6b1dc32 Dont advertise urn:xmpp:hashes:1
Fixes #9514
2019-02-15 15:04:50 +01:00
Philipp Hörist 7fe03dcb45 XTLS: Fix endless loop on write error 2019-02-15 14:58:56 +01:00
Philipp Hörist bc7e0e1ee4 Fix depreaction warning
set_cipher_list wants bytes
2019-02-15 14:58:11 +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 4442db5461 Remove unused import 2019-02-09 21:45:18 +01:00
Philipp Hörist fc8c056eff Detect nbxmpp supported encryptions
- Better handle logging for gnupg
2019-02-09 21:39:14 +01:00
André Apitzsch 36a0083942 Clean up OpenSSL code 2019-02-06 20:25:55 +01:00
streaps a3c316abaa AMR codec added 2019-02-06 20:18:58 +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 18c422d843 Move print for debug message 2019-02-01 17:24:33 +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