Commit Graph

210 Commits

Author SHA1 Message Date
Tobias Fella
1e78c6caa4 Fix opening rooms 2021-10-10 12:40:39 +02:00
Tobias Fella
5bf0aa7a68 Make QML more declarative 2021-10-02 16:34:31 +00:00
Carl Schwan
c105642e4c Don't load twice the room list when adding another account
Just check if the room list is not yet loaded before loading it

Fix #444
2021-10-02 14:34:39 +00:00
Carl Schwan
00ecb4703e Make sure the right sidebar width is not considered when no room is open
Fix #460
2021-10-02 14:33:52 +00:00
Tobias Fella
3977aee4ba Remove usage of Kirigami.Units.devicePixelRatio
It's deprecated and as far as i can tell it doesn't really do anything
since it is always set to 1
2021-10-02 14:33:27 +00:00
Tobias Fella
886ee1f5b6 Refactor startup 2021-09-29 22:38:45 +02:00
Devin Lin
8118068fb5 Move mobile sidebar handles to top 2021-09-17 15:52:40 +00: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
Tom Z
2ccde21896 On showWindow, also raise 2021-08-23 21:42:42 +00:00
Devin Lin
592d3160df Add translucency slider and set default to 30%
Apply 1 suggestion(s) to 1 file(s)
Fix
2021-07-27 13:34:15 -04:00
Tobias Fella
35aac4e362 Port away from implicitely defined onFoo properties 2021-07-07 22:09:36 +02:00
Jan Blackquill
537416354a feat: global menu
This adds a global menu to NeoChat, providing
a standard and consistent set of File/Edit/View/so on
menus.
2021-07-02 09:16:31 +00:00
Carl Schwan
d7345ee4e6 Unify look of scrolling setting page
* Add frame on desktop
* Remove frame on mobile
* Use actions.main when needed on mobile
* Don't push a new setting page on mobile
2021-06-17 13:05:16 +02:00
Carl Schwan
a086964769 Make sidebar collapsible 2021-06-14 12:50:09 +00:00
Carl Schwan
efb70287b9 Add setting page 2021-06-07 11:49:35 +02:00
Jan Blackquill
ce15a8d697 Add quick switcher 2021-06-04 00:02:00 +00:00
Carl Schwan
7cd9f788dd pushReplace more 2021-05-28 13:14:53 +02:00
Carl Schwan
873ab328dc Move room management from Controller to RoomManager 2021-05-08 01:17:19 +02:00
Carl Schwan
afa7b822f9 Fix opening room not working after the first time you log in 2021-05-08 01:03:51 +02:00
Carl Schwan
173d8075ad Show link on hover
Fix #279
2021-05-07 04:18:50 +02:00
Carl Schwan
8314e19cb1 Fix bugs in multi account setups 2021-05-07 03:03:09 +02:00
Carl Schwan
1e7d3046aa Remove link confirmation dialog
Fix #347
Fix #348
2021-05-07 01:55:08 +02:00
Carl Schwan
a329790129 Fix inverted condition 2021-05-05 23:24:25 +02:00
Carl Schwan
f30b17bf73 Fix opening room in seperate window and unify leaving room code 2021-04-28 15:06:57 +02: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
89056ed6c1 Move the ActionsHandler instance to the RoomPage
This is required since when using a RoomWindow, the ActionsHandler from the RoomManager is used, which means that the wrong room is used.
2021-04-17 20:47:01 +00:00
Tobias Fella
00681a8abe Refactor error handling and move unrelated functions out of ActionsHandler 2021-04-16 10:07:10 +00:00
Tobias Fella
becb3a1870 Remove dead connection 2021-04-08 12:47:51 +02:00
Tobias Fella
d170cc5161 Cleanup QML imports and license headers
- Group the imports into Qt, KDE, NeoChat
- Import the latest versions
- Remove unused imports
- Remove unused components
- Unify license header styling
2021-04-07 19:38:40 +00:00
Nicolas Fella
361605df71 Consistently use NeoChat instead of Neochat 2021-03-19 08:05:09 +00:00
Carl Schwan
612fb4924e Start implementing bubbles 2021-03-06 20:19:41 +00:00
Tobias Fella
91ef8806f2 Show contextdrawer only in RoomPage 2021-02-17 20:16:38 +00:00
Tobias Fella
b689e55068 Refactor and cleanup dead qml 2021-02-07 22:34:07 +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
Carl Schwan
6dcfad1f8d Don't show login page when starting NeoChat
This was caused by us calling initiated to early. Only do it when no
accounts exists or that at least one account fails to login.

Fix #248
2021-02-06 00:16:30 +00:00
Carl Schwan
10054bf879 Fix RoomDrawer is visible when no room is open
Fix #246
2021-02-06 00:03:10 +01:00
Tobias Fella
546d17b1a2 Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu 2021-02-04 20:23:16 +00:00
Tobias Fella
72907a1f18 Refactor and fix invitations
-Move invitation handling into RoomPage and delete InvitationPage
-Open the new room after accepting the invitation
2021-02-04 20:22:53 +00:00
Carl Schwan
f4784bb0a1 Allow opening window in a secondary window 2021-01-09 13:32:16 +00:00
Carl Schwan
cd1bec9977 Introduce the ActionsHandler 2021-01-08 23:12:09 +00:00
Carl Schwan
8224d3ae9f Save and restore window size 2020-12-30 13:19:16 +00:00
Tobias Fella
bd00a73aa9 Ask for consent to terms and conditions if required 2020-12-30 13:17:14 +00:00
Carl Schwan
9ba0a755e4 Disable menu item when login in
Fix #204
2020-12-29 14:27:28 +00:00
Carl Schwan
feb123c1e6 Add new shortcut 2020-12-28 12:47:59 +01:00
Carl Schwan
1f065e46cf Simplify shortcuts code in hamburger menu 2020-12-28 12:35:50 +01:00
Carl Schwan
a4cebe9b36 Add Minimum Size to Screen Geometry
Fix #184
2020-12-28 10:55:04 +01:00
Carl Schwan
f00cd82676 Add a logout action from the menubar
Fix #188
2020-12-28 10:51:20 +01:00
Tobias Fella
b1080df9dd Show Loading page during initial sync 2020-12-28 00:00:56 +00:00
Tobias Fella
b3899f1e69 Port away from implicitly defined onFoo properties in Connections 2020-12-21 16:37:22 +01:00
Carl Schwan
9c75deee8c Fix current page not getting updated after switching a page
This was caused by myself not updating the index after updating the
content.
2020-12-19 23:00:25 +01:00