Commit Graph

109 Commits

Author SHA1 Message Date
Chris Hennes
a6e8e04d99 Addon Manager: Work around stylesheet problem in Qt 5.9 2021-12-31 11:00:02 -06:00
Chris Hennes
20a74ce423 Addon Manager: Clean up report window output 2021-12-30 20:06:22 -06:00
Chris Hennes
5bcf697008 Addon Manager: Add Check for updates button 2021-12-29 22:50:23 -06:00
Chris Hennes
0b0646dfe9 Addon Manager: Fix github macro update code 2021-12-21 17:23:02 -06:00
Chris Hennes
37e18c9a04 Addon Manager: Correct macro installation location 2021-12-21 14:48:35 -06:00
Chris Hennes
3d583ade33 Addon Manager: Add Qt.Tool window flag 2021-12-20 16:12:02 -06:00
Chris Hennes
eb4aacf2ff Addon Manager: Bug fixes for detailed display 2021-12-18 20:29:42 -06:00
Chris Hennes
3cc2d402cf Addon Manager: Black reformatting 2021-12-18 20:29:42 -06:00
Chris Hennes
14bcba5c55 Addon Manager: Improve display of install details
As suggested in the forums, this adds display of the installation date and
installed version to the expanded display and detail view.
2021-12-18 20:29:42 -06:00
Chris Hennes
f785436cff Addon Manager: Improve cache behavior
Also includes a number of bug fixes.
2021-12-18 20:29:42 -06:00
Chris Hennes
69a8174462 Addon Manager: Implement preferences in standard dialog 2021-12-18 20:29:42 -06:00
Chris Hennes
e42eec2558 Addon Manager: Begin UI redesign
Migrate to a UI that looks more like other software package managers, giving
more space to each addon by hiding the list when an addon is selected, and
providing a "back" button to get back.

Implements a two-style view option for the list of addons: expanded and
condensed, via a delegate that provides the drawing function for each row in
the table based on two different widget designs.
2021-12-18 20:29:42 -06:00
Chris Hennes
ba3d921f3f Addon Manager: Bugfixes and cleanup of refactor 2021-12-18 20:29:42 -06:00
Chris Hennes
a225695dd8 Addon Manager: Rework backend to use package.xml
This shifts to use the model-view-controller pattern for the list of addons,
and moves to using a full model class rather than an indexed array for the
data storage and management. This enables much more information to be stored
as part of the new AddonManagerRepo data type. It now wraps the Macro class
for macros, supports Preference Packs, and provides access to the Metadata
object.
2021-12-18 20:29:42 -06:00
mwganson
40a0bbae7c [AddonManager] -- put Restart now and Restart later as button text instead of in the dialog text 2021-10-05 22:38:00 -05:00
luz paz
7417d9ec48 AddonManager: Consolidate preference in user.cfg from Plugins to Addons
Currently when a user first uses the Addon Manager a dialog popup
prompts them about how FC is not liable for the code plugin authors
provide. It stores the binary response in a `readWarning` boolean
within the user.cfg file.

This commit changes the location of said boolean from
`User parameter:Plugins` to `User parameter:Addons`.

It also migrates old the old setting if available.

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
Add suggestions from @chennes

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-08-20 10:59:23 -04:00
Yorik van Havre
5ab70fd1b6 AddonManager: Fixed missing WB icons 2021-02-23 18:01:04 +01:00
Alex Young
ffba26229b AddonManager: removes unused imports
This patch removes all the unused imports in the AddonManager module as flagged by LGTM.
2021-02-14 21:08:23 +01:00
Matsievskiy S.V
ba69518c36 AddonManager: update python source formatting
Update formatting in compliance with pep8 with the following exceptions:

 * truncate to 120 characters in line

 * prefer double quotes `"` to single quotes `'` in strings
2020-10-01 09:53:34 +02:00
0penBrain
d418c034b5 [AddonManager] Fix issue in Execute 2020-04-01 13:27:27 +02:00
triplus
db0cf63df1 Addons manager - check if macro icon path exists [skip ci]
I noticed Macros tab suffers from the same issue: https://github.com/FreeCAD/FreeCAD/pull/3015

Hence the same fix.
2020-02-12 12:20:19 +01:00
triplus
3570e752ec Addons manager - check if icon file exists [skip ci]
Currently .isNull is used, to detect icon validity, but such method doesn't take the file path detection into an account. Result being a lot of messages outputted to the Report view and fallback icon not being used.

