Commit Graph

60 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
17e17cccb5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 22:51:14 +00:00
Chris Hennes
30177e2cf2 Addon Manager: Refactor progress reporting 2024-12-09 18:11:59 +01:00
luzpaz
a633be7342 Fix various typos
Found via codespell.
2024-11-15 20:18:46 +01:00
Frank Martinez
6c66acacf9 [AddonManager] Set default filter to ANY package type 2024-10-03 09:55:04 -05:00
Pieter Hijma
bed8b23e7f AddonManager: Support selecting addon on start 2024-05-27 10:47:52 -05:00
Chris Hennes
4067cdb672 Addon Manager: Refactor primary view and enable composite (#12693)
* Addon Manager: Refactor primary view and enable composite

This brings back something akin to the original Addon Manager display, with the side-by-side display of the list and details views.
2024-03-04 08:56:55 -06:00
Chris Hennes
972b7f1e61 Addon Manager: Fix scroll distance on scrollbar click 2024-02-27 22:36:16 -06:00
Chris Hennes
e2a1c6e2cb Addon Manager: Add UI for setting Score source 2024-02-26 21:43:21 -06:00
Chris Hennes
bd32b1f286 Addon Manager: Add fetching of 'score' database 2024-02-26 21:43:21 -06:00
Chris Hennes
7d824fc774 Addon Manager: Add sorting (#12561) 2024-02-23 22:33:20 -06:00
Chris Hennes
3f81ead31b Addon Manager: Fix metadata license fetch and display 2024-02-22 11:22:51 -06:00
Chris Hennes
d846b1ab9b Addon Manager: Preference to hide unlicensed 2024-02-11 17:19:23 -06:00
Chris Hennes
43cb58f79e Addon Manager: Fixes for license handling 2024-02-11 17:19:23 -06:00
Chris Hennes
2db2fa1ac6 Addon Manager: Fix filter display 2024-02-11 17:19:22 -06:00
Chris Hennes
34850ef8e1 Addon Manager: Refactor progress bar 2024-02-11 17:19:22 -06:00
Chris Hennes
9e535d21a2 Addon Manager: Add support for license exclusion 2024-02-11 17:19:22 -06:00
Chris Hennes
5f2df54811 Addon Manager: Refactor overall top bar 2024-02-11 17:19:22 -06:00
Chris Hennes
7b751ebb37 Addon Manager: Refactor main GUI area 2024-02-11 17:19:22 -06:00
Chris Hennes
39043cf176 Addon Manager: Allow primary branch name change 2024-01-30 16:52:16 +01:00
Ladislav Michl
1b3781c2fb Addon Manager: Qt6 fixes 2024-01-24 11:24:07 -06:00
Chris Hennes
3906828d44 Addon Manager: Reformat with new Black line length 2023-09-02 13:38:08 -05:00
Chris Hennes
ca5d7a7eae Addon Manager: Handle icons with query strings 2023-03-10 17:30:51 -06:00
Chris Hennes
0b241f78f4 Addon Manager: Refactor Metadata
Create a Python-native metadata class. Includes unit tests, and some PyLint cleanup.
2023-03-10 14:25:50 -06:00
mosfet80
206931ccc1 Revert addonManager 2023-03-04 17:51:43 -06:00
mosfet80
bed7b76524 remove Python2 code 2023-03-04 17:51:43 -06:00
Chris Hennes
2e0ca022b5 Addon Manager: pylint cleanup of package_list.py 2023-02-20 21:09:51 -06:00
Chris Hennes
4106ba71c4 Addon Manager: Add SPDX license ID to all files 2023-02-20 15:39:47 -06:00
Chris Hennes
d8df5e03e0 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
Chris Hennes
611e13305b Addon Manager: Refactor installation code
Improve testability of installation code by refactoring it to completely
separate the GUI and non-GUI code, and to provide more robust support
for non-GUI access to some type of Addon Manager activity.
2022-12-17 17:49:13 -06:00
Chris Hennes
c28da00c15 Addon Manager: Qt6 migration part 1, use PySide
Migrate all uses of "import PySide 2" to use "import PySide" so that the
FreeCAD-provided wrappers can switch between Qt versions.
2022-11-06 13:19:36 +01:00
Chris Hennes
2e51954b2b Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
Chris Hennes
c9ad07a47e Addon Manager: pylint cleanup of list diplay 2022-07-31 15:38:42 -05:00
Chris Hennes
17aed10f6f Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Chris Hennes
1d13bf8b44 Addon Manager: Fix compact view tag label 2022-02-24 09:16:07 -06:00
Chris Hennes
e7ca40623c Addon Manager: Minor fixes and error tweaks
* Correct display of tags in list view
* Add error checking for branch name and url match
* Convert some messages to logs
2022-02-23 18:32:05 -06:00
Chris Hennes
ff67ebce8a Addon Manager: Add GUI for enabling/disabling addons 2022-02-20 22:09:57 -06:00
Chris Hennes
964ff6428b Addon Manager: Improve macro metadata extraction 2022-02-18 17:10:52 -06:00
Chris Hennes
6396c33959 Addon Manager: Black reformat 2022-02-18 08:38:57 -06:00
Chris Hennes
f19f4e65b2 Addon Manager: Add branch switching GUI
For users with git and GitPython installed, a new button is added to the
details view allowing them to change the branch they are on. Some other
minor UI changes are made to accomodate this new behavior.
2022-02-13 20:19:32 -06:00
Chris Hennes
ec91c97739 Addon Manager: Check for requires newer FreeCAD 2022-02-10 15:25:40 -06:00
Chris Hennes
994071c43b Addon Manager: Switch to QWebEngineView for README
Rather than manually parsing the output from the repo's host, the Addon Manager
now uses an embedded QWebEngineView to display the README data. This makes the
display more repo-location agnostic (rather than trying to parse the specific
code from GitHub, Gitlab, etc.). Special handling of known hosts is still
provided to improve the display of the page, but it is not required. Clicking a
link on the page still loads in a new system browser window, with the exception
of links to the FreeCAD wiki, which are loaded in the same browser. This is
expected to be used primarily to access traslated pages for Macros, so no
advanced web-browsing features are displayed (e.g. back buttons, history
access, etc.).
2022-02-02 23:42:29 -06:00
Chris Hennes
e6126eb2dc Addon Manager: Fix tags on compact view 2022-02-02 13:49:41 -06:00
Chris Hennes
7959ebced5 Addon Manager: Correct display of Maintainers 2022-01-31 19:28:06 -06:00
Chris Hennes
2ac7052236 Addon Manager: Add search and display of tags 2022-01-31 15:24:40 -06:00
Chris Hennes
c62dc32739 Addon Manager: Translation cleanup
pylupdate does not extract translations when f-strings are used for the
translated text, so all f-strings are migrated to calls to format().
Several other minor translation issues are also addressed.

NOTE: This code has been run through the Black reformatter, which adds
trailing commas in many places that the stock Qt 5.x pylupdate does not
recognize. This code must be processed with the corrected pylupdate to
generate the correct translations.
2022-01-27 23:11:31 -06:00
Chris Hennes
ad2169e5ae Addon manager dependency resolver (#5339)
Squashed:
* Addon Manager: Refactor metadata.txt download
* Addon Manager: Basic dependency walker
* Addon Manager: Add basic support for dependencies
* Addon Manager: Improve network detection messaging
* Addon Manager: Black reformat
* Addon Manager: Display dependency info in dialog
* Addon Manager: Dependency dialog added
* Addon Manager: Improve display of update all results
* Addon Manager: Improve display of package list
* Addon Manager: Fix codespell
* Addon Manager: Clean up unused signal
2022-01-07 10:16:44 -06:00
Chris Hennes
382eabbb62 Addon Manager: Improve wiki page data extraction 2022-01-01 09:16:32 -06:00
Chris Hennes
d20c24f618 Addon Manager: Fix macro cache loading 2022-01-01 09:16:32 -06:00
Chris Hennes
7d3c6b0cce Addon Manager: Improve macro scanning performance 2022-01-01 09:16:32 -06:00
Chris Hennes
e450e50bb2 Addon Manager: Implement simple macro metadata cache 2022-01-01 09:16:32 -06:00