- Apr 18, 2017
-
-
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
-
- Apr 15, 2017
-
-
Philipp Hörist authored
-
- Apr 14, 2017
-
-
Philipp Hörist authored
Implement chatstate in MUC, as defined in XEP-0085 §5.5 See merge request !11
-
Emmanuel Gil Peyrot authored
-
- Apr 12, 2017
-
-
Philipp Hörist authored
python-gnupg uses latin1 as default encoding because GPG itself uses latin1 as default. We should not override this default with getpreferredencoding, because getpreferredencoding maybe returns something else than what GPG is configured on that system. Example: On Windows GPG is run in default mode with 'latin1' getpreferredencoding returns 'cp1252' The approach would be now to default to latin1 as it is GPGs default. And if the User sets a different ecoding for GPG he has to set it in Gajim aswell.
-
Philipp Hörist authored
-
Philipp Hörist authored
- Handle exceptions inside write() instead of propagating the exception - Add error message to exception - Add dispatch() method in logger
-
Philipp Hörist authored
- Pass EventObj instead of variables - decrease indent level - check all conditions inside log_message() not before calling - fixed bug where gc private messages where not logged with the correct jid
-
- Apr 08, 2017
-
-
Philipp Hörist authored
Sending Message Refactoring See merge request !80
-
- Apr 06, 2017
-
-
Philipp Hörist authored
- Dont use callbacks, they have no gain in that situation and make the code hard to read - pass the whole object to a new Event instead of many vars
-
- Apr 04, 2017
-
-
Philipp Hörist authored
-
Philipp Hörist authored
_build_message_stanza is a better fitting name
-
Philipp Hörist authored
- Add a _encrypt_message() and _finished_encrypt() method - Handle Fallback body text in _on_continue_message() where we build the Stanza
-
Philipp Hörist authored
This makes it much easier to read and modify
-
- Mar 31, 2017
-
-
Philipp Hörist authored
Various small cleanups, with focus on logger and history window See merge request !77
-
- Mar 30, 2017
-
-
Markus Böhme authored
Both methods get_conversation_for_date and search_log in the logger module are related to the loading of conversations and both return a list of messages from the log. Therefore, it makes sense that both of them have the same return type. Remove the named tuple type specific to search_log and convert the method to return tuples of type Message instead. As a side effect of this change, search_log now also returns values from the additional_data column in the log database.
-
Markus Böhme authored
The logger method get_conversation_for_date has previously been converted to return a list of named tuples. Now pass these tuples on to the method that actually inserts the conversation's messages into the textbuffer. Also rename two related methods in the history window: - _add_lines_for_date => _load_conversation - _add_new_line => _add_message
-
Markus Böhme authored
The get_conversation_for_date method in the logger module returns a list of bare tuples. Knowledge of how to pack and unpack the many individual components of the tuples is split between the caller and the callee, making the method hard to maintain and ugly to use. Therefore, convert the method to return named tuple instead.
-
Markus Böhme authored
-
Markus Böhme authored
The get_search_results_for_query method in the logger module returns a list of bare tuples. Knowledge of how to pack and unpack the many indidual components of the tuples is scattered across both the callers and the callee, making the method hard to maintain and ugly to use. Therefore, convert the method to return named tuples instead.
-
- Mar 29, 2017
-
-
Philipp Hörist authored
Allow IBB FT to bare JIDs again Closes #8581 See merge request !71
-
Markus Böhme authored
-
Markus Böhme authored
Currently, there are no enumerations using the enum module which reuse values/need aliases. Add the @unique decorator to all enum classes as a safety net for future modifications.
-
singpolyma authored
Currently works on released gajim, but not on nightly. This explicit check for resource in the to-jid just returns if there is no resource. It doesn't even cancel the file transfer or anything, it just stops... which looks to the user like a file transfer hang. Removing the check makes Gajim work as expected. Closes #8581
-
- Mar 27, 2017
-
-
Philipp Hörist authored
-
Philipp Hörist authored
-
- Mar 26, 2017
-
-
Philipp Hörist authored
-
- Mar 25, 2017
-
-
Philipp Hörist authored
Fix loading of additional_data column from log database See merge request !72
-
Markus Böhme authored
Currently, the additional_data column is not correctly loaded from the log database in the logger module's methods get_last_conversation_lines and get_conversation_for_date. While the JSON data in the column is parsed, the parsed value is not saved, because the code assumes that changes to a loop variable are reflected in the list that is iterated over. Instead, the unparsed JSON string is returned. Fix this by building a separate list with the JSON string replaced by the parsed JSON object.
-
Philipp Hörist authored
Fix issue #8548 on master: Do not close chat window on ESC key when roster filtering is active Closes #8548 See merge request !74
-
Markus Böhme authored
When the roster window active it can be filtered by starting to type. If the window behavior "single window for everything" is selected, trying to abort the filtering by pressing the ESC key also closes a chat window. Fix this behavior by stopping event propagation in case the ESC key is pressed while roster filtering is active. Fixes issue #8548.
-
- Mar 24, 2017
-
-
Philipp Hörist authored
-
- Mar 14, 2017
-
-
Philipp Hörist authored
Fix Privacy Lists Closes #8476 See merge request !68
-
Philipp Hörist authored
-