Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-04 | EvT::TypeId: Use a member function instead of a variable | Kitsune Ral | |
The latter one causes linkage errors when used from a template method (but not from a template class, puzzlingly). | |||
2018-05-03 | .travis.yml: Use newer Qt | Kitsune Ral | |
Because GTAD needs it. | |||
2018-05-03 | gtad.yaml: Update regexes to match string parts | Kitsune Ral | |
According to KitsuneRal/gtad#31. | |||
2018-05-03 | Preempt jobs/joinroomjob.* with jobs/generated/joining.* | Kitsune Ral | |
Enables responding to third-party invites. | |||
2018-05-03 | jobs/generated: Drop unused code | Kitsune Ral | |
2018-05-03 | GetRoomEventsJob (replaces RoomMessagesJob) + refactoring | Kitsune Ral | |
1. Updates in this commit (see further) allow to generate and build GetRoomEventsJob from message_pagination.yaml; this job completely preempts RoomMessagesJob. 2. EventsBatch<> is no more a thing; there's EventsArray<> to replace it but it's loaded from a JSON array rather than an event batch (a JSON array inside another JSON object). SyncJob that used it extensively has been moved to "conventional" containers (Events, RoomEvents and the newly introduced StateEvents). RoomMessagesJob that also used EventsBatch<> is decommissioned (see above). 3. RoomEventsRange is now an alias for Range<RoomEvents>, defined in util.h (otherwise almost the same). 4. Connection::getMessages() is no more. Use Room::getPreviousContent() and Connection::callApi<GetRooMEventsJob>() instead. 5. Moving things around in Room, since SyncJob now supplies state events in more specific StateEvents, rather than RoomEvents. | |||
2018-05-03 | Room::Private::processRedaction: minor refactoring | Kitsune Ral | |
2018-05-03 | Cleanup | Kitsune Ral | |
2018-05-03 | GTAD: Use QMatrixClient::Event-derived classes in generated jobs + Mustache ↵ | Kitsune Ral | |
cleanup This should make generated jobs buildable across the whole CS API (sync.yaml is disabled as the manual implementation is still considerably better). | |||
2018-05-01 | Fix building on OSX | Kitsune Ral | |
2018-05-01 | Merge branch 'master' into kitsune-gtad | Kitsune Ral | |
2018-05-01 | jobs/generated: use std::move in baseURL; type updates from the API files | Kitsune Ral | |
The type updates are a matter of pending PR to matrix-doc yet. | |||
2018-05-01 | gtad.yaml: Use EventPtr for Notifications.Event; add variant type to the map | Kitsune Ral | |
Variants are not yet supported but just in case, let's have the line, it's very obvious. | |||
2018-05-01 | GetNotificationsJob: don't alias EventPtr with Event | Kitsune Ral | |
It's useless and misleading. | |||
2018-05-01 | jobs/generated: use std::move in baseURL; type updates from the API files | Kitsune Ral | |
The type updates are a matter of pending PR to matrix-doc yet. | |||
2018-05-01 | Event and Room: further abstract event pointers | Kitsune Ral | |
So that eventual switch from std::unique_ptr to some other pointer (as a case - QSharedPointer) would be as painless as possible. | |||
2018-05-01 | Room: endorse std::move | Kitsune Ral | |
That is, add "using std::move" and strip std:: from actual usages. | |||
2018-05-01 | converters.h: Support std::vector<> | Kitsune Ral | |
2018-05-01 | User::processEvent: add const | Kitsune Ral | |
2018-05-01 | RedactionEvent: make the constructor explicit | Kitsune Ral | |
2018-05-01 | Event: cleanup | Kitsune Ral | |
2018-05-01 | Integrate converters with EventPtr partially | Kitsune Ral | |
So that events can be created from JSON in the same way as all other types. | |||
2018-05-01 | Mustache: more C++ tidying and empty lines removal | Kitsune Ral | |
2018-05-01 | ConnectionsGuard: one more fix about defaults | Kitsune Ral | |
2018-05-01 | jobs/generated: GetNotificationsJob | Kitsune Ral | |
2018-04-30 | ConnectionsGuard: one more fix about defaults | Kitsune Ral | |
2018-04-30 | jobs/generated: GetNotificationsJob | Kitsune Ral | |
2018-04-30 | jobs/generated: cleanup C++ | Kitsune Ral | |
2018-04-30 | ConnectionsGuard: suppress the copying assignment operator | Kitsune Ral | |
It accidentally leaked through using QPointer::operator= | |||
2018-04-30 | Build systems: add jobs/generated/definitions to the mix | Kitsune Ral | |
2018-04-30 | gtad.yaml: Migrate to GTAD 0.5 config format | Kitsune Ral | |
2018-04-30 | jobs/generated: cleanup C++ | Kitsune Ral | |
2018-04-30 | Mustache templates: cleanup C++ | Kitsune Ral | |
2018-04-30 | ConnectionsGuard: suppress the copying assignment operator | Kitsune Ral | |
It accidentally leaked through using QPointer::operator= | |||
2018-04-29 | Merge branch 'master' into kitsune-gtad | Kitsune Ral | |
2018-04-27 | Use bridge names as the first line of disambiguation | Kitsune Ral | |
If can get away without showing MXIDs we should do it. | |||
2018-04-27 | Cache bridge names along with user names | Kitsune Ral | |
Otherwise the bridge is forgotten after restart. This bumps the cache version. | |||
2018-04-27 | Fix broken User::displayName() logic | Kitsune Ral | |
Also, add an assert to Connection::user() to make sure it doesn't create users with invalid ids. Closes #201. | |||
2018-04-27 | User::rawName(); bonus, bring order to doc comments | Kitsune Ral | |
This new function allows to get the username along with its bridge (basically, undoing the change applied by processEvent for cases when it is undesirable). | |||
2018-04-27 | User::processEvent: fix bridge postfix not being stripped | Kitsune Ral | |
Closes #197. | |||
2018-04-25 | BaseJob::doCheckReply: catch non-HTTP errors too | Kitsune Ral | |
2018-04-25 | BaseJob: rewrite error detection using genuine HTTP codes | Kitsune Ral | |
Qt Network error codes don't represent well some cases. Closes #200. | |||
2018-04-25 | Avatar: don't allow null callbacks to be registered | Kitsune Ral | |
2018-04-22 | Avatar: clear the list of callbacks after completion + general code cleanup | Kitsune Ral | |
2018-04-22 | Code reformatting | Kitsune Ral | |
2018-04-16 | ConnectionsGuard<> template to automatically disconnect subscribers | Kitsune Ral | |
Case in point is a room list model (so far in Quaternion, but planned for inclusion to the lib) that stores lists of connections and rooms; upon dropping, e.g., a room from the list the model should disconnect from the room's signals. | |||
2018-04-14 | jobs/generated: Overload toJson() instead of operator QJsonObject()/QJsonValue() | Kitsune Ral | |
It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning). | |||
2018-04-14 | Mustache templates: Overload toJson() instead of operator ↵ | Kitsune Ral | |
QJsonObject()/QJsonValue() It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning). | |||
2018-04-14 | Mustache: {{#producesNonJson?}} -> {{#producesNotJson?}} | Kitsune Ral | |
According to the most recent changes in GTAD. | |||
2018-04-14 | CMakeLists.txt: minor refactoring | Kitsune Ral | |