37 Commits

Author SHA1 Message Date
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
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
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
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
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
Mark
c6e5123c2d Update the link so we can see how many people use it 2018-03-21 13:23:33 +01:00
ChrisTerBeke
a76c84ca30 Finally remove annoying firmware check log line for non-UM3 printers 2018-01-19 10:42:04 +01:00
Mark
303cf33de1 Made the message more clear 2017-11-08 10:23:19 +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
Jaime van Kessel
cd11c6832d Added user agent header to firmware update 2017-09-27 09:37:38 +02:00
Ghostkeeper
0060909117
Use named arguments for i18n string
Otherwise the i18n system can't figure out which %s belongs to which parameter.

Contributes to issue CURA-4341.
2017-09-18 17:13:01 +02:00
Ghostkeeper
3150420160
Fix i18n with replaced texts
Also added a description for the translator.

Contributes to issue CURA-4341.
2017-09-18 17:01:15 +02:00
Diego Prado Gesto
e8553e8e69 Fixed double messages and rearrange some code - CURA-4224 2017-09-18 11:47:23 +02:00
Lipu Fei
3812a478cf Only use lowercase for string comparison
CURA-4224
2017-09-14 12:50:55 +02:00
Lipu Fei
a48507546f More defensive machine name and version check
CURA-4224
2017-09-14 08:34:01 +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
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