Commit Graph

231 Commits

Author SHA1 Message Date
Yorik van Havre
a9717a1e17 Merged crowdin translations 2021-09-07 11:26:48 +02:00
Yorik van Havre
199e8a8d6e Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
8acd9f8734 Updated ts files 2021-08-26 14:50:54 +02:00
luz paz
7417d9ec48 AddonManager: Consolidate preference in user.cfg from Plugins to Addons
Currently when a user first uses the Addon Manager a dialog popup
prompts them about how FC is not liable for the code plugin authors
provide. It stores the binary response in a `readWarning` boolean
within the user.cfg file.

This commit changes the location of said boolean from
`User parameter:Plugins` to `User parameter:Addons`.

It also migrates old the old setting if available.

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
Add suggestions from @chennes

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-08-20 10:59:23 -04:00
Yorik van Havre
88744fcf52 AddonManager: Handles git module with no Repo attribute - Fixes #4072 2021-08-18 11:32:19 +02:00
Yorik van Havre
834933866e Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
da508e30b0 Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
7efbe176a0 Updated ts files 2021-07-01 13:50:17 +02:00
M G Berberich
b95852c8a9 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
Yorik van Havre
24362e9020 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Roy-043
9639cdff45 AddonManager: Fix Macros URL 2021-05-12 14:53:16 +02:00
Yorik van Havre
91ea7fbba8 Updated ts files 2021-05-11 13:05:20 +02:00
donovaly
ff2a8c23da [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
ef1b509e91 Addon Manager: Added FEM_FrontISTR Workbench icon 2021-05-10 00:55:35 +02:00
Ondrej Flidr
7d0f808b9c tabs to spaces 2021-04-21 15:31:40 +02:00
Ondrej Flidr
b457dc4062 revert dynamic char limit 2021-04-21 13:38:51 +02:00
Ondrej Flidr
87e6dddd37 fix path lenght for ecryptfs 2021-04-21 13:37:10 +02:00
Oliver Oxtoby
428868fb09 AddonManager: Fix logic for fallback to displaying raw markdown
The logic was inverted in commit 1caf62c6375d9eb82245d1c977dbc799fbf4ed89
2021-03-24 22:38:30 +02:00
Yorik van Havre
fa85db61f9 Merged crowdin translations 2021-02-25 13:27:48 +01:00
Yorik van Havre
5c12afb5b5 Merged crowdin translations 2021-02-24 18:07:59 +01:00
Yorik van Havre
5ab70fd1b6 AddonManager: Fixed missing WB icons 2021-02-23 18:01:04 +01:00
Yorik van Havre
00b0f740ea Merge pull request #4470 from mnesarco/master
Icons for Marz, ExtMan, MnesarcoUtils Workbenches
2021-02-18 15:47:47 +01:00
davidmubernal
a8fcecc722 Addon Manager: Add MakerWorkbench icon 2021-02-17 17:12:08 +01:00
Frank D. Martinez M
2b56639a5c AddonManager: Added icons for Marz, ExtMan, MnesarcoUtils workbenches 2021-02-16 14:50:12 -05:00
Alex Young
ffba26229b 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
20930eaa2e Add rocket workbench addon 2021-02-12 18:12:49 +01:00
Yorik van Havre
0de8cceb53 Updated ts files 2021-02-12 14:47:37 +01:00
Yorik van Havre
97379e035a merged crowdin translations 2021-02-09 16:12:18 +01:00
Eddy Verlinden
f63b08f7d6 Update AddonManager.qrc 2021-01-10 17:25:31 +01:00
Eddy Verlinden
216a6c189b Add files via upload 2021-01-10 17:19:25 +01:00
Yorik van Havre
22f7d5f3bc Merged crowdin translations 2020-12-23 15:13:05 +01:00
luz paz
392069b657 AddonManager: Sort .qrc file
[skip ci]
2020-12-10 11:57:25 +01:00
TheRaytracers
70bb8e456c Add icon for POV-Ray-Rendering workbench to qrc file 2020-12-02 18:21:28 +01:00
TheRaytracers
a184f90e59 Add icon for POV-Ray-Rendering Workbench 2020-12-02 18:19:55 +01:00
Bernd Hahnebach
837cfa8f75 AddOn: manager, clone repos default branch instead of the master 2020-11-12 13:33:00 +01:00
Yorik van Havre
ae2c707892 Merged crowdin translations 2020-11-10 14:58:06 +01:00
Yorik van Havre
43596a68af Merged crowdin translations 2020-10-28 12:04:37 +01:00
Yorik van Havre
57fbb63b8d Updated ts files 2020-10-28 10:46:51 +01:00
jreinhardt
b56b9b4cbd 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
f544688137 AddonManager: Fix python imports
Move misplaced imports from addonmanager_macro to addonmanager_workers
2020-10-06 08:21:04 +02:00
Yorik van Havre
76896eae88 AddonManager: Fixed missing import 2020-10-05 17:03:16 +02:00
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