Commit graph

465 commits

Author SHA1 Message Date
Miquel Lionel fc8fdc166b wip, fixes https://github.com/dino/dino/issues/261
- server refuses to responds in any way to the sent iq stanza
	  and i don't know why, when i send it with the xml console in
	  gajim it works well
2024-03-12 10:43:40 +03:00
eerielili 86b101900c
Start conversation if closed when receiving an audio or video call (#1485)
* 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-08 13:51:30 +02:00
fiaxh 1e167eeea6 Fix some compiler warnings 2023-10-07 14:34:23 +02:00
hrxi 62ed82a495 meson: Install more stuff
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-06 15:25:12 +02:00
fiaxh e2c34bf223 Rewrite contact details dialog 2023-09-24 19:54:04 +02:00
Marvin W 9eafe4139d Fix build on some Vala compiler versions
See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
2023-09-24 19:51:33 +02:00
mesonium bc5a1d35cb
fix: Add x node to MUC PM stanza (#1462)
Add <x/> tag in MUC-PMs to support better Carbon delivery in
compliance with XEP-0045 v1.28 and above.

Fixes #1306
2023-07-29 14:02:38 +02:00
fiaxh 0bddf9f3da Fix character counting for fallbacks
fixes #1420
2023-05-01 19:21:05 +02:00
fiaxh 10315a245d Code cleanup: Remove left-over usages of mam_earliest_synced 2023-04-23 11:48:29 +02:00
fiaxh 2b9a0ccf7e Fix crash on NS_URI call when own server has no MAM; drop broken mam:1 "support"
fixes #1405
2023-04-23 11:40:06 +02:00
Marvin W 6e60cfcbbe
Fix empty alias being handled different than none 2023-04-22 20:08:49 +02:00
hrxi 5a90e793dd First steps of meson support
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-24 19:32:50 +01:00
hrxi b617bf7cc4 Make members of Plugins.Registry public instead of internal
They are being used from outside the library.
2023-03-24 19:32:50 +01:00
fiaxh 65efaca6fd
Fix images from another client in our account not being displayed right away 2023-03-23 12:14:22 -06:00
Marvin W 4e1311dfa9
Improve database performance while reconnecting and syncing
Also move some tasks to low priority idle queue so they won't block UI updates
2023-03-21 17:35:58 -06:00
Marvin W 3721027edb
Improve history sync
- 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-21 17:35:58 -06:00
Marvin W db3b0d5f23
New Avatar UI 2023-03-05 16:47:46 +01:00
Marvin W 76e1410c2a
Fix typing notifications in groupchats 2023-03-02 00:02:32 +01:00
fiaxh c526848098 Stop regenerating message menu buttons
mitigates #1343
2023-02-16 12:51:33 +01:00
fiaxh 9bf304095c Remove spell check setting
As there is currently no spell check support for GTK4
2023-02-09 12:35:50 +01:00
Marvin W 9c5e36020d
Don't accept corrections from MUC MAM
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-07 21:36:33 +01:00
Marvin W 32ae87a3c4
Fix some form entries not updating properly 2023-02-07 20:23:51 +01:00
Marvin W 1559a7a603
Show "Me" instead of bare jid when no local alias is set 2023-02-07 20:23:51 +01:00
Marvin W d092473fe4
Improve history sync under load 2023-02-07 10:50:45 +01:00
Marvin W f74c1f18b1
Deduplicate messages before storing in database 2023-02-07 10:50:45 +01:00
Marvin W d76e12b215
Add priority for and allow cancellation of outgoing stanzas 2023-02-07 10:50:45 +01:00
Marvin W 18321ed15c
Collapse most stream releated errors into IOError 2023-02-07 10:50:43 +01:00
fiaxh e0ece2aa62 Fix placeholder being shown on startup, fix missing vertical line in no-conversations placeholder 2023-01-31 20:16:23 +01:00
Marvin W 921f28c84b
Fix reaction display in private MUCs 2023-01-31 15:14:55 +01:00
fiaxh 1e23b7bbd2 Fix reading reactions in private groups w/o occupant ids 2023-01-31 11:06:53 +01:00
fiaxh b0b81b88c6 Always display reaction+reply buttons, disable if not possible 2023-01-30 22:54:55 +01:00
fiaxh 26be9d4bb4 Fix reactions from MAM getting attributed to the wrong message 2023-01-25 19:42:19 +01:00
Marvin W e35df88d4a
Fix UI for libadwaita 2023-01-25 11:02:02 +01:00
fiaxh 7e0d1db196 MAM: Fix latest range not being stored in db if it contained a duplicate 2023-01-17 19:56:43 +01:00
fiaxh 73c0263f35 Add debug outputs to summarize_whitespaces_to_space and don't assert_not_reached
related #1335
2023-01-13 11:44:28 +01:00
fiaxh 75500dc767 Support pinning of conversations (locally)
fixes #290
fixes #1330
2023-01-11 19:54:02 +01:00
fiaxh cb3b19b01d Support replies and reactions to files 2023-01-11 19:49:03 +01:00
fiaxh 0c4aea96ff Replies: Fix fallback bodies with multi-line quotes 2023-01-08 12:34:25 +01:00
fiaxh 424a429062 Reactions: Fix wrong time being stored for outgoing reactions (micro sec teated as milli sec)
fixes #1296
2023-01-07 23:44:43 +01:00
fiaxh dc52e7595c Add support for XEP-0461 replies (with fallback) 2023-01-06 14:03:54 +01:00
fiaxh 4d7809bb12 Fix compiler warnings 2022-12-30 21:34:40 +01:00
fiaxh 799d09a4c9 MAM: Fix processing after range was fetched completely, fix merging of ranges 2022-12-20 19:51:38 +01:00
fiaxh 30f99d1347 Fix connecting to jingle file provider multiple times 2022-12-20 19:49:03 +01:00
fiaxh 4d50c51a75 Fix some MAM issues
- 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-20 22:18:22 +01:00
fiaxh d1fb22ebed Reactions: Fix reactions being differentiated by resource on first displaying
fixes #1297
2022-11-20 22:18:22 +01:00
fiaxh 7a19a25156 Clean up log outputs 2022-11-04 15:57:58 -06:00
Marvin W 809c1579e4 Don't use splice when handling input streams from libsoup-3 2022-11-02 09:57:03 -06:00
fiaxh 2ab7374aa5 Fix segfault if reaction message has type normal
fixes #1294
2022-10-20 19:27:01 +02:00
fiaxh 09829b3382 Fix message server_id getting overwritten with null on reconnect 2022-10-11 18:55:33 +02:00
fiaxh 80258a874d Add support for reactions 2022-10-11 13:37:48 +02:00