miruka
9e5e2c6718
Use a Deque for roomEvents's ListModel
...
- Take a custom container callable for ListModel __init__ (defaults to
list, must be a MutableSequence)
- Use a Deque for roomEvents, which is much faster for inserting
new items at the beginning.
2019-04-17 17:24:36 -04:00
miruka
f0dab1801a
Order the roomEvents models from newest to oldest
...
Qt somehow handles scrolling on new messages on its own when the
ListView direction is bottom to top.
In normal top to bottom, manual scrolling is completly buggy.
2019-04-17 16:43:18 -04:00
miruka
7e62da8733
Fix image position and filter() return
2019-04-17 14:27:22 -04:00
miruka
c4f46f42b6
Add image previews in HTML messages
2019-04-17 13:44:04 -04:00
miruka
aa105e0c2c
Make links in messages clickable
2019-04-17 10:54:55 -04:00
miruka
a7bf1fca44
Sanitize HTML displayed as message content
2019-04-17 10:49:54 -04:00
miruka
8a3189df15
Add users currently typing in room bar
2019-04-14 16:12:07 -04:00
miruka
5a180120b1
Fix date color for undecryptable events
2019-04-14 14:18:53 -04:00
miruka
c5d5add2f8
Fix EventContent not being word-wrapped
2019-04-14 14:16:38 -04:00
miruka
d36cbbc7df
Bring back room subtitles
...
Show last appropriate room message/event as subtitle
2019-04-14 14:09:54 -04:00
miruka
9c66166c4f
Display room messages and other events
2019-04-14 12:56:30 -04:00
miruka
30514fb7db
Show joined rooms, delete left rooms
...
To make the models update correctly in QML:
- ListModel and _QtModel merged
- Return a ListModelMap QObject from properties instead of
a DefaultDict → QVariantMap
2019-04-12 13:18:46 -04:00
miruka
5d4c7b8520
Reorganize backend files, show accounts in UI
2019-04-12 04:33:09 -04:00
miruka
3b47fee77d
Prevent sending empty message
2019-03-27 19:24:28 -04:00
miruka
e4a9fb40ac
Add avatar with status icon componant
...
Will be used later for 1-to-1 user room delegates and room members pane
2019-03-27 19:24:23 -04:00
miruka
c35f7f35af
Show last room message as roomDelegate subtitle
2019-03-27 18:43:08 -04:00
miruka
76b699ad64
Organize project files
...
Put QML components into folders, remove unused ones, split __init__.py
with engine.py.
2019-03-26 05:52:43 -04:00