Commit Graph

87 Commits

Author SHA1 Message Date
triplus
b5b32c8aa8 Addons manager close button 2020-02-05 10:50:35 +01:00
Zackles
d7d88da291 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
Yorik van Havre
77550e0de3 AddonManager: Fixed crash when quickly clicking through addons 2019-10-10 14:56:28 -03:00
Yorik van Havre
97933a5b54 AddonManager: Fixed vanishing icon when uninstalling 2019-10-10 11:54:26 -03:00
Yorik van Havre
6d7da24308 Addon manager: Fixed wrong marking of addons that begin with same letters 2019-10-09 12:01:10 -03:00
Yorik van Havre
d122d72c8d AddonManager: Better icons 2019-09-04 18:26:56 -03:00
Yorik van Havre
8de92d25c9 Gui: Use freedesktop name for the group icon so it can be displayed using the system theme 2019-09-04 17:36:13 -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
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
3342225402 AddonManager: Provisions to support different git hosting platforms than github 2019-07-10 18:29:02 -03:00
Mark Ganson TheMarkster
18e39b5d90 fix bug in uninstalling macro 2019-07-02 20:01:54 -03:00
Yorik van Havre
32b30bbd74 AddonManager: Fixes for translation 2019-06-17 20:06:32 -03:00
Yorik van Havre
33ce0f3f23 AddonManager: cosmetic fixes + prevision formacro icons 2019-06-17 17:17:46 -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
3e65306a9f AddonManager: New UI 2019-06-11 17:06:11 -03:00
luz.paz
c0cf2c1ce8 AddonManager: source comment typo and whitespace fixes 2019-05-25 13:11:35 +02:00
Yorik van Havre
73c1a9c9a7 AddonManager: Misc fixes from forum feedback 2019-05-22 15:03:14 -03:00
Yorik van Havre
2a9bd6d0e7 AddonManager: Allow to restart FreeCAD directly from the addon manager after installing/updating addons 2019-05-21 16:18:13 -03:00
Yorik van Havre
23d914b3e8 AddonManager: allow to add custom repositories 2019-05-02 15:05:48 -03:00
Yorik van Havre
6323069cbb AddonManager: fixed iconless button 2019-03-11 17:29:40 -03:00
luz.paz
e78fd828e2 Crowdin: AddonManager/AddonManager.py fix some strings 2019-01-30 11:08:03 -02:00
wmayer
fdf8fe7bc6 fixes 0003669: AddonManager should inform of the need to restart FreeCAD for changes to take effect 2019-01-16 14:47:28 +01:00
Yorik van Havre
a14af0f2bd AddonManager: Show warning for obsolete addons 2019-01-09 19:57:19 -02:00
Yorik van Havre
a9f1a0c4e2 AddonManager: Don't overwrite displayed text after a module install/removal 2019-01-06 22:26:03 -02:00
Gaël Écorchard
735b0a18b9 [AddonManager] Fix bug to install macros' other files 2018-11-13 13:28:53 +01:00
wmayer
17c783051b extend FreeCAD.getUserMacroDir to accept boolean to either return actual or default macro directory 2018-10-28 17:10:10 +01:00
Gaël Écorchard
37b738f86f [AddonManager] Add support for __Files__
Read the metadata __Files__ for macros from git and install or remove
files listed there.
__Files__ must be a comma-separated list of files to be copied alongside
the macro.  Their path must be relative to the macro (*.FCMacro file)
and not to othe root of the repository. Each file can be prefixed with a
subdirectory.
2018-10-25 11:04:43 -03:00
Gaël Écorchard
bac786a8ea [AddonManager] separate the Macro class
Separate the Macro class of the AddonManager into addonmanager_macro.py
to prepare for future support for dependent files for macros from the
git repository.
2018-10-25 11:04:43 -03:00
Yorik van Havre
4cab61c54a AddonManager: Added Mario's macro execute button 2018-10-02 10:25:38 -03:00
Yorik van Havre
1d3f3ab7ec AddonManager: Fixed macro copying and centre manager dialog over FC window 2018-10-01 19:19:52 -03:00
Mark Ganson TheMarkster
625ef4548b addon manager py3 fixes
Only decode / encode if on py2 except for the b'\xc2\xa0', replace, which must be decoded to create the unicode string.
2018-09-15 19:28:44 +02:00
Mark Ganson TheMarkster
fa00718c23 fix python3 issues
* fix attempts to remove readonly temp folder in windows, which was preventing addon manager window from closing
* cleanup (unescape) macros manually if HTMLParser().unescape() fails
* replace tabs in macros with 4 spaces
2018-09-15 19:28:36 +02:00
wmayer
70cf68ab3d restore old behaviour of AddonManager.get_macro_dir 2018-09-13 23:50:36 +02:00
wmayer
02eb4a6fa3 issue #0003588: The path to the Addons does not allow special characters 2018-09-13 16:03:38 +02:00
Daniel Furtlehner
998b72324d 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
1d81fd66b8 AddonManager: expand dialog window
Closes https://github.com/FreeCAD/FreeCAD-addons/issues/74
2018-08-03 10:31:44 -03:00
Yorik van Havre
53c2058e0c AddonManager: Support for Mario's template for externally hosted macros 2018-08-02 11:47:29 -03:00
wandererfan
3b02ff2a94 Fix typo in AddonManager 2018-05-29 09:57:10 +02:00
Gaël Écorchard
176eb8c66e [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
6597b446cb [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
cab320be4b py3: addon-manager 2018-04-14 10:40:31 +02:00
Yorik van Havre
296fcd3553 AddonManager: Fixed addon descriptions 2018-03-19 12:53:20 -03:00
triplus
c78a02e782 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
85b30bdd5a GitPython permission issue on Windows 2018-03-11 16:50:38 +01:00
Yorik van Havre
e124b05bff AddonMAnager: Don't hide error message if some addon failed to install 2018-03-02 11:25:28 -03:00
wschildbach
b5741a4a97 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
7703bc7897 Residual files left to remove \n from translate() 2018-02-12 21:59:37 +01:00
Yorik van Havre
acb3a34d99 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