Commit Graph

51 Commits

Author SHA1 Message Date
Daniel Furtlehner
71528b8660 AddonManager: Fixes download of metadata.txt with Py3
urllib2 in Py3 gives us a bytearray instead of a string. We have to decode it first to get the metadata.txt. When decoding fails we assume that we are in Py2 and process as before.
2018-08-29 11:00:42 -03:00
luz.paz
27c6ebc347 AddonManager: expand dialog window
Closes https://github.com/FreeCAD/FreeCAD-addons/issues/74
2018-08-03 10:31:44 -03:00
Yorik van Havre
7519daaa2d AddonManager: Support for Mario's template for externally hosted macros 2018-08-02 11:47:29 -03:00
wandererfan
ae2c717923 Fix typo in AddonManager 2018-05-29 09:57:10 +02:00
Gaël Écorchard
a09be6f0ee [AddonManager] Add github support
- Add support for installing macros from https://github.com/FreeCAD/FreeCAD-addons.git.
- Macros which have the same name on git and on the wiki are not
  repeated.
2018-05-08 15:47:16 -03:00
Gaël Écorchard
e4f01ed99a [AddonManager] Save macros without 'Macro_' prefix
- Save macros without 'Macro_' prefix.
- Installed macros are recognized with or without this prefix.
- Prepare the ground for integration of the code fetching macros from
  github.
2018-05-08 15:47:16 -03:00
looooo
d4a48c186c py3: addon-manager 2018-04-14 10:40:31 +02:00
Yorik van Havre
07953d3e80 AddonManager: Fixed addon descriptions 2018-03-19 12:53:20 -03:00
triplus
5f65371444 Remove read only files
+ Method to remove read only file (needed for shutil.rmtree() on Windows).
+ Revert .clear_cache().
2018-03-11 16:50:38 +01:00
triplus
b38ee26de5 GitPython permission issue on Windows 2018-03-11 16:50:38 +01:00
Yorik van Havre
afb719dfbd AddonMAnager: Don't hide error message if some addon failed to install 2018-03-02 11:25:28 -03:00
wschildbach
7ce7dcc4e7 Fix error caused by insufficient rights to create symlink under Windows 10
On Windows 10, symlink creation is not allowed unless the process runs with elevated rights. 

As per https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#joC5tFKhdXs2gGml.97, starting with Windows 10 Insiders build 14972, symlinks can be created without needing to elevate the console as administrator.

