Commit graph

224 commits

Author SHA1 Message Date
trilene
c461c0aac0 Require GStreamer 1.18 for voip support 2021-02-20 17:14:22 -05:00
trilene
8ccd2abc6a Screen sharing (X11): support picture-in-picture 2021-02-20 11:26:53 -05:00
trilene
3b26cf4ba3 Screen sharing (X11): add hide mouse cursor option 2021-02-18 16:53:30 -05:00
trilene
8df10eeeca Support desktop screen sharing on X11 2021-02-18 15:55:29 -05:00
Nicolas Werner
50f994bd23 Clean up config names a bit 2021-02-09 16:26:38 +01:00
DeepBlueV7.X
23a9306383
Merge pull request #459 from Jedi18/minor_fixes
Fix emoji related issues
2021-02-09 16:25:37 +01:00
Jedi18
04b920fbee linting fix 2021-02-07 22:18:04 +05:30
trilene
f1bc3ba587 Move call device handling out of WebRTCSession 2021-02-07 11:47:47 -05:00
Jedi18
c2a56fc233 emoji default translation fix 2021-02-07 22:15:06 +05:30
Jedi18
8d195a4d11 translation fix for default text in emoji combo 2021-02-06 10:24:41 +05:30
Jedi18
f02342fe22 close emoji autocompleter if space typed after : issue #433 and adds default option for emoji font family settings 2021-02-05 21:52:49 +05:30
Loren Burkholder
777b9bf20d Set profile to "" if it's the default for compatibility 2021-02-04 18:44:36 -05:00
Joseph Donofry
00885e41f8
Update wording on settings page for privacy timer 2021-02-01 19:07:04 -05:00
Joseph Donofry
53c653a228
Merge remote-tracking branch 'nheko-im/master' into privacy_screen 2021-02-01 18:42:38 -05:00
Joseph Donofry
bfeb766a91
Implement Privacy Screen
* Add handles for window focus gained / focus lossed and connect to timer
* Clean up some of the PrivacyScreen.qml code
* Connect settings to PrivacyScreen visibility
2021-01-26 17:23:28 -05:00
Joseph Donofry
cb93ac3402
Fix formatting 2021-01-26 00:03:09 -05:00
Joseph Donofry
0794f0a3fd
Initial commit for privacy screen
Missing window focus event and knowing when room is encryption
2021-01-25 23:46:55 -05:00
Nicolas Werner
6ae1a5e8ad Persist hidden tags 2021-01-23 00:49:28 +01:00
Nicolas Werner
74c9af0432 Fix presence unknown type warning 2021-01-19 03:16:59 +01:00
Nicolas Werner
024ffde08d Allow more font sizes to be selected
fixes #367
2021-01-13 02:02:00 +01:00
trilene
2984d71971 Fix Qml control colors 2021-01-07 14:04:54 +01:00
Nicolas Werner
f3b6e994d0 Remove useless capture 2021-01-06 11:24:35 +01:00
Nicolas Werner
391b1b3285 Fix #359
Actually store the login details under the selected profile
2020-12-27 22:56:54 +01:00
LorenDB
53f45bdb1c Switch profile code to a more flexible method
This introduces a new version of SingleApplication as well.
2020-12-24 21:16:46 -05:00
Nicolas Werner
3b900bdcd2 Fix unused capture 2020-12-18 14:35:41 +01:00
Nicolas Werner
994c28ea95 Add download keys from secret storage 2020-12-18 03:04:18 +01:00
Nicolas Werner
7b46aa2a6e Store secrets in keychain 2020-12-16 22:10:09 +01:00
Nicolas Werner
9825f1bbd0 Send SSSS requests 2020-12-15 15:48:33 +01:00
kirillpt
8b1bc6b35a fixed toggle weirdness in settings, after loads added setChecked for Toggles, and fix issues with startInTray 2020-11-25 22:05:10 +03:00
kirillpt
041c01f3a4 made this: if Tray become disabled and startInTray was enabled, startInTray before blocks, goes disabled too 2020-11-25 19:31:03 +03:00
kirillpt
c5419f8783 change \!disabled for enabled, because toggled return true if enabled 2020-11-25 19:05:31 +03:00
kirillpt
46605d86f2 maybe fix toggle work in code 2020-11-25 18:57:54 +03:00
DeepBlueV7.X
4d9d049f2a
Merge pull request #325 from trilene/webrtc-video
Make incoming call ringtone a user setting
2020-11-13 18:15:35 +01:00
trilene
8c037f83c5 Make incoming call ringtone a user setting 2020-11-12 19:55:35 -05:00
DeepBlueV7.X
5fb3d4ede8
Merge pull request #310 from MayeulC/fix-typo
Improve wording in multiple strings.
2020-10-31 22:28:40 +01:00
Mayeul Cantan
bb1f2da4dc Wording: change "Mobile mode" for "Touchscreen mode"
This is less ambiguous. Moreover, this mode might be useful on a
computer touchscreen.
2020-10-31 22:23:55 +01:00
Mayeul Cantan
7564de4f70 Wording: change "trusted users" for "verified users"
This is less ambiguous, as it aligns with the other uses.

