Commit Graph

430 Commits

Author SHA1 Message Date
Chris Hennes
6f1c2627b2 Addon Manager: Remove unused imports 2022-01-01 09:43:06 -06:00
Chris Hennes
a5e89982f4 Addon Manager: Ensure cache is rebuilt after firstrun dialog 2022-01-01 09:16:32 -06:00
Chris Hennes
e954f677fb Addon Manager: Downgrade failed low-level urlopen to log 2022-01-01 09:16:32 -06:00
Chris Hennes
f5f78670dd Addon Manager: Add preference to control macro download 2022-01-01 09:16:32 -06:00
Chris Hennes
cd51ec53c0 Addon Manager: Remove extraneous UI elements 2022-01-01 09:16:32 -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
Chris Hennes
a6e8e04d99 Addon Manager: Work around stylesheet problem in Qt 5.9 2021-12-31 11:00:02 -06:00
Chris Hennes
2751cb7a51 Addon Manager: Add option to hide obsolete and py2 addons 2021-12-30 21:36:32 -06:00
Chris Hennes
20a74ce423 Addon Manager: Clean up report window output 2021-12-30 20:06:22 -06:00
Chris Hennes
7874b0dd6c Addon Manager: Do not change image size
The new UI has much more space available to display README files: remove
the code that scaled the images to (sometimes unreadable) 300x300 size.
2021-12-29 23:51:21 -06:00
Chris Hennes
607ebd278a Addon Manager: Add filter on installation status 2021-12-29 23:32:20 -06:00
Chris Hennes
5bcf697008 Addon Manager: Add Check for updates button 2021-12-29 22:50:23 -06:00
Yorik van Havre
91bfb0fbb6 Merged crowdin translations 2021-12-29 12:20:12 +01:00
Yorik van Havre
372f1f7beb Updated ts files 2021-12-29 12:09:06 +01:00
Chris Hennes
f47435fa40 Addon Manager: Correct wording 2021-12-27 19:54:52 -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
1842c99cda Addon Manager: Correct proxy default 2021-12-21 11:19:21 -06:00
Chris Hennes
77e0d06bb8 Addon Manager: Bugfix for zip installation 2021-12-20 18:57:26 -06:00
Chris Hennes
3d583ade33 Addon Manager: Add Qt.Tool window flag 2021-12-20 16:12:02 -06:00
Chris Hennes
29eae3004f Addon Manager: Fix hashing with Qt 5.9 2021-12-20 14:21:00 -06:00
Chris Hennes
aaff737bd6 Addon Manager: Fix macro update code 2021-12-20 13:12:45 -06:00
Chris Hennes
e488f86bc9 Addon Manager: Add error checking for missing content 2021-12-20 10:37:58 -06:00
Chris Hennes
1b2f572ac4 Addon Manager: Support Qt 5.9
QRegularExpression was not added until Qt 5.12 -- add support for using
QRegExp in cases when QRegularExpression is not present.
2021-12-20 10:13:29 -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
fa8cac06f4 Addon Manager: Add support for salsa.debian.org
The pyrate has moved to salsa.debian.org, so this commit adds the
beginnings of support for those repos.The Markdown library is required
for nice rendering of repos that don't have a package.xml metadata file.
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
Alex Neufeld
d85d51a23c Revert "Addon Manager: Added VendorParts workbench icon"
This reverts commit 657aed6d5c37331a7773874ee9b1c06b63f34a01.
2021-11-24 14:25:42 -06:00
Yorik van Havre
c4d4575eb3 Merged crowdin translations 2021-11-16 17:30:39 +01:00
Yorik van Havre
7dc8f59369 Updated ts files 2021-11-16 17:25:03 +01:00
alexneufeld
4068876f83 Addon Manager: Added VendorParts workbench icon 2021-11-13 19:08:10 -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
Yorik van Havre
140e03301e Updated ts files 2021-09-29 14:32:12 +02:00
Chris Hennes
fe06f869a5 [Addon Manager] Silence LGTM warnings about urls
The URLs used to detect whether a repo is at github, gitlab, or framagit
could potentially be mis-detected by a maliciously-crafted URL,
resulting in incorrect detection of the README file, etc. To silence the
LGTM warning about this, proper URL sanitization and comparison is now
used.
2021-09-26 20:13:02 -05:00
Yorik van Havre
6ad3530981 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Yorik van Havre
3573c5b21f Updated ts files 2021-09-23 17:04:05 +02:00
Yorik van Havre
08d8c97c76 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-09-21 13:11:52 +02:00
Syres916
842abfcee4 [AddonManager] stderr remove translate 2021-09-18 13:05:36 +01:00
Syres916
de3e44a117 [AddonManager] Handle stderr from git status
See discussion https://forum.freecadweb.org/viewtopic.php?f=10&t=62265
2021-09-18 11:19:42 +01:00
Yorik van Havre
3ebab330f4 AddonManager: Fixed path of gitlab readme 2021-09-17 15:47:00 +02:00
Yorik van Havre
a9717a1e17 Merged crowdin translations 2021-09-07 11:26:48 +02:00