aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
AgeCommit message (Collapse)Author
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
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
2022-12-30Fix compiler warningsfiaxh
2022-12-20MAM: Fix processing after range was fetched completely, fix merging of rangesfiaxh
2022-12-20Fix connecting to jingle file provider multiple timesfiaxh
2022-11-20Fix some MAM issuesfiaxh
- Messages from MUCs weren't added to their respective MUC MAM ranges, thus re-fetched on rejoin - The earliest ('first') message of a mam page was used to update the to_id, but it should have been 'last'; also the other way around. - Duplicates weren't detected properly
2022-11-20Reactions: Fix reactions being differentiated by resource on first displayingfiaxh
fixes #1297
2022-11-04Clean up log outputsfiaxh
2022-11-02Don't use splice when handling input streams from libsoup-3Marvin W
2022-10-20Fix segfault if reaction message has type normalfiaxh
fixes #1294