Trusted might refer to something else, like the reputation project.
You can trust a user you haven't verified.

Also mention devices as this shares keys with verified devices, for when device
verification was performed without cross-signing.
2020-10-31 22:23:55 +01:00
trilene
fd479a91be Merge remote-tracking branch 'upstream/master' into webrtc-video 2020-10-28 16:08:17 -04:00
trilene
d9ca5309ac Merge remote-tracking branch 'upstream/master' into webrtc-video 2020-10-27 15:29:53 -04:00
trilene
d1f3a3ef40 Support video calls 2020-10-27 13:14:06 -04:00
Nicolas Werner
12fff7408e Optimize build 2020-10-27 17:45:28 +01:00
Nicolas Werner
3a0e55e97b Qml message input mockup 2020-10-26 21:34:34 +01:00
DeepBlueV7.X
592bf42640
Merge pull request #306 from LorenDB/master
Add option for separate profiles
2020-10-24 18:08:42 +02:00
LorenDB
a2bd266c11 Add option for unique config 2020-10-24 11:50:13 -04:00
Nicolas Werner
3172811ca7 Add mobile mode which improves scrolling 2020-10-24 16:21:00 +02:00
Nicolas Werner
1ab20e0ee3 Fix share keys setting not working 2020-10-23 16:59:46 +02:00
LorenDB
8a188ac6f7 Use QFontComboBox as per issue 238 (deleted comments)
Note: I have deleted commented code as per the suggestion of @utkarsh2102.
Note 2: I have fixed all the diffs, etc.
2020-10-21 17:57:29 -04:00
Nicolas Werner
c25fd947a8 Automatic key sharing with trusted users 2020-10-18 00:52:35 +02:00
trilene
5bfe0cd178 Remove duplicate control from settings page 2020-09-26 12:07:03 -04:00
trilene
bd0e66b548 Don't show default audio source in settings 2020-09-14 15:55:43 -04:00
trilene
df65093374 Add audio input device selector 2020-08-05 17:56:44 -04:00
trilene
7a206441c8 Support voice calls 2020-07-10 19:19:48 -04:00
Lorem
e1706f4df5 Fix not being able to change theme 2020-06-14 13:56:15 +05:30
Joseph Donofry
7afb164244
Merge remote-tracking branch 'origin/master' into presence 2020-06-11 22:27:30 -04:00
Joseph Donofry
dbaf92734c
Fix formatting 2020-06-11 22:22:16 -04:00
Nicolas Werner
db93e6b853 Fix warning about not registered Presence type 2020-06-11 18:37:09 +02:00
Alexander 'z33ky' Hirsch
2b9860c3af Add setting to alert on notification 2020-06-10 12:34:26 +02:00
Nicolas Werner
f2bfa61e08 Add menu actions to set presence 2020-06-08 20:26:37 +02:00
Nicolas Werner
43d2ebc095 Fix Qt5.15 issues
fixes #214
2020-06-05 23:34:00 +02:00
Nicolas Werner
6b60ff7713 Rename settings to be more consistent 2020-05-26 22:54:51 +02:00
Nicolas Werner
f452bdf2b0 Make settings update immediately in qml and allow limiting timeline width
Limiting improves readability on wide monitors.

