Commit graph

4967 commits

Author SHA1 Message Date
Konstantinos Sideris
fb5719f184 Don't handle password when the matrix id is entered 2018-03-04 15:15:52 +02:00
Konstantinos Sideris
0f62cba498 Retry initial sync only on specific errors
fixes #233
fixes #89
2018-03-04 14:49:15 +02:00
Konstantinos Sideris
7fc33a71fd Bump version 2018-03-04 14:08:46 +02:00
Konstantinos Sideris
b15a04b00a Don't open room switcher when another dialog is open
fixes #251
2018-03-04 13:40:30 +02:00
Stuart Mumford
47c31b9a18 Retry initial sync forever (#234) 2018-03-04 12:35:14 +02:00
mujx
b93d238d4e
Update README.md 2018-03-04 10:55:07 +02:00
Konstantinos Sideris
7f7f3a805b Remove dead code & small refactorings using the std library 2018-03-03 22:08:56 +02:00
Konstantinos Sideris
564d51943e Pass arch flags for appveyor build
[ci skip]
2018-03-03 19:57:00 +02:00
Konstantinos Sideris
f9a662f7ad Specify install directory & arch for the matrix_structs library
[ci skip]
2018-03-03 18:46:31 +02:00
Konstantinos Sideris
b00365f665 Specify release config for windows 2018-03-03 13:16:21 +02:00
Konstantinos Sideris
63273b2b9b Remove xcode8 entry from ci 2018-03-03 13:14:29 +02:00
Konstantinos Sideris
4e4d2c5ce0 Remove git submodules in favor of cmake's ExternalProject 2018-03-03 13:02:33 +02:00
Konstantinos Sideris
735d508a29 Handle empty matrix ID (regression from 9de1ec1)
fixes #259
2018-03-01 09:31:08 +02:00
Konstantinos Sideris
f6c279f6f2 Propagate errors during /login & /versions 2018-02-28 22:07:53 +02:00
Konstantinos Sideris
9de1ec1b7b Fix crash when inviting users 2018-02-28 21:14:41 +02:00
Konstantinos Sideris
12a96aae6d Add some missing references 2018-02-28 12:12:07 +02:00
Konstantinos Sideris
c75a136973 Enable room switcher only in the chat view (#251) 2018-02-26 13:17:04 +02:00
Francesco Gazzetta
ea268d9761 Fix & cleanup nix files (#240)
* Fix default.nix

* Cleanup package.nix
2018-02-24 23:46:29 +02:00
Konstantinos Sideris
f525b7e6a9 Replace login request with the one from matrix-structs 2018-02-23 22:27:59 +02:00
Konstantinos Sideris
fb850787d7 Relax matrix identifier parsing
fixes #241
2018-02-23 22:06:35 +02:00
Konstantinos Sideris
020f153f1f Fix crash when trying to use automatically deleted ImageOverlay dialog 2018-02-20 22:08:16 +02:00
Konstantinos Sideris
f95998a64b Be explicit about the captured parameters in lambdas 2018-02-20 17:09:11 +02:00
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.
2018-02-19 23:33:11 +02:00
Konstantinos Sideris
1764bacd4b Move scaleImage() in Utils 2018-02-19 23:32:37 +02:00
Konstantinos Sideris
8b139c32a3 Minor adjustments 2018-02-19 22:09:21 +02:00
Konstantinos Sideris
a8e17b9c91 Notify the user on upload failures 2018-02-19 00:17:54 +02:00
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
2018-02-18 22:52:31 +02:00
Konstantinos Sideris
c8bfb02211 Show loading indicator while waiting for /login & /logout
fixes #208
2018-02-18 22:22:26 +02:00
Konstantinos Sideris
7e2f835eec Properly detect the start of the timeline
We can't rely solely on the number of the returned messages
because it could be zero if all the event types are unknown.

fixes #168
2018-02-17 19:29:53 +02:00
Konstantinos Sideris
fdd5051dcf Remove QPropertyAnimation from modals to work around a regression on Qt 5.10.1 (#87) 2018-02-17 18:43:40 +02:00
Konstantinos Sideris
59e4148a7c Fix transparency issue on custom dialogs
fixes #87
2018-02-17 14:04:46 +02:00
Konstantinos Sideris
8d867f418d Hide emoji picker when the app loses focus
fixes #184
fixes #209
2018-02-16 19:02:15 +02:00
Konstantinos Sideris
a1ea11d5ef Fix clang build 2018-02-16 10:26:31 +02:00
Konstantinos Sideris
86280098b4 Implement server-side notification count 2018-02-15 21:58:57 +02:00
Konstantinos Sideris
6d08e67abd Simplify variant access with std::visit 2018-02-11 19:30:22 +02:00
William Pitcock
0be787f1e4 RoomList: do not blindly dereference RoomState (#232)
This can happen when a new room is being created from a different client and thus is created
with no known state to the local client.
2018-02-11 14:39:06 +02:00
Konstantinos Sideris
ba8faa357f Remove empty destructors 2018-02-10 16:29:09 +02:00
Konstantinos Sideris
26f221ec23 Move LeaveRoom dialog to MainWindow (#87) 2018-02-10 16:05:31 +02:00
Konstantinos Sideris
3fd257243c Update build instructions
fixes #226

[ci skip]
2018-02-10 13:46:26 +02:00
Konstantinos Sideris
ddcc0f7f60 Generate a date separator before local messages 2018-02-10 01:09:30 +02:00
Konstantinos Sideris
da6b816228 Remove tone emoji 2018-02-09 12:20:09 +02:00
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.
2018-02-08 19:07:58 +02:00
mujx
54582cab3a
Merge pull request #227 from christarazi/fix-text-wrap-checkmark
Create space for checkmark beforehand

fixes #217
2018-02-08 14:26:08 +02:00
Chris Tarazi
31eb0a9c88
Create new font for checkmark 2018-02-07 21:32:22 -08:00
Chris Tarazi
2dcc01633e
Apply fixed width for checkmark for all messages 2018-02-07 21:32:21 -08:00
Chris Tarazi
a15079c68f
Fix #217: create space for checkmark beforehand 2018-02-07 21:32:20 -08:00
mujx
20f65aee5d
Merge pull request #231 from xvitaly/fedora
Updated Fedora installation instructions

[ci skip]
2018-02-07 17:50:27 +02:00
Vitaly Zaitsev
6527ae25b7
Updated Fedora installation instructions.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-02-07 15:41:54 +01:00
Konstantinos Sideris
b6c39abcb4 Update build instructions (#226) 2018-02-05 14:12:07 +02:00
Konstantinos Sideris
43ba4d5ed5 Handle case with no available rooms
fixes #181
2018-02-02 10:51:07 -07:00