67 Commits

Author SHA1 Message Date
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Remco Burema
670f1df6c7
Show latest version nr. available in firmware-update-checker-message. 2020-06-05 13:29:21 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
6ca9b4678e Convert doxygen to rst for Firmware update plugins 2020-05-08 15:46:02 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Jaime van Kessel
bffe79d96c
Add verify_mode to ssl context
CURA-7176
2020-03-05 16:06:27 +01:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Lipu Fei
f20696966d Fix logging in FirmwareUpdateChecker 2019-08-15 13:03:51 +02:00
Lipu Fei
a2dcbc3be7 Use certifi for firmware update checker
CURA-6698
2019-08-14 14:57:52 +02:00
Ghostkeeper
2f92479db2
Don't use caps for log entry of firmware update
Also it might be useful to show what the newly discovered version is.
2019-06-03 09:17:35 +02:00
Lipu Fei
5a196423db Merge remote-tracking branch 'origin/4.0' 2019-01-31 08:47:01 +01:00
Jaime van Kessel
cab0349a9c Change the alignent option to use the new style
CURA-6115
2019-01-24 18:30:52 +01:00
Lipu Fei
c83f815838 Fix tests 2019-01-18 13:46:37 +01:00
Jaime van Kessel
909c74c9b6 Fix the tests so they don't rely on external URL 2019-01-17 09:56:46 +01:00
Jaime van Kessel
f5c4b6919d Merge branch 'master' of github.com:Ultimaker/Cura into unittests_firmwareupdate_0 2019-01-17 09:49:48 +01:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Diego Prado Gesto
fcc6af68af Don't show the current checked version of the firmware if the version number we gather is ZERO. That means that there was a problem getting the right value.
Contributes to CURA-5980.
2018-11-26 17:55:25 +01:00
Remco Burema
69e2fa396e Refactor out unnecesary late init (to make tests cleaner). [UnitTests] 2018-11-16 16:53:37 +01:00
Remco Burema
3dd355976b Write tests for the FirmwareUpdateChecker-plugin. [UnitTests] 2018-11-16 16:41:09 +01:00
Remco Burema
2b8b995422 Refactor out unnecesary 'container' parameter (to make tests easier). [UnitTests] 2018-11-16 14:29:34 +01:00
Ghostkeeper
53dc28db89
Change URL of firmware update page for Ultimaker 3 and S5
I just got word of a new page to read up about the firmware update. Apparently we now have to link to this one.

Contributes to issue CURA-5483.
2018-10-15 15:12:42 +02:00
Ghostkeeper
56a383814b
Code style: Spaces around binary operators
Contributes to issue CURA-5483.
2018-10-15 14:48:18 +02:00
Remco Burema
2e3abbc904 Put the firmware-update meta-data in the 'normal' printer definitions and make the code handle that. 2018-10-13 21:55:33 +02:00
Remco Burema
931143ceaa Added FirmwareUpdateCheckerMessage, so no variables have to be hidden in the action of a plain Message. 2018-10-13 20:05:20 +02:00
Remco Burema
8c71a8855c FirmwareUpdateChecker: Remove superfluous 'version_parser' as a setting, since it broke lean principles. 2018-10-13 19:36:11 +02:00
Remco Burema
60408c14bc FirmwareUpdateChecker: Small refactors due to code review. 2018-10-13 19:21:22 +02:00
Ghostkeeper
1b7055f0f3
Fix spelling of error message
Loopup -> Lookup.

Contributes to issue CURA-5483.
2018-10-12 17:03:48 +02:00
Ghostkeeper
e3b05f0867
Code style: Spaces around binary operators
Also removed the unused machines_json value.

Contributes to issue CURA-5483.
2018-10-12 16:46:39 +02:00
Ghostkeeper
6ac10db582
Code style: Use double quotes for strings
Contributes to issue CURA-5483.
2018-10-12 15:37:43 +02:00
Remco Burema
69cef98c30 FirmwareUpdateChecker: Small fixes (typing and lowercase input). 2018-10-12 10:11:46 +02:00
Remco Burema
f2b50c748c Fix typing in the FirmwareUpdateChecker plugin. 2018-10-11 21:54:27 +02:00
Remco Burema
4ecac6e27f Set the right firmware-download-URL in the actual update-firmware-message. 2018-10-11 18:24:07 +02:00
Remco Burema
472d012c08 Move firmware-update-checker json-parsing to its own class (also don't repeat parsing each time). 2018-10-11 17:52:06 +02:00
Remco Burema
6c2791f382 Parse the firmware-update-check lookup-tables from a (new) .json instead of hardcoded. 2018-10-11 17:16:01 +02:00
Remco Burema
12999f48c8 FirmwareUpdateCheckerJob: Move introduced hardcoded values to static variables. 2018-10-11 15:27:04 +02:00
Remco Burema
d8ed3d6074 Check the whole list for firmware-updates instead of just the first added container. 2018-10-11 14:56:07 +02:00
Remco Burema
487ef52c66 Warn on error and continue on encountering 'future-proof' (now) or old (later) version-URLs. 2018-10-10 17:09:54 +02:00
Remco Burema
10b5584ca6 [CURA-5483] Support more than just the UM3(E) for the firmware-update-check (add S5 only for now). 2018-10-10 16:24:13 +02:00
fieldOfView
9ac744b9ba Remove unnecessary import and declaration of i18n in plugins 2018-10-03 22:00:24 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
Lipu Fei
afc5c1fbbd Do not run firmware update check jobs in parallel
CURA-5418

To avoid showing multiple update messages.
2018-06-07 13:45:10 +02:00
Lipu Fei
eb949472e8 Merge remote-tracking branch 'origin/master' into WIP_improve_initialization 2018-05-31 13:47:27 +02:00
Aleksei S
4d6753a1f1 remove unused code lines in firmware checker
CURA-4952
2018-05-29 18:33:38 +02:00
Aleksei S
b46a08f566 Add Reft and Right side aligned action buttons to the message box
CURA-4952
2018-05-29 18:15:16 +02:00
Aleksei S
6a3eec07e2 Message stack shows properly messages
CURA-4952
2018-05-28 16:03:05 +02:00
Diego Prado Gesto
43657010ba CURA-5164 The Preferences is not a singleton class anymore since in some point
several instances need to be created.

- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.

- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.

- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00