aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
AgeCommit message (Collapse)Author
2025-09-17Message correction: Use occupant ids, handle correction-before-messagefiaxh
2025-09-17Fix message id used for message corrections in MUCsfiaxh
2025-09-17Fix setting server_id for MAM messages from MUCs (#1763)bodqhrohro
2025-07-20Improve checking whether MUC messages will be referencablefiaxh
related #1714
2025-06-14Add basic support for BOB thumbnails in SFSfiaxh
2025-06-14Support media elements in data formsfiaxh
2025-06-14xmpp-vala: Add basic BOB supportfiaxh
2025-06-13Disregard SFS fallback messages even without source attachment given a ↵fiaxh
full-body fallback indication
2025-06-13Add support for whole body fallbacksfiaxh
2025-05-23FileTransfer fix store sourcefabrixxm
Store source in db and add sources to `sfs_sources` is divided in two functions. `persists()` now calls `store_source`, because the sources it want to persist are already added to `sfs_sources`.
2025-04-18Remove pixbuf from libdino api surface and xmpp-valafiaxh
2025-04-11Fix potential crashes during account disablingMarvin W
2025-04-09Fix locale search path finding on meson buildsfiaxh
2025-04-08Set OMEMO as default encryptionfiaxh
2025-04-08Show call button regardless of contact online statusfiaxh
2025-04-07Fix sending images with unknown formatsfiaxh
2025-04-06MUC: Close chat when it was closed elsewhere while disconnectedMarvin W
2025-04-06Drop CMake supportMarvin W
2025-03-27Muji calls: Send accept/left to parent MUCfiaxh
2025-03-12Fix try reconnecting account that hasn't been connected beforefiaxh
2025-01-12Meson: Adjust version generation to match CMakeMarvin W
and be compatible with vala-language-server
2025-01-12Show banner when contact is not yet subscribedfiaxh
2025-01-12Contact details dialog: Add encryption tabfiaxh
2025-01-12Show file upload/download progressfiaxh
2024-11-15Fix and improve stateless file-sharingfiaxh
2024-11-14Implement XEP-0447: Stateless file sharingPatiga
2024-10-18Use XEP-0482 for multi-party call invitesfiaxh
2024-10-18Fix crash on account creation (resource generation)fiaxh
2024-09-29Generate new resource on resource conflictfiaxh
2024-09-28Store avatars in the user's cache directory. (#1621)eerielili
* Store avatars in the user's cache directory. - Not anymore in ~/.local/share, where media files are stored. - Already existing ~/.local/share/dino/avatars directory will be moved to ~/.cache/dino/avatars - If both directories already exists, the old one (in ~/.local/share) is removed. * Simplify old-to-new-location logic --------- Co-authored-by: fiaxh <git@lightrise.org>
2024-09-21Add change password functionalityfiaxh
Co-authored-by: Stanislav Malishevskiy <stanislav.malishevskiy@gmail.com>
2024-09-15Discover plugins in Meson build directorieshrxi
If the environment looks like a Meson build dir (parent directory is called "main"), then also look for plugins in `../plugins/*`. Fixes #1591.
2024-07-29Add initial message markup (XEP-0394) supportfiaxh
2024-07-29Store reply message as sent, with fallbackfiaxh
2024-07-19OMEMO: Do not show message for OMEMO messages without payloadMarvin W
2024-06-28Self-ping with server-given roomnick (#1594)Matthew Fennell
* Self-ping with server-given roomnick (#1467) XEP-0045 describes how a server can modify a user's roomnick when joining a room. To do this, it assigns status code 210, and sets the "from" attribute to a JID with thew newly assigned nickname when sending the user's presence back to the client. This is used in IRC gateways such as biboumi. Since you can only have one nick per IRC server, if you try and join multiple IRC-bridged MUCs on the same IRC server, it will modify your nick to match the existing one you have on that server. Currently, when Dino performs a self-ping after joining a room, it uses the nick that the client first requested, instead of the nick returned from the server. This can lead to incorrect self-pings being sent out (until the client is restarted, and populates mucs_todo correctly). This happens because it adds the requested Jid to mucs_todo, before getting the given nick from the server. Therefore, this commit adds the jid that has been given from the server instead. If there is any error in requesting to join the MUC, it adds the requested nick, to match existing behaviour and allow the request to be retried via future self-pings. fixes #1467 * Minor coding style changes --------- Co-authored-by: fiaxh <git@lightrise.org>
2024-06-20Redesign and rewrite accounts and settings dialog into a combined onefiaxh
2024-06-19Store requested disco results with computed hash, use for offline ↵fiaxh
determining of private MUCs
2024-05-26Add logic for OMEMO by default settingfiaxh
2024-05-26Support avatar deletionfiaxh
2024-04-28Add WeakTimeout Pattern to Prevent LeaksChristopher Vollick
While doing testing I noticed that skeletons were being leaked, and eventually tracked it down to the timer that updates the time label closing over "this" and then keeping the reference alive, potentially for 24 hours. I noticed a few other places in the code doing some version of this, and one of them had the "static and weak pointer" approach, which I pulled out into a util class. Now, we still have to make sure we're passing it a static method instead of a lambda, as that would also close over "this" and render the whole thing useless, but at least most of the annoying parts live in the util class now. Also the call_widget version was doing a weird thing where it was removing itself, but then returning "true"? I'm not sure what that accomplishes, because returning "false" means to not run this again. So I think my new version is the same in practice, but simpler... There are other timeouts in the code that I briefly looked over, but all of them seemed to be relatively short hard-coded durations, so I left them alone. But if any of them are long-lived, it's possible they could also benefit from this class in the future. Closes #1480 Co-Authored-By: Marvin W <git@larma.de>
2024-04-28Calls: Correctly display information in partially encrypted callsMarvin W
This should never happen in practice, but now we will correctly display if a call has encrypted audio, but unencrypted video, or vice-versa.
2023-10-08Start conversation if closed when receiving an audio or video call (#1485)eerielili
* Start conversation if closed when receiving an audio or video call * Fix starting conversation on new calls, move setting conversation.last_active --------- Co-authored-by: fiaxh <git@lightrise.org>
2023-10-07Fix some compiler warningsfiaxh
2023-09-24Rewrite contact details dialogfiaxh
2023-09-24Fix build on some Vala compiler versionsMarvin W
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-07-29fix: Add x node to MUC PM stanza (#1462)mesonium
Add <x/> tag in MUC-PMs to support better Carbon delivery in compliance with XEP-0045 v1.28 and above. Fixes #1306
2023-05-01Fix character counting for fallbacksfiaxh
fixes #1420
2023-04-23Code cleanup: Remove left-over usages of mam_earliest_syncedfiaxh
2023-04-23Fix crash on NS_URI call when own server has no MAM; drop broken mam:1 "support"fiaxh
fixes #1405