This PR fixes such icon path related issues.
2020-02-06 23:08:24 +01:00
triplus
0de3ae1034 Addons manager close button 2020-02-05 10:50:35 +01:00
Zackles
33206bb6fc Add Proxy to Addon Manager with UI
Correct crash when Macro description is not reachable

Python crashed when under proxy - Macro list is charged - Proxy is undone ( internet connection lost) - Try to load macro description (u=None)

Add Proxy setting in Addon Manager Option UI

Correction of SSL context

Replace ssl.Purpose.CLIENT_AUTH by ssl.Purpose.SERVER_AUTH as context for a client

Add configuration of proxy setting UI

Add proxy management by urllib
2020-01-10 10:01:56 +01:00
Yorik van Havre
f946cfaaa4 AddonManager: Fixed crash when quickly clicking through addons 2019-10-10 14:56:28 -03:00
Yorik van Havre
728eedc038 AddonManager: Fixed vanishing icon when uninstalling 2019-10-10 11:54:26 -03:00
Yorik van Havre
62a7eb4caa Addon manager: Fixed wrong marking of addons that begin with same letters 2019-10-09 12:01:10 -03:00
Yorik van Havre
0a6b2a86d6 AddonManager: Better icons 2019-09-04 18:26:56 -03:00
Yorik van Havre
349bfce263 Gui: Use freedesktop name for the group icon so it can be displayed using the system theme 2019-09-04 17:36:13 -03:00
Yorik van Havre
c6670c7431 AddonManager: Added function to check for updates for a specific addon 2019-08-22 16:44:00 -03:00
Yorik van Havre
febbb16bb1 AddonManager: Don't check addons for updates if they have already been checked for updates 2019-07-26 22:21:51 -03:00
Yorik van Havre
a6334a4bfd Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
Yorik van Havre
09bfdb02bf AddonManager: Provisions to support different git hosting platforms than github 2019-07-10 18:29:02 -03:00
Mark Ganson TheMarkster
c47312c67b fix bug in uninstalling macro 2019-07-02 20:01:54 -03:00
Yorik van Havre
8e4be1a67a AddonManager: Fixes for translation 2019-06-17 20:06:32 -03:00
Yorik van Havre
3a2eb6e556 AddonManager: cosmetic fixes + prevision formacro icons 2019-06-17 17:17:46 -03:00
Yorik van Havre
16949b38cb AddonManager: Use workbenches icons 2019-06-15 23:50:41 -03:00
Yorik van Havre
8d7afb0b61 AddonManager: Misc fixes from forum testers 2019-06-15 17:53:36 -03:00
Yorik van Havre
ab68749909 AddonManager: New UI 2019-06-11 17:06:11 -03:00
luz.paz
a4d462e39c AddonManager: source comment typo and whitespace fixes 2019-05-25 13:11:35 +02:00
Yorik van Havre
e7ca12e03b AddonManager: Misc fixes from forum feedback 2019-05-22 15:03:14 -03:00
Yorik van Havre
05b8c2f4d4 AddonManager: Allow to restart FreeCAD directly from the addon manager after installing/updating addons 2019-05-21 16:18:13 -03:00
Yorik van Havre
fa888f0db0 AddonManager: allow to add custom repositories 2019-05-02 15:05:48 -03:00
Yorik van Havre
c69256c66d AddonManager: fixed iconless button 2019-03-11 17:29:40 -03:00
luz.paz
b5eedc34c8 Crowdin: AddonManager/AddonManager.py fix some strings 2019-01-30 11:08:03 -02:00
wmayer
85bea885cc fixes 0003669: AddonManager should inform of the need to restart FreeCAD for changes to take effect 2019-01-16 14:47:28 +01:00
Yorik van Havre
84ad0c2f6f AddonManager: Show warning for obsolete addons 2019-01-09 19:57:19 -02:00
Yorik van Havre
abdd60e061 AddonManager: Don't overwrite displayed text after a module install/removal 2019-01-06 22:26:03 -02:00
Gaël Écorchard
15c37ccf06 [AddonManager] Fix bug to install macros' other files 2018-11-13 13:28:53 +01:00
wmayer
54561c5b6e extend FreeCAD.getUserMacroDir to accept boolean to either return actual or default macro directory 2018-10-28 17:10:10 +01:00