Philipp Hörist
828d74570a
Remove print statement
2018-07-09 19:52:57 +02:00
Philipp Hörist
bd79fe629f
Refactor Privacy and Blocking into own modules
2018-07-08 16:44:14 +02:00
Philipp Hörist
3cfd82b0c2
Fix method call
2018-07-08 10:31:05 +02:00
Philipp Hörist
e918ac85fe
Remove streamhost redirect
...
After asking around this is a dead feature.
Because servers cannot be sure if clients support redirection, a server
using this feature would essentially risk that his users are not able to
connect at all.
2018-07-07 20:00:09 +02:00
Philipp Hörist
3e4cf4a07d
Change nbxmpp event we use for XMLConsole
2018-07-07 18:28:43 +02:00
Philipp Hörist
59428d2f2f
Register all available modules automatically
2018-07-07 13:52:44 +02:00
Philipp Hörist
09aead3e7f
Remove unused imports
2018-07-07 01:49:50 +02:00
Philipp Hörist
4bcdbde2c8
Move httpupload into modules
2018-07-07 01:49:50 +02:00
Philipp Hörist
51e85f14a3
Remove unused code
2018-07-05 21:41:28 +02:00
Philipp Hörist
fe3c1b4fbd
Refactor UserNickname into own module
2018-07-05 20:20:22 +02:00
Philipp Hörist
bbf3a544e8
Refactor UserLocation into own module
2018-07-05 19:38:03 +02:00
Philipp Hörist
14f088c2d9
Refactor UserMood into own module
2018-07-05 19:37:51 +02:00
Philipp Hörist
42ccbe7499
Dont fail if modules are not registered
...
This is for Zeroconf so we dont have to test in GUI always for
account != local
Fixes #9229
2018-07-05 00:16:42 +02:00
Philipp Hörist
a4350a812b
Refactor UserTune into own module
2018-07-05 00:16:42 +02:00
Philipp Hörist
b7775afd0c
Refactor UserActivity and PEP into own modules
2018-07-03 20:00:31 +02:00
Philipp Hörist
2ca0ca38a5
Refactor Pubsub/Bookmarks/UserAvatar into own modules
2018-07-01 22:35:56 +02:00
Philipp Hörist
8b800f4646
Refactor VCard code into own modules
2018-06-30 19:32:36 +02:00
Philipp Hörist
129f72bf8e
Refactor http auth code into own module
2018-06-25 23:47:06 +02:00
Philipp Hörist
8fa1ee4617
Refactor last activity code into own module
2018-06-25 23:00:40 +02:00
Philipp Hörist
b74706afcf
Refactor roster item exchange code into own module
2018-06-25 22:43:09 +02:00
Philipp Hörist
f382ce2a6c
Remove unused code
2018-06-25 20:08:48 +02:00
Philipp Hörist
c39da015cc
Refactor annotations code into own module
2018-06-25 20:04:56 +02:00
Philipp Hörist
a0bc6f0155
Refactor search code into own module
2018-06-25 19:34:10 +02:00
Philipp Hörist
7b957a2876
Refactor ping code into own module
2018-06-24 23:33:42 +02:00
Philipp Hörist
81d9e1bcf2
Refactor software version code into own module
2018-06-24 23:33:42 +02:00
Philipp Hörist
1499010394
Refactor entity time code into own module
2018-06-24 23:33:42 +02:00
Philipp Hörist
fd137be30f
Send cancel IQ if muc configuration is aborted
...
Fixes #9069
2018-06-23 23:36:26 +02:00
Alexander Krotov
1d27ab2254
Spellcheck
2018-06-21 03:05:47 +03:00
Philipp Hörist
395d24bee6
Use certifi on MacOS
...
Python 3.6 does not use the MacOS cert store anymore
2018-05-31 17:35:46 +02:00
Philipp Hörist
32b74b459e
Remove support for ESessions
...
Fixes #5294
2018-05-28 18:21:45 +02:00
Philipp Hörist
c5df74c509
Refactor idle module
...
- Get rid of sleepy.py, handle everything in idle.py
- Introduce one Monitor class that handles everything
2018-05-21 02:32:33 +02:00
Philipp Hörist
117036b872
Init Roster after stream management resume
...
nbxmpp deletes the roster object on disconnect. Init the roster from db
again on resume.
Fixes #8296
2018-05-18 18:20:30 +02:00
Philipp Hörist
6ed04e2dd2
Simplify generating random int
...
No need to use SystemRandom() here, as this is not needed for security
purposes
2018-05-17 21:13:37 +02:00
Philipp Hörist
4731e8491b
Move signal code into gajim.py
...
The reason for signal.signal(signal.SIGPIPE, signal.SIG_DFL)
Python ignores SIGPIPE by default ( signal(SIGPIPE, SIG_IGN) )
Write on a socket return then an error 32 EPIPE, which naturally
turns into an exception.
signal.SIG_DFL restores normal UNIX behavior
2018-05-17 20:59:22 +02:00
Philipp Hörist
72df2524e9
Remove check_X509
...
We dont need this module anymore
2018-05-17 20:12:02 +02:00
Philipp Hörist
2a8c0da367
Use i18n module to determine locale
2018-05-17 20:01:59 +02:00
Philipp Hörist
40aa3d808b
Remove unused comments
...
The attributes were removed in 8e09fd92
2018-05-17 20:01:59 +02:00
Andrey Gursky
4f29e2b353
Preserve SSL handshake errors order
...
Sets are unordered and list with push/pop acts as LIFO, though we need FIFO.
Since the number of elements is tiny, no need to use deque.
Addresses #9120
2018-05-16 19:50:21 +02:00
Philipp Hörist
8b9eb59ee4
Set no-store hint on groupchat chatstates
2018-05-07 18:04:24 +02:00
Philipp Hörist
bcf27cb3c1
Support for PKIX over Secure HTTP (POSH)
...
Fixes #9083
2018-05-01 21:08:26 +02:00
Philipp Hörist
c534d3a147
Refactor SSL errors
...
Dont save fingerprints to config and check certs with our own methods.
We should trust openssl to do all necessary checks.
Self signed certs can be added to cacert.pem and will not show up as
an error until the cert changes.
nbxmpp now saves all ssl errors and passes them, so now we loop over
all errors until all are confirmed or ignored by the user
Also cacerts are now saved in utf-8
2018-05-01 14:03:20 +02:00
Philipp Hörist
56a5d01609
Dont allow plain BOSH by default
2018-04-29 23:34:46 +02:00
Philipp Hörist
105427b8fd
Use consistent way to get paths
...
This lets us now import the app module without setting paths
2018-04-25 20:49:37 +02:00
Philipp Hörist
e265514d88
Detect dependencys only on demand
...
This allows us to import the app module without triggering
dependency detection
Also add is_installed() for checking if a dependency is installed and
disable_dependency() in case we dont want to use a dependency
2018-04-24 19:36:33 +02:00
Philipp Hörist
986898f69d
Dont check for OpenSSL we require it on install
2018-04-23 23:47:17 +02:00
Yann Leboulanger
c2184aaf8c
remove bookmark and close muc when destroying the room. Fixes #8862
2018-03-29 11:01:25 +02:00
Yann Leboulanger
f52e8d889c
don't traceback on account deletion. Fixes #8960
2018-03-28 11:36:14 +02:00
Philipp Hörist
0fb19c2b1c
Show error message on account registration
...
Prefer the error message text over the error code
2018-03-24 17:55:32 +01:00
Philipp Hörist
4e1a9db6cc
Remove conditional code for nbxmpp < 0.6.3
2018-03-24 00:19:27 +01:00
Philipp Hörist
b3e6170e57
Remove cacert.pem
...
Dont ship cacerts, use certifi on Windows
2018-03-24 00:17:34 +01:00