Commit graph

108 commits

Author SHA1 Message Date
DeepBlueV7.X
7d8ccd4ce8
Merge pull request #1388 from Nheko-Reborn/command
Warn if an invalid command is entered
2023-03-10 00:17:06 +00:00
Loren Burkholder
a731402816 Use the nheko spinner everywhere 2023-02-28 20:40:22 -05:00
Loren Burkholder
b6ef00b5ee Show warning when invalid command is entered
Fixes #1363

Please note that this doesn't prompt when you try to send a message with a bad command.
2023-02-28 20:10:25 -05:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Joseph Donofry
69c11d4533 Fix send message logic bug introduced with shift+enter setting 2022-12-28 18:51:30 -05:00
Nicolas Werner
485babba14
Implement a completer for commands
fixes #429
2022-11-09 04:59:06 +01:00
LordMZTE
80270e1f01
Add invert enter key setting 2022-11-04 23:42:35 +01:00
Rohit Sutradhar
ac48c33286
VoIP v1 implementation (#1161)
* Initial commit for VoIP v1 implementation

* Added draft of event handlers for voip methods

* Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility

* Added call events to the general message pipeline. Modified Call Reject mechanism

* Added message delegates for new events. Modified hidden events. Updated handle events.

* Updated implementation to keep track of calls on other devices

* Fixed linting

* Fixed code warnings

* Fixed minor bugs

* fixed ci

* Added acceptNegotiation method definition when missing gstreamer

* Fixed warnings

* Fixed linting
2022-10-14 13:49:05 +00:00
Nicolas Werner
88cbac1695
Basic threading support 2022-09-30 03:27:05 +02:00
q234rty
15b9dbe98d
Fix "Send by enter" on Windows
Apparently on windows `Qt.inputMethod.visible` is always true when an input method is installed. Also on windows even after removing the check enter is still consumed by the input method, not nheko.
2022-09-16 22:41:11 +08:00
SyldraTheCat
8a6acd1d86
Subtle corrections to paste behaviors 2022-06-14 12:04:34 +00:00
SyldraTheCat
ffa4dca8b3
Make cursoring up/down more consistent on some setups 2022-06-13 07:22:09 +00:00
Malte E
f563098e9a Don't send on Enter when inputMethod.visible ( == OSK active assumed) 2022-03-20 22:17:25 +01:00
Malte E
d58a483642 add preedit text to search 2022-03-20 21:57:16 +01:00
Malte E
0cb729cfc2 remove completer trigger characters 2022-03-20 21:34:41 +01:00
Malte E
548063d303 attempt to include preeditText in search string 2022-03-20 17:21:59 +01:00
Malte E
86a81307fb make completer work with input method 2022-03-20 17:12:13 +01:00
Malte E
d765305595 properly commit preedit text 2022-03-19 22:30:35 +01:00
Malte E
a76b50b48e small rework of the reply popup 2022-03-11 21:32:32 +01:00
Nicolas Werner
bf7b58c959
Don't destroy components in use
Add a delay to all destructions and move the call dialog stuff up a
level, so that we don't destroy the component when destroying the parent
dialog.

fixes #984
2022-03-10 20:43:42 +01:00
Malte E
ab05e2d8dc
Mobile message input (#962)
* swap send and sticker icons based on text input

* collapse MessageInput options when window is narrow

* buttons disappear once you type/send partial text from input method
2022-03-05 22:10:08 +00:00
Nicolas Werner
23efa8f815
Fix a few small completer glitches 2022-03-01 02:33:22 +01:00
Nicolas Werner
ff4334d59e
Don't leak dialogs
It seems that you need to manually destroy created objects... Great...

fixes #898
2022-02-21 05:01:01 +01:00
Nicolas Werner
609cd82dc0
Fix forward completer 2022-02-21 04:07:13 +01:00
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400 2022-02-14 22:56:35 +01:00
Nicolas Werner
f1a23355bd
Port usersettings to qml 2022-01-09 01:02:25 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
ea6b19b307
Add an ugly custom emote completer using ~ 2021-12-27 06:23:36 +01:00
Nicolas Werner
ad91784d86
Vertically align message input
fixes #351
2021-12-12 00:03:00 +01:00
Loren Burkholder
f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Nicolas Werner
3528fe4e5d
Warn the user before they ping the whole room 2021-09-02 03:15:39 +02:00
Nicolas Werner
09c041c8ac
Use in memory media player instead of storing unencrypted files on disk 2021-08-29 16:32:22 +02:00
resolritter
b5af1d81df accept Backtab and Shift-Tab for hovering selection backwards 2021-08-22 13:02:26 -03:00
Thomas Karpiniec
92e8cd0681 Avoid completer jitter before closing 2021-08-21 14:24:55 +10:00
Thomas Karpiniec
a24348b574 Allow opening a completer starting with selected text 2021-08-21 13:31:27 +10:00
Thomas Karpiniec
47ad58ef49 Close popup on SelectAll 2021-08-21 13:29:27 +10:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Nicolas Werner
d955444dc1
Port to explicit connect syntax
Also fix a lot of warnings.
2021-07-27 22:35:38 +02:00
Nicolas Werner
50cc0fca3b
Fix emoji picker not connected to input 2021-07-22 15:31:07 +02:00
Loren Burkholder
6c9ac76260 Fix roomId property 2021-07-20 21:48:03 -04:00
Nicolas Werner
11c9666408
Cache sticker picker 2021-07-19 17:45:55 +02:00
Nicolas Werner
8a1666bc88
Basic sticker support 2021-07-19 01:28:07 +02:00
Nicolas Werner
298822baea
Move currentRoom/timeline handling to roomlist 2021-05-28 22:14:59 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml 2021-05-13 08:23:56 +02:00
Nicolas Werner
ab0baf5d9e
Only show actions, when you have permissions to do them 2021-05-02 18:06:56 +02:00
Nicolas Werner
eaa91b4e56
Fix cursor positioning on edits
fixes #502
2021-04-15 23:21:50 +02:00
Nicolas Werner
3022178334
Fix paste not overwriting selections 2021-04-15 21:13:53 +02:00
Nicolas Werner
05c636a8d4
Fix qml license headers again 2021-03-14 02:45:20 +01:00
Nicolas Werner
1961312b15
Improve sorting and sizing of completions a bit 2021-03-14 01:24:26 +01:00