aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warningshrxi2019-09-107-5/+86
| | | | | | Instances of `RegexError` are just asserted as `assert_not_reached` as they cannot really fail except for allocation failure if the given regex is valid.
* Include data forms in entity capabilities hash computationfiaxh2019-09-033-6/+52
|
* Merge pull request #592 from hrxi/gsoc_1Marvin W2019-08-299-172/+1360
|\ | | | | Add SOCKS5 bytestreams and a couple of other fixes
| * Don't error on Jingle file transfer hash session-infohrxi2019-08-273-5/+44
| |
| * Fix candidate selection for equal priorityhrxi2019-08-242-3/+4
| | | | | | | | | | | | XEP-0260 states that the candidate selected (offered) by the initiator wins, not the one that was chosen by the initiator (i.e. offered by the responder).
| * Fix Jingle connection code when `cancellable` is `null`hrxi2019-08-091-2/+7
| |
| * Fix race condition involving `session-terminate`hrxi2019-08-082-3/+10
| | | | | | | | | | | | | | The Jingle file transfer (XEP-0234) specifies that the receiver of the file transfer is the one to terminate the session. Otherwise, there might be a race condition between the XMPP stream and out-of-band SOCKS5 connections.
| * Fall back to IBB if S5B does not work outhrxi2019-08-062-39/+188
| | | | | | | | | | This mostly happens if connectivity to the candidates cannot be established.
| * Send Jingle errors to the right JIDhrxi2019-08-061-3/+3
| |
| * Fix destination address of IBB error codeshrxi2019-08-061-11/+11
| |
| * Forgot to add outgoing Jingle SOCKS5 transferhrxi2019-08-061-1/+8
| |
| * Implement detachhrxi2019-08-062-2/+6
| |
| * Factor out the session-terminate handlerhrxi2019-08-061-25/+35
| |
| * Add support for Jingle SOCKS5 bytestreams (XEP-0260)hrxi2019-08-056-85/+788
| |
| * Terminate the Jingle session after the file transfer is completehrxi2019-08-051-13/+93
| |
| * Finish file transfer after receiving enough datahrxi2019-08-051-8/+53
| | | | | | | | | | | | | | | | | | | | This means that we no longer rely on the remote end to close the connection after sending the file, but additionally use the `<size>` element from the initial file transfer `<description>` to check whether the file transfer has been completed. This was motivated by Conversations not closing the connection for SOCKS5 file transfers.
| * Fix human_readable in stanza errorshrxi2019-08-051-1/+4
| |
| * Fix a couple of delegate copy warnigshrxi2019-08-053-7/+7
| | | | | | | | "warning: copying delegates is not supported"
| * Add jingle connection for better interfacing with jingle (terminate etc.)hrxi2019-08-053-41/+176
| |
* | Add missing 'to' attribute when sending service-unavailable for an unknown ↵fiaxh2019-08-261-1/+2
| | | | | | | | | | | | IG get/set NS fixes #604
* | Add incoming mediated invitation support (#162)fiaxh2019-08-224-4/+55
| | | | | | | | Co-authored-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
* | Fix specified size for encrypted file uploadsfiaxh2019-08-211-1/+1
| |
* | Set OMEMO devicelist + bundle node access model to publicfiaxh2019-08-092-3/+34
|/
* Fix compilation with older valac versionsfiaxh2019-07-182-33/+33
|
* Refactor file receive/send interfaces and UIfiaxh2019-07-182-6/+41
|
* Merge branch 'gsoc_0' of https://github.com/hrxi/dino into hrxi-gsoc_0fiaxh2019-07-168-8/+1184
|\
| * Address pull requests comments, fix a few TODOshrxi2019-07-121-9/+40
| |
| * Add file receiving via Jinglehrxi2019-07-096-270/+736
| | | | | | | | | | This currently follows the same rules as HTTP file download for accepting files.
| * Implement file sending via Jinglehrxi2019-07-096-4/+683
| | | | | | | | | | | | | | | | | | | | | | This is still disabled by default until prioritization is implemented; otherwise this could be preferred to HTTP uploads. File sending only works via Jingle In-Band-Bytestreams right now, more transports are going to be implemented. To test this, uncomment the line with `JingleFileTransfer` in libdino/src/application.vala.
* | Unroll some async methods in stanza readerMarvin W2019-07-141-19/+37
| |
* | Do not log long bodiesMarvin W2019-07-141-0/+3
|/
* mirror node value on disco request. fixes #258Daniel Gultsch2019-06-301-1/+6
|
* Send bad-request error for unknown IQ set/getshrxi2019-06-215-8/+8
|
* Add a couple of error primitives for easier error handlinghrxi2019-06-213-15/+39
|
* Merge pull request #570 from hrxi/pr_typosfiaxh2019-06-062-3/+2
|\ | | | | Fix a couple of typos and one network typo
| * Fix a typo in the `<service-unvailable/>` iq answerhrxi2019-06-011-2/+2
| |
| * Fix a couple of typos and double importshrxi2019-06-011-1/+0
| |
* | Fix ANSI color removal for XMPP log on non-tty stderrshrxi2019-06-061-2/+2
| |
* | Don't set timeouts on registration connection attemptsfiaxh2019-06-012-1/+5
|/
* Check presence for empty show node, assume as onlinefiaxh2019-05-211-1/+4
|
* Enable sending chat state notifications in private roomsfiaxh2019-05-163-4/+21
|
* Process read marker from other devices for MUCs to adjust read-up-to statefiaxh2019-05-111-1/+0
|
* Remove avatars with missmatch between supposed and actual sha1 hash on load, ↵fiaxh2019-04-241-1/+1
| | | | make loading async
* Ensure image data is kept until avatars are written to filefiaxh2019-04-243-6/+6
|
* Use glib log functionsfiaxh2019-03-151-3/+3
|
* Entity capabilities: Check c node for ver attributefiaxh2019-03-141-1/+2
| | | | fixes #530
* Check for eme tag before adding fallback text for empty-body OMEMO messagesfiaxh2019-02-201-0/+8
|
* Fix compiler error (From using uint8[].copy())fiaxh2019-02-041-2/+2
|
* Improve ping timeouts, add debug output for XmlErrors and ping timeoutsfiaxh2019-01-021-26/+33
|
* display groups w/o name by list of membersDaniel Gultsch2018-12-281-0/+1
| | | | | | | | | | | | | For members-only, non-anonymous groups that do not have a name set we now show an automatically generated name that is generated from the list of members (offline, and online). Only the first name (before the first space) is used to keep the generated name short. The term *private room* is coined as a short hand for members only&non-anon group chats. This commit also uses the offline members list instead of the online member list to generate avatar tiles (also only in members-only, non-anon groups.)