aboutsummaryrefslogtreecommitdiff
path: root/libdino
AgeCommit message (Collapse)Author
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-10-06meson: Install more stuffhrxi
Install .vapi, .deps, .h files for the Vala libraries. Also install the data files. .deps files have to be manually generated, there's a feature request for automated generation at https://github.com/mesonbuild/meson/issues/9756. Import the gnome module globally. Install dependencies on Meson CI.
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
2023-04-22Fix empty alias being handled different than noneMarvin W
2023-03-24First steps of meson supporthrxi
Basic configuration of qlite, xmpp-vala, the Dino library and the Dino application are supported. There's no support for the plugins. This e.g. enables using the Vala language server.
2023-03-24Make members of `Plugins.Registry` public instead of internalhrxi
They are being used from outside the library.
2023-03-23Fix images from another client in our account not being displayed right awayfiaxh
2023-03-21Improve database performance while reconnecting and syncingMarvin W
Also move some tasks to low priority idle queue so they won't block UI updates
2023-03-21Improve history syncMarvin W
- Ensure we fully fetch desired history if possible (previously, duplicates from offline message queue could hinder MAM sync) - Early drop illegal MAM messages so they don't pile up in the pending queue waiting for their query to end (which it never will if they were not requested in first place). Fixes #1386
2023-03-05New Avatar UIMarvin W
2023-03-02Fix typing notifications in groupchatsMarvin W
2023-02-16Stop regenerating message menu buttonsfiaxh
mitigates #1343
2023-02-09Remove spell check settingfiaxh
As there is currently no spell check support for GTK4
2023-02-07Don't accept corrections from MUC MAMMarvin W
We don't know if they're from the same user as someone else could have joined with the same nickname after sender left
2023-02-07Fix some form entries not updating properlyMarvin W
2023-02-07Show "Me" instead of bare jid when no local alias is setMarvin W
2023-02-07Improve history sync under loadMarvin W
2023-02-07Deduplicate messages before storing in databaseMarvin W
2023-02-07Add priority for and allow cancellation of outgoing stanzasMarvin W
2023-02-07Collapse most stream releated errors into IOErrorMarvin W
2023-01-31Fix placeholder being shown on startup, fix missing vertical line in ↵fiaxh
no-conversations placeholder
2023-01-31Fix reaction display in private MUCsMarvin W
2023-01-31Fix reading reactions in private groups w/o occupant idsfiaxh
2023-01-30Always display reaction+reply buttons, disable if not possiblefiaxh
2023-01-25Fix reactions from MAM getting attributed to the wrong messagefiaxh
2023-01-25Fix UI for libadwaitaMarvin W
2023-01-17MAM: Fix latest range not being stored in db if it contained a duplicatefiaxh
2023-01-13Add debug outputs to summarize_whitespaces_to_space and don't assert_not_reachedfiaxh
related #1335
2023-01-11Support pinning of conversations (locally)fiaxh
fixes #290 fixes #1330
2023-01-11Support replies and reactions to filesfiaxh
2023-01-08Replies: Fix fallback bodies with multi-line quotesfiaxh
2023-01-07Reactions: Fix wrong time being stored for outgoing reactions (micro sec ↵fiaxh
teated as milli sec) fixes #1296
2023-01-06Add support for XEP-0461 replies (with fallback)fiaxh