matrixion/include
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
..
dialogs Support audio, video, generic file for pasting (#220) 2018-02-18 22:52:31 +02:00
emoji Remove empty destructors 2018-02-10 16:29:09 +02:00
timeline Support audio, video, generic file for pasting (#220) 2018-02-18 22:52:31 +02:00
ui Remove QPropertyAnimation from modals to work around a regression on Qt 5.10.1 (#87) 2018-02-17 18:43:40 +02:00
AvatarProvider.h Use more stl containers & minor refactorings 2018-01-24 20:46:37 +02:00
Cache.h Use more stl containers & minor refactorings 2018-01-24 20:46:37 +02:00
ChatPage.h Show loading indicator while waiting for /login & /logout 2018-02-18 22:22:26 +02:00
CommunitiesList.h Erase items using the key 2018-01-25 14:34:15 +02:00
CommunitiesListItem.h Remove empty destructors 2018-02-10 16:29:09 +02:00
Community.h Use more stl containers & minor refactorings 2018-01-24 20:46:37 +02:00
Config.h Move timestamps to the right 2018-01-14 12:29:54 +02:00
Deserializable.h Clean up headers 2017-10-28 15:46:39 +03:00
InputValidator.h Clean up headers 2017-10-28 15:46:39 +03:00
InviteeItem.h Add menu to invite users 2017-12-10 23:59:50 +02:00
Login.h Initial integration with matrix-structs 2017-12-03 02:47:37 +02:00
LoginPage.h Show loading indicator while waiting for /login & /logout 2018-02-18 22:22:26 +02:00
MainWindow.h Show loading indicator while waiting for /login & /logout 2018-02-18 22:22:26 +02:00
MatrixClient.h Support audio, video, generic file for pasting (#220) 2018-02-18 22:52:31 +02:00
QuickSwitcher.h Use more stl containers & minor refactorings 2018-01-24 20:46:37 +02:00
Register.h Clean up headers 2017-10-28 15:46:39 +03:00
RegisterPage.h Remove empty destructors 2018-02-10 16:29:09 +02:00
RoomInfoListItem.h Implement server-side notification count 2018-02-15 21:58:57 +02:00
RoomList.h Implement server-side notification count 2018-02-15 21:58:57 +02:00
RoomMessages.h Remove extra inline keywords 2017-10-22 19:03:55 +03:00
RoomSettings.h Lint 2017-10-23 00:19:35 +03:00
RoomState.h Load the initial cache data without blocking the UI 2018-01-21 21:43:21 +02:00
RunGuard.h Allow only one application instance 2017-12-14 21:55:00 +02:00
SideBarActions.h Remove empty destructors 2018-02-10 16:29:09 +02:00
Splitter.h Style change again 2017-09-10 12:59:21 +03:00
TextInputWidget.h Support audio, video, generic file for pasting (#220) 2018-02-18 22:52:31 +02:00
TopRoomBar.h Remove empty destructors 2018-02-10 16:29:09 +02:00
TrayIcon.h Clean up headers 2017-10-28 15:46:39 +03:00
TypingDisplay.h Receive typing notifications (#88) 2017-10-04 11:33:34 +03:00
UserInfoWidget.h Remove empty destructors 2018-02-10 16:29:09 +02:00
UserSettingsPage.h Add option to disable typing notifications 2018-01-14 15:57:58 +02:00
Utils.h Support audio, video, generic file for pasting (#220) 2018-02-18 22:52:31 +02:00
WelcomePage.h Remove unnecessary comments 2017-11-22 21:13:22 +02:00