Friedrich W. H. Kossebau
24644887e0
Modernize code to activate window on user activation
...
* use KWindowSystem::updateStartupId() for abstract update of X11
startup id or wayland activation token
* call QWindow::raise() also for wayland to prepare when it will
support it
* call KWindowSystem::activateWindow() for all platforms, like done
by other apps on user-triggered activation
2022-01-16 19:15:22 +00:00
Tobias Fella
ca8702fd5e
Don't set cmake policy when using libquotient 0.7
2022-01-02 22:47:42 +01:00
Tobias Fella
183c3227a9
Set bugs url
2022-01-02 22:34:06 +01:00
Carl Schwan
200281702a
Raise windows also on other platforms
...
And unify code related to unique application handling
2021-12-28 23:50:25 +01:00
Nicolas Fella
dce7fde7a6
Fix Windows/mac build
2021-12-23 23:24:29 +01:00
Aleix Pol
284a1734ae
Support raising when we receive a notification
2021-12-15 15:08:32 +00:00
Fushan Wen
59430cce89
Add support for minimizing to system tray on startup
...
If the user wants to automatically launch NeoChat when the system
starts up, the user may also want to minimize the window to system tray
on startup. So a new option named "Minimize to system tray on startup"
is added.
The option is only visible on desktop platforms, and is only enabled
when "Close to system tray" is checked.
In order to restore window geometry for the first time the user opens
the window if the option is checked,
1. a new function named `restoreWindowGeometry` is added, and
`restoreWindowGeometryConnections` will be enabled if the option is
checked, and will be disabled after the window debuts.
2. `saveWindowGeometryConnections` will be enabled if the option is not
checked, and will be disabled if checked and enabled after the window
debuts.
2021-12-13 22:05:20 +08:00
Tobias Fella
d494eb1c63
Use Quotient's accountregistry
2021-11-01 19:36:39 +00:00
Carl Schwan
890860df92
Improve room setting
...
* Port away from OverlaySheet
* Use Kirigami.CategorizedSettings
* Add join rules (read only for now)
2021-10-21 20:00:50 +00:00
Tobias Fella
d28279313d
Rename type because of conflict
2021-09-24 12:42:05 +02:00
Aleix Pol
265fcbfead
Fix wayland activation
...
Adds support for xdg_activation_v1 when calling the application from the
system tray by using KStatusNotifier which supports it.
Listens to XDG_ACTIVATION_TOKEN as it's passed when we are started from
dbus.
2021-09-07 11:27:13 +00:00
Tobias Fella
0c95556618
Android: don't set fallback icon theme
2021-09-05 17:13:05 +02:00
Tobias Fella
31d395009e
It's 2021
2021-09-05 16:55:50 +02:00
Tobias Fella
710f4d86d6
Android: Use breeze style
2021-09-05 16:51:45 +02:00
Nicolas Fella
589dfe0343
Re-run clang-format
2021-08-23 19:38:56 +02:00
Tobias Fella
046e823d1b
Show blurhashes for image events
2021-08-21 00:39:57 +02:00
Tobias Fella
1427c8bf3f
Check if arguments are empty
2021-08-03 19:24:45 +02:00
Tobias Fella
f8db9c4ecb
Add libQuotient as KAboutComponent
...
With frameworks 5.85, this will make it show up in the aboutpage
2021-07-24 15:29:22 +00:00
Tobias Fella
ae60834c36
Refactor qml type registration
2021-07-14 20:19:17 +02:00
Jan Blackquill
30965cb503
feat: ponies.im emoji support (custom emojum)
2021-06-16 15:34:55 -04:00
Carl Schwan
0ff9425fee
Add spellchecking suggestions
2021-06-10 11:29:59 +00:00
Carl Schwan
23bd73c499
Draft: Big overhaul of the settings
2021-06-07 11:34:12 +02:00
Carl Schwan
51ca4994ef
Add webshortcut search
2021-06-06 14:27:12 +00:00
Carl Schwan
d6394fcd47
Set fallback icon theme to breeze
2021-05-27 17:24:11 +02:00
Hannah von Reth
92fcff1dce
Fix Windows builds
2021-05-26 10:22:36 +02:00
Nicolas Fella
af75cebba1
Fix Android ifdef
2021-05-26 03:10:43 +02:00
Nicolas Fella
6e04d343b7
Use QGuiApplication instead of QApplication where appropriate
2021-05-26 03:05:00 +02:00
Carl Schwan
5f8795c41f
Automatically enter room when joining it
...
Related to #352 but needs an additional Quotient patch to works
2021-05-07 22:37:16 +02:00
Srevin Saju
6575d23072
feat: trigger completion of commands on the input of backlash / char
2021-05-01 13:30:24 +03:00
Carl Schwan
b7d98fc6d9
Port RoomManager to C++
...
This also makes it possible to handle the Matrix URI
2021-04-27 21:07:10 +00:00
Tobias Fella
a117eaa12b
Improve License header style
2021-04-18 17:47:22 +02:00
Tobias Fella
e4ab2e565f
Apply clang-format
2021-04-04 22:43:17 +02:00
Carl Schwan
603d4e1f0d
Improve performance of the emoji model
...
Only display up to 10 emojis when searching
Related to #310 but a better solution needs to be found because we get
the same problem on big room when autocompleting usernames.
2021-03-20 15:32:33 +01:00
Carl Schwan
743c9972b9
Use singleton to pass edit/reply content to chatbox
...
This significantly reduce the complexity of everything.
2021-03-20 14:00:29 +00:00
Nicolas Fella
361605df71
Consistently use NeoChat instead of Neochat
2021-03-19 08:05:09 +00:00
Tobias Fella
699a86ef2e
Windows: Attach to console
2021-03-01 20:50:27 +01:00
Tobias Fella
7f13bb81f8
Windows: Set font size to 10
2021-03-01 20:47:17 +01:00
Tobias Fella
464c48540e
Improve first-run UX
...
- Replace LoginPage with step-by-step approach to support different login flows
- Implement login using SSO
2021-02-07 21:23:31 +00:00
Nicolas Fella
7aedfd0e17
Move message filtering to C++
...
The filter callback is called very often (O(messages)). The current
filter model shows some significant overhead in QML internals. Moving
that to C++ makes it quite a bit faster.
2021-02-02 21:51:27 +00:00
Nicolas Fella
c1d5883af9
Add missing semicolon
2021-01-27 20:09:45 +01:00
Nicolas Fella
e6f2b5ea7f
Don't use KDBusAddons on Windows
...
It's only used for KDBusService, which likely doesn't work properly on Windows
2021-01-27 15:36:55 +01:00
Nicolas Fella
8e6d1a8ea2
Fix warning
2021-01-26 17:35:02 +01:00
Nicolas Fella
c2b388d553
Use breeze QStyle on Windows
...
On Windows we want to use qqc2-desktop-style together with the Breeze QStyle instead of the default QStyle
2021-01-26 16:08:47 +01:00
Carl Schwan
cd1bec9977
Introduce the ActionsHandler
2021-01-08 23:12:09 +00:00
Noah Davis
50d8bd5b7e
Add FileType singleton
...
This singleton is used to get the mimetype info for files as well as supported formats for Images and AnimatedImages
2021-01-04 13:58:34 -05:00
Carl Schwan
8224d3ae9f
Save and restore window size
2020-12-30 13:19:16 +00:00
Tobias Fella
c449a8fafe
Apply clang-format
2020-12-25 22:23:35 +01:00
Nicolas Fella
57e05e2114
Default to org.kde.desktop QQC2 style
...
plasma-integration does that for us, but that obviously doesn't work for non-Plasma desktops.
2020-12-24 00:15:37 +01:00
Carl Schwan
6e659c853b
Add special font configuration for flatpak
2020-12-17 13:35:40 +01:00
Carl Schwan
8312fdd08d
Rename icon and set icon name explicitely
...
Fix #140
2020-12-17 10:03:21 +01:00