Chris Hennes
f48d79a227
Addon Manager: Improve display of installation details
2022-01-01 11:41:23 -06:00
Chris Hennes
64cf6a68d8
Addon Manager: Remove unused imports
2022-01-01 09:43:06 -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
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
a6b306123a
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
f429a3630e
Addon Manager: Fix github macro update code
2021-12-21 17:23:02 -06:00
Chris Hennes
b371487224
Addon Manager: Correct macro installation location
2021-12-21 14:48:35 -06:00
Chris Hennes
dede24d5e4
Addon Manager: Bugfix for zip installation
2021-12-20 18:57:26 -06:00
Chris Hennes
e7cde8bed0
Addon Manager: Fix macro update code
2021-12-20 13:12:45 -06:00
Chris Hennes
acfde1a4b6
Addon Manager: Bug fixes for detailed display
2021-12-18 20:29:42 -06:00
Chris Hennes
787b1e0f56
Addon Manager: Black reformatting
2021-12-18 20:29:42 -06:00
Chris Hennes
ef09c0af16
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
52da213a3c
Addon Manager: Improve cache behavior
...
Also includes a number of bug fixes.
2021-12-18 20:29:42 -06:00
Chris Hennes
a0992902de
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
bd6b3eb404
Addon Manager: Bugfixes and cleanup of refactor
2021-12-18 20:29:42 -06:00
Chris Hennes
67f051007e
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
768a0f086f
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
Syres916
2c9a4602a1
[AddonManager] stderr remove translate
2021-09-18 13:05:36 +01:00
Syres916
a7fb567cd5
[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
380d214e74
AddonManager: Handles git module with no Repo attribute - Fixes #4072
2021-08-18 11:32:19 +02:00
M G Berberich
0d95ea9197
AddonManager: parse addonflags.json with json module
...
Parses addonflags.json with the python json-module instead of using
regular expressions.
2021-06-21 12:52:31 +02:00
Roy-043
64071fdee8
AddonManager: Fix Macros URL
2021-05-12 14:53:16 +02:00
Ondrej Flidr
88bc022a90
tabs to spaces
2021-04-21 15:31:40 +02:00
Ondrej Flidr
b0b53fc8ef
revert dynamic char limit
2021-04-21 13:38:51 +02:00
Ondrej Flidr
60aa32695a
fix path lenght for ecryptfs
2021-04-21 13:37:10 +02:00
Oliver Oxtoby
e6a8a682cf
AddonManager: Fix logic for fallback to displaying raw markdown
...
The logic was inverted in commit dde64d4a0a
2021-03-24 22:38:30 +02:00
Alex Young
bb501c336f
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
Bernd Hahnebach
475668638a
AddOn: manager, clone repos default branch instead of the master
2020-11-12 13:33:00 +01:00
Matsievskiy S.V
706a014ce9
AddonManager: Fix python imports
...
Move misplaced imports from addonmanager_macro to addonmanager_workers
2020-10-06 08:21:04 +02:00
Yorik van Havre
fd21a83778
AddonManager: Fixed missing import
2020-10-05 17:03:16 +02:00
Matsievskiy S.V
dde64d4a0a
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
Matsievskiy S.V
fc10827719
Addon Manager: change lookup mechanism
...
Switch addon lookup mechanism from parsing html page to extracting info
from .gitmodules file.
This simplifies logic and allows using non-Github repos.
Readme for Github repos are extracted from HTML pages using regex.
Gitlab pages are converted to HTML using Python Markdown lib if present,
falling back to displaying raw markdown.
In this case image links are converted from relative to absolute paths.
2020-10-01 09:53:34 +02:00
Syres916
f20eaf4aa9
Remove duplicate code
2020-09-09 14:55:52 +02:00
Syres916
dee22fab86
[AddonManager] Handle Wiki Bad Gateway issue...
...
...when retrieving Macro list
See https://forum.freecadweb.org/viewtopic.php?f=3&t=50062
2020-09-09 14:55:52 +02:00
mwganson
8ee644bcbc
[AddonManager] fix bug in CheckSingleWorker
2020-09-03 12:23:14 +02:00
Syres916
deadd6d3ea
[AddonManager] Fix bug when Multiple Wbs updated
...
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=46322
2020-05-18 12:35:34 +02:00
Syres916
d5983ff588
[AddonManager] Backout of Git Binary Version Lookup
2020-05-08 11:35:59 +02:00
luz.paz
ceb23799c7
Fix various typos
...
Found via codespell v1.17.0.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-05-05 09:49:08 +02:00
Syres916
99ec5924d1
[AddonManager] Added reconstruction Wb to PY2ONLY
2020-05-04 11:54:55 +02:00
Syres916
ab223a006b
[AddonManager] Added flamingo Wb to PY2ONLY
2020-05-04 11:54:55 +02:00
Syres916
7e7101889b
[AddonManager] Removed two unnecessary import re..
...
..statementts
2020-05-04 11:54:55 +02:00
Syres916
834c857164
[AddonManager] Add Python 2 Awareness..
...
...and improve Git binary version handling.
2020-05-04 11:54:55 +02:00
luz.paz
76a77e4f88
[skip ci] Fix typos
...
Found via
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-03-24 11:14:24 +01:00
Syres916
2ff80fa47b
[AddonManager] Improve Non GitPython Error..
...
...Handling. Previous output when clicking Macros tab caused errors in Report View with no Macros loaded at all.
2019-12-17 15:12:41 -03:00
luz.paz
e243c6e943
...small comment clarification [skip ci]
2019-10-28 10:23:59 -03:00
Yorik van Havre
eb3dafb56b
AddonManager: Fixed missing 'update available' header
2019-10-25 11:36:09 -03:00
luz.paz
b58019c365
add comment
2019-10-21 15:59:40 -03:00