Commit Graph

33 Commits

Author SHA1 Message Date
Chris Hennes
838b73c36b Addon Manager: Fix abort_all() code 2024-02-11 17:19:23 -06:00
Chris Hennes
2ebc941458 Addon Manager: Protect call to setTransferTimeout
Unsupported by Qt 5.12
2024-02-11 17:19:23 -06:00
Chris Hennes
5556a4d04c Addon Manager: Qt < 5.15 fallback for network timeout 2024-02-11 17:19:23 -06:00
Chris Hennes
057bdda46b Addon Manager: Bug fixes and license cleanup 2024-02-11 17:19:23 -06:00
Chris Hennes
43cb58f79e Addon Manager: Fixes for license handling 2024-02-11 17:19:23 -06:00
Chris Hennes
81d77fdb4b Addon Manager: Break up ReadmeViewer into view and controller
Addon Manager: Cleanup enable/disable message
2024-02-11 17:19:22 -06:00
Chris Hennes
0ef7f3d0d8 Addon Manager: Fix #11120 2024-01-26 17:43:18 -07:00
luzpaz
5c21351608 Fix various typos 2023-11-30 14:58:06 +01:00
Chris Hennes
3906828d44 Addon Manager: Reformat with new Black line length 2023-09-02 13:38:08 -05:00
Chris Hennes
4106ba71c4 Addon Manager: Add SPDX license ID to all files 2023-02-20 15:39:47 -06:00
Chris Hennes
d8df5e03e0 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
Chris Hennes
577fb5f1ab Addon Manager: Minor translation fixes 2022-12-27 21:04:32 -06:00
Chris Hennes
b432a78a01 Addon Manager: Update to Python 3.8 2022-12-17 20:05:32 -06:00
Chris Hennes
611e13305b Addon Manager: Refactor installation code
Improve testability of installation code by refactoring it to completely
separate the GUI and non-GUI code, and to provide more robust support
for non-GUI access to some type of Addon Manager activity.
2022-12-17 17:49:13 -06:00
Chris Hennes
e414dce899 Addon Manager: Add try/except to integer conversion 2022-11-08 17:01:30 +01:00
Chris Hennes
c28da00c15 Addon Manager: Qt6 migration part 1, use PySide
Migrate all uses of "import PySide 2" to use "import PySide" so that the
FreeCAD-provided wrappers can switch between Qt versions.
2022-11-06 13:19:36 +01:00
Chris Hennes
2286635e49 Addon Manager: Refactoring and pylint cleanup 2022-08-21 14:32:15 -05:00
Chris Hennes
2e51954b2b Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
Chris Hennes
9bde00a104 Addon Manager: pylint cleanup of NetworkManager 2022-07-28 15:29:53 -05:00
Chris Hennes
e7d50f0b13 Addon Manager: Fix window focus issues 2022-03-11 20:07:20 -06:00
Chris Hennes
17aed10f6f Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Chris Hennes
416ef8bf82 Addon Manager: Switch cache strategy to PreferNetwork 2022-02-24 09:25:02 -06:00
Chris Hennes
5eb081363b Addon Manager: Fix corrupted ZIP downloads
The code that followed redirects was resulting in a double-download
of the data. This corrects the problem by manually re-queueing a
new network request for each redirect, instead of trying to tell the
QNetworkAccessManager to follow them automatically.
2022-02-23 20:37:27 -06:00
Uwe
933484e387 fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00
Chris Hennes
6396c33959 Addon Manager: Black reformat 2022-02-18 08:38:57 -06:00
Chris Hennes
d1edc70001 Addon Manager: Add error checking for proxy setup
Also make a minor tweak to the enabled status of the check all for updates button.
2022-02-18 08:37:20 -06:00
Chris Hennes
a0ce80ce2d Addon Manager: Better failure diagnostics 2022-02-15 22:55:59 -06:00
Chris Hennes
97d1c114d0 Addon Manager: Fix race condition 2022-02-15 13:04:49 -06:00
Chris Hennes
c62dc32739 Addon Manager: Translation cleanup
pylupdate does not extract translations when f-strings are used for the
translated text, so all f-strings are migrated to calls to format().
Several other minor translation issues are also addressed.

NOTE: This code has been run through the Black reformatter, which adds
trailing commas in many places that the stock Qt 5.x pylupdate does not
recognize. This code must be processed with the corrected pylupdate to
generate the correct translations.
2022-01-27 23:11:31 -06:00
Chris Hennes
e71c9a91af AddonManager: Correct bug with older Qt data 2022-01-27 10:48:25 -06:00
Chris Hennes
bfcf054284 Addon Manager: Refactor to eliminate extra event loop 2022-01-26 22:02:08 -06:00
Chris Hennes
8809ed4253 Addon Manager: Improve startup speed 2022-01-26 18:41:14 -06:00
Chris Hennes
e9d6a2c4a4 Addon Manager: Create NetworkManager class
To enable single-login authenticated proxy use, and simplified multi-threaded
network accesses, this commit adds a new wrapper around a QNetworkAccessManager
and includes a global instantiation of the class intended to exist for the
lifetime of the program. This instance can be used to enqueue any number of
network requests, which the manager will send out to the networking subsystem
in an appropriate manner.
2022-01-25 13:30:58 -06:00