Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-29 | Introduce quotient_export.h | Alexey Rusakov | |
Instead of using CMake's generate_export_header macro, it's a bit easier to maintain a static file (that is not supposed to ever change) with necessary export/import/hidden visibility macros. | |||
2021-12-28 | EventContent::FileInfo: default payloadSize to 0 | Alexey Rusakov | |
Fixes a clang-tidy warning. | |||
2021-12-28 | Settings classes: unify on QUO_ macro prefix | Alexey Rusakov | |
At some point macros were prepended with QTNT (pronounced "cute-n't", "Quotient" with vowels dropped) but that didn't go very far. Having forgotten about this, I introduced QUO prefix in a few places. Being initial letters of "Quotient", QUO feels more understandable (and coincidentally is a well-known Latin word); so let's unify on this. | |||
2021-12-28 | Convert struct LoginFlows to namespace | Alexey Rusakov | |
Because that's what it really is. | |||
2021-12-27 | Merge branch 'dev' into pinned | arawaaa | |
2021-12-27 | EventFactory: remove default constructor | Alexey Rusakov | |
This is a leftover from deferred `name` initialisation that wasn't needed in the end. | |||
2021-12-27 | EventItem::setUserData: use std::move | Alexey Rusakov | |
Fixes a clang-tidy warning. | |||
2021-12-27 | Key* strings: drop 'static'; add 'constexpr' where ok | Alexey Rusakov | |
2021-12-27 | Connection: Simplify room/user factory code | Alexey Rusakov | |
There's no need to return lambdas where pointers to specialised function templates would work just fine. | |||
2021-12-27 | Quotest: add compile warnings from libQuotient | Alexey Rusakov | |
2021-12-26 | Merge #528: Make canChangePassword available from QML | Alexey Rusakov | |
2021-12-25 | Make canChangePassword available from QML | Carl Schwan | |
2021-12-25 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-25 | Remove assert | Tobias Fella | |
2021-12-25 | Update lib/e2ee/qolmoutboundsession.h | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-25 | Update lib/e2ee/qolmoutboundsession.h | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-25 | Don't save olm account ón shutdown | Tobias Fella | |
It causes the program to crash for some reason | |||
2021-12-25 | Remove irrelevant include | Tobias Fella | |
2021-12-25 | Remove unneeded code | Tobias Fella | |
2021-12-25 | Move run-tests.sh | Tobias Fella | |
2021-12-25 | Apply suggestions | Tobias Fella | |
2021-12-25 | Update lib/e2ee/qolmoutboundsession.cpp | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-24 | Apply suggestions | Tobias Fella | |
2021-12-24 | Prune empty/ish call*event.cpp files | Alexey Rusakov | |
2021-12-24 | Cache deviceslist to binary when possible | Tobias Fella | |
2021-12-24 | CI: Fix rm being run in the wrong directory | Alexey Rusakov | |
It's been alright with the comment inside the script. | |||
2021-12-24 | CI: Move a comment outside of the script | Alexey Rusakov | |
Comments inside shell scripts apparently break the flimsy GHA machinery. | |||
2021-12-24 | CI: Add missing coverage files | Alexey Rusakov | |
2021-12-24 | Merge branch 'kitsune/sonar-coverage' | Alexey Rusakov | |
2021-12-24 | Reinstate update-api jobs | Alexey Rusakov | |
2021-12-24 | Don't strip lib from names in .gcov files | Alexey Rusakov | |
That apparently confuses Sonar as it fails to match the source files. | |||
2021-12-24 | Analyse in 2 threads | Alexey Rusakov | |
2021-12-24 | Actually do and submit coverage | Alexey Rusakov | |
...instead of hoping the thing will sort itself out because CLion does. | |||
2021-12-24 | Merge Sonar invocation back to ci.yml | Alexey Rusakov | |
For coverage analysis to work, a test run is needed, making the overlap between ci.yaml and sonar.yml quite significant again. Note: 'update-api' option is temporarily dropped from the matrix to speed up the check. If things run fine, 'update-api' will come back. | |||
2021-12-24 | Sonar: add coverage analysis | Alexey Rusakov | |
2021-12-24 | Sonar: leave just one job | Alexey Rusakov | |
There's not much value in analysing the code without E2EE and with E2EE because E2EE is additive; and there's no plan to look close into the generated API code apart from what already ends up being committed. | |||
2021-12-24 | Fix reading unencrypted images | Tobias Fella | |
2021-12-24 | Find sql when using libquotient | Tobias Fella | |
2021-12-22 | Another improvement | Tobias Fella | |
2021-12-22 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-22 | Merge pull request #526 from quotient-im/kitsune/simpler-event-factories | Alexey Rusakov | |
Simplify event factories | |||
2021-12-22 | StateEventBase: force type to unknown if stateKey is not in JSON | Alexey Rusakov | |
2021-12-22 | Simplify the code around EventFactory<> | Alexey Rusakov | |
The former code assumed that EventFactory<> is just a class-level shell for a bunch of functions and a static data member that only exists to allow specialisations to occur for the whole group together. On top of that, setupFactory() and registerEventType() strived to protect this group from double registration coming from static variables in an anonymous namespace produced by REGISTER_EVENT_TYPE. The whole thing is now de-static-ed: resolving the factory now relies on class-static Event/RoomEvent/StateEventBase::factory variables instead of factory_t type aliases; and REGISTER_EVENT_TYPE produces non-static inline variables instead, obviating the need of registerEventType/setupFactory kludge. | |||
2021-12-21 | Don't chain RoomEvent to Event factory any more | Alexey Rusakov | |
Objects derived from Event are not room events (in the spec sense) and never occur in the same arrays as room events; therefore this chaining has always been superfluous. | |||
2021-12-21 | Add event_loader.h to CMakeLists | Alexey Rusakov | |
Another forgotten header file. | |||
2021-12-21 | Quotest: add a missing \n in the output | Alexey Rusakov | |
2021-12-17 | RoomMemberEvent: fix an off-by-one error | Alexey Rusakov | |
Also: extended quotest to cover member renames, not just user profile renames. | |||
2021-12-10 | Remove data from database when leaving room | Tobias Fella | |
2021-12-10 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-10 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> |