The immediate update of the settings is done by just exposing settings
as properties and then setting the settings as a context property.
2020-05-26 22:54:51 +02:00
lkito
60ad6ce277 Added an option to have descriptions for user settings. 2020-05-24 15:35:25 +04:00
lkito
d8b89e2ef0 Added an optional feature to show bigger emoji-only messages with 3 or less emoji 2020-05-21 16:31:27 +04:00
lkito
2c21f6e3fa Implemented optional message body highlighting feature. 2020-05-16 17:15:43 +04:00
Nicolas Werner
e55a09906f Misc color fixes 2020-05-05 23:43:43 +02:00
Nicolas Werner
bb66254c58 Make notifications a bit easier to read 2020-04-29 20:49:57 +02:00
Joseph Donofry
b298f01d92
Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
Joseph Donofry
a4c280a4f9
Add ability to toggle sidebar messages for encrypted rooms 2020-04-21 22:40:58 -04:00
Nicolas Werner
2b24a978e1 Mid color is used for scrollbars it seems 2020-04-11 22:38:12 +02:00
Nicolas Werner
6794b6472d Add a few missing palette colors 2020-04-08 23:10:00 +02:00
Nicolas Werner
8bf25f3d80 Set palette globally 2020-03-30 21:48:28 +02:00
Emi Simpson
bf5ae884de
Make toggle in settings revert between old behavior and new behavior for sorting by unreads 2020-03-15 14:56:39 -04:00
Emi Simpson
6bbe8ade0f
Made merge compatible with master 2020-03-15 12:16:01 -04:00
Emi Simpson
b6bd36ac16
Added toggle in the settings to ignore minor events 2020-03-15 11:19:22 -04:00
Nicolas Werner
0f1a352dd7 Make buttons hideable via setting, button contents can still be accessed via context menu 2020-03-10 00:30:45 +01:00
Nicolas Werner
4500bcd577 Use spacing for layouting settings 2020-02-20 18:11:49 +01:00
Adasauce
8aaf7e9e5d
Remove constant width, that was wrong.
Use Nico's suggestion to just leverage the width of the field, and leave
a comment.
2020-02-20 12:31:07 -04:00
Adasauce
105366f2b9
Clean up variable format
don't use members format camelCaseTail_
2020-02-20 11:57:16 -04:00
Adasauce
f86cbbe16a
Add constexpr for the minimum formlayout width
to save on recalculation of the size and having to subtract the margins
to do the tally, then re-apply.
2020-02-20 11:50:56 -04:00
Adasauce
b5aa615ef5
FormLayout cleanup
Removed empty labels in favour of a fixed height and bottom alignment.
2020-02-19 15:23:57 -04:00
Adasauce
53138d7f5c
Clean up placeholder string
use QString instead of std::string (QStringLiteral doesn't have a
constructor with int, str.)

remove temp variable, and just deal with it inline.
2020-02-19 15:00:49 -04:00
Adasauce
21b207d1f0
Review changes to UserSettingsPage
- Switch to {} widget initialization
 - set fixed size on the Toggles so they don't scale down vertically
 - add another setting section for INTERFACE
 - add a placeholder value for deviceFingerprintValue_ so it can calculate the right size.
 - fix warnings about `QLayout: Attempting to add QLayout "" to UserSettingsPage "",` in boxWrap
 - hide widgets properly in Q_OS_MAC
 - remove mainLayout_ completely
 - clean up resizeEvent
2020-02-18 17:16:07 -04:00
Adasauce
111e4504ac
Replace QHBoxLayout with QFormLayout in UserSettings
This allows form fields to wrap dynamically when they are too long for
the view. This should help mobile and small screen users to configure
the app without having to force it into portrait mode, or not be able to
reach the settings fields at all.
2020-02-18 11:08:19 -04:00
Nicolas Werner
70f4a89d10 Quick hack to enable touch scrolling in settings and room list 2020-02-15 03:48:23 +01:00
Nicolas Werner
ef5edbb3ea Lower general settings margins, if the window is narrow 2020-02-15 03:48:23 +01:00
DeepBlueV7.X
f70923f374
Merge pull request #117 from adasauce/file-download-path
use the standard system download path for file downloads
2020-02-15 03:28:22 +01:00
Adasauce
cb36050822
use QStandardPaths locations for all file dialogs. 2020-02-14 21:35:26 -04:00
Shun Sakai
2ceaead7fc Change the initial of the proper noun to uppercase
markdown -> Markdown
2020-02-14 13:02:44 +09:00
Nicolas Werner
4cd260bfcf Optimize includes a bit 2020-01-31 15:11:21 +01:00
Nicolas Werner
e2f547149a Allow sending messages as plain text 2020-01-27 15:59:25 +01:00
Nicolas Werner
79f967da8c Reduce Cache.h includes further via one forward declaration 2019-12-15 03:34:37 +01:00
Nicolas Werner
5fc1f3bd67 Reduce overhead of Cache.h 2019-12-15 02:56:04 +01:00
Nicolas Werner
ebeb1eb772 Implement avatars in qml timeline 2019-11-23 20:06:14 +01:00
Aidan Hahn
34ac2c4f75
re-re-linted 2019-09-03 21:23:54 -07:00
Aidan Hahn
5326d29e56
group similar ui options on settings page 2019-09-02 23:40:42 -07:00
Aidan Hahn
1e6fc6e342
fixed typoes in code, added layout metadata to new settings toggle. 2019-09-01 16:10:11 -07:00
Aidan Hahn
a1c2aed36a
Refactored Avatar and RoomInfoListItem to access rounding settings in place 2019-09-01 14:41:23 -07:00
Aidan Hahn
b10d453bd5
add controll bits for avatar rounding 2019-08-28 21:36:28 -07:00
Joseph Donofry
d5bb0936bf
Use 'system' theme as default if QT_QPA_PLATFORMTHEME is set
On first launch, before the user has configured any settings,
check the value of the QT_QPA_PLATFORMTHEME environment var.
If it is set, use the system theme as the default instead of the
light theme.  This fixes #72.
2019-08-10 13:14:37 -04:00
Joseph Donofry
86888ee713
Fix bug with emoji font setting and clean linting 2019-07-26 17:44:44 -04:00
Joseph Donofry
778921be8a
Add emoji text selection option for non-mac 2019-07-26 17:31:59 -04:00
redsky17
4cb27f34f2
Fix linting 2019-04-04 22:24:21 +00:00
redsky17
994f79cfbc
Update nheko to export sessions using new format
(requires mtxclient updates as well).
2019-03-27 23:13:38 +00:00
redsky17
237c7ad114 Author Color Fixes
Author color is now cached so that it will not be re-calculated
each time a new message is posted.  This cache gets cleared when
the theme is changed.

