Joshua Goins
bf1c76d0a6
Force the choose room dialog's search dialog to be focused
...
This makes it possible to open the share dialog and start typing to find
the room immediately.
2024-04-06 15:40:03 -04:00
Joshua Goins
879da627b1
Fix the share dialog not showing up
...
Seems to be a leftover from the refactor to use modules.
2024-04-06 15:39:36 -04:00
Tobias Fella
bb776d5c2b
Only ask for URL opening confirmation for QR codes
...
BUG: 484870
2024-04-02 19:47:07 +02:00
Nate Graham
e342de3bc1
Make ConfirmUrlDialog HIG-compliant
...
* "URL" is an acronym; make it all caps
* Use descriptive context-appropriate buttons instead of "Yes" and "No"
* Use KUIT markup for styling the link
2024-04-01 11:32:27 -06:00
Tobias Fella
4cd7b69ea5
Fix QML warning
2024-04-01 15:48:42 +02:00
Tobias Fella
988e8529da
Remove leftover signal handler
2024-04-01 15:43:31 +02:00
James Graham
6a32d1e961
Create component for showing a maximize version of a code snippet
2024-04-01 11:20:10 +00:00
James Graham
0552c798fb
Create qml module for devtools
2024-04-01 10:58:29 +00:00
Tobias Fella
92351edcd0
Fix location delegates
...
- Mark OSMLocationPlugina as singleton in cmake
- Use this plugin for the LocationChooser
2024-03-31 20:57:58 +02:00
James Graham
053ca6bed8
Move the various room models into RoomManager
...
Move the various room models into RoomManager. This means the same room models are always used and is a base from which further logic can be moved from QML to cpp.
2024-03-31 12:56:27 +00:00
Tobias Fella
b75dbe8d5c
Rework roommanager for improved stability
...
Fixes #645
- Active space handling is moved from QML to RoomManager
- Active tab in SpaceDrawer (space / no space / DM) is unified in a single variable
- RoomList & RoomPage loading is simplified: We're always pushing a RoomPage now; if there is no room, a placeholder is shown
- SpaceHomePage is moved into RoomPage; This replaces the entire push/replace room/spacehome logic
- If the current room is a space, the space home is shown, otherwise the timeline
- The concept of "previous room" is removed entirely. If we're leaving the active room, the placeholder room page is shown
- When clicking on a space in the list, the space room list is switched and the space home page is shown
In short, these changes should (after some initial regressions) lead to a less crashy NeoChat :)
2024-03-31 00:22:23 +01:00
James Graham
eaf4663c84
RoomManger connection
...
RoomManger should just get it's connection from Controller, no need to involve QML
2024-03-30 19:48:34 +00:00
James Graham
64b8cd5bcc
Space Search
...
Allow to refine searches to spaces only in the main exlore function.
Show which rooms are spaces in the search page.
Closes #577
2024-03-30 19:37:46 +00:00
James Graham
482d61ee47
Fix marking messages as read when the window is thin
...
Make sure that messages are not marked as read when going back to the roomlist after entering a room when neochat is thin and only showing a single page
Fixes #642
2024-03-30 19:32:19 +00:00
Tobias Fella
f40a0a6f5f
Remove unused property
2024-03-29 16:43:06 +01:00
Tobias Fella
2608d879fa
Add "Leave room" button to sidebar
...
BUG: 484425
2024-03-29 13:53:59 +01:00
Tobias Fella
6ab61fd41f
Fix opening the last room active room if it's not in a space
...
At the moment, the saved room was effectively always overridden by the first room in the list
2024-03-29 13:29:41 +01:00
Tobias Fella
ce02183f82
Fix plural handling in space member strings
2024-03-29 11:56:29 +01:00
Tobias Fella
7c74a6cbe1
Improve space management strings
2024-03-29 11:56:06 +01:00
James Graham
158942d1b5
UserInfo compact
...
Make UserInfo work in compact mode. This includes showing the account switch popup in a dialog
BUG: 482261
2024-03-29 09:09:13 +00:00
Tobias Fella
882ead5715
Remove external room window feature
...
At its best, this worked ok-ish, though it was always missing basic features.
It's also a massive memory leak and significantly complicates the codebase.
(Which is not yet cleaned up by this commit)
Currently, it is entirely broken and noone noticed or cared enough to report or fix that.
BUG: 455984
2024-03-28 22:05:50 +01:00
Tobias Fella
c3fd2428a2
Add QR code scanner
2024-03-28 22:02:55 +01:00
Tobias Fella
9bf65de649
Use custom room drawer icons
2024-03-28 21:34:47 +01:00
Tobias Fella
bae14ecd35
Simplify spacedrawer width code
2024-03-27 21:09:27 +01:00
Gary Wang
b48c1c3b80
Allow show sender detail from message context menu
...
When curtain user is spamming a lot of messages in a short amount
of time, mod need to scroll all the way up to the first spam message to
know who send those spam message, thus start banning them.
This patch add a context menu to open the sender detail dialog, it could
make banning the spam user and batch-deleting spam messages easier.
2024-03-27 19:39:29 +00:00
James Graham
ff5853a850
Create a QML module for settings
2024-03-26 13:23:43 +00:00
Tobias Fella
8398b7d24d
Fix manual user search dialog
2024-03-23 20:45:15 +01:00
Tobias Fella
e07b876677
Add UI for entering key backup passphrase
2024-03-22 22:04:07 +01:00
Tobias Fella
1f85f848e2
Clean up button
2024-03-19 21:31:11 +01:00
Tobias Fella
d7e0954e86
Fix opening manual room dialog
2024-03-19 21:27:18 +01:00
Joshua Goins
5109b4fcd1
Fix the quick format bar not actually doing anything
2024-03-18 20:17:06 +00:00
James Graham
6f9a273d39
Timeline Module
...
Move all the timeline QML files into their own QML module. Having them all in the same location is annoying and hard to work with.
2024-03-18 18:39:59 +00:00
James Graham
17688a49d5
Remove stray log
2024-03-16 13:33:37 +00:00
James Graham
5ff199cc3e
Itinerary Component
...
Move the itinerary model representation to it's own component and instantiate from MessageComponentModel. This starts to lay some groundwork for previewing other files.
2024-03-16 09:28:30 +00:00
Joshua Goins
2846def00f
Fix typo in MessageEditComponent
2024-03-15 15:12:46 -04:00
Joshua Goins
e2eb6ab33c
Don't destroy formatting when editing previous messages
...
Adds a few new methods to grab the markdown/slightly rich text from the
message, and will intelligently re-insert user mentions as needed.
2024-03-15 14:54:06 -04:00
Joshua Goins
064b0581a7
Make the tabs in developer tools full-width
...
It looks slightly better, and since there's only four tabs it increases
the tappable area for them.
2024-03-15 18:39:21 +00:00
Tobias Fella
48937c8d9a
Make sure that timeline is scrolled to end when switching room
2024-03-12 22:45:29 +01:00
Tobias Fella
6947fbc12a
Add purpose plugin
...
Implements #182
2024-03-11 20:07:00 +01:00
James Graham
cc058a7cd3
Re-order spaces by dragging and dropping
...
Title
2024-03-10 11:18:28 +00:00
James Graham
7654b83339
Move the devtools button to UserInfo
...
Makes more sense now that room is selectable anyway and allows access from space home pages
2024-03-10 10:55:05 +00:00
James Graham
93426546ad
Make sure that the MessageSourceSheet component is created properly in devtools
2024-03-10 10:25:53 +00:00
Tobias Fella
5ccce364d3
Allow opening the settings from the welcome page
...
This is required to configure a proxy before logging in
2024-03-09 11:49:18 +01:00
Tobias Fella
93ceb4d49c
Improve hover link indicator accessibility
...
It's a bit pointless, since hovering it requires a mouse... but it's better than the previous behavior
2024-03-05 19:14:31 +01:00
James Graham
78271a3738
Add highlight and copy button to code component
2024-03-04 20:09:22 +00:00
Tobias Fella
269a832ac9
Fix binding loop in NotificationsView
2024-03-03 16:56:18 +01:00
Tobias Fella
3b5b7af531
Fix QML warning
2024-03-03 16:43:52 +01:00
Joshua Goins
cb9fd02dc7
Show link preview for links in room topics
...
This has an important security benefit, to prevent hiding fake links
behind real-looking ones.
2024-03-02 23:15:28 +00:00
Joshua Goins
1f4a271dd6
Remove unnecessary regex in room topic component
...
This makes Markdown links work again
2024-03-02 23:15:28 +00:00
Tobias Fella
bdf192df58
Use plaintext in devtools room selection combo
2024-03-02 19:36:46 +01:00