Commit Graph

56 Commits

Author SHA1 Message Date
Pieter Hijma
0229715002 AddonManager: Support selecting addon on start 2024-05-27 10:47:52 -05:00
Chris Hennes
cf88b0e5f6 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
8e15f24a22 Addon Manager: Fix scroll distance on scrollbar click 2024-02-27 22:36:16 -06:00
Chris Hennes
f554750f8e Addon Manager: Add UI for setting Score source 2024-02-26 21:43:21 -06:00
Chris Hennes
7d882ca37f Addon Manager: Add fetching of 'score' database 2024-02-26 21:43:21 -06:00
Chris Hennes
628bad452a Addon Manager: Add sorting (#12561) 2024-02-23 22:33:20 -06:00
Chris Hennes
3d66f6b1e5 Addon Manager: Fix metadata license fetch and display 2024-02-22 11:22:51 -06:00
Chris Hennes
a373b73748 Addon Manager: Preference to hide unlicensed 2024-02-11 17:19:23 -06:00
Chris Hennes
b446f2012d Addon Manager: Fixes for license handling 2024-02-11 17:19:23 -06:00
Chris Hennes
b6ab0f0303 Addon Manager: Fix filter display 2024-02-11 17:19:22 -06:00
Chris Hennes
7dac836110 Addon Manager: Refactor progress bar 2024-02-11 17:19:22 -06:00
Chris Hennes
fa4bea510d Addon Manager: Add support for license exclusion 2024-02-11 17:19:22 -06:00
Chris Hennes
a79abfb576 Addon Manager: Refactor overall top bar 2024-02-11 17:19:22 -06:00
Chris Hennes
d89c05efda Addon Manager: Refactor main GUI area 2024-02-11 17:19:22 -06:00
Chris Hennes
002f246989 Addon Manager: Allow primary branch name change 2024-01-30 16:52:16 +01:00
Ladislav Michl
62c3836c97 Addon Manager: Qt6 fixes 2024-01-24 11:24:07 -06:00
Chris Hennes
89579cff6e Addon Manager: Reformat with new Black line length 2023-09-02 13:38:08 -05:00
Chris Hennes
f1ffaf3ba9 Addon Manager: Handle icons with query strings 2023-03-10 17:30:51 -06:00
Chris Hennes
1f6c364fa6 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
b0831f994d Revert addonManager 2023-03-04 17:51:43 -06:00
mosfet80
3137dea940 remove Python2 code 2023-03-04 17:51:43 -06:00
Chris Hennes
4d6e7cd3a4 Addon Manager: pylint cleanup of package_list.py 2023-02-20 21:09:51 -06:00
Chris Hennes
9c6164bc07 Addon Manager: Add SPDX license ID to all files 2023-02-20 15:39:47 -06:00
Chris Hennes
e188802ca6 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
Chris Hennes
89c191e160 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
b407332475 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
4c63094331 Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
Chris Hennes
19f07586c9 Addon Manager: pylint cleanup of list diplay 2022-07-31 15:38:42 -05:00
Chris Hennes
0d6a506447 Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Chris Hennes
b5c72365a8 Addon Manager: Fix compact view tag label 2022-02-24 09:16:07 -06:00
Chris Hennes
85390bfb6d 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
a21b99fed2 Addon Manager: Add GUI for enabling/disabling addons 2022-02-20 22:09:57 -06:00
Chris Hennes
781f0bd626 Addon Manager: Improve macro metadata extraction 2022-02-18 17:10:52 -06:00
Chris Hennes
d357d59c02 Addon Manager: Black reformat 2022-02-18 08:38:57 -06:00
Chris Hennes
074c4b0a3b 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
ba42231b9c Addon Manager: Check for requires newer FreeCAD 2022-02-10 15:25:40 -06:00
Chris Hennes
e553a0e3ab 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
95744bab89 Addon Manager: Fix tags on compact view 2022-02-02 13:49:41 -06:00
Chris Hennes
efd0f6f8a2 Addon Manager: Correct display of Maintainers 2022-01-31 19:28:06 -06:00
Chris Hennes
a0e4bb37d0 Addon Manager: Add search and display of tags 2022-01-31 15:24:40 -06:00
Chris Hennes
88f6b2f432 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
4c9191d489 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
b370d3dae4 Addon Manager: Improve wiki page data extraction 2022-01-01 09:16:32 -06:00
Chris Hennes
81c1187f58 Addon Manager: Fix macro cache loading 2022-01-01 09:16:32 -06:00
Chris Hennes
c746be388f Addon Manager: Improve macro scanning performance 2022-01-01 09:16:32 -06:00
Chris Hennes
4c5b8f368c Addon Manager: Implement simple macro metadata cache 2022-01-01 09:16:32 -06:00
Chris Hennes
06774459ba Addon Manager: Add option to hide obsolete and py2 addons 2021-12-30 21:36:32 -06:00
Chris Hennes
ae5391eaf9 Addon Manager: Clean up report window output 2021-12-30 20:06:22 -06:00
Chris Hennes
dc1c227ad4 Addon Manager: Add filter on installation status 2021-12-29 23:32:20 -06:00
Chris Hennes
8bf59d77f4 Addon Manager: Correct wording 2021-12-27 19:54:52 -06:00