Commit graph

558 commits

Author SHA1 Message Date
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 1d123c7e66
Fix label attributes updated with delay 2023-02-07 10:50:45 +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 3aa3912dc3
New Date Separator 2023-01-31 15:15:55 +01:00
Marvin W 9e11bef219
Fix critical warning due to tooltip issue 2023-01-31 15:14:47 +01:00
Prashant Kumar e3c833bce0
Add tooltips to the delivered and read icons (#1341) 2023-01-30 23:19:53 +01:00
fiaxh b0b81b88c6 Always display reaction+reply buttons, disable if not possible 2023-01-30 22:54:55 +01:00
Marvin W e35df88d4a
Fix UI for libadwaita 2023-01-25 11:02:02 +01:00
Marvin W cc7db3b85f
Fix scaling image for GTK4 2023-01-24 19:21:25 +01:00
Marvin W 99d9cb383a
Small UI fixes for libAdwaita 2023-01-24 19:21:25 +01:00
fiaxh 6a182ba313
Only use Adw.AboutWindow for Adwaita >= 1.2 2023-01-24 19:21:25 +01:00
fiaxh 4b391f3f31
Use Adw.StatusPage instead of custom placeholders 2023-01-24 19:20:43 +01:00
fiaxh 92aca5672d
Improve libadwaita integration 2023-01-24 19:20:43 +01:00
Teemu Ikonen 0d7c8bb6e1
Change Gtk.Paned to Adw.Leaflet in MainWindow 2023-01-24 19:20:43 +01:00
Teemu Ikonen e934a76a11
Add back button to ConversationTitlebar
Add a bool 'back_button_visible' and a signal 'back_pressed' to the
ConversationTitlebar interface.

Also add implementations to both ConversationTitlebarNoCsd and
ConversationTitlebarCsd.
2023-01-24 19:20:43 +01:00
Teemu Ikonen 04acab82c9
Remove set_window_buttons() from MainWindow 2023-01-24 19:20:43 +01:00
Teemu Ikonen ba9462503c
Use Adw.HeaderBar for CSD header bars
This allows showing the correct buttons with 'show-start-title-buttons'
and 'show-end-title-buttons' properties when folding.
2023-01-24 19:20:42 +01:00
Teemu Ikonen 2741bf21ae
Convert main window layout to 2 vertical boxes
Use Adw.Window as main window widget, add the now missing HeaderBars to
MainWindowPlaceholder and MainWindow in the NoCSD case.
2023-01-24 19:20:42 +01:00
Teemu Ikonen 1ef42b47d2
Use Adw.Application, make about dialog an Adw.AboutWindow 2023-01-24 19:20:42 +01:00
fiaxh 7da79864b3 Fix pin setting switch displaying 2023-01-16 18:37:11 +01:00
fiaxh 05289e0b4d Fix reply cancelling
fixes #1340
2023-01-16 17:39:22 +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 860c72bfc9 Fix crash when removing jid from roster
fixes #1332
2023-01-11 19:54:17 +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 60371331e0 Replies: Fix quoted message not being reset after sending
fixes #1334
2023-01-07 23:35:39 +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
Marvin W cdd22e404e
Fix build with Vala < 0.52
MenuButton.set_child was only added to VAPIs of 0.52 and later.
Even if GTK4 is new enough, they wouldn't be available.
2022-11-10 22:32:19 +01:00
fiaxh 7a19a25156 Clean up log outputs 2022-11-04 15:57:58 -06:00
fiaxh a45280f8df Reactions: Improve style 2022-10-11 18:55:33 +02:00
fiaxh 11b6e615b7 Don't require use of MenuButton.set_child introduced with GTK 4.6 2022-10-11 17:50:54 +02:00
fiaxh 80258a874d Add support for reactions 2022-10-11 13:37:48 +02:00
fiaxh 6c6e7e3aa7 Rewrite MAM logic and add MUC MAM 2022-10-10 21:55:15 +02:00
fiaxh 9c736af765 Fix regression with channel join button not getting sensitive
fixes #1284
2022-10-09 11:48:58 +02:00
fiaxh 7d8b08deca Small fixes 2022-10-09 11:48:58 +02:00
fiaxh 03878eee49 Add account dialog: Reenable Next-button activation on enter 2022-10-09 11:48:58 +02:00
fiaxh 85342ee2eb Fix drag and drop uploading 2022-10-09 11:48:58 +02:00
fiaxh 21ab48e09a Fix channel join button not getting sensitive 2022-10-03 19:14:45 +02:00
fiaxh 146af31524 Move icons out of scalable/ui/ since it's not allowed by icon naming spec 2022-09-18 20:30:24 +02:00
fiaxh 117f193812 Fix crashes and warning in Join Conference dialog
fixes #1262
2022-08-22 13:16:46 +02:00
fiaxh 14bc3d6717 Fix crash on call window closing 2022-08-22 13:16:46 +02:00
fiaxh 054d3fec16 Fix encryption button update and reduce its required GTK version
MenuButton.activate only exists since 4.4
2022-08-21 14:16:31 +02:00
Marvin W d6afa6e8ff
GTK4: Don't require use of MenuButton.set_child introduced with 4.6 2022-08-21 00:57:46 +02:00
fiaxh 6bfa70fc70 Disable tooltips for GTK 4.6.4 - 4.6.6
A bug in GTK caused the application to crash in some tooltip-related conditions
https://gitlab.gnome.org/GNOME/gtk/-/issues/4941
2022-08-20 21:09:42 +02:00
Marvin W e51b55432f Gtk4 bug fixes and improvements 2022-07-27 20:55:54 +02:00
fiaxh f44cbe02c1 Improve Gtk4 port 2022-07-27 20:34:20 +02:00
Marvin W 2b3ce5fc95 Video for GTK4 2022-07-27 20:34:20 +02:00
fiaxh 7e7dcedaf3 Port from GTK3 to GTK4 2022-07-27 20:34:20 +02:00
Xavi92 99c076254a
Inhibit idle and suspend during calls (#1233) 2022-05-11 11:12:30 +02:00
Marvin W 193bf38a79
Allow cancellation of file transfers 2022-03-30 10:36:52 -06:00
Marvin W 339d1d8f55
Fix Version handling, add function to retrieve short version without git commit 2022-03-30 10:36:07 -06:00
fiaxh 1309d7e2e4 Fix quote formating to not (partially) expect a space after > 2022-02-14 23:49:45 +01:00
fiaxh 9838d56794 Prepare for 0.3 release 2022-02-12 22:18:06 +01:00
Marvin W 6dca4f499e
Fix call participant widget 2022-02-12 20:51:31 +01:00
Marvin W 602834bdf7
Fix build on Debian 10 2022-02-12 19:16:16 +01:00
fiaxh 06f0bc00f1 Calls: Show invite button quicker 2022-02-12 17:35:46 +01:00
Marvin W 6f9375e6ea
Calls: Only show invite button when it's supported 2022-02-12 15:14:15 +01:00
Marvin W 369d0c79d7
Calls: Fix device selector for multi-party calls, allow picking device before call started 2022-02-12 14:36:26 +01:00
Marvin W 0f5f57888e
Calls: Use GtkHeaderBar for each participant 2022-02-12 14:36:25 +01:00
fiaxh be751a5dda Various call fixes
- If peer invited us claiming audio-only and then wants to have a video content, do a content-modify and accept audio-only
- Check contents for video (and modify) and whether call is truly accepted in PeerState.accept() directly
- If a message contains both JMI and CIM, only use JMI
- Fix outgoing CIM (disabled)
- Use opacity instead of visiblity for file_menu, small fixes
- Add back owner/admin/member queries when joining MUC (regression from 33104a7)
2022-02-12 14:22:29 +01:00
fiaxh 7718def74d Wording: Use singular in 'No camera/microphone/speaker found' 2022-02-08 22:29:33 +01:00
Marvin W 43ea088f64
Calls: Device picker 2022-02-08 21:58:18 +01:00
fiaxh 408406e652 Let call notification say if it's a group call 2022-02-08 17:52:30 +01:00
fiaxh 3088879a7b Various call fixes
- Use groupchat message type for invites in MUCs
- Use call id (from propose) instead of message id for Call Invite Messages
- Fix call window controlls appearing when hovering controls
2022-02-07 22:17:21 +01:00
fiaxh ee085e3e0d Fix quote styling occurring in the middle of a line
fixup 454c00a, 795af2d, 4e9e09a
2022-02-07 22:17:21 +01:00
fiaxh 29d1abccac Support direct jingle call invites with call invite messages 2022-02-07 01:21:11 +01:00
fiaxh 071d925e37 Add support for call invite messages
As of https://github.com/xsf/xeps/pull/1155
2022-02-07 01:21:11 +01:00
fiaxh 4ef50db3e5 Various call UI/UX improvements 2022-02-07 01:21:11 +01:00
fiaxh 3e19778deb Revert "Prevent ChatTextView from increasing in height after text was entered"
This reverts commit eefce3fd81.
The workaround doesn't seem to be necessary anymore.

fixes #1188
2022-02-04 13:39:46 +01:00
fiaxh 454c00ac0b Apply message quote style prior to urls
fixup 795af2d, 4e9e09a
2022-02-04 13:39:46 +01:00
fiaxh b7ca33a37d Initialize and use dbus interfaces async
related #1155
2022-02-01 23:37:54 +01:00
Daniel Pono Takamori 5c5dfea9d8
update copyright text to 2022 (#1187) 2022-01-29 15:46:07 +01:00
fiaxh 5089e9cad7 Remove color from /me name, remove use_markup from sender label 2022-01-23 19:50:01 +01:00
fiaxh b123800f26 Small cleanup 2022-01-23 19:50:01 +01:00
fiaxh 19a3fa5e02 Stop using opacity for text due to side-effects
Fixes #1178
Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/2957
2022-01-23 19:49:06 +01:00
fiaxh eefce3fd81 Prevent ChatTextView from increasing in height after text was entered
fixes #1064
2022-01-12 22:52:55 +01:00
fiaxh 4e9e09a648 Apply message quote style prior to bold/italic style
Quotes apply to the whole line. Having a bold part in that line results in the quote styling only extending up to the bold part.
2022-01-11 23:12:46 +01:00
Marvin W 82a492b33f
Remove GStreamer dependencies from main
Fixes #1060
2022-01-09 17:04:34 +01:00
fiaxh c5461b8536 Imrove file widget menu (fixup 25db512)
- Fix file menu remaining visible after clicking an action
- Fix file menu for images (clicking resulted in hiding of the file widget part)
- Fix styling of file menus for images
- Fix compiler warnings and runtime criticals
2022-01-09 15:30:13 +01:00
wkg 25db512297
Introduce file widget menu with "Save as..." and "Open" actions (#1080) 2022-01-09 14:34:09 +01:00
fiaxh ac2af04740 Display message sender in bold+text color instead of small+colored 2022-01-05 20:10:19 +01:00
jugendhacker b3d452265f
Allow spaces in nick for affiliate command (#1170) 2022-01-05 12:35:46 +01:00
fiaxh 33104a778d Add 'unknown' encryption state for establishing calls
Currently, they are Encryption.NONE and thus marked as unencrypted in encrypted conversations
2022-01-04 21:40:51 +01:00
fiaxh 85f4bddf99 Use opacity for "pending" and "edited" hints
Getting the dim-label color doesn't work without actually rendering it
2022-01-04 12:35:18 +01:00
fiaxh 07a05db26e Escape occupant name and JID in occupants view
fixes #1141
2022-01-03 19:57:40 +01:00
Xavi92 795af2d9ce
Format quotes as preformatted text (#1111) 2021-12-30 16:22:03 +01:00
fiaxh f0c7dd0682 UI + libdino: Improve MUJI calls from MUC
- Move calls from ICE-thead onto main thread
- Identify Call.ourpart as MUC nick if in MUC
- Keep track of the initiator of a call
2021-12-23 00:19:26 +01:00
fiaxh 78bb2bbdda Add calls in private MUCs via a MUJI MUC 2021-12-18 21:34:39 +01:00
fiaxh 2b3d150949 Improve call details dialog + small multi-party call fixes 2021-11-15 13:29:13 +01:00
fiaxh e205743f0c Display target bitrates in connection details UI 2021-11-11 21:54:55 +01:00
fiaxh 3dc4d7f155 Add (disabled) multi-party call UI 2021-11-10 11:05:34 +01:00
fiaxh b71196ef07 Fix compiler warnings ('passing argument .. from incompatible pointer type') by passing (non)const argument 2021-10-12 19:53:22 +02:00
fiaxh 237081e573 Fix compiler warnings ('Switch does not handle .. of enum ..') 2021-10-12 19:43:57 +02:00
fiaxh bea85c8ab5 Fix compiler warnings ('cast between incompatible function types') by not connecting closures 2021-10-12 19:43:57 +02:00
fiaxh 8d8dcf5af6 Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'') 2021-10-12 17:58:18 +02:00
fiaxh c85945ae26 FileWidgets: Improve mouse enter/leave identification 2021-10-01 15:05:37 +02:00
fiaxh 69a26ebcef Improve call related wording 2021-09-25 16:04:13 +02:00
Translations ce227f7189 Update translations 2021-09-24 23:10:28 +02:00