Volker Krause
53719b971d
Show a placeholder message if there are no shared locations
2023-06-22 15:17:40 +00:00
Volker Krause
64a1316f9b
Zoom/center the page map so that all locations are in view
2023-06-22 15:17:40 +00:00
Volker Krause
a3b8168744
Add bounding box property for LocationsModel as well
...
Needed to property position the room map.
2023-06-22 15:17:40 +00:00
Volker Krause
c06e69931a
Add fullscreen map to live location delegates as well
2023-06-22 15:17:40 +00:00
Volker Krause
30f8573dfc
Show live location shares on the room map as well
2023-06-22 15:17:40 +00:00
Volker Krause
7f067b698e
Unify map markers on the full screen and room maps as well
2023-06-22 15:17:40 +00:00
Volker Krause
b56ebdf149
Don't assert on invalid/empty geo: URIs
2023-06-22 15:17:40 +00:00
Volker Krause
a02dd4ab87
Extend LocationsModel to include asset and auther roles
...
Needed for compatibility with the standard map marker.
2023-06-22 15:17:40 +00:00
Volker Krause
898f0c962a
Factor out map marker into its own QML element for reuse
2023-06-22 15:17:40 +00:00
Tobias Fella
5b4ae764cf
Show a map for location events
2023-06-22 15:17:40 +00:00
Carl Schwan
bd5ed0f46c
Fix toolbar of RoomList when using font size 11px
...
We don't need to use a ToolBar for the titleDelegate since the
titleDelegate is already included inside a toolbar. This work magically
when using the default font size of 10px Noto Sans but breaks with 11px
BUG: 467242
2023-06-18 07:00:47 +00:00
Carl Schwan
5552cd60f6
Group pageStack properties of the ApplicationWindow together
2023-06-17 21:29:15 +02:00
Tobias Fella
c51a1f4851
Fix another missing import
2023-06-17 14:32:03 +02:00
James Graham
a27f4765e4
Fix permission model
...
Make sure `Permissions.qml` uses the right role.
2023-06-17 09:34:42 +00:00
James Graham
402f99923c
Fix NeoChatRoom type QML
...
Make sure import `org.kde.neochat 1.0` is included where `NeoChatRoom` is used as a type
2023-06-17 09:26:22 +00:00
Volker Krause
25f9c7e125
Compute live location bounding box and center the map accordingly
2023-06-16 14:12:15 +00:00
Volker Krause
05082cb2bb
Consider live location beacon timeouts for their
2023-06-16 14:12:15 +00:00
Volker Krause
59495a1452
Show starting live location beacons as location delegates in the timeline
...
Also, hide ending live location beacon state changes.
2023-06-16 14:12:15 +00:00
Volker Krause
d10460c45b
Add live location tracking model
...
This can either watch a single live location beacon or all of those in
a given room.
2023-06-16 14:12:15 +00:00
Tobias Fella
ea99c26556
Fix logging
2023-06-12 13:33:38 +02:00
Tobias Fella
7527fd47cd
Fix compiler warning
2023-06-12 13:29:23 +02:00
Volker Krause
09ded20409
Fix location map asset check
2023-06-11 10:26:41 +02:00
Tobias Fella
1de160cb19
Fix the search page
...
The search model needed to adapted to the changes in messageeventmodel
2023-06-10 13:57:03 +00:00
Volker Krause
7c75a2fd06
Create the OSM QtLocation plugin only once
...
Just loading that plugin already triggers an HTTP request, so lets only
do that when really needed and even more importantly, not for every single
location delegate again.
2023-06-09 18:39:38 +02:00
James Graham
105be518c7
Further improvements to the ChatBox API
...
Further improvements to the ChatBox API so that outside components no longer access the ChatBar item directly.
2023-06-09 15:02:42 +00:00
Tobias Fella
47c28ce9a2
Improve QML types
2023-06-08 20:26:34 +00:00
Tobias Fella
72c85af407
Implement creating spaces
2023-06-08 20:05:53 +00:00
Volker Krause
22694fe5e4
Handle invalid model indices gracefully
...
data() being called with an invalid model index seems to happen during
normal operations here, with something in the proxy model chain not
catching that case (due to a row being filtered out presumably?).
2023-06-08 19:54:08 +00:00
Tobias Fella
a02232dc19
Fix custom emojis being visible in the sticker selector
2023-06-08 19:43:52 +00:00
Tobias Fella
252e099e75
Fix renaming log files > 10
2023-06-08 21:32:39 +02:00
Tobias Fella
76a697c3f6
Fix another invalid index
2023-06-08 21:23:38 +02:00
Joshua Goins
5b23593fd2
Let accounts without the emoticon account data to create emojis/stickers
...
This check worked for accounts that already had custom emojis, but if it
never had any added, m_images was never filled and the model would crash
when adding more.
2023-06-08 19:18:04 +00:00
Joshua Goins
c2580c1d2d
Use correct placeholder message when there's no stickers
...
Instead of saying "No emojis" which doesn't make sense on the sticker
page.
2023-06-08 14:43:11 -04:00
Tobias Fella
3303d2c7db
Keep last 50 log files
...
Keeping just the last two probably leads to important info being lost.
2023-06-08 17:55:45 +00:00
Tobias Fella
22107fc598
Don't try getting data for invalid indices
...
BUG: 470639
2023-06-08 17:55:13 +00:00
Tobias Fella
bc4c4f8519
Refactor login
...
BUG: 469486
2023-06-08 17:29:09 +00:00
Volker Krause
9e78ab3328
Fix location markers not being shown on the map
2023-06-07 17:30:06 +02:00
Tobias Fella
09025fa16d
Remove some useless checks
2023-06-06 20:47:39 +02:00
Tobias Fella
8b71e56a5f
Remove unneeded fallback
2023-06-05 21:41:13 +02:00
Tobias Fella
f5aa5ac7f4
Remove unneeded fallback for user's display name
...
The display name falls back to the user id internally.
2023-06-05 21:38:48 +02:00
James Graham
075d2fda4d
Small chatbox api improvement
...
Small improvement to the chatbox api by making currentRoom explicit and removing redundant properties.
2023-06-05 18:20:12 +00:00
James Graham
b5c781212c
Improve the handling of notifications
...
The aim is to put some additional filtering in place to better stop floods of old notifications. This is achieved with a couple of new filters and better tracking of old notifications.
- Make sure to paginate through all notification on initialization to ensure they are all added to old notifications. While we were not previously putting a limit on the number of returned notifications the server can and will do this when there are a very large amount.
- Find the newest timestamp for each connection on initialization and don't post any notifications with an earlier timestamp.
- Track old notifications on a per-connection basis.
Closes network/neochat#358 and network/neochat#423
2023-06-05 16:42:01 +00:00
Tobias Fella
b2a29c8d45
Mark parameter as unused
2023-06-04 22:31:18 +02:00
Tobias Fella
5d16d78914
Minor cleanup in Controller::createRoom
2023-06-04 08:51:29 +00:00
Tobias Fella
1f4b984664
Unify emoji and sticker settings pages
2023-06-04 08:11:36 +00:00
l10n daemon script
7cff2aaa97
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"
2023-06-01 01:40:43 +00:00
James Graham
d5a6c7683e
Fix missing end of comment block.
2023-05-31 17:13:18 +01:00
James Graham
fa37f28c94
Improve Delegate Width Sizing
...
Create a cpp helper class to calculate the correct delegate width given it's parent width.
This is designed to be more robust and hopefully easier to understand than the current mass of javascript calcs.
BUG: 470167
2023-05-30 18:14:25 +00:00
Tobias Fella
f1be509d13
Fix loading
2023-05-30 17:14:33 +02:00
James Graham
d09cd5d71b
Cleanup the list of required properties for MessageDelegateContextMenu
2023-05-29 15:03:34 +00:00