Commit Graph

176 Commits

Author SHA1 Message Date
Chris Hennes
7bf7c45706 Addon Manager: Support setting min Python version 2022-09-22 20:45:39 -05:00
Chris Hennes
abd601a147 Addon Manager: Show package dependencies 2022-09-21 14:44:35 -05:00
Chris Hennes
0d8b4df3ef Addon Manager: Migrate to managed pref page class 2022-09-20 15:59:17 -05:00
Chris Hennes
b3dd3b6d00 Addon Manager: Refactor Licenses and People tables 2022-09-09 13:00:11 -05:00
Chris Hennes
5087b6ca5c Addon Manager: Implement content addition dialogs 2022-09-09 13:00:10 -05:00
Chris Hennes
2524e8081a Addon Manager: Sketch out basics of Developer Mode 2022-09-09 13:00:10 -05:00
Chris Hennes
9fe70c9211 Addon Manager: Fix bug in updater 2022-08-25 15:57:11 -05:00
Chris Hennes
eb54af4429 Addon Manager: Fix bug in dependency resolver 2022-08-24 12:24:38 -05:00
Chris Hennes
2286635e49 Addon Manager: Refactoring and pylint cleanup 2022-08-21 14:32:15 -05:00
Chris Hennes
2e51954b2b Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
Chris Hennes
66f452c01b Addon Manager: fix thread termination bug 2022-07-31 13:02:14 -05:00
Chris Hennes
fac9cb1e68 Addon Manager; Silence some pylint errors 2022-07-27 12:04:38 -05:00
Chris Hennes
514118192a Addon Manager: Cleanup 2022-07-27 10:49:00 -05:00
Chris Hennes
044b7ed744 Addon Manager: Add dialog to manage Python deps 2022-07-27 09:59:25 -05:00
Uwe
98e96b3f5f [AddonMgr] [skip CI] fix typo
- spot by the spellchecker CI
2022-07-01 03:10:47 +02:00
Chris Hennes
897a0f0ad9 Addon Manager: Fix bug in macro git repo 2022-06-09 19:50:05 -05:00
Chris Hennes
79ac3eeb4d Addon Manager: Additional diagnostics for Macro updates 2022-06-06 11:46:56 -05:00
Chris Hennes
8158a4de5f Addon Manager: Expose pref page name to translate 2022-05-31 15:33:53 -05:00
Chris Hennes
2399bb2475 Addon Manager: Build in error-checking in developer mode 2022-05-30 20:06:20 -05:00
Chris Hennes
63ceb8d9f5 Addon Manager: Fetch allowed py packages from Github repo 2022-04-26 00:23:50 -05:00
Chris Hennes
aa1523dcd6 Addon Manager: Black reformat 2022-04-06 14:30:22 -05:00
Chris Hennes
13f5b876a5 Addon Manager: Allow overriding install with missing deps 2022-04-06 14:28:34 -05:00
Chris Hennes
56795c5083 Addon Manager: Move optional dep check logic 2022-04-01 17:20:20 -05:00
Chris Hennes
24b59171b5 Addon Manager: Optional packages also obey allowlist 2022-04-01 11:50:00 -05:00
Chris Hennes
24ac3c46ed Addon Manager: Support setting selection externally 2022-03-24 19:12:15 -05:00
Chris Hennes
b011661100 Addon Manager: Fix bug in dep res dialog 2022-03-24 15:05:34 -05:00
Chris Hennes
b31f7ae165 Addon Manager: Correct error message 2022-03-21 09:24:51 -05:00
Chris Hennes
e9810dfcac Addon Manager: Fix Window on top of everything 2022-03-14 19:35:11 -05:00
Chris Hennes
ee60046a65 Addon Manager: Correct parent of modal dialogs 2022-03-13 22:30:14 -05:00
Chris Hennes
e7d50f0b13 Addon Manager: Fix window focus issues 2022-03-11 20:07:20 -06:00
Chris Hennes
c1d86b2f0b Addon Manager: Refactor to improve testability 2022-03-09 23:14:59 -06:00
Chris Hennes
936a1f01d4 Addon Manager: Improve dependency handling 2022-03-08 19:15:01 -06:00
Chris Hennes
a0c5b6b812 Addon Manager: Fix number of updates available 2022-03-05 10:55:25 -06:00
Chris Hennes
47a6f444bc Addon Manager: Add unit tests for Addon class 2022-03-05 10:17:50 -06:00
Chris Hennes
b5a99d0d39 Addon Manager: Force update check after recache 2022-02-28 14:22:21 -06:00
Chris Hennes
17aed10f6f Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Chris Hennes
2b637a36f7 Addon Manager: Auto-create toolbar button
When installing a macro, prompt user to install a toolbar button
automatically. Fills in the details of the button using the macro's
metadata, including an icon if the __icon__ metadata variable points to
a file.

Also:
* Support XPM data for macro icon
* Support online icons
* Fix bug in macro uninstall
* Cleaned up macro code
2022-02-26 21:06:37 -06:00
Chris Hennes
e0c45fe763 Addon Manager: Remove restart need for pref packs
The actual need to restart was removed by aaf4fad0c, this commit
updates the Addon Manager user interface to stop telling the user
they need to restart. Now restarting is only required for addons
that contain workbenches. Macros and pref packs to not need a
restart.
2022-02-24 09:49:15 -06:00
Chris Hennes
6396c33959 Addon Manager: Black reformat 2022-02-18 08:38:57 -06:00
Chris Hennes
d1edc70001 Addon Manager: Add error checking for proxy setup
Also make a minor tweak to the enabled status of the check all for updates button.
2022-02-18 08:37:20 -06:00
Chris Hennes
ad3449e81b Addon Manager: Force recache on custom repo change 2022-02-17 19:17:09 -06:00
Chris Hennes
e000430696 Addon Manager: Improve manual update display 2022-02-17 19:00:57 -06:00
Chris Hennes
212e19eaad Addon Manager: Fix missing update button connection 2022-02-17 18:26:24 -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
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
e702d0aef2 Addon Manager: Run uninstall.py when uninstalling AddOn 2022-01-27 23:34:18 -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
77be240b68 Addon Manager: Eliminate use of QDeadlineTimer
This class is apparently missing in some installs of Qt 5.11.3, so
remove the use of it.
2022-01-26 23:14:00 -06:00
Chris Hennes
8809ed4253 Addon Manager: Improve startup speed 2022-01-26 18:41:14 -06:00
Chris Hennes
f9d69a1464 Addon Manager: Confirm delete 2022-01-25 13:32:02 -06:00