25221 Commits

Author SHA1 Message Date
Kostas Karmas
17a4b40fd7 Change the font size to default in the changelog
So that it is consistent with the What's new pages

CURA-8154
2021-04-12 12:37:57 +02:00
Kostas Karmas
ae63dff0e4 Remove padding of the text in the scrollable text area
CURA-8154
2021-04-09 15:09:10 +02:00
Kostas Karmas
92dafccf6d Fix margins in the WhatsNew pages
CURA-8154
2021-04-09 15:08:43 +02:00
Kostas Karmas
89697ea489 Set height of progressBar to 0 when not visible in WizardPanel
CURA-8154
2021-04-09 11:42:13 +02:00
Kostas Karmas
34195551f4 Fix uneven margins in the WizardPanel
CURA-8154
2021-04-09 11:41:33 +02:00
Kostas Karmas
16cb42b3c7 Set the size of the "What's New" dialog equal to the "Welcome" dialog
CURA-8154
2021-04-09 11:39:43 +02:00
Remco Burema
7f6133ca94
Merge pull request #9535 from Ultimaker/CURA-8093_Check_client_scope_when_upgrading_from_4.8
CURA-8093: Check client scope when upgrading from 4.8
2021-04-09 09:48:55 +02:00
Jaime van Kessel
dbef89ea89
Merge branch 'CURA-8127_settings_visibility_osx_fix' of github.com:Ultimaker/Cura into 4.9 2021-04-09 09:37:37 +02:00
Kostas Karmas
dca0612ee7 Add descriptive comment for deleting the user auth data
CURA-8093
2021-04-08 12:49:33 +02:00
Kostas Karmas
72080a3cca Delete the auth data on upgrade from 4.8 if the scope doesn't match
If the user account scope is outdated, delete it when upgrading from 4.8 to 4.9. This means that
the user will have to log in again, to make sure they get the correct account scope.

CURA-8093
2021-04-08 12:46:52 +02:00
Remco Burema
37cd12663b
Merge pull request #9523 from Ultimaker/fix_tests_python_upgrade
Fix tests python upgrade
2021-04-08 11:49:38 +02:00
Jaime van Kessel
82ffdccac2
Added type ignore since it does accept it 2021-04-07 17:15:22 +02:00
Jaime van Kessel
8cc091fd0a
Merge branch 'typing_keyattribute' of github.com:Ultimaker/Cura into fix_tests_python_upgrade 2021-04-07 15:43:03 +02:00
Jaime van Kessel
d49a90029f
Fix final set of typing issues 2021-04-07 14:03:35 +02:00
Jaime van Kessel
3432720f7c
Fix mypy issues caused by numpy upgrade 2021-04-07 11:47:52 +02:00
Jaime van Kessel
17d8751ec1
Fix incorrect typing in keyring attribute
It didn't need Type["basemodel"] but a direct base model
2021-04-07 11:39:28 +02:00
Jaime van Kessel
00a360aca6
Don't overload types in AMFReader
The typing really doesn't like it if we first let a variable be a list and then
an numpy array
2021-04-07 11:32:09 +02:00
Jaime van Kessel
0d38035944
Add constructor for keyring attribute
_store_secure was used, so it should be created on construction
2021-04-07 11:30:08 +02:00
jelle Spijker
4b1087a138
Put BaseModel in quotes
Contributes to CURA-7180
2021-04-07 11:25:39 +02:00
jelle Spijker
33a812d696
Added typing fof KeyringAttributes
This should hopefully shut mypy up.

Contributes to CURA-7180
2021-04-07 11:06:06 +02:00
Remco Burema
1e5d7623cb
Make it more clear the updates where for MacOS BigSur. 2021-04-07 09:40:06 +02:00
Remco Burema
d2007901f7
Also convert visibility-preset dropdown.
This will make this Qt5.15 control work on mac again. (Since the older controls are deprecated.)

CURA-8127
2021-04-07 08:31:49 +02:00
Kostas Karmas
39e9dcd4f5 Fix VersionUpgrade48to49 crashing if there is no "categories_expanded"
If the 4.8 is started from a clean install and no category gets expanded in the settings panel,
then the "categories_expanded" key will not exist in the [cura] preferences in cura.cfg.
As a result, when the 4.9 gets started in this specific case, the version upgrade 48 to 49 will
produce a crash and will be considered as "failed", which will then lead to cura requesting from
the user to go from the entire onboarding flow instead of landing on the "What's new" pages (even
though everything else has been properly updated).

This commit fixes that by checking whether the "categories_expanded" key exists in the cura.cfg.
2021-04-06 16:37:06 +02:00
Remco Burema
b3ea26c955
Half-revert last-last-last changelog changes.
CURA-8127
4.9-beta
2021-04-06 15:11:43 +02:00
Remco Burema
b505835248
Merge pull request #9509 from Ultimaker/Post_processing_script_add_script_fix
CURA-8127: Post processing script add script fix
2021-04-06 15:07:29 +02:00
Kostas Karmas
b2b258d357 Fix add script button list not working in MacOS
Fixed by using the qt quick controls 2

