Commit Graph

189 Commits

Author SHA1 Message Date
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
Matsievskiy S.V
07db27d0dd 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
Yorik van Havre
c2cec2c38a Merged crowdin translations 2020-09-30 14:37:02 +02:00
Yorik van Havre
545055f65f Updated ts files 2020-09-30 13:06:53 +02:00
Syres916
07516c1670 Remove duplicate code 2020-09-09 14:55:52 +02:00
Syres916
5349fdee14 [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
6431d558cd [AddonManager] fix bug in CheckSingleWorker 2020-09-03 12:23:14 +02:00
luz paz
f0d823eb51 Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
luz paz
e82f7f74f4 Fix Crowdin typos + trim superfluous whitespace [skip-ci]
Some issues that this PR fixes (but not all listed):  
https://crowdin.com/translate/freecad/27911/en-en#6581578  
https://crowdin.com/translate/freecad/27911/en-en#6579080  
https://crowdin.com/translate/freecad/27911/en-en#6581580  
https://crowdin.com/translate/freecad/27911/en-en#6579086
2020-07-23 13:52:44 +02:00
luz paz
e4f6689e0a Merged crowdin translations 2020-07-13 14:49:45 +02:00
Yorik van Havre
da262c0b45 Updated master ts files 2020-07-13 13:20:21 +02:00
Kisolre
f3972e6fff Fix for changed Github url links being relative instead of absolute. 2020-06-25 15:07:50 +02:00
Yorik van Havre
734758d83f Fixed ImportNURBS icon 2020-06-05 13:19:42 +02:00
Keith Sloan
8eabb65a52 Add workbench icon 2020-06-05 13:17:34 +02:00
Syres916
f40abe153a [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
7b2d445dc2 [AddonManager] Backu=out CheckGitBinary fn 2020-05-08 11:35:59 +02:00
Syres916
d9825cb8f9 [AddonManager] Backout of Git Binary Version Lookup 2020-05-08 11:35:59 +02:00
luz.paz
9f1ff8def1 AddonManager: [skip-ci] Change reference from "Addons Manager" to "Addon
...Manager"  
https://forum.freecadweb.org/viewtopic.php?f=3&t=45951&p=395355#p394147
2020-05-05 19:40:14 +02:00
luz.paz
dcdf96d8b9 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
d572a3934b [AddonManager] Added reconstruction Wb to PY2ONLY 2020-05-04 11:54:55 +02:00
Syres916
0603310fa9 [AddonManager] Added flamingo Wb to PY2ONLY 2020-05-04 11:54:55 +02:00
Syres916
4ed00a1464 [AddonManager] Removed two unnecessary import re..
..statementts
2020-05-04 11:54:55 +02:00
Syres916
a05ae30a2a [AddonManager] Add Python 2 Awareness..
...and improve Git binary version handling.
2020-05-04 11:54:55 +02:00
Syres916
82093a4f28 [AddonManager] Utilities add Check Git Binary 2020-05-04 11:54:55 +02:00
Yorik van Havre
141764e64f Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
7003b3f747 Updated source ts files 2020-04-29 15:41:26 +02:00
G Roques
c51b1cfefd Add Ose3dPrinter_workbench_icon.svg icon 2020-04-27 11:22:53 +02:00
luz.paz
5b1ea917e5 [skip-ci] AddonManager: Add ModernUI to AddonManager
Forum thread: https://forum.freecadweb.org/viewtopic.php?p=390064#p390071
2020-04-22 12:15:25 +02:00
0penBrain
f1f4e2b5f2 [AddonManager] Support for UTF8 encoded macros 2020-04-01 13:27:27 +02:00
0penBrain
d418c034b5 [AddonManager] Fix issue in Execute 2020-04-01 13:27:27 +02:00
luz.paz
65f6347953 [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
Yorik van Havre
8933e8ed38 Merged latest translations from crowdin 2020-03-05 11:58:03 -03:00
luz.paz
2499a3be13 [skip ci] AddonManager: Add Silk workbench icon
Closes https://github.com/edwardvmills/Silk/issues/10
Exported as Plain SVG
2020-03-05 09:05:17 -03: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
Krypta1
fa7caea496 Rename GDML Workbench icon
Renamed GDML Worbench icon from "GDML_worbench.svg" to "GDML_worbench_icon.svg" because while building FreeCAD the compiler requires "GDML_worbench_icon.svg"
2020-02-05 10:51:59 +01:00
triplus
0de3ae1034 Addons manager close button 2020-02-05 10:50:35 +01:00
KeithSloan
4802ef3522 Add GDML Workbench to AddonManager 2020-01-28 12:15:55 +01:00
Xia, Qingfeng
a8af66e7cf AddonManager: add CFD inkscape icons (96DPI) 2020-01-22 10:20:19 +01:00
zacl
06ef9b044d Remove trailing whitespace 2020-01-10 10:01:56 +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
Bernd Hahnebach
66b853cff8 line endings, better handling in module directory 2019-12-19 22:26:15 +01:00
Bernd Hahnebach
789e24cead AddonManager: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
luz.paz
cc97145e9d Fix various typos [skip ci]
Fixed 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,currenty,dof,doubleclick,dum,eiter,elemente,feld,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
```
2019-12-17 15:13:48 -03:00
Syres916
aeccba2e18 [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
6c0483647b ...small comment clarification [skip ci] 2019-10-28 10:23:59 -03:00
luz.paz
88b2ded146 AddonManager: Add WebTools icon to dialog
Thanks @bitacovir !  
Ref:  
* Closes https://github.com/yorikvanhavre/WebTools/issues/7  
* https://forum.freecadweb.org/viewtopic.php?f=34&t=40130
2019-10-28 10:23:59 -03:00
Yorik van Havre
c53986ff94 AddonManager: Fixed missing 'update available' header 2019-10-25 11:36:09 -03:00
luz.paz
6c5bf999c2 add comment 2019-10-21 15:59:40 -03:00
luz.paz
044b2643fa Fix regression found in obsolete addon function
Variable `message` was used instead of `desc`
2019-10-21 15:59:40 -03:00