23 Commits

Author SHA1 Message Date
Lipu Fei
c83f815838 Fix tests 2019-01-18 13:46:37 +01:00
Remco Burema
2b8b995422 Refactor out unnecesary 'container' parameter (to make tests easier). [UnitTests] 2018-11-16 14:29:34 +01: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
60408c14bc FirmwareUpdateChecker: Small refactors due to code review. 2018-10-13 19:21:22 +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
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
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
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
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
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
Mark
64ea2399a1 Add tags to urls 2018-02-14 15:15:02 +01:00
ChrisTerBeke
a76c84ca30 Finally remove annoying firmware check log line for non-UM3 printers 2018-01-19 10:42:04 +01:00
Lipu Fei
2be529668e Fix download for firmware upgrade notification
Same issue as the download for Cura version upgrade in CURA-4464.
2017-11-07 13:04:18 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Lipu Fei
9567a6921d Fix code style
CURA-4224
2017-09-14 08:29:46 +02:00
Lipu Fei
be57ccb127 Minor fixes
CURA-4224

 - Fix code style
 - Fix typos
2017-09-13 17:44:53 +02:00
Diego Prado Gesto
aa2c7c2ff6 Checking first if the user has enabled the 'check for updates' preference - CURA-4224 2017-09-13 10:22:07 +02:00
Diego Prado Gesto
80992dd44c The checker now runs also when the user adds a new printer - CURA-4224 2017-09-12 17:22:17 +02:00
Diego Prado Gesto
b17ff081d6 Added the FirmwareUpdateChecker to Cura - CURA-4224 2017-09-11 09:35:27 +02:00