CURA-8127
2021-04-06 14:53:20 +02:00
jelle Spijker
1132e4c6f9
Added known Mac OSX issues to the Changelog of 4.9 beta
This commit should be reverted on the branch with the fixes made by
@rburema.
2021-04-06 14:09:13 +02:00
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Remco Burema
81c37ac4f4
Changelog changes just in time. 2021-04-06 13:10:52 +02:00
Jelle Spijker
98730eace7
Merge pull request #9508 from Ultimaker/CURA-8142_custom_menu_osx_fix
CURA-8142 Custom-menu OSX workaround
2021-04-06 12:39:28 +02:00
Remco Burema
40fb430277
Merge pull request #9501 from Ultimaker/CURA-7180_keyring_none_value
Handle storing None values in keyring
2021-04-06 12:31:45 +02:00
Remco Burema
7520e3b148
Workaround old-style menu's not closeable on Mac OSX.
Menu's didn't always close, and on newer Macs users wouldnt be able to even close the menu, making this a blocker. Will fix this properly before the final, but at least the beta should be usable now.

CURA-8142
2021-04-06 12:21:59 +02:00
Konstantinos Karmas
b9f76ef9e4
Merge pull request #9488 from Ultimaker/CURA-8110_upgrader
Cura 8110 upgrader
2021-04-06 12:03:17 +02:00
Jelle Spijker
e9a8ff05cd
Merge pull request #9507 from Ultimaker/CURA-8127_pref_screen_osx_fix
CURA-8127 preference-screen OSX fix
2021-04-06 11:59:38 +02:00
Kostas Karmas
081b0b23a4 Fix setting the time_remaining_method in the versionUpgrader
The DisplayProgressOnLCD script was changed and the "time_remaining" was split into two settings:
the "time_remaining" and the "time_remaining_method". If the "time_remaining" was enabled, the
"time_remaining_method" should be set to "m117".

The VersionUpgrader48to49 was changing the "time_remaining" to "m117" instead of changing the
"time_remaining_method", which was leading to the "time_remaining" having a wrong value and not
being interpreted as a boolean.

This commit fixes that by setting the "time_remaining_method" into "m117" when the "time_remaining"
was True.

CURA-8110
2021-04-06 11:38:28 +02:00
Remco Burema
a04fee8e95
Deprecated QtQuickControls 1 has some problems on Mac OSX.
In this particular case it was easiest to do the in a sense proper thing and just upgrade.

CURA-8127
2021-04-06 10:44:31 +02:00
Jelle Spijker
295e16f5cd
Merge pull request #9493 from Ultimaker/CURA-8152_Onboarding_flow_dialog_ends_after_selecting_networked_printer_without_showing_whats_new
CURA-8152: Go to the next page when adding a networked machine in oboarding wizard
2021-04-04 12:47:58 +02:00
jelle Spijker
23ba1745a4
Handle storing None values in keyring
Write an empty string as value to the keyring if None is parsed and
return a None value if an empty string was parsed from the keyring.

CURA-7180_keyring_none_value
2021-04-04 12:27:43 +02:00
jelle Spijker
279edf7a37
Czech Translations for 4.9
CURA-8153
2021-04-02 19:28:44 +02:00
Kostas Karmas
40c07fdeca Merge branch '4.9_translations' into 4.9 2021-04-02 18:11:22 +02:00
fvrmr
78d9576d5b Changelog and whats new
Added the changelog for 4.9 beta.
Copywrite whats new pages.
2021-04-02 16:55:56 +02:00
jelle Spijker
33c33c267d
Translations for 4.9
CURA-8153
2021-04-02 16:34:06 +02:00
Konstantinos Karmas
db750ccf43
Merge pull request #8842 from sustmi/CURA-8821_add_czech_translation
Add Czech translations for Cura 4.8
2021-04-02 15:45:42 +02:00
jelle Spijker
27fc435724
Bumped up stack version to 5
CURA-8110_upgrader
2021-04-02 15:02:38 +02:00
jelle Spijker
ebc4f45da6
Revert "Removed the upgrader for the machine and extruder stack"
This reverts commit 4707560d
2021-04-02 14:45:16 +02:00
jelle Spijker
72478994ec
Bumped up the Preference version to 7
reverted the SettingVersion to 16

CURA-8110_upgrader
2021-04-02 14:41:52 +02:00
Kostas Karmas
789f6de9c8 Go to the next page when adding a networked machine in oboarding wizard
CURA-8152
2021-04-02 14:39:22 +02:00
jelle Spijker
4707560dcb
Removed the upgrader for the machine and extruder stack
It is known that will cause some user scripts to default behaviour.
But this is accepted behaviour, and the benefits of not upgrading
the Cura Application version outweigh this.
2021-04-02 14:03:37 +02:00
Jaime van Kessel
67e03e8763
Merge branch '4.9' of github.com:Ultimaker/Cura into CURA-8110_upgrader 2021-04-02 13:48:39 +02:00
Evangelos Trantos
2a4d421e4b
Change the devtoolset to version 8
After the python and Qt upgrade we're using devtoolset v8 in our centos7 container.
2021-04-02 13:43:19 +02:00