aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-23Join Channel dialog: Fix displaying of bookmark detailsfiaxh
2024-06-21Preferences dialog: Various improvementsfiaxh
- Only show avatar remove button if one is set, fixes #1589 - Only show account picker if user has more than one account
2024-06-21Start chat: Adjust status icon position, prioritize statuses, update statusfiaxh
2024-06-21Show contact status in "Start chat" windowMiquel Lionel
should close #139 - adds svg dino-status-offline.svg
2024-06-20Settings dialog: Fix account subpage for Adwaita < 1.4, other fixesfiaxh
fixes #1592
2024-06-20Fix meson build filesfiaxh
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-05-09AppData/DOAP: Use sentence case for summary.Marvin W
The suggestion is to not use title case which we did before.
2024-05-09Flatpak: Bump runtime version to 46Marvin W
2024-05-09AppData: Add brand colorMarvin W
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.
2024-04-28Annotating with array_null_terminated doesn't imply a missing array_lengthRico Tzschichholz
Taken from https://github.com/GNOME/vala-extra-vapis/commit/6b8a3e4faaabc462f90ffcb0cf0f91991ee58077
2024-04-01Fix message stanza with body changing MUC subject (#1569)eerielili
- fixes https://github.com/dino/dino/issues/1542 - more consistent with https://xmpp.org/extensions/xep-0045.html#enter-subject: "Note: In accordance with the core definition of XML stanzas, any message can contain a <subject/> element; only a message that contains a <subject/> but no <body/> element shall be considered a subject change for MUC purposes."
2024-03-21Remove conversation closing via hover buttonfiaxh
2024-03-21Introduce conversation menu, add close optionfiaxh
2024-03-21Conversation details dialog: Fix runtime criticalfiaxh
2024-03-02configure: fix typo (VALACFLAGS) (#1550)Alexandre Jousset
2024-03-02Fix poor contrast of highlight in search results with dark theme (#1557)eerielili
- fixes #1308
2024-03-02Add unread indicatorfiaxh
Co-authored-by: Alexandre Jousset <mid@gtmp.org> Co-authored-by: Aidan Epstein <aidan@jmad.org>
2024-01-13Enable hyperlinks in topic text to be clicked (#1523)eerielili
fixes #1042
2024-01-13Change select contact dialog container to AdwClamp (#1533)Teemu Ikonen
2024-01-10Fix crash on removing conference not in roster (#1516)eerielili
2023-12-10Conversation details dialog: Fix notification+block iconsfiaxh
2023-12-10Fix segfault opening conversation details when no XEP-0191 support (#1513)eerielili
fixes #1508
2023-11-24Fix http upload for servers without file size limit (#1512)eerielili
* Fix for ejabberd XMPP server 'infinity' http upload file size announce - fixes https://github.com/dino/dino/issues/1222 * Update 0363_http_file_upload.vala
2023-11-13main/meson.build:121: fix typoAlexandre Jousset
2023-11-13rtp plugin doesn't depend on GnuTLShrxi
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 crash due to gpg binding issuefiaxh
2023-10-07Fix some compiler warningsfiaxh
2023-10-07Fix implicit-function-declaration compiler warningsfiaxh
2023-10-06meson: Add version detection for some dependencieshrxi
2023-10-06meson: Add RTP options that are also present in the CMakeLists.txthrxi
2023-10-06meson: Allow enabling/disabling pluginshrxi
2023-10-06meson: Add rtp pluginhrxi
2023-10-06meson: Add omemo pluginhrxi
2023-10-06meson: Add ice pluginhrxi
2023-10-06meson: Add crypto-vala libraryhrxi
2023-10-06meson: Add notification-sound pluginhrxi
2023-10-06meson: Add openpgp pluginhrxi
2023-10-06meson: Add http-files pluginhrxi
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-10-06Merge `signal-protocol` into `omemo` pluginhrxi
Same reasoning as for the `openpgp` plugin.
2023-10-06Merge `gpgme-vala` into `openpgp` pluginhrxi
There's no reason for it to be a statically linked library anymore, it can be directly compiled into the plugin.
2023-10-06Fix every inclusion of `gpgme_fix.h` getting their own mutexhrxi