Commit Graph

32 Commits

Author SHA1 Message Date
Jarek Kobus
41de43fa0a Axivion: Use task tree for fetching opened doc issues
Change-Id: I34a694a25cebc312b5ce32eccfa1b5ad04680b01
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-31 07:42:13 +00:00
Jarek Kobus
4cc80b6cd0 Axivion: Use Core namespace in axivionplugin.cpp
Change-Id: I4f4fb678f03b486aa2c3d50c42625510e3a8c783
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-30 13:48:04 +00:00
Christian Stenger
7e8aac5f3c Axivion: Take versions into account
Change-Id: I7011549f8ce7d0017f156529792e91292183560f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-30 07:03:18 +00:00
Jarek Kobus
1ad61f8da3 Axivion: Extract fetching table into the reusable recipe
Get rid of public fetchIssueTableLayout() method.
Introduce tableInfoRecipe() which takes a handler as an arg.
This decouples the plugin from AxivionOutputPane's API.

Change-Id: Iae3ce83e132e0769b45ed3db911bd1046cc7bcb8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-29 07:35:09 +00:00
Jarek Kobus
5c1ee4021a Axivion: Extract fetching issues into the reusable recipe
Get rid of public fetchIssues() method.
Introduce issueTableRecipe() which takes a handler as an arg.
This decouples the plugin from AxivionOutputPane's API.

Change-Id: I4a4e2fd14dfd4eed2d28648a227a1ed3a5fe90f3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-29 07:35:02 +00:00
Christian Stenger
7c246f025c Axivion: Start handling total row counts
Include them only for the first fetch of an issue kind to
avoid costly additional access.

Change-Id: Icebbea5635b1f1d266238f99c43426dc22fb19b9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-26 07:48:56 +00:00
Jarek Kobus
a525949a2c Axivion: Simplify onDone handler
The fix went with 6116605c4c.

Change-Id: I0e9cfe6ee3d55517af71379474a66b8106ca0cb3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-25 08:58:53 +00:00
Jarek Kobus
428898e6ba Axivion: Load projectInfo with taken from DashboardInfo
Task tree variant.

Change-Id: Ie42573f78caa180ad9669e63bab8a6b920515927
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 13:41:42 +00:00
Jarek Kobus
2d9f8805dc Axivion: Fetch the DashboardData via task tree
Enrich the DashboardInfo structure.
Use dashboardInfoRecipe() for fetching the project list.

Change-Id: Ibbc14d0fae31a8930cec6051e412af15bec71fea
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 11:43:05 +00:00
Christian Stenger
3df75b6740 Axivion: Fetch issues
Change-Id: Ib33c507c8036fe84291ac3ff3fb08eed46afb07c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-24 09:22:29 +00:00
Christian Stenger
0ba1e17797 Axivion: Prepare ui for displaying issues
UI preparation which may change when adding the functionality
of retrieving respective information from the dashboard.

Change-Id: I9ec8069d780f925b00ba63982af6b410ddec9a5a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-24 09:20:52 +00:00
Jarek Kobus
0a7dc1ac1e Axivion: Refactor fetching serializable data
Change-Id: I5a5c07238abf7440c4f8686a1a06b96da6125ef8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 09:09:52 +00:00
Jarek Kobus
948352d937 Axivion: Extract getting credential into a separate task
Change-Id: Iab7fe76fc11a2a3407c8111d2ea6a0cd22a1c194
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 09:09:36 +00:00
Jarek Kobus
40a0d1db88 Axivion: Employ TaskTree
Change-Id: I55678f67d990c569073571055dbfe820b2fd324e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 09:08:59 +00:00
hjk
cd2068e967 Axivion: Hide plugin class definition in .cpp
This is not meant to be accessed from the outside.

