Feed Advanced Search

May 28 2020

alessandro committed R865:61122416c033: Use REST API instead of DDP (authored by alessandro).
Use REST API instead of DDP
May 28 2020, 12:11 PM
alessandro committed R865:0a062605b3e7: Use REST API instead of DDP (authored by alessandro).
Use REST API instead of DDP
May 28 2020, 12:10 PM
alessandro committed R865:c760551e64ba: Address review comments (authored by alessandro).
Address review comments
May 28 2020, 8:14 AM

May 27 2020

alessandro committed R865:90697fd67129: Fix readMessages invokations (authored by alessandro).
Fix readMessages invokations
May 27 2020, 7:54 PM
alessandro committed R865:de4eaa92af47: Invoke readMessage on server once messages on a room are read to avoid email… (authored by alessandro).
Invoke readMessage on server once messages on a room are read to avoid email…
May 27 2020, 7:46 PM
alessandro committed R865:ab37a6e227b6: Fix qml modules version to target 5.12 min (authored by alessandro).
Fix qml modules version to target 5.12 min
May 27 2020, 7:10 PM
alessandro committed R865:48bd06bb8cca: Add missing room avatars model (authored by alessandro).
Add missing room avatars model
May 27 2020, 9:38 AM

May 24 2020

alessandro committed R865:e89a1ec25296: Refactor message delegate layouts into {normal,system}x{compact,fullHeight} (authored by alessandro).
Refactor message delegate layouts into {normal,system}x{compact,fullHeight}
May 24 2020, 10:29 AM
alessandro committed R865:5fedefb1b5aa: Add join call button to system message delegate (authored by alessandro).
Add join call button to system message delegate
May 24 2020, 10:29 AM
alessandro committed R865:876804710df0: Factor out day separator from chat message delegate (authored by alessandro).
Factor out day separator from chat message delegate
May 24 2020, 10:29 AM

May 20 2020

alessandro committed R865:18b34b79f219: Cache room avatars and adjust svg to make it compatible with QML (authored by alessandro).
Cache room avatars and adjust svg to make it compatible with QML
May 20 2020, 10:28 PM
alessandro committed R865:88d7f2c2be7d: Disable native text rendering on Windows (authored by alessandro).
Disable native text rendering on Windows
May 20 2020, 10:28 PM
alessandro committed R865:53f806d140cc: Code formatting (authored by alessandro).
Code formatting
May 20 2020, 10:28 PM

May 19 2020

alessandro committed R865:39ffe01b1a4d: Add Ruqola plain QML app (authored by alessandro).
Add Ruqola plain QML app
May 19 2020, 8:09 PM

May 12 2020

alessandro committed R865:c551b93d6aa7: Get server favicon and logo from server configuration message (authored by alessandro).
Get server favicon and logo from server configuration message
May 12 2020, 12:19 PM
alessandro closed D29670: Get server favicon and logo from server configuration message.
May 12 2020, 12:18 PM
alessandro updated the diff for D29670: Get server favicon and logo from server configuration message.

Address reviews

May 12 2020, 7:14 AM
alessandro added a comment to D29670: Get server favicon and logo from server configuration message.

Hi, I'm using this change on the QML client I'm working on (which I will eventually commit on another branch).
I'm committing (and planning to continue committing) to this branch for all changes that make sense for all clients, but will keep working on the QML client only for now.

May 12 2020, 6:12 AM
alessandro requested review of D29670: Get server favicon and logo from server configuration message.
May 12 2020, 5:35 AM

May 7 2020

alessandro committed R865:93475a66ffc7: Make loginImpl argument a const QJsonObject&, remove debug message (authored by alessandro).
Make loginImpl argument a const QJsonObject&, remove debug message
May 7 2020, 7:07 PM
alessandro closed D29515: Make loginImpl argument a const QJsonObject&, remove debug message.
May 7 2020, 7:07 PM
alessandro requested review of D29515: Make loginImpl argument a const QJsonObject&, remove debug message.
May 7 2020, 7:05 PM
alessandro committed R865:139397ebd9c8: Add generic class for handling methods and subscriptions for DDP APIand factor… (authored by alessandro).
Add generic class for handling methods and subscriptions for DDP APIand factor…
May 7 2020, 3:24 PM
alessandro closed D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
May 7 2020, 3:23 PM
alessandro updated the diff for D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
  • Fix const and code style
May 7 2020, 7:40 AM
alessandro updated the diff for D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
  • Fix const and code style
May 7 2020, 7:15 AM

May 3 2020

alessandro added a comment to D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..

The overall idea would be to move the whole communication to DDP (websocket) instead of using some REST API and some websocket API.
This way it wouldn't be necessary to poll for updates (as it's done with the REST API), since the websocket is two ways and the client can get push notifications.
Also the server is smart enough to keep track of what the client knows already, so there's no need to do things like asking for the full room list and filtering the ones the room model knows about already when joining a new room.
I don't know for sure how far back the DDP API goes, but once this implementation is done it should be good enough for most recent servers.

For sure not we will not switch back to all DDP as we switched from DDP to rest api as RC dev created it as it's faster.
We will continue to switch to RESTAPI not switching back to DDP :)

May 3 2020, 3:58 PM
alessandro updated the diff for D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
  • Add few more consts
May 3 2020, 3:50 PM
alessandro updated the diff for D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
  • Add few more consts
May 3 2020, 3:49 PM
alessandro updated the diff for D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
  • Code style fixes