To use this functionality, 0x2 needs to be set in the flags argument for the CreateSymbolicLinkW() call. See also e883847484
2018-03-02 10:50:52 -03:00
luz.paz
5d07c271ee Residual files left to remove \n from translate() 2018-02-12 21:59:37 +01:00
Yorik van Havre
3c679c13ca AddonManager: Download biggest code block from macro pages in case there is more than one code block 2018-01-20 22:34:53 -02:00
Yorik van Havre
48b45b6c47 AddonManager: Enable the use of submodules 2018-01-05 20:03:04 -02:00
Yorik van Havre
500ac97147 AddonManager: Check if thread is already running 2017-12-16 10:03:41 -02:00
Yorik van Havre
8da9887ec2 AddonManager: Disable Install button immediately 2017-12-15 16:16:37 -02:00
Yorik van Havre
4c528b70f6 AddonManager: set focus back on WB list after updating 2017-12-03 16:49:19 -02:00
Yorik van Havre
c72b9fa532 AddonManager: allow to update all updatable addons at once by pressing the update button again (git-python only) 2017-11-12 15:23:25 -02:00
PLChris
339dd6b6a1 Fixing security error on MacOS for AddonManager, see https://forum.freecadweb.org/viewtopic.php?f=3&t=24898 2017-10-30 14:01:02 -02:00
Yorik van Havre
2e32324354 AddonManager: Inform which addons have updates available 2017-09-02 14:10:33 -03:00
Yorik van Havre
ff7c0d7594 Addon manager - create Macro folder if not present 2017-09-01 16:20:17 -03:00
Yorik van Havre
8894065422 AddonManager: don't close if a thread is still running 2017-08-18 11:52:31 -03:00
Yorik van Havre
9717b4bc0d AddonManager: If using git, clicking an installed WB now says if an update is available 2017-08-12 12:08:56 -03:00
Yorik van Havre
456c61b58a AddonManager: Allow to specify dependencies in addons are either Part or PartWorkbench 2017-08-03 11:37:47 -03:00
Kurt Kremitzki
ede5eedea2 Revise GitPython warning to only fire once on mass upgrade 2017-07-05 15:08:32 +02:00
Kurt Kremitzki
c822924ea3 Fix GitPython capitalization consistency 2017-07-05 15:08:32 +02:00
Kurt Kremitzki
4b114854ed Remove Deb/Ubuntu-specific python-git package reference for pip-installable GitPython 2017-07-05 15:08:32 +02:00
Kurt Kremitzki
2e4e4e14cf AddonMgr: Catch GitPython < 2.x error and advise upgrade 2017-07-05 15:08:32 +02:00
Kurt Kremitzki
b193ff3885 AddonMgr: Use hard reset for addon git repair 2017-07-05 15:08:32 +02:00
Kurt Kremitzki
85e0031292 AddonMgr: Check and repair addon .git folders 2017-07-05 15:08:32 +02:00
Yorik van Havre
b97001ee1f AddonManager: Further older ssl/urllib2 version support 2017-06-09 11:05:17 -03:00
Yorik van Havre
8ba268c108 AddonManager: Support older versions of ssl module 2017-06-09 00:06:46 -03:00
Yorik van Havre
e09e99b022 Addon manager: Added a button to check for available updates (git mode only) 2017-06-01 18:47:16 -03:00
Yorik van Havre
515624261d Addon manager: Added check for optional py dependencies 2017-06-01 12:07:46 -03:00
Yorik van Havre
dd02729cf4 Addonmanager: Small fix 2017-05-31 22:53:50 -03:00
Yorik van Havre
cc4aae5823 Addon manager: strip possible whitespaces in dependencies checking 2017-05-31 19:23:28 -03:00
Yorik van Havre
e3ce555e66 Addon manager: Added dependency checking 2017-05-31 19:18:18 -03:00
Yorik van Havre
8f7c90e6ee AddonManager: Introduced SSL fix discussed on FreeCAD-addon issue #11 2017-05-25 10:48:17 -03:00
lorenz
f10289058f StringIO/ io fix for addonmanager
io.StringIO handles unicode in py2 and 3. StringIO.StringIO handles str in python2
2017-05-18 15:56:09 +02:00
looooo
38e313f0e0 try to repair add-on manager 2017-05-15 12:21:14 +02:00
looooo
df8826ac3b py3: AddonManager: use urllib.request insted of urllib2
issue 0000995
2017-05-11 19:50:43 +02:00
Yorik van Havre
a917146cbe AddonManager: support for qt5 2017-04-23 15:16:33 -03:00
Kurt Kremitzki
158b9e6fa7 Fix AddonManager sorting for Macros 2017-04-11 15:10:44 -03:00
Kurt Kremitzki
0f2ada9297 Fix AddonManager sorting 2017-04-11 15:10:44 -03:00
Yorik van Havre
1529409de6 AddonManager: Disabling list sorting for now - fixes #3003 2017-04-10 17:56:32 -03:00
Yorik van Havre
0c717322b4 AddonManager: Misc fixes
* Fixed wrong WB description
* Enabled list sorting
* Blacklisted FCGear macro (it is a WB now)
2017-04-05 13:42:31 -03:00
Kurt Kremitzki
1004a56e85 Create Macro dir for AddonManager if nonexistent
This commit implements the directory-existence-check already used for
the Mod folder when AddonManager attempts to install something into it
and is associated with bug #00029998
2017-04-04 19:17:09 -05:00
Yorik van Havre
4b6806310a Fixed error in addon manager 2017-03-29 10:39:59 -03:00
Kunda
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00