Commit Graph
2089 Commits
Author SHA1 Message Date
Carl Schwan bfc756fb35 rejrejore 2024-04-20 17:21:21 +00:00
Carl Schwan 2a735ff1cc jreojreojr 2024-04-20 17:21:21 +00:00
James Graham 551092a1b4 Make sure the drawer get active focus on open 2024-04-20 17:21:21 +00:00
Carl Schwan ddd12688aa RoomInformation: allow tabbing on actions 2024-04-20 17:21:21 +00:00
James Graham c87c6fbabb Add kitemmodels back to Permissions.qml 2024-04-18 20:48:24 +01:00
Tobias Fella c3db90d2e3 Make DrKonqi work with NeoChat 2024-04-18 18:49:12 +02:00
Tobias Fella cb94261727 Fix compatibility with libQuotient dev branch 2024-04-17 13:01:32 +02:00
Tobias Fella 0f6fd3adee Remove outdated event registrations 2024-04-16 22:39:16 +02:00
James Graham e5e0405401 Fix typo 2024-04-16 21:16:21 +01:00
Tobias Fella bb35e9ce15 Add option to show all rooms in "uncategorized" tab 2024-04-16 20:49:17 +02:00
Tobias Fella 5881db4e55 Add missing import to global menu 2024-04-16 20:25:04 +02:00
Tobias Fella 89f7167b08 Remember previous downloads after restarts
Fixes #636
2024-04-16 17:55:26 +02:00
Tobias Fella 0daf45a465 Fix opening account editor 2024-04-15 17:48:26 +02:00
Tobias Fella c0d7b96e79 Mark ThreePIdModel as uncreatable 2024-04-15 17:15:01 +02:00
Laurent Montel a247e40865 Add missing includes moc 2024-04-15 08:10:50 +02:00
Laurent Montel c3e7a99bca Add missing #pragma once 2024-04-15 08:10:22 +02:00
James Graham b7ee83f6b6 Add visualisation of the account's third party IDs in the account editor.
A category won't be shown if there are no relevant IDs (will add the ability to add new ones later).

Part of network/neochat#565

![image](/uploads/7da00b0b4acf90d145c09969ac2a91e1/image.png)
2024-04-14 16:37:34 +00:00
James Graham 1e24bde9a9 Add hover button for maximising a code block
Forgot to add it with the maximize mr
2024-04-14 16:32:12 +00:00
James Graham ef34ed7c20 Fix Verification Window Sizing
Update the layouts in the device verifcation process to make sure that all possible window sizes can be handled

BUG: 485309
2024-04-13 18:51:06 +00:00
James Graham 17d60b79ca Fix showing the unread count for DM section when not selected 2024-04-13 15:15:27 +00:00
James Graham ab0a32c339 Add a debug options page to devtools with the option to always allow verification for now
Closes network/neochat#646
2024-04-13 15:11:25 +00:00
James Graham 697778df8d Fix feature flag devtools page by adding necohat import as this is where config comes from now 2024-04-13 15:28:26 +01:00
Yuri Chornoivan 55caf84b94 Fix minor typos 2024-04-13 08:47:48 +03:00
Tobias Fella 3c4c538de8 Use declarative type registration for remaining types 2024-04-12 22:17:39 +02:00
Tobias Fella c344a3ee55 Devtools: Implement changing room state 2024-04-12 22:08:33 +02:00
Tobias Fella 21beeef920 Load Main qml component from module 2024-04-11 21:01:55 +02:00
James Graham a4630a53fa Create QML module for login 2024-04-11 18:56:08 +00:00
Tobias Fella f5aef8d0c3 Use Qt.createComponent in non-weird way
Fixed #647
2024-04-11 18:16:19 +02:00
James Graham 88bfacd386 Show QR code for room in drawer 2024-04-10 18:19:05 +00:00
James Graham c61c73088f Add button to get a QR code for the local user to the account editor page 2024-04-10 17:19:11 +00:00
James Graham 72b90bdf5c Fix gaps at the top and bottom of SpaceHomePage witht he wrong background colour.
Note: the bottom gap only happened after a room was loaded for the first time
2024-04-09 19:03:24 +00:00
James Graham 163b02f023 Add image info for stickers
Closes network/neochat#584
2024-04-09 18:54:59 +00:00
James Graham 1a96899336 Linkpreviewer Improvements
- Have LinkPreviewers stored in NeoChatConnection so that they don't have to be reloaded everytime the MessageContentModel is refreshed
- This means the link is never changed (it will be swiched for a new previewer with the new link)
- LinkPreviewers are stored by URL so they can be re-used by any event with the same URL

BUG: 484927  (because the offending code is ripped out)
2024-04-09 18:35:16 +00:00
snow flurry 70bff21632 Render custom emoji icons in the completion pane 2024-04-07 19:40:02 +00:00
James Graham f58c390a47 Re-add requirement for having devtools active for the show message source action
Re-add requirement for having devtools active for the show message source action

BUG: 485140
2024-04-07 08:40:14 +00:00
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
James Graham 9b93eb44d5 Show a verified icon for verified devices rather than a verify option 2024-04-06 14:19:38 +00:00
l10n daemon script f29781349c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-04-03 01:14:45 +00:00
Tobias Fella bb776d5c2b Only ask for URL opening confirmation for QR codes
BUG: 484870
2024-04-02 19:47:07 +02:00
James Graham 6cfab9e3ea Tree Model 2 Electric Boogaloo
This draws heavily on what @carlschwan did in network/neochat!1579 but I found it easier to start again and grab the bits as I needed them plus some other copying from what I did in the Space tree model.

From my current limited testing this seems to work nicely try and break it.
2024-04-02 14:44:20 +00: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 878eb48cb0 Shut qt up about models passed to QML
Shutup qt about below

```
SortFilterRoomListModel is neither a QObject, nor default- and copy-constructible, nor uncreatable. You should not use it as a QML type.
SortFilterRoomTreeModel is neither a QObject, nor default- and copy-constructible, nor uncreatable. You should not use it as a QML type.
SortFilterSpaceListModel is neither a QObject, nor default- and copy-constructible, nor uncreatable. You should not use it as a QML type.
```
2024-03-31 17:49:35 +00: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 78ae14ab2f Stay in DM tab when selecting a DM 2024-03-31 14:31:22 +02:00