May 3 2020, 12:56 PM
alessandro added a comment to D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..

Cleaner code, also it's easier to test interactions with the server if they are separated in logical blocks this way.
With this kind of granularity it should be easier to keep up with server updates and support older server versions too.
The overall idea would be to move the whole communication to DDP (websocket) instead of using some REST API and some websocket API.
This way it wouldn't be necessary to poll for updates (as it's done with the REST API), since the websocket is two ways and the client can get push notifications.
Also the server is smart enough to keep track of what the client knows already, so there's no need to do things like asking for the full room list and filtering the ones the room model knows about already when joining a new room.
I don't know for sure how far back the DDP API goes, but once this implementation is done it should be good enough for most recent servers.

May 3 2020, 12:49 PM
alessandro added reviewers for D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism.: mlaurent, dfaure, kfunk.
May 3 2020, 10:40 AM
alessandro requested review of D29382: Add generic class for handling methods and subscriptions for DDP APIand factor out authentication logic using this this mechanism..
May 3 2020, 10:39 AM

May 1 2020

alessandro committed R865:d31ae8ea3c8d: Add user ID of other user for direct channel rooms (authored by alessandro).
Add user ID of other user for direct channel rooms
May 1 2020, 11:10 AM
alessandro closed D29283: Add user ID of other user for direct channel rooms.
May 1 2020, 11:08 AM
alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.
  • Minor fixes: add missing newlines at end of files
May 1 2020, 9:14 AM
alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.
  • Fix merge conflicts
May 1 2020, 9:11 AM

Apr 30 2020

alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.
  • Fix more tests
Apr 30 2020, 8:10 PM
alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.
  • Fix Room::serialize, operator<<(QDebug, Room), Room::isEqual, Room::fromJson
Apr 30 2020, 3:10 PM
alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.
  • Fix Room::serialize, operator<<(QDebug, Room), Room::isEqual
Apr 30 2020, 1:27 PM
alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.
  • Forward directChannelUserId to RoomWrapper and test
  • Fix autotest helper on Windows
  • Update roomtest to test Room::directChannelUserId
Apr 30 2020, 9:26 AM

Apr 29 2020

alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.

Commit message update (again)

Apr 29 2020, 6:59 PM
alessandro updated the diff for D29283: Add user ID of other user for direct channel rooms.

Commit message update

Apr 29 2020, 6:58 PM
alessandro requested review of D29283: Add user ID of other user for direct channel rooms.
Apr 29 2020, 5:25 PM

Feb 10 2020

alessandro updated the diff for D27248: Change message background on mouse hover.

Rebased

Feb 10 2020, 8:07 PM
alessandro added a comment to D27248: Change message background on mouse hover.

@kfunk the way it is now we need both colors to be set, and they should be always consistent. It was a bit worse before in this sense, now we only have some left and right margin on each message that could be moved inside the specialized delegates. Until that's not done we need both colors to be set though.

Feb 10 2020, 6:10 PM
alessandro requested review of D27300: Add missing ifdefs.
Feb 10 2020, 5:58 PM
alessandro requested review of D27298: Fix Windows build.
Feb 10 2020, 5:57 PM

Feb 8 2020

alessandro requested review of D27256: Remove extra vertical space from FancyMessageDelegate, message items include their own margins now.
Feb 8 2020, 5:38 PM
alessandro updated the diff for D27254: Adjust message layout.
  • Add layout alignment for JitsiVideoMessage
Feb 8 2020, 5:35 PM
alessandro requested review of D27254: Adjust message layout.
Feb 8 2020, 5:09 PM
alessandro requested review of D27253: Remove Layout/anchor properties from AvatarImage definition and use as needed on instances instead.
Feb 8 2020, 5:05 PM
alessandro requested review of D27249: Make reaction popup transparent when necessary instead of hiding it so the layout doesn't change when it's shown.
Feb 8 2020, 1:39 PM
alessandro requested review of D27248: Change message background on mouse hover.
Feb 8 2020, 1:30 PM
alessandro abandoned D27229: Update message items.

Couldn't remove the commit through arc, created a new patch with the QML changes only https://phabricator.kde.org/D27244

Feb 8 2020, 1:11 PM
alessandro added reviewers for D27244: Make MessageBase an Item instead of a ColumnLayout: kfunk, mlaurent, nicolasfella, dfaure.
Feb 8 2020, 1:08 PM
alessandro updated the diff for D27244: Make MessageBase an Item instead of a ColumnLayout.
Feb 8 2020, 1:06 PM
alessandro requested review of D27244: Make MessageBase an Item instead of a ColumnLayout.
Feb 8 2020, 12:51 PM
alessandro added reviewers for D27229: Update message items: kfunk, nicolasfella, mlaurent, dfaure.
Feb 8 2020, 12:18 PM
alessandro retitled D27229: Update message items from Add missing include to Update message items.
Feb 8 2020, 12:18 PM
alessandro updated the diff for D27229: Update message items.
  • Make MessageBase an Item instead of a ColumnLayout
  • Make MessageBase mouse aware
  • Show reaction button only when hovering on a message
Feb 8 2020, 12:14 PM

Feb 7 2020

alessandro requested review of D27229: Update message items.
Feb 7 2020, 11:09 PM

Jan 30 2020

alessandro requested review of D27043: Fix compilation on Windows.
Jan 30 2020, 5:35 PM
alessandro requested review of D27042: Fix avatar cache storage.
Jan 30 2020, 5:29 PM