Konstantinos Sideris
f525b7e6a9
Replace login request with the one from matrix-structs
7 years ago
Konstantinos Sideris
020f153f1f
Fix crash when trying to use automatically deleted ImageOverlay dialog
7 years ago
Konstantinos Sideris
f95998a64b
Be explicit about the captured parameters in lambdas
7 years ago
Konstantinos Sideris
127c52e39a
Scale down the preview image to fit in the application window
...
On macOS the modal has some extra space around the main content
that might make it unusable with a big enough image.
7 years ago
Konstantinos Sideris
1764bacd4b
Move scaleImage() in Utils
7 years ago
Konstantinos Sideris
8b139c32a3
Minor adjustments
7 years ago
Konstantinos Sideris
a8e17b9c91
Notify the user on upload failures
7 years ago
christarazi
cd9d1a2ec6
Support audio, video, generic file for pasting ( #220 )
...
* Refactor widget items to use same interface
* Support audio, video, generic file for pasting
* Add utils function for human readable file sizes
* Set correct MIME type for media messages
This change also determines the size of the upload once from the
ContentLengthHeader, rather than seeking the QIODevice and asking for
its size. This prevents any future trouble in case the QIODevice is
sequential (cannot be seeked). The MIME type is also determined at
upload once, rather than using the QIODevice and the underlying data
inside.
* Allow for file urls to be used as fall-back
This fixes an issue on macOS which uses `text/uri-list` for copying
files to the clipboard.
fixes #228
7 years ago
Konstantinos Sideris
c8bfb02211
Show loading indicator while waiting for /login & /logout
...
fixes #208
7 years ago
Konstantinos Sideris
fdd5051dcf
Remove QPropertyAnimation from modals to work around a regression on Qt 5.10.1 ( #87 )
7 years ago
Konstantinos Sideris
86280098b4
Implement server-side notification count
7 years ago
Konstantinos Sideris
ba8faa357f
Remove empty destructors
7 years ago
Konstantinos Sideris
26f221ec23
Move LeaveRoom dialog to MainWindow ( #87 )
7 years ago
Konstantinos Sideris
ddcc0f7f60
Generate a date separator before local messages
7 years ago
Konstantinos Sideris
da6b816228
Remove tone emoji
7 years ago
Konstantinos Sideris
b60554b8fd
Add a timeout timer for initial sync ( #223 , #222 )
...
Show a better message on the login screen after an initial sync failure.
7 years ago
Chris Tarazi
2dcc01633e
Apply fixed width for checkmark for all messages
7 years ago
Chris Tarazi
a15079c68f
Fix #217 : create space for checkmark beforehand
7 years ago
Konstantinos Sideris
b1f232bf86
Render messages received by `/messages` on demand
7 years ago
Konstantinos Sideris
86aa409c1f
Register timeline item so that it will be available
7 years ago
Konstantinos Sideris
0e91dae922
Erase items using the key
7 years ago
Konstantinos Sideris
936e215aed
Resize text input vertically to fit the contents
7 years ago
Konstantinos Sideris
1fad9398fc
Use more stl containers & minor refactorings
7 years ago
Konstantinos Sideris
2274642f12
Show the scroll-down button when showing the timeline
7 years ago
Konstantinos Sideris
48dabdfdc7
Don't dismiss the loading overlay by clicking
7 years ago
Konstantinos Sideris
64dd4c5985
Remove Accept-Encoding header
7 years ago
Konstantinos Sideris
c59cd0e80b
Load the initial cache data without blocking the UI
7 years ago
Konstantinos Sideris
c123bada94
Refactor avatar fetching in one function
7 years ago
Konstantinos Sideris
e37c2e34ce
Use the Accept-Content header to enable response compression
...
fixes #86
fixes #89
7 years ago
Konstantinos Sideris
9de2db2fb8
Automatically focus on input when opening a dialog
7 years ago
Konstantinos Sideris
26540bd120
Hack to work around layout flickering when adding new timeline items
7 years ago
Konstantinos Sideris
af5663b6bc
Add borders
7 years ago
Konstantinos Sideris
020a842aef
Change cache format to not allow duplicate receipts
...
Convert list of receipts to map<userId, timestamp>
7 years ago
Konstantinos Sideris
4521837765
Add option to disable typing notifications
...
fixes #131
7 years ago
Konstantinos Sideris
c4fa8c844d
Add a checkmark to messages that have been received by the server ( #93 )
7 years ago
Konstantinos Sideris
dfeb0c833a
Move timestamps to the right
7 years ago
Konstantinos Sideris
d31a08f1d5
Keep syncing regardless of connectivity ( #93 )
7 years ago
Konstantinos Sideris
d3603606e7
Make some functions inline
7 years ago
Konstantinos Sideris
3929261a8e
Use QSharedPointer to save RoomStates
7 years ago
krombel
f87b8fe817
Upload filter automatically and use filter_id ( #201 )
...
When a custom filter is inserted into nheko.conf or there was no filter
defined yet the default filter gets automatically uploaded.
After a successful upload the server-side generated filter-id is used.
This is done async as it is just an enhancement and it is not required
to upload the filter before the first request.
7 years ago
Konstantinos Sideris
396becbaa7
Properly assign default value to QSharedPointer for Qt5.7
...
[ci skip]
7 years ago
Konstantinos Sideris
daabb40bed
Use Q_NULLPTR to be compatible with qt5.7
...
fixes #199
7 years ago
Konstantinos Sideris
5b09c8e652
Handle surrogate pairs in avatars
7 years ago
Konstantinos Sideris
8beef5e61f
Dismiss modal by clicking on the overlay
7 years ago
Konstantinos Sideris
9521efab7e
Lint
...
[ci skip]
7 years ago
krombel
0570135253
Filter out content in sync that is currently unhandled ( #198 )
...
I had a look at sync.cpp and checked which parts of the sync response
are currently handled and which not. As I think it is unnecessary to let the
unhandled data be transmitted without being handled I added these filters.
In the same term I increased the timeout server-side to 30s as Riot
defaults to this value as well. Especially now when a lots of presence-updates
are not send anymore this value is more relevant.
It is now also possible to use a filter that is defined in`client/sync_filter`.
Advanced users might want to set an own filter here.
[ci skip]
7 years ago
christarazi
ddfce136ed
Add support for pasting images into a room ( #180 )
...
fixes #132
7 years ago
Konstantinos Sideris
53f670096c
Make group's sidebar visible through an option
7 years ago
Max Sandholm
312df6f3bb
Communities ( #195 )
7 years ago
Konstantinos Sideris
953634c9b5
Enable read receipts on messages sent through nheko
7 years ago