Commit Graph

221 Commits

Author SHA1 Message Date
Yorik van Havre
7b0a6358b1 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Roy-043
64071fdee8 AddonManager: Fix Macros URL 2021-05-12 14:53:16 +02:00
Yorik van Havre
81a44fcccb Updated ts files 2021-05-11 13:05:20 +02:00
donovaly
dcfd17adb7 [Addons] fix an icon
I got a warning from Git that the SVG has a missing linebreak at the end. Fixed by saving the file as plain SVG using Inkscape
2021-05-11 02:11:10 +02:00
kinagaki
cb2edd1bd0 Addon Manager: Added FEM_FrontISTR Workbench icon 2021-05-10 00:55:35 +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
Yorik van Havre
958009c2ca Merged crowdin translations 2021-02-25 13:27:48 +01:00
Yorik van Havre
5ba28fa7ff Merged crowdin translations 2021-02-24 18:07:59 +01:00
Yorik van Havre
3ef181a751 AddonManager: Fixed missing WB icons 2021-02-23 18:01:04 +01:00
Yorik van Havre
a399312750 Merge pull request #4470 from mnesarco/master
Icons for Marz, ExtMan, MnesarcoUtils Workbenches
2021-02-18 15:47:47 +01:00
davidmubernal
da990fd51d Addon Manager: Add MakerWorkbench icon 2021-02-17 17:12:08 +01:00
Frank D. Martinez M
c5ebb6dd58 AddonManager: Added icons for Marz, ExtMan, MnesarcoUtils workbenches 2021-02-16 14:50:12 -05: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
David Carter
158acd110e Add rocket workbench addon 2021-02-12 18:12:49 +01:00
Yorik van Havre
84b8282f48 Updated ts files 2021-02-12 14:47:37 +01:00
Yorik van Havre
bcb5c8786f merged crowdin translations 2021-02-09 16:12:18 +01:00
Eddy Verlinden
bd65aab55a Update AddonManager.qrc 2021-01-10 17:25:31 +01:00
Eddy Verlinden
4f86f30aa2 Add files via upload 2021-01-10 17:19:25 +01:00
Yorik van Havre
5a322d75cb Merged crowdin translations 2020-12-23 15:13:05 +01:00
luz paz
6ffe65c915 AddonManager: Sort .qrc file
[skip ci]
2020-12-10 11:57:25 +01:00
TheRaytracers
b875e7847c Add icon for POV-Ray-Rendering workbench to qrc file 2020-12-02 18:21:28 +01:00
TheRaytracers
e48066a93e Add icon for POV-Ray-Rendering Workbench 2020-12-02 18:19:55 +01:00
Bernd Hahnebach
475668638a AddOn: manager, clone repos default branch instead of the master 2020-11-12 13:33:00 +01:00
Yorik van Havre
e76c857036 Merged crowdin translations 2020-11-10 14:58:06 +01:00
Yorik van Havre
7c9e0f3a99 Merged crowdin translations 2020-10-28 12:04:37 +01:00
Yorik van Havre
5eafaa37fd Updated ts files 2020-10-28 10:46:51 +01:00
jreinhardt
72eb41b24f Fix macro code processing
I believe this code is currently incorrect, as it makes references to code outside the "if code" block, where it can not be ensured that code is a string. Moving the code processing into this block avoids this issue.

I experienced a stuck Addon Manager, which was caused by an exception

```
  File "/usr/share/freecad/Mod/AddonManager/addonmanager_macro.py", line ..., in fill_details_from_wiki
    FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + code + '\n')
TypeError: can only concatenate str (not "list") to str
```
which is fixed by these changes.

OS: Ubuntu 20.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
2020-10-20 19:01:12 +02: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
Yorik van Havre
089ed768cc Merged crowdin translations 2020-09-30 14:37:02 +02:00
Yorik van Havre
2a92a7b5a7 Updated ts files 2020-09-30 13:06:53 +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
luz paz
59e3ea096e Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
luz paz
f20ab1765f 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
3dfae3ba46 Merged crowdin translations 2020-07-13 14:49:45 +02:00
Yorik van Havre
fbfe821e8c Updated master ts files 2020-07-13 13:20:21 +02:00
Kisolre
7651e6d974 Fix for changed Github url links being relative instead of absolute. 2020-06-25 15:07:50 +02:00
Yorik van Havre
d652b5eaf3 Fixed ImportNURBS icon 2020-06-05 13:19:42 +02:00
Keith Sloan
a549960193 Add workbench icon 2020-06-05 13:17:34 +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
a6ea85ae99 [AddonManager] Backu=out CheckGitBinary fn 2020-05-08 11:35:59 +02:00
Syres916
d5983ff588 [AddonManager] Backout of Git Binary Version Lookup 2020-05-08 11:35:59 +02:00
luz.paz
3b8b0451b1 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