Commit graph

1329 commits

Author SHA1 Message Date
Psayker bec8a5b69f Add size for incoming files 2024-04-16 18:21:42 +03:00
Xavier Del Campo Romero 595902355e Show file upload/download progress
Fixes upstream issue #1350.

Notes:

Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.

(cherry picked from commit 700708b7e10ce1110528a2b83b854fae3f6be95e)
2024-04-16 18:21:42 +03:00
Konstantin Kuznetsov 3219b5eeb9 Choose audio caps based on the highest rate 2024-04-16 18:12:06 +03:00
Stanislav Malishevskiy 77e23c41e1 Fix issue with sound without webrtc library 2024-04-15 15:30:18 +03:00
Andrei Voronin 0ce6a8619b
Adding brighter icon for online status (#49)
Added two brighter version of status icons and made online status
more recognasible.
2024-04-11 18:05:57 +03:00
Andrei Voronin ffacf70a4f
Display user status online/offline with circles (#40)
Adds a display of the user's offline/online status through red and green circles, respectively.
2024-04-09 15:04:52 +03:00
Maxim Logaev 02759c59f7 meson: Hide console window for Windows
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-09 14:43:01 +03:00
Igor Sharonov c1d2e3647b meson: Support all tests from cmake
Unified test launch for both meson and cmake: make/ninja test.
Support tests for cmake through ctest.
Enable jid test in libdino.
Enable tests for win64 CI/CD.
2024-04-09 13:20:11 +03:00
Igor Sharonov a74f2d0c82 meson: Add phone-ringer plugin 2024-04-08 16:19:59 +03:00
Linux in a Bit b6bb5b3dda Change message padding/margins
3px padding on top and bottom of all messages
10px margin on top of messages with usernames
This improves readability among other things.
2024-04-05 17:09:06 +03:00
Igor Sharonov c5587fe3b3 meson: Fix plugindir search path 2024-04-05 17:08:34 +03:00
Maxim Logaev ff713338e0 Fixed show Dino+ version in about window
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-04 16:51:39 +03:00
Maxim Logaev efe4e439d1 Fixed set license in about window
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-04 16:50:59 +03:00
Maxim Logaev 9d793b90e2 Added Dino with windows console
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-04 12:52:16 +03:00
Igor Sharonov 583a381c74 Support libsoup-2.4 in meson 2024-04-02 18:09:01 +03:00
Konstantin Kuznetsov 17c451652d Allow creating new bookmark when there are no existing bookmarks
This commit removes early return from the set_autojoin function
to allow creating a new bookmark (with add_conference function).
2024-04-02 18:07:38 +03:00
Maxim Logaev a41e499bf0 Added meson build to Windows CI
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-01 19:26:50 +03:00
giantplaceholder fd0b3d65f8
Update installation instructions in README + a few other small changes 2024-04-01 18:55:22 +04:00
eerielili e5302d1d9d Fix message stanza with body changing MUC subject (#1569)
- 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-04-01 17:48:43 +03:00
Maxim Logaev d6a6bdc546 Now don't use broken gh-describe
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-01 17:29:17 +03:00
Vadim Lomovtsev 9afa4ddb72 merge meson & cmake build scripts
Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>
2024-04-01 16:38:27 +03:00
Vadim Lomovtsev 4912be6cff plugins/windows-notification: add meson build support
Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>
2024-04-01 16:38:27 +03:00
Vadim Lomovtsev 66403012dc add win32-fonts to meson-based windows build
This commit is to enable plugin to be build with meson for Windows
(mingw64) build.

Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>
2024-04-01 16:38:27 +03:00
Vadim Lomovtsev 799ad11339 put meson-build script for windows (mingw64)
Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>
2024-04-01 16:38:27 +03:00
Vadim Lomovtsev 81253f28cc project-wide: build & run-time fixes
While using meson some issues were faced with link and application
startup. This commit is to put fixes for the following issues:

- missed conversation_details.css file;
  add conversation_details.css to the main/data/gresources.xml;
- the 'localtime_r' symbol  can't be found while linking application
  add POSIX_C_SOURCES=1 macro definition
- meson configure complains that xmpp-vala package version is not set
  set xmpp-vala version to 0.1
- application startup failures due to unresolved symbols while creating
  initial UI
   fix: put '--export-all-symbols' to the main/meson.build for mingw64 build
- segmentation fault while running app built by meson
  meson.build: add _WIN32 definefor vala compilation
- main/meson.build: add _FILE_OFFSET_BITS definition (sync with cmake
  cfg)
- main/meson.build: compile window resources (fix missed window icon)

Signed-off-by: Vadim Lomovtsev <jelezny@gmail.com>
2024-04-01 16:38:27 +03:00
hrxi e4bd6c1ce4 Allow using OpenSSL instead of GnuTLS
In preparation of Windows support.
2024-04-01 16:38:27 +03:00
hrxi c5704ea56b Add openssl VAPI from vala-extra-apis
f73ba20fa7/openssl.vapi
2024-04-01 16:38:27 +03:00
Konstantin Kuznetsov 7976859639 experimental: display online/offline status for conversation members 2024-03-29 19:13:18 +03:00
Xavier Del Campo Romero f2096694c6 Add send button / Enter key settings
Two new switches have been added to the application preferences:

- Enable send button
- Use Enter to insert newline ('\n')

The latter cannot be active or sensitive if the former is not active.
Otherwise, users would not be able to send messages.

Thanks to horazont for suggesting a separate switch for the behaviour
of the Enter key.
2024-03-29 16:58:50 +03:00
Andrei Voronin bee7dd0ef4
Offline members (#33)
This commit is supposed to change the showing of members of chat.
Beforehead only online members was show in chat members. Now it's all
members who are shown, including the ones who is offline and the one who
didin't accept the invite
2024-03-28 17:50:34 +03:00
Andrei Voronin c0c9e1df14 Added spinner for resynck
Added spinner for resynck. Added stack with button and spinner. After
pushing the button button will be replaced witn spinning spinner
indicating process. Spinner will be replaced with button after receiving
message from server.

!Sometimes spinner will stop to spin, but the process will still be
running. You can start animation again by pressing on the spinner. It is
known issue with gtk spinner
2024-03-28 17:17:54 +03:00
giantplaceholder a23ab3ac6e
Replace screenshot in the README with an up-to-date one 2024-03-27 13:23:42 +04:00
giantplaceholder a9204e0892
Add up-to-date screenshot 2024-03-27 13:22:15 +04:00
Maxim Logaev 9ae30a0607 Added workaround for bug #17
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-26 22:48:52 +03:00
Maxim Logaev 3e352b5a94 Use default encryption only for 1-on-1 chats
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-26 19:59:29 +03:00
Maxim Logaev 47365dd7e0 Encryption dialog not change default encryption
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-26 19:29:09 +03:00
Stanislav Malishevskiy 8e2a459eae Save password after succes change 2024-03-26 18:37:00 +03:00
Maxim Logaev 06496b9720 Added RU translation for default encryption dialog
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-26 18:21:45 +03:00
Maxim Logaev f3be74b328 Fixed default encryption dialog style
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-26 16:31:21 +03:00
Xavier Del Campo Romero 01070d089d Show modal dialog to select default encryption if unknown
Thanks to mbeko for the UX suggestions.
2024-03-26 11:22:56 +03:00
Xavier Del Campo Romero d3a2e52285 Setup default encryption settings 2024-03-26 11:22:56 +03:00
fiaxh 2a7063d992 Remove conversation closing via hover button 2024-03-26 11:22:55 +03:00
fiaxh 209b657133 Introduce conversation menu, add close option 2024-03-26 11:22:55 +03:00
fiaxh 32ed1ce245 Conversation details dialog: Fix runtime critical 2024-03-26 11:22:55 +03:00
Konstantin Kuznetsov b18f49cda3 Skip duplicate invites for active conversations 2024-03-25 17:06:44 +03:00
Konstantin Kuznetsov 3a0d2d2ffe Wait for messages instead of MAM pages 2024-03-22 16:11:31 +03:00
adversary16 ce9d848388 Added flatpak autobuild (#19) 2024-03-22 12:52:36 +03:00
Maxim Logaev aaa7c8ee75 Fixed flatpak build script style
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-22 12:52:36 +03:00
adversary16 2376226650 Fixed flatpak builder script (#13) 2024-03-22 12:52:08 +03:00
giantplaceholder d66d037817 Update hyperlinks 2024-03-19 22:03:36 +03:00