Philipp Hörist
b8863e82be
MUC: Identify subject change correctly
...
Fixes #9491
2018-12-09 00:29:20 +01:00
Philipp Hörist
4968fe39e2
Correctly remove ping timeout
...
Fixes #9481
2018-12-05 17:03:34 +01:00
Philipp Hörist
62253c804a
Discover the bookmarks conversion server feature
2018-12-04 20:41:44 +01:00
Philipp Hörist
78f439c611
Refactor disconnect code
...
Fixes #9467
2018-12-04 19:28:50 +01:00
Philipp Hörist
59855a6c8d
Determine delay timestamp correctly
...
- Check the from attr on the delay node to determine if its a user timestamp or from the server
- Dont use user timestamp for sorting
- Record the user timestamp in additional data so its saved to the database
Fixes #9444
2018-12-04 12:18:17 +01:00
Philipp Hörist
fd6dec1208
Handle presence without from attr correctly
...
Fixes #9472
2018-12-03 15:40:43 +01:00
Philipp Hörist
432a4edbc1
Use custom dict for additional data
...
This makes it easier to retrive and store values
2018-11-30 23:05:15 +01:00
Andrey Gursky
f942e2c70f
Fix receipts for chat
...
This is a regression from e3050697
2018-11-27 02:17:25 +01:00
Philipp Hörist
c8b5eb94a9
Remove unused imports
2018-11-20 16:16:30 +01:00
Philipp Hörist
c61bd65607
Simplify PEP module inits
2018-11-20 15:32:01 +01:00
Philipp Hörist
e305069798
Fix receipts for MUC-PMs
2018-11-19 19:33:28 +01:00
Philipp Hörist
1504805575
Dont answer groupchat receipt requests
2018-11-19 17:51:18 +01:00
Philipp Hörist
d13baed80f
Improve Entity Time parsing
...
- Use parse_datetime()
- Improve tzo node validation
2018-11-18 10:35:13 +01:00
Philipp Hörist
f40f171ecd
Refactor parse_datetime and add unit test
2018-11-18 10:35:13 +01:00
Philipp Hörist
7f1dfe5a8c
New DataFormWidget: Add Captcha support
2018-11-15 21:02:09 +01:00
Philipp Hörist
62b210a9e5
Pass account to plugins when encrypting a file
2018-11-11 10:40:48 +01:00
Philipp Hörist
f5a19c24a9
Cast messages from a bare muc jid to groupchat
2018-11-05 21:08:34 +01:00
Emmanuel Gil Peyrot
b4d34bf7f6
Move XEP-0231 into its own module
2018-11-05 19:58:49 +01:00
Philipp Hörist
6b65a23371
DataForms: Make validation possible
...
- Show orange warning icon if a field is required
- Show red error icon if validation of the field failed
- Set validation error text as tooltip of the icon
- DataFormWidget emits a signal 'is-valid' on every change
2018-11-04 00:58:34 +01:00
Philipp Hörist
61a791d67c
Rewrite GroupchatConfig dialog
...
- Complete rewrite of the dialog
- Use new DataFormWidget
2018-11-02 22:24:28 +01:00
Philipp Hörist
53ec34a955
Use parse_datetime for parsing idle time
...
Fixes #9393
2018-10-19 20:37:18 +02:00
Philipp Hörist
8487bdb83e
Make bookmark parsing more resilient
...
Fixes #9385
2018-10-19 15:59:04 +02:00
Philipp Hörist
ba2618d035
Set password correctly on MUC join
2018-10-14 21:42:51 +02:00
Philipp Hörist
c81711fdf0
Reset chatstate correctly if contact goes offline
2018-10-11 00:11:03 +02:00
Philipp Hörist
f565928890
Fix a few things regarding chatstates
...
- Fix wrong chatstates issued because of textview changed signal
- Fix chatstates in PMs
2018-10-09 00:01:35 +02:00
Philipp Hörist
bf87ad5ac8
Import _() instead of using builtin namespace
...
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-06 22:38:55 +02:00
Philipp Hörist
34553b6ca7
Add a configurable threshold for MAM in MUC
2018-10-04 21:42:06 +02:00
Philipp Hörist
8b7aae564b
MUC: Set active chatstate on messages
2018-10-03 09:56:56 +02:00
Philipp Hörist
460d390795
Refactor Chat State Notifications
...
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-09-30 22:58:38 +02:00
Philipp Hörist
acf79ffe8a
MAM: Up the requested page size
2018-09-30 10:01:42 +02:00
Philipp Hörist
a8c0567bd0
Request security catalog from the barejid
...
- Some Code/UI cleanup
2018-09-30 00:15:00 +02:00
Philipp Hörist
8ff3e55f33
Fix security labels
2018-09-29 18:29:59 +02:00
Yann Leboulanger
5aa41c7f63
handle error message from MUC correctly. Fixes #9280
2018-09-23 22:45:05 +02:00
Philipp Hörist
d29f6b2ca9
Dont parse our own nick on sent carbons
...
Fixes #9051
2018-09-22 15:35:45 +02:00
Philipp Hörist
7bb6f8b22e
Fix bare-except pylint errors
2018-09-16 23:45:01 +02:00
Philipp Hörist
7018d5be0e
Dont retract pep items on UserXEPs
...
This leads to multiple problems
1. We cant assume only items with id='current' are stored in the node
which would lead to retracting 'current' but another item would become
the last published and sent to users
2. Even if we have a SingletonNode retracting the only item means the Node
would be empty and offline clients would not receive the last published item
on coming online, because there is no item anymore
Instead we always publish an empty item from now on
2018-09-16 13:35:55 +02:00
Philipp Hörist
e85bc52c8b
Fix sending empty pep data
2018-09-16 12:58:37 +02:00
Philipp Hörist
de0c0a9c08
Fix unsued-import pylint errors
2018-09-16 11:37:38 +02:00
Philipp Hörist
d54d4bc232
Add annotations and fix pylint/mypy errors
2018-09-13 23:56:12 +02:00
Philipp Hörist
64aec8adce
Add annotations
2018-09-12 21:08:37 +02:00
Philipp Hörist
b99632ab03
Fix pylint errors
2018-09-12 00:01:54 +02:00
Philipp Hörist
09c5183575
Fix pylint errors in common/modules
2018-09-11 22:25:55 +02:00
Philipp Hörist
4ad38d5398
Make some vars private
2018-09-11 20:00:34 +02:00
Philipp Hörist
a34bf54c46
Fix mypy error regarding _()
2018-09-11 19:29:08 +02:00
Philipp Hörist
2649b3d01e
Add annotations to modules/util.py
2018-09-11 00:47:59 +02:00
Philipp Hörist
ca9b4cb596
Add annotations for modules/__init__.py
2018-09-11 00:47:54 +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
f82cd95f2c
Fix subscribing to contact
...
Fixes #9321
2018-09-09 17:43:17 +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
be6c2d4f7a
Add XEP-0398 optimizations
...
- If the server implements XEP-0398 we dont need to add the avatar sha
anymore, the server adds it for us.
- It also means we dont have to query our own avatar from vcard at start
because the server tells us the avatar sha that is published with the inital
presence reflection
2018-09-01 20:40:20 +02:00
Philipp Hörist
c68f4f1041
Send all presence through the presence module
2018-09-01 18:06:21 +02:00
Philipp Hörist
8a34261137
Parse delay after decryption
...
Delay could be encrypted with full stanza encryption
2018-08-30 19:19:47 +02:00
Philipp Hörist
931e3f60ba
Register modules defined by plugins
2018-08-28 23:03:00 +02:00
André Apitzsch
5d853e902a
Time: use classes from standard library
2018-08-19 23:29:05 +02:00
Philipp Hörist
9e3e6f80bb
Add JID to VcardReceivedEvent
2018-08-19 16:43:59 +02:00
Philipp Hörist
c4dfc0f8f2
Caps: Lower log level
2018-08-19 10:50:51 +02:00
Philipp Hörist
2ce78334ca
Fix direct MUC invite
2018-08-04 21:41:44 +02:00
Philipp Hörist
043e764896
Make Service Registration a Gtk.Assistant
...
- Move all xmpp Register methods into the register module
2018-08-04 19:47:57 +02:00
Philipp Hörist
560a122ab5
Add error message to change password dialog
...
- Move register methods to own module
2018-08-01 00:35:42 +02:00
Philipp Hörist
4096ab5db5
Fix detecting oob data
2018-07-31 21:20:02 +02:00
Philipp Hörist
85bc3896ab
Handle messages without 'to' correctly
2018-07-30 21:58:22 +02:00
Philipp Hörist
137bf1f831
MAM: Request from last received stanza-id
...
Record stanza-ids from live messages. If Gajim is started query the
archive from the last received stanza-id
2018-07-29 23:16:13 +02:00
Philipp Hörist
dbf891e97c
Add missing bookmark dict entry
2018-07-29 22:26:52 +02:00
Philipp Hörist
80aee95f2e
Reset connect_maschine after disconnect on purpose
2018-07-29 19:35:45 +02:00
Philipp Hörist
7584037fc7
Fix typo
2018-07-28 13:32:37 +02:00
Philipp Hörist
2f3d50b13f
Fix restoring open chatcontrols after restart
2018-07-27 16:16:23 +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
db77fa1ace
Add roster implementation to Gajim
2018-07-26 20:38:00 +02:00
Philipp Hörist
7ad6a28e12
Fix event name
2018-07-26 17:27:56 +02:00
Philipp Hörist
cf580c62de
Discover httpupload also on the user domain
2018-07-25 19:33:03 +02:00
Philipp Hörist
5d24c9bbdd
Move subscription code into presence module
2018-07-23 23:04:07 +02:00
Philipp Hörist
6c4d9ff4c7
Dont disco unnecessary server items
2018-07-23 20:44:57 +02:00
Philipp Hörist
a943a35a5d
Move caps code into own module
2018-07-22 20:49:53 +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
5ff9e9febf
Move dataforms into modules folder
2018-07-22 16:20:00 +02:00
Philipp Hörist
afb0306160
Move security labels into own module
2018-07-22 16:19:59 +02:00
Philipp Hörist
78858f7c82
Move more MUC methods into muc module
2018-07-22 16:19:53 +02:00
Philipp Hörist
37f7a80396
Move message handler into own module
2018-07-22 12:33:55 +02:00
Philipp Hörist
54b5dec6c7
Mock bookmarks for zeroconf
...
Fixes #9256
2018-07-20 23:17:58 +02:00
Philipp Hörist
5ed9768b87
Add JID to log output
2018-07-19 17:15:28 +02:00
Philipp Hörist
bff5f14b92
Move invites into MUC module
2018-07-17 18:38:36 +02:00
Philipp Hörist
d65253b021
Move Carbons into own module
2018-07-17 18:38:36 +02:00
Philipp Hörist
8fbafcd8fb
Register mam handler correctly
2018-07-15 23:58:21 +02:00
Philipp Hörist
ebbe06d587
Refactor MAM into own module
...
- Rework the MAM Preference dialog
- Move MAM Preference dialog into a new gtk module
- Refactor all MAM code into own module
- Refactor the MAM code itself so we can easier test it in the future
- Add a misc module for smaller XEPs and move EME, Last Message Correction
Delay, OOB into it
- Add dedicated module for XEP-0082 Time Profiles
2018-07-15 14:26: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
Ave O
c3a359ba23
Change to gender-neutral alternatives of pronouns
2018-07-11 23:15:56 +03:00
Philipp Hörist
d9eb3e6891
Blocking: Raise NodeProcessed
2018-07-09 23:37:13 +02:00
Philipp Hörist
a2d7283e6e
Refactor AdHocCommands into own module
2018-07-08 19:39:57 +02:00
Philipp Hörist
78d16c44f3
Register PEP module first
...
Other modules depend on it
2018-07-08 17:06:12 +02:00
Philipp Hörist
bd79fe629f
Refactor Privacy and Blocking into own modules
2018-07-08 16:44:14 +02:00
Philipp Hörist
59428d2f2f
Register all available modules automatically
2018-07-07 13:52:44 +02:00
Philipp Hörist
3a3b32249c
Fix requesting pubsub node config
...
Regression from refactoring
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
1e9fb205ee
Fix regression from 8b800f46
2018-07-06 23:54:29 +02:00
Philipp Hörist
d45fa13ee9
Refactor atom into new module and disable it
...
Gajim lacks a good UI for microblogging
Fixes #9218
2018-07-06 21:02:06 +02:00
Philipp Hörist
70661b70d3
Rename method to something more appropriate
2018-07-06 20:12:50 +02:00
Philipp Hörist
ccb3c2decc
Move rest of UserAvatar into new module
2018-07-06 19:55:13 +02:00
Philipp Hörist
0a6b2126b3
Raise NodeProcessed after processing ROSTERX
2018-07-05 23:55:09 +02:00