aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-22Adds ability remove the avatarArnav Rawat
Not possible previously
2021-02-21Update a comment that still mentions RiotAlexey Rusakov
(cherry picked from commit b25785d294669f2bab7dcd1e3cd1fba61991fe46)
2021-02-21Uri: support abbreviated types in Matrix URIsAlexey Rusakov
As per the latest iteration of MSC2312, room/, user/ and event/ are only supported for parsing and replication but not for emitting from Matrix identifiers. (cherry picked from commit 86f24d1ecf300b82b3a7253b81a2c392669d2c2b)
2021-02-16Merge pull request #442 from ognarb/localuserinfoAlexey Rusakov
Load user info (display name + avatar) for the local user.
2021-02-15Update quotest/quotest.cppCarl Schwan
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
2021-02-09UpdateCarl Schwan
2021-01-28Merge pull request #449 from rpallai/richeditfixAlexey Rusakov
Fix rich edits (transmit)
2021-01-28Merge pull request #448 from rpallai/richreplyfixAlexey Rusakov
Fix rich replies json format (transmit)
2021-01-28Drop qmake from CIAlexey Rusakov
If someone still needs it - fix it; otherwise building with qmake will be dropped in 0.7
2021-01-28Fix rich edits (transmit)Roland Pallai
The new formatted_body was not included into new content on edit due to badly constructed json.
2021-01-28Fix rich replies json format (transmit)Roland Pallai
With this patch it looks like: "m.relates_to": { "m.in_reply_to": { "event_id": "$another:event.com" } } instead of: "m.relates_to": { "event_id": "$another:event.com", "rel_type": "m.in_reply_to" }, So it fits the specification by now. https://matrix.org/docs/spec/client_server/r0.6.1#rich-replies
2021-01-25Merge branch 'fix-ci' into masterAlexey Rusakov
2021-01-25Room::P::removeMemberFromMap: comment that Q_ASSERTAlexey Rusakov
Maybe it's not even that bad, given that an effort is taken to recover from the internal member list corruption.
2021-01-25Revert to running quotest from the source treeAlexey Rusakov
For some reason the installed one doesn't find QtTest dynamic library.
2021-01-25Make quotest origin even more informativeAlexey Rusakov
2021-01-25CI: build libraries staticallyAlexey Rusakov
Shared libraries are a bit of a chore to handle, maybe another time.
2021-01-25Use NinjaAlexey Rusakov
2021-01-25CI: install to ~/.local; invoke quotest from thereAlexey Rusakov
That way InstallQuotest feature is also tested. Also fix the Valgrind suppression file path. Also: use cmake arguments instead of pushd/popd dance
2021-01-25CI: include github.ref in the quotest originAlexey Rusakov
2021-01-25CMakeLists.txt: refactor configuration of featuresAlexey Rusakov
- The feature summary is only generated at the end of the configuration. - InstallQuotest feature is defined in quotest/CMakeLists.txt now, and therefore is only available if quotest is getting built (i.e., if BUILD_TESTING is on). - API generation configuration code merged from two places into one.
2021-01-25Autotests: make sure types passed to QCOMPARE are the sameAlexey Rusakov
The current test may fail with "undefined reference" errors discussed at https://stackoverflow.com/questions/14198972/undefined-symbols-for-qcompare.
2021-01-25Collapse the autotest entirely in *.cpp fileAlexey Rusakov
Otherwise CMake's automoc complains that it doesn't see a moc-able class definition in the file that includes "*.moc".
2021-01-25CI: no need to explicitly build quotestAlexey Rusakov
Now that CTest is included, quotest target should build (and install) automatically together with the library.
2021-01-25CMakeLists.txt: include(CTest)Alexey Rusakov
It's a missing line from the recent autotests introduction. Without it CMake doesn't introduce BUILD_TESTING option, and if you explicitly pass it, fails to configure the project.
2021-01-23Update testCarl Schwan
2021-01-23Add testCarl Schwan
2021-01-23Load user info (display name + avatar) for the local user.Carl Schwan
This is needed for a few cases like the account list in NeoChat or the account switcher. In this cases we don't have a room binded to the user and can't fetch the real display name and avatar.
2021-01-22Adjust according to the just merged PRAlexey Rusakov
2021-01-22Merge pull request #440 from ognarb/callcandidateupdateAlexey Rusakov
Add more properties to CallCandidateEvent
2021-01-22Remove quotest from ctestCarl Schwan
2021-01-21fix buildCarl Schwan
2021-01-21Move testsCarl Schwan
2021-01-21Apply suggestions from code reviewCarl Schwan
Co-authored-by: Kitsune Ral <Kitsune-Ral@users.sf.net>
2021-01-21Add more properties to CallCandidateEventCarl Schwan
2021-01-17Merge branch 'kitsune-use-spdx' into masterKitsune Ral
2021-01-16Updated copyright statements upon Git auditKitsune Ral
After going through all the files and the history of commits on them it was clear that some copyright statements are obsolete (the code has been overwritten since) and some are missing. This commit tries best to remedy that, along with adding SPDX tags where they were still not used. Also, a minimal SPDX convention is documented for further contributions. Closes #426.
2021-01-15Merge pull request #417 from dfaure/dfaure/stricter-flagsKitsune Ral
Enable QT_NO_URL_CAST_FROM_STRING and QT_STRICT_ITERATORS.
2021-01-15Merge branch 'master' into dfaure/stricter-flagsKitsune Ral
2021-01-15Merge pull request #428 from ognarb/licensingKitsune Ral
Port existing copyright statement to reuse using licensedigger
2021-01-15Drop a file deleted in masterKitsune Ral
2021-01-14Fix a typo in the previous typo fixKitsune Ral
2021-01-14EncryptionManager: fix a typoKitsune Ral
2021-01-12EventItemBase: Allow adding custom dataKitsune Ral
A new field of std::any type is added that allows clients to "annotate" any event item with arbitrary kind of data. This is mainly intended so that clients could calculate certain information about the item (e.g. special formatting depending on the event contents, or position) without having to calculate this information every time it is visualised. In case of Quaternion, the idea is to calculate the "spamminess" of the event basing on the past activity of a given user in this room - calculating it upon displaying each event is extremely heavyweight.
2021-01-11Ok, do the same in a different wayKitsune Ral
2021-01-11Don't run the test if TEST_USER is emptyKitsune Ral
2021-01-11Add a timeout to quotest runsKitsune Ral
The current Quotest gets stuck somewhere, and the its big internal 3-minute watchdog doesn't cut it for some reason. While investigating that, an external timeout would be quite handy.
2021-01-11LGTM: fine-tune the set of analysed filesKitsune Ral
2021-01-08quotest: use the target room for loadMembers testKitsune Ral
Now that we've crowded it with a few synthetic users, lazy-loading of members doesn't some other room to get tested. Bonus: Connection::roomByAlias() has its own very simple test now. (cherry picked from commit d09383d5dc7379c534860b5a66467a32d6adc932)
2021-01-07Connection: don't explicitly reset QPointersKitsune Ral
See #437 for the discussion.
2021-01-07isJobRunning() -> isJobPending()Kitsune Ral
To be very clear what this function checks. See also #437.