Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-04 | Add tests for prettyPrint() | Alexey Rusakov | |
2021-10-04 | prettyPrint(): tighten up Matrix identifier regex | Alexey Rusakov | |
It was too permissive on characters before the identifier and also allowed the domain name to start on dash, which should not occur. Closes #512. | |||
2021-10-04 | AccountRegistry: minor code cleanup | Alexey Rusakov | |
2021-09-28 | SyncData: drop a shortcut that led to ignoring invites | Alexey Rusakov | |
Fixes #510. | |||
2021-09-19 | Use C++ instead of commenting | Alexey Rusakov | |
2021-09-18 | Merge pull request #505 from TobiasFella/encryptedfile | Alexey Rusakov | |
2021-09-18 | Add the encryptedfile to the eventcontent | Tobias Fella | |
2021-09-15 | Merge pull request #507 from TobiasFella/roomcreationtypes | Alexey Rusakov | |
Add room types to RoomCreateEvent | |||
2021-09-14 | Add room types to RoomCreateEvent | Tobias Fella | |
2021-09-12 | Merge pull request #506 from TobiasFella/activateencryption | Alexey Rusakov | |
Add convenience function for activating encryption | |||
2021-09-12 | Merge pull request #499 from TobiasFella/mxcnam | Alexey Rusakov | |
Implement the mxc protocol in the NetworkAccessManager | |||
2021-09-12 | Fix a memory leak in DownloadRunner | Alexey Rusakov | |
2021-09-12 | Fix building with older Qt | Alexey Rusakov | |
2021-09-12 | Connection: update AccountRegistry | Alexey Rusakov | |
Clients don't need to do it themselves. | |||
2021-09-12 | MxcReply: make sure to create a Private object | Alexey Rusakov | |
2021-09-12 | NAM::createRequest(): more logging | Alexey Rusakov | |
2021-09-12 | Add a download test to quotest | Alexey Rusakov | |
2021-09-11 | Add convenience function for activating encryption and fix | Tobias Fella | |
EncryptionEvent constructor | |||
2021-09-11 | BaseJob: deprecate endpoint accessors; query returns an object | Alexey Rusakov | |
To provide more room for internal changes in BaseJob. | |||
2021-09-11 | Further tweaks to MxcReply | Alexey Rusakov | |
- QNetworkReply::isSequential() already returns `true`, there's no need to overload it again. - Use `Q_SLOTS` instead of `slots` because it's an external library interface and clients may use other libraries using `slots` identifier; - Use `emit` instead of `Q_EMIT` because this is a part of internal implementation and if we ever use a library that has an `emit` identifier, a massive search-replace will be in order anyway. - Use `QMetaObject::invokeMethod()` with a queued connection as a clearer way to achieve the same goal as `QTimer::singleShot(0, ...)`. | |||
2021-09-11 | Don't parent NAM to QCoreApplication | Alexey Rusakov | |
QThreadStorage accepts ownership over stored objects. | |||
2021-09-10 | Move URL creation to Room/Connection; use query instead of fragment | Alexey Rusakov | |
The query is easier to manipulate; and the original mxc URL is not used for the real network request anyway. | |||
2021-09-10 | Add "quotient.network" logging category | Alexey Rusakov | |
2021-09-10 | Percent-encode all the things | Tobias Fella | |
2021-09-10 | Return a failed MxcReply on invalid requests | Tobias Fella | |
2021-09-10 | Update lib/networkaccessmanager.cpp | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-09-10 | Update lib/networkaccessmanager.cpp | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-09-09 | Straighten up file transfer cancellation | Alexey Rusakov | |
There was a mess with fileTransferCancelled(); it was only emitted when a download (but not an upload) was cancelled; besides, in case of downloads a file transfer info structure was getting deleted whereas uploads left a file transfer in Cancelled status. This all now converges on: - fileTransferFailed() for both failures and cancellations (to simplify slot connection, and also to follow the practice in, e.g., Qt Network). - the file transfer info structure is kept around in Cancelled status, following the logic used for failures. There's no particular cleanup which may become a problem if one uploads and cancels many times (download file transfers are keyed to event ids, mitigating the problem); this will be fixed in another commit. Closes #503. Closes #504. | |||
2021-09-07 | Fix showing non-animated Images | Tobias Fella | |
2021-09-05 | Create a NAM for each thread | Tobias Fella | |
2021-09-05 | Implement the mxc protocol in the NetworkAccessManager | Tobias Fella | |
Allows images to be loaded using the NetworkAccessManager instead of an ImageProvider | |||
2021-09-03 | Merge pull request #500 from quotient-im/kitsune/bump-minimal-versions | Alexey Rusakov | |
Require CMake 3.16, kindly ask for C++20; drop qmake | |||
2021-09-03 | Tacitly allow CMake 3.13 to keep LGTM working | Alexey Rusakov | |
Also: drop olm from the LGTM build environment, it's of no use there for now. | |||
2021-09-03 | CONTRIBUTING.md: update code conventions to C++20 | Alexey Rusakov | |
2021-09-03 | CI experiment: requires GCC 10 and Clang 11 | Alexey Rusakov | |
2021-09-03 | Require CMake 3.16; drop qmake; use C++20 and newer compilers | Alexey Rusakov | |
Also, refresh the documentation a bit. | |||
2021-09-02 | Merge pull request #495 from quotient-im/kitsune-ci-windows-codeql | Alexey Rusakov | |
CI: add Windows, CodeQL | |||
2021-09-01 | Drop .appveyor.yml | Alexey Rusakov | |
2021-09-01 | CMakeLists: allow to pass clang-format options in CLANG_FORMAT | Alexey Rusakov | |
This supersedes passing clang-format options in a separate CLANG_FORMAT_ARGS CMake variable. | |||
2021-09-01 | CMakeLists: fix resolving gtad on Windows | Alexey Rusakov | |
2021-09-01 | Change GTAD/matrix-doc paths | Alexey Rusakov | |
`${{ runner.workspace }}` is, unfortunately, not portable to Windows. | |||
2021-09-01 | Add update-api on Windows pipeline | Alexey Rusakov | |
2021-09-01 | Fix bin path differences between POSIX and Windows | Alexey Rusakov | |
2021-09-01 | Fix building with MSVC | Alexey Rusakov | |
Turned out it was broken, and I was looking the other way. | |||
2021-09-01 | Add Windows, CodeQL | Alexey Rusakov | |
Windows and CodeQL snippets picked from Quaternion | |||
2021-09-01 | Merge pull request #498 from TobiasFella/versioninfo | Alexey Rusakov | |
Add functions and macros to query for Quotient's version | |||
2021-08-31 | Add functions and macros to query for Quotient's version | Tobias Fella | |
2021-08-30 | Room: displayNameForHtml | Alexey Rusakov | |
This is useful for cases when the room display name is returned to QML that doesn't have an equivalent of QString::toHtmlEscaped(). | |||
2021-08-30 | SettingsGroup, AccountSettings: simplify constructors | Alexey Rusakov | |
The parameter packs intended to pass organisation/application names to QSettings never worked that way since Quotient::Settings didn't have that parameter pack in its constructor. On the other hand, setting organisation/application name using static methods before constructing the first settings object has been working just fine so far. If someone needs to create a settings object with customised org/app name for some reason (sneaking settings from other apps?), those can be brought back in a working manner and without breaking API/ABI even. | |||
2021-08-26 | Merge pull request #497 from TobiasFella/accountregistry | Alexey Rusakov | |
Add AccountRegistry |