Additionally, the author color is now automatically refreshed
when the theme is changed, fixing the issue where you had to
change rooms before the colors would switch.
2019-01-20 04:43:48 +00:00
redsky17
98102f4f09 Fix UserSettings UI not showing saved prefs
Theme and Font Family settings will now correctly display the stored
settings when nheko is re-launched.  Previously, these combo boxes
would default to the first thing in the combo box, even if that
wasn't what the user selected.
2019-01-19 17:31:17 +00:00
redsky17
654b652db4 Add User Font Setting
User can now select a font from the installed fonts on their system

This font currently will only be applied when nheko is restarted
(similar to how font size and scaling currently work).  This will
be addressed in a future commit.  Additionally, the dropdown
does not correctly select the previously-chosen user font, and
instead defaults to the first font available on the system
(alphabetically).  This is similar to the issue with the 'Theme'
combo defaulting to 'Light' even when another theme is selected.
2019-01-19 16:20:41 +00:00
Konstantinos Sideris
c2faaa4d39 Add the correct parent to scaleCombo 2018-10-07 12:58:38 +03:00
Konstantinos Sideris
4865f852d8 Remove room re-ordering option 2018-10-06 18:43:53 +03:00
Konstantinos Sideris
844443a324 Adjust the widget size of the room list items 2018-10-06 17:21:03 +03:00
Konstantinos Sideris
3a57d1018e Add option to configure the font size
fixes #161
2018-10-01 17:56:46 +03:00
Konstantinos Sideris
4b1b062388 Enable debug logs 2018-09-30 14:33:54 +03:00
Konstantinos Sideris
9038c950ae Remove pixel value from fonts 2018-09-30 13:24:36 +03:00
Konstantinos Sideris
59a1b6b47c Don't enable tray by default 2018-09-26 19:22:52 +03:00
Konstantinos Sideris
1716502eff Improvements on the system theme 2018-09-19 22:42:26 +03:00
Konstantinos Sideris
3e49afd6ba Fix compile warnings 2018-09-18 18:48:14 +03:00
Konstantinos Sideris
440237cdb9 Clean up unread rooms after initial sync 2018-09-16 11:41:53 +03:00
Konstantinos Sideris
a9ddc3b3d3 Implement import/export of megolm session keys (#358) 2018-09-15 23:52:14 +03:00
Rudi Floren
c8a59f2d6e Add device ID and device fingerprint to settings page like in Riot. (#407) 2018-08-21 06:22:51 +00:00
Konstantinos Sideris
cebd8cbc19 Add option to disable desktop notifications
fixes #388
2018-08-11 18:26:17 +03:00
Konstantinos Sideris
df42fdc80f Remove unwanted whitespace from the user settings menu 2018-08-01 21:26:34 +03:00
Konstantinos Sideris
6b42e3b202 Simplify the message shown when another app instance is detected 2018-07-22 20:26:50 +03:00
Konstantinos Sideris
85e93a88a6 Add option to specify the scale factor
fixes #357
fixes #335
fixes #230
2018-07-22 19:48:58 +03:00
Konstantinos Sideris
3d2e29bfa0 Remove pixel values from modals, use pointSize instead 2018-07-22 18:03:12 +03:00
Konstantinos Sideris
0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Renamed from src/UserSettingsPage.cc (Browse further)