Change-Id: Ieae4d1ef760e1c6829ea8a1c2ae7945198198634
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-12 10:13:04 +00:00
hjk
86aa945bd6 Axivion: Use new construction pattern for project panel factory
Change-Id: I49b71d1fec4c174446f758b4b44b374a979f4300
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-16 09:49:38 +00:00
Eike Ziller
cb14613c73 Merge remote-tracking branch 'origin/12.0'
Change-Id: I6309a8ffb18e40a581301bd275390395e250543c
2023-10-26 14:28:02 +02:00
Alessandro Portale
3d95bafdbb Axivion: Support building without ssl
Change-Id: I027317410321725e8e295d236243e50e1ea6019d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-25 07:31:09 +00:00
Andreas Loth
1f96b1b7ed Axivion: Analyze Dashboard server response for errors
Change-Id: Id66c3ad5d8a6c7d73e7ad781893c936b0829cfbf
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-10-18 08:37:03 +00:00
Christian Stenger
d87e6db168 Axivion: Handle some SSL related issues
...when using QNetworkAccessManager.

Change-Id: I2b1a6173052ce76e7aeed0897f3d6389ace36206
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-09-22 10:35:22 +00:00
Andreas Loth
fc9059d180 Axivion: Store origin URL besides payload gotten from Dashboard
This prepares using (relative) URLs gotten from Dashboard instead of using
hard-coded ones.

Change-Id: Iea19c4010eac1e3f30a33d495a738d37738dc083
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-09-21 13:39:16 +00:00
Andreas Loth
5f02cadeab Axivion: Begin to use QNetworkAccessManager instead of curl for HTTP
Change-Id: I2fd7ba2a72e749bdc5407d222057cb66ff341b04
Reviewed-by: hjk <hjk@qt.io>
2023-09-01 11:07:39 +00:00
Andreas Loth
8f9e75a3b8 Axivion: Use DTO for ProjectInfo deserialization
This is a proof of concept that the DTOs can be used to deserialize and
access the data the Axivion Dashboard returns. In future, this is going
to replace all manual deserialization and manually written Dashboard
interface classes.

Change-Id: Ic3c997f6aca7fcb179cd19fa9b5107fe7d4dec03
Reviewed-by: hjk <hjk@qt.io>
2023-08-22 08:38:18 +00:00
hjk
7b0a3e7e28 Axivion: Hide ProjectSettingsWidget
Change-Id: Iaf5b0645953f31744fbf29995771d3e9d994c29b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-18 08:00:36 +00:00
hjk
c96867655a Axivion: Move project settings storage closer to project settings
Change-Id: I52122147f8d5ca24dd73db1408b60f8199878bdd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-18 07:32:16 +00:00
hjk
8fcd519d90 Axivion: Use simpler IPlugin::initialize() overload
Change-Id: Ifd764b965b84dacec7a9f790d494852d0cafc946
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-17 13:28:11 +00:00
hjk
430c8faa17 Axivion: Move a bit closer towards latest settings setup pattern
Change-Id: I5b99d53790818d353730d3af4409f95e5616ff00
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-17 13:27:58 +00:00
hjk
aa093c1e91 Axivion: Move query error handling closer to query code
Change-Id: I6c57c0578b284f20e23312bf748c5efbe0ac3c3e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-08-16 13:26:55 +00:00
Jarek Kobus
aa016cc5a7 Various Plugins: Add context object into connections
Change-Id: I360677bebfef16a3233b3b8177cff6da57ec7c31
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-08-02 08:55:37 +00:00
hjk
91513a53dd Utils: Make aspect settings access implicit
Generally, aspects should use fromMap/toMap, but some older pages
use {from,to}Settings with always the same ICore::settings().

To make that less intrusive on the user code side, make that globally
implicit.

Task-number: QTCREATORBUG-29167
Change-Id: I29a8e23a31eb8061bb143e93931a07c6741eb7f9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-07 09:02:29 +00:00
Eike Ziller
f7d46f48f8 Build axivion support plugin
Adapts the CMake files, fixes license.

Change-Id: I6bdce2547d187bcabcc864026e36a1c924015c2a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-05-24 10:45:32 +00:00
Eike Ziller
af5bb5e599 Adapt for easier merge into main repository
Remove conflicting files and already move to the right place

Change-Id: I2b20f4aa85e61ff121acb68aaab5d5e1fdd87956
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-05-24 05:54:56 +00:00