- Aug 02, 2017
-
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
-
Philipp Hörist authored
Fixes #8690
-
- Aug 01, 2017
-
-
Philipp Hörist authored
New logging methods and more MAM refactoring See merge request !112
-
Philipp Hörist authored
- Use new parse_datetime() method - Drop message with error if MAM doesnt supply a timestamp. - If the user supplys an own timestamp, save it so we can decide in the future how to display it.
-
Philipp Hörist authored
This is a regression from the refactoring
-
Philipp Hörist authored
- also push a new MamDecryptedMessageReceived event after disco instead of writing directly to the DB
-
Philipp Hörist authored
Goal is to make the logger module easier to maintain in the future - extract deduplication out into a own method, so we can use it on its own in some other places. - add new insert_into_logs() method the DB fields we want to write to are passed as arguments, this makes it so we dont have to change the method when we add or remove DB fields in the future. - instead of using get_jid_id() all around gajim to get the jid_id before we write to the DB, we only have to pass the jid to insert_into_logs(), it makes sure to get the correct jid_id or add one in case it doesnt exist.
-
Philipp Hörist authored
Add a new XEP-0082 parsing method See merge request !111
-
Philipp Hörist authored
This handles every possible XEP-0082 timestamp It has some additional options: - Check if a timestring is a valid UTC timestamp, as required by some XEPs (for example: XEP-0203) - Return timestamp as datetime in UTC - Return timestamp as datetime in localtime - Return timestamp as epoch
-
Weblate authored
-
- Jul 31, 2017
-
-
Philipp Hörist authored
-
Yann Leboulanger authored
Xep 0319 See merge request !110
-
Weblate authored
-
Philipp Hörist authored
Set source IDs to None after removing the source except when shutting down, because the Control ist destroyed anyway Only try to remove if we have a source ID
-
- Jul 30, 2017
-
-
Philipp Hörist authored
- On single messages use the bare JID for DB querys - Add more debug logging - Some light refactoring
-
- Jul 29, 2017
-
-
Philipp Hörist authored
-
- Jul 28, 2017
-
-
Philipp Hörist authored
-
Philipp Hörist authored
- The 'configure-event' does not trigger anymore when connected to the MessageTextView. The reason is unknown. - Use our own ScrolledWindow Widget instead so we can better control the dimension of the MessageTextView
-
Philipp Hörist authored
-
Philipp Hörist authored
This lets us better count how many messages we retrieved
-
Philipp Hörist authored
- This allows us to better deduplicate Messages on MAM syncs
-
- Jul 27, 2017
-
-
Philipp Hörist authored
We dont use 0136 anymore
-
Philipp Hörist authored
-
Philipp Hörist authored
We get our full JID on the bind event. After that it is saved in the `registered_name` attr on the Connection Object. In case the bind never occured we get the bare JID from config.
-
Philipp Hörist authored
-
Philipp Hörist authored
- Condition type = groupchat is not needed because we drop messages type groupchat that come from the user archive. To get these messages we will query the MUC. - Because of this the logging method save_if_not_exists() can be much simpler
-
Philipp Hörist authored
Refactor Logger See merge request !108
-
Philipp Hörist authored
A missing stanza ID means, we will have to take some measures to make sure we get no duplicates in the Database later on. Also fix getting the origin-id. Third time is a charm.
-
- Jul 26, 2017
-
-
Philipp Hörist authored
-
Philipp Hörist authored
The gaol why we need to determine what ID should be used as stanza-id, is so we can use the stanza-id in the future for deduplication. Case we are the sender: Either we look for a origin-id element, which we will include in the Future in all messages we send, or until then the ID we set on the message as attr. Case we are the receiver: If our server supports mam:2 we take the ID of the result element, because mam:2 injects the archive ID live into every message we receive. If we dont have mam:2 we fall back to the ID of the message attr.
-
- Jul 25, 2017
-
-
Philipp Hörist authored
Add ServerInfo Dialog See merge request !107
-
Philipp Hörist authored
-
Philipp Hörist authored
Add Synchronise History Dialog and prepare for MUC MAM See merge request !109
-
Philipp Hörist authored
- Refactor and clean up code around MamMessageReceivedEvent - Goal is to add a GcMamMessageReceivedEvent later on - For that cause added a raw-mam-message-received base event
-
Philipp Hörist authored
This lets us attach all attributes of the base event to the new event. Often Events trigger other Events. When that happens we often want to keep all attr from the previous Event, and just continue under a new Event. Until now all attr had to be pulled out of `self.base_event` again.
-
Philipp Hörist authored
The XEP is pretty strict on Delay tags so we can make a simple method.
-
Philipp Hörist authored
-