Commit Graph

42 Commits

Author SHA1 Message Date
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
luz.paz
7ea1a7e45e Fix regression found in obsolete addon function
Variable `message` was used instead of `desc`
2019-10-21 15:59:40 -03:00
luz.paz
4fe9cb3938 AddonManager: Tweak UI to return friendlier HTML formatted responses
Make the Addon Manager GUI friendlier by adding more color and uniformity to the UI for Addons that have a: pending-update, no-update, or are obsolete.
2019-10-21 15:59:40 -03:00
Yorik van Havre
432d4f2552 AddonManager: Fixed bug in non-git update 2019-10-16 16:52:06 -03:00
luz.paz
7f696bd60f AddonManager: tooltips and minor code formatting 2019-10-14 16:36:07 -03:00
Yorik van Havre
2736597eb0 AddonManager: Show installed path in addon description 2019-10-10 15:34:07 -03:00
Yorik van Havre
77550e0de3 AddonManager: Fixed crash when quickly clicking through addons 2019-10-10 14:56:28 -03:00
Yorik van Havre
f66023a646 AddonManager: Better error catching in HTML parsing 2019-10-09 15:50:17 -03:00
Yorik van Havre
0f714e00f1 AddonManager: Added function to check for updates for a specific addon 2019-08-22 16:44:00 -03:00
Yorik van Havre
347b818076 AddonManager: Check that the addon folder actually contains files before declaring it installed 2019-08-12 19:36:15 -03:00
Yorik van Havre
e1b581a0a6 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
8048f93627 Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
Yorik van Havre
e5c823bf34 AddonManager: Better support of non-github addons 2019-07-12 16:45:31 -03:00
Yorik van Havre
3342225402 AddonManager: Provisions to support different git hosting platforms than github 2019-07-10 18:29:02 -03:00
Yorik van Havre
4fc91dcc73 AddonManager: Handled exception when unable to download from url 2019-07-10 11:29:32 -03:00
luz.paz
ffd0019063 Fix for ac2eb3 + general unifromity fix
Previous commit (ac2eb3) was incomplete. This commit fixes it. The commit also includes an general uniformity fix.
2019-06-27 15:36:12 -03:00
Yorik van Havre
49067725c3 AddonManager: Fixed image links 2019-06-27 14:53:02 -03:00
Syres916
cdcc647458 [AddonManager] Improve handling of Wb Readme images
...with particular regard to Windows character limit.
2019-06-27 11:49:44 -03:00
Yorik van Havre
33ce0f3f23 AddonManager: cosmetic fixes + prevision formacro icons 2019-06-17 17:17:46 -03:00
Yorik van Havre
4fda9e7d44 AddonManager: grammatical fix 2019-06-17 15:00:26 -03:00
Yorik van Havre
e529871eb6 AddonManager: Use workbenches icons 2019-06-15 23:50:41 -03:00
Yorik van Havre
caef4b6c68 AddonManager: Misc fixes from forum testers 2019-06-15 17:53:36 -03:00
Yorik van Havre
aa43a28141 AddonManager: small bugfix 2019-06-12 21:58:10 -03:00
Yorik van Havre
3e65306a9f AddonManager: New UI 2019-06-11 17:06:11 -03:00