Ruqola merge requestshttps://invent.kde.org/network/ruqola/-/merge_requests2021-08-02T04:45:09Zhttps://invent.kde.org/network/ruqola/-/merge_requests/39RoomModel::order() : fix conflict between favorite+mainTeam and unread2021-08-02T04:45:09ZDavid FaureRoomModel::order() : fix conflict between favorite+mainTeam and unread10+20=30 so the same numbers were used for both, leading to undefined
ordering.
Detected by a new unittest for order().10+20=30 so the same numbers were used for both, leading to undefined
ordering.
Detected by a new unittest for order().Laurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/36Make RestApiAbstractJob even when tests are not being built2021-06-01T18:04:23ZShantanu TusharMake RestApiAbstractJob even when tests are not being builtOtherwise, build fails (if BUILD_TESTING=OFF) with:
directorywidget.cpp:204: undefined reference to `RocketChatRestApi::RestApiAbstractJob::setQueryParameters(RocketChatRestApi::QueryParameters const&)'Otherwise, build fails (if BUILD_TESTING=OFF) with:
directorywidget.cpp:204: undefined reference to `RocketChatRestApi::RestApiAbstractJob::setQueryParameters(RocketChatRestApi::QueryParameters const&)'https://invent.kde.org/network/ruqola/-/merge_requests/35Trigger a re-connect of the websocket when attempting to manually login.2021-04-30T04:59:53ZTill AdamTrigger a re-connect of the websocket when attempting to manually login.Trigger a re-connect of the websocket when attempting to manually login.Trigger a re-connect of the websocket when attempting to manually login.https://invent.kde.org/network/ruqola/-/merge_requests/33Image Viewer improvements2021-04-12T11:55:41ZKevin FunkImage Viewer improvements showimagewidget: Use a QGraphicsView
Several advantages:
- Scaling can be handled by QGV itself
- We can scroll the image by mouse cursor
- Scaling is now done based on where the cursor is
testshowimage_gui:... showimagewidget: Use a QGraphicsView
Several advantages:
- Scaling can be handled by QGV itself
- We can scroll the image by mouse cursor
- Scaling is now done based on where the cursor is
testshowimage_gui: Allow to pass file name
... and whether the image is animated or not
showimagewidget: Add "Fit to View" button
Also reuse some more code where possibleLaurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/30Fix "Go to message" from search results.2021-04-04T07:18:02ZDavid FaureFix "Go to message" from search results.We load history all the way back to that exact message, so
scrollTo() goes to y=0, which used to trigger loadHistoryRequested()
as if the user had scrolled up there manually.
=> temporarily disconnect from the signal when the scrolling u...We load history all the way back to that exact message, so
scrollTo() goes to y=0, which used to trigger loadHistoryRequested()
as if the user had scrolled up there manually.
=> temporarily disconnect from the signal when the scrolling up
is due to scrollTo().Laurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/29Simplify LoadRecentHistoryManager::generateNewStartTimeStamp2021-04-04T07:13:15ZDavid FaureSimplify LoadRecentHistoryManager::generateNewStartTimeStampLaurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/28Provide an action to select the next unread channel.2021-03-29T20:02:44ZTill AdamProvide an action to select the next unread channel.The action on the mainwindow delegates to the mainwidget via the
centralwidget, which ends up calling the method on the channelview.The action on the mainwindow delegates to the mainwidget via the
centralwidget, which ends up calling the method on the channelview.https://invent.kde.org/network/ruqola/-/merge_requests/26Automatically reconnect to the server after resume or network configuration c...2021-03-06T19:35:39ZAndras MantiaAutomatically reconnect to the server after resume or network configuration changeUse Solid and NetworkManagerQt only if they are available.Use Solid and NetworkManagerQt only if they are available.https://invent.kde.org/network/ruqola/-/merge_requests/27Fit image into the dialog if it is too big2021-03-03T10:54:36ZAndras MantiaFit image into the dialog if it is too bigAlso enable zoom for the animated images and add a reset to 100% button
@mlaurent @dfaure @mwolffAlso enable zoom for the animated images and add a reset to 100% button
@mlaurent @dfaure @mwolffhttps://invent.kde.org/network/ruqola/-/merge_requests/25Work/mark threads as read2021-03-03T10:51:46ZMilian WolffWork/mark threads as readTwo little cleanup patches and one somewhat ugly but working approach to mark a room as read including all unread threads:
We request all unread threads first via GET and then request the messages for each unread thread via the DDP clie...Two little cleanup patches and one somewhat ugly but working approach to mark a room as read including all unread threads:
We request all unread threads first via GET and then request the messages for each unread thread via the DDP client. this successfully marks a room as read - finally!
@dfaure @mlaurent @amantiaLaurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/22Sync layout spacing with splitter handle width in main widget2021-02-27T14:55:53ZMilian WolffSync layout spacing with splitter handle width in main widgetI.e. set the spacing for the roomwidgetbase and channellistwidget
layouts, such that the horizontal spacing between the channe list
and its search line edit, as well as the message list and the message
text edit, match the vertical line ...I.e. set the spacing for the roomwidgetbase and channellistwidget
layouts, such that the horizontal spacing between the channe list
and its search line edit, as well as the message list and the message
text edit, match the vertical line between the channel list and
message list widgets.
Note that in recent versions of Breeze, the search line edit is
misaligned, but that's tracked in https://bugs.kde.org/433421.Laurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/23Work/normalized emoji reactions2021-02-27T08:34:32ZMilian WolffWork/normalized emoji reactionsfix the textconverter test and then fix emoji reactions with `:)` or similar by normalizing before sending to the serverfix the textconverter test and then fix emoji reactions with `:)` or similar by normalizing before sending to the serverLaurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/21ui tweaks2021-02-16T20:31:18ZMilian Wolffui tweaksfurther beautify the ruqola main window dialog
- move the status indicator to the toolbar
- move the 'attach file' button to the right of the message text edit
- use a QTabBar for the AccountsOverviewWidget
![Screenshot_20210215_215447...further beautify the ruqola main window dialog
- move the status indicator to the toolbar
- move the 'attach file' button to the right of the message text edit
- use a QTabBar for the AccountsOverviewWidget
![Screenshot_20210215_215447](/uploads/4f8f458508e056aac4faca5aee8bb856/Screenshot_20210215_215447.png)Laurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/20improve layout clutter2021-02-11T19:17:43ZMilian Wolffimprove layout clutterreduce margins, remove button frames and vertically align a few elements to beautify the default view
before:
![Screenshot_20210209_112957](/uploads/1e0783375f6ceb8a5781379b0c0c2061/Screenshot_20210209_112957.png)
after:
![Screenshot_2...reduce margins, remove button frames and vertically align a few elements to beautify the default view
before:
![Screenshot_20210209_112957](/uploads/1e0783375f6ceb8a5781379b0c0c2061/Screenshot_20210209_112957.png)
after:
![Screenshot_20210209_112158](/uploads/daf7a0de79305d2a6dcd719eda98992e/Screenshot_20210209_112158.png)Laurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/19Fully qualify Q_PROPERTY types2021-02-09T11:09:21ZNicolas FellaFully qualify Q_PROPERTY typesForward-declaration is not enough in Qt6Forward-declaration is not enough in Qt6https://invent.kde.org/network/ruqola/-/merge_requests/16Add a login option to use LDAP2021-01-11T19:14:56ZShantanu TusharAdd a login option to use LDAPThis option is required to login to Rocket Chat servers where login is
only allowed via LDAP.This option is required to login to Rocket Chat servers where login is
only allowed via LDAP.https://invent.kde.org/network/ruqola/-/merge_requests/15textconverter fixes2020-11-27T12:03:01ZMilian Wolfftextconverter fixesunify the code and properly handle escape sequences in inline code blocks and also escape html inside inline code blocks
@dfaureunify the code and properly handle escape sequences in inline code blocks and also escape html inside inline code blocks
@dfaureLaurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/14inline code improvements2020-11-25T05:53:26ZMilian Wolffinline code improvements- don't richtext-format / smiley-replace within inline code
- use code background color for inline code
- don't break when no highlighting is available
- for non-inline code blocks, allow specifying the code language
@dfaure- don't richtext-format / smiley-replace within inline code
- use code background color for inline code
- don't break when no highlighting is available
- for non-inline code blocks, allow specifying the code language
@dfaureLaurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/13emoji alias completion2020-10-23T11:58:58ZMilian Wolffemoji alias completionalso show emoji aliases in code completion to give us the super important :facepalm: directly in code completion:
![Screenshot_20201023_104752](/uploads/14ac460ffc7f86f0f91c9bdc0b4c2960/Screenshot_20201023_104752.png)
previously, that ...also show emoji aliases in code completion to give us the super important :facepalm: directly in code completion:
![Screenshot_20201023_104752](/uploads/14ac460ffc7f86f0f91c9bdc0b4c2960/Screenshot_20201023_104752.png)
previously, that one was only accessible via `:person_facepalming:`Laurent MontelLaurent Montelhttps://invent.kde.org/network/ruqola/-/merge_requests/11replace KTextToHTML smileys with unicode smileys2020-10-23T05:11:47ZMilian Wolffreplace KTextToHTML smileys with unicode smileysbefore:
![smileys-before](/uploads/2cd9fab55ef5befbdf010d8c4f55a4b9/smileys-before.png)
after:
![smileys-after](/uploads/c61e999d54588e0b30e315c6925f989c/smileys-after.png)before:
![smileys-before](/uploads/2cd9fab55ef5befbdf010d8c4f55a4b9/smileys-before.png)
after:
![smileys-after](/uploads/c61e999d54588e0b30e315c6925f989c/smileys-after.png)Laurent MontelLaurent Montel