Ghostkeeper
038db1fc4f
Implement functionality of export to USB button
...
It now creates a similar dialogue of what the old button did. The dialogue is no longer necessary in the materials page, so I've moved it to here specifically.
Contributes to issue CURA-8609.
2021-10-06 15:20:26 +02:00
Ghostkeeper
5db964aed1
Link opening sync all window to the button that should open it
...
This is a new button just merged in from the Master branch. With the window implemented, we can now properly open it.
Contributes to issue CURA-8609.
2021-10-06 14:25:12 +02:00
Ghostkeeper
b98da6b538
Merge branch 'master' into CURA-8609_sync_materials_to_printer
...
Conflicts:
cura/Machines/Models/MaterialManagementModel.py -> Both master and my branch added an __init__ function. I merged the two __init__s to do both things that need to be done.
2021-10-06 14:22:18 +02:00
Ghostkeeper
d16217c674
Implement filter for printer list to only show printers with certain configured connections
...
Because here we only want to show cloud-connected printers.
Contributes to issue CURA-8609.
2021-10-05 17:44:15 +02:00
Konstantinos Karmas
e4f6c1a440
Fix typing
...
CURA-8254
Co-Authored-By: Jaime van Kessel <3922611+nallath@users.noreply.github.com>
2021-10-05 14:53:38 +02:00
Konstantinos Karmas
587421f97a
Make the installed_packages private
...
CURA-8254
2021-10-05 14:51:14 +02:00
Ghostkeeper
f2aba01eff
Reset page index to 0 when re-opening sync dialogue
...
When the user previously opened the dialog and advanced through the pages, but closes the window, then they'll probably have to restart when they want to try it again.
Contributes to issue CURA-8609.
2021-10-05 14:00:15 +02:00
Konstantinos Karmas
cb4d5ce6e5
Update message text
...
CURA-8254
2021-10-05 13:11:52 +02:00
Konstantinos Karmas
bdbac23fdf
Add comment
...
CURA-8254
2021-10-05 11:43:36 +02:00
Konstantinos Karmas
8157cedfef
Show the message only if there are printers that support material export
...
If none of the user's printers support exporting materials to it, then the message should not be shown.
CURA-8254
2021-10-05 11:42:00 +02:00
Konstantinos Karmas
658e54c8e5
Simplify the check for new materials
...
If there is at least one material, we can already show the message without checking the rest of the installed packages.
CURA-8254
2021-10-05 11:36:10 +02:00
Konstantinos Karmas
5732fc2b51
Update campaign tags
...
CURA-8254
2021-10-04 17:05:36 +02:00
Konstantinos Karmas
ce34e16cdd
Add documentation
...
CURA-8254
2021-10-04 16:47:48 +02:00
Konstantinos Karmas
4b7f385077
Add external link to "Learn more" action
...
CURA-8254
2021-10-04 16:43:17 +02:00
Ghostkeeper
9ec731eaf6
Create MaterialsSyncDialog from a Python function
...
Rather than from the QML.
This allows creating this dialogue from a message button without needing to put it in the base application.
Contributes to issue CURA-8609.
2021-10-04 16:23:28 +02:00
Konstantinos Karmas
1f5672acca
Check if new materials were installed on initialization
...
When the MaterialManagementModel is initialized, it will check whether during this startup new materials were installed. If that's the case, then it will show the prompt message to sync those materials with the printers, which should initiate the sync materials flow.
CURA-8254
2021-10-04 15:55:06 +02:00
Jaime van Kessel
44eb3201a9
Fix duplicating / multiplicating support blockers
...
CURA-7851
2021-10-04 15:52:08 +02:00
Jaime van Kessel
6dc65a4912
Fix crash with login
...
Fixes CURA-2N2
2021-10-01 13:43:33 +02:00
Jaime van Kessel
c83c6b0068
Merge branch 'CURA-8510_version_upgrade' of github.com:Ultimaker/Cura
2021-09-28 10:31:56 +02:00
Jaime van Kessel
e88ac49fd6
Add global & extruder stack to ignore list for name filters
...
This prevents the weird spam about "global_stack" not being a plugin ID
2021-09-27 13:41:53 +02:00
Konstantinos Karmas
ad6a8d828e
Merge branch 'master' into CURA-8510_version_upgrade
2021-09-23 17:01:00 +02:00
Ghostkeeper
43f1df1723
Show error when failing to save archive
...
It could be that you don't have permission to save the archive. Instead of crashing Cura, show an error to the user.
Fixes Sentry issue CURA-2VS.
2021-09-23 15:44:28 +02:00
Ghostkeeper
9ab41c062b
Handle encoding errors in back-up zips
...
Seems to happen when there's files in there with badly-encoded characters in the file names.
Fixes Sentry issue CURA-2S7.
2021-09-21 14:20:59 +02:00
Ghostkeeper
58f4d44694
Don't crash when switching to printer with fewer extruders
...
This seems to have happened with an UM2+C.
Fixes Sentry issue CURA-2R5.
2021-09-21 13:40:40 +02:00
Konstantinos Karmas
fe640d42cf
Don't crash if a material fails to be written in the zip
...
This fixes Sentry issue CURA-2WS.
2021-09-21 09:33:30 +02:00
Jaime van Kessel
ee96080540
Only return the path if the folder actually exist
...
It seems that the dialog is acting up if the last known folder doesn't
exist anymore (usually when a network drive was unmounted).
2021-09-20 15:43:04 +02:00
Ghostkeeper
a1ecea020c
Catch errors when backing up the preferences file
...
The file may not exist. In fact, that may be the whole reason why people want to restore a back-up. Try it, and give an error if it fails.
Fixes Sentry issue CURA-2QT.
2021-09-20 15:13:34 +02:00
Ghostkeeper
efcd83f82f
Merge branch 'CURA-8566_Update_filename_after_saving'
2021-09-17 15:30:52 +02:00
Ghostkeeper
0a080a1def
Increase SDK version to 7.8.0
...
We need to check for this new version because of the new functionality needed by the Digital Library plug-in.
Contributes to issue CURA-8566.
2021-09-17 15:15:25 +02:00
Remco Burema
a987b9972a
Merge branch 'master' into bremco-graphics_buffer_update
2021-09-16 22:27:52 +02:00
Konstantinos Karmas
3e143a012a
Change the setting version to 19
...
Since the setting version 18 is used in the arachne beta build, we decided to make the the setting version to 19 in the normal releases, so that we make sure that projects made in arachne beta won't use any version upgrade scripts if a user attempts to open them in 4.12.
CURA-8510
2021-09-15 16:25:04 +02:00
Jaime van Kessel
11b1998156
Fix single instance
...
CURA-7916
Fixes #3116
2021-09-15 16:22:58 +02:00
Jaime van Kessel
c497e61d9d
Merge branch 'feature_single_instance_clear_before_load' of https://github.com/fieldOfView/Cura
2021-09-15 16:18:54 +02:00
Konstantinos Karmas
6d9978e8f3
Always set the project name as the one provided by the user
...
There was an inconsistent behavior between saving a project file to disk (where the printer short name was readded after saving) and saving to the DigitalLibrary (where the printer short was NOT added again).
This commit fixes that by making sure that whatever the user put as the name of the file, will be the name of the project within Cura.
CURA-8566
2021-09-15 14:37:53 +02:00
Konstantinos Karmas
52c224c779
Revert "Revert "Only change project name when saving to project files.""
...
This reverts commit 9e2b556ce8f28294f9b44a3d8801af42043d3956.
2021-09-15 12:26:30 +02:00
Konstantinos Karmas
87add2c8de
Revert "Revert "Use optional last output (file) name from output-dev to set project name.""
...
This reverts commit 24ff3692bd5b73828a1c5a58cdd55400cdddad9c.
2021-09-15 12:26:18 +02:00
Konstantinos Karmas
98eba28885
Revert "Revert "Set the job name whenever the workspaceLoaded is called""
...
This reverts commit a6a69c249cfc96e19ace64ec01aa7e4fc07a76d1.
2021-09-15 12:25:13 +02:00
Ghostkeeper
453b666b1d
Increment setting_version to 18
...
We now have version 18, where Flsun Super Racer has customised profiles.
Nothing changes in the built-in profiles. It only needs a change in the machine instances.
Contributes to issue CURA-8510.
2021-09-14 16:32:43 +02:00
Jaime van Kessel
cfb147853e
Merge branch 'master' of github.com:Ultimaker/Cura into libArachne_rebased
2021-09-13 14:57:40 +02:00
Ghostkeeper
a6a69c249c
Revert "Set the job name whenever the workspaceLoaded is called"
...
This reverts commit 6ad358a55db7dfc4825233a7e453bab31931fba0.
2021-09-10 16:47:20 +02:00
Ghostkeeper
24ff3692bd
Revert "Use optional last output (file) name from output-dev to set project name."
...
This reverts commit c2c53d51c1954315324982bd916b8aad5c19946d.
2021-09-10 16:46:53 +02:00
Ghostkeeper
9e2b556ce8
Revert "Only change project name when saving to project files."
...
This reverts commit b97920e5b155caaab6a8b3bb167853a00ae4b604.
2021-09-10 16:46:39 +02:00
Remco Burema
b2eae08cc7
Merge pull request #10327 from Ultimaker/CURA-6096_profile_database
...
Store metadata in database
2021-09-09 17:29:40 +02:00
Ghostkeeper
034f62ea2c
Match table name with container type
...
The table name is used as the container type in the resulting metadata, so we need to use the container type string as table name correctly, or none of the profiles can be found.
Contributes to issue CURA-6096.
2021-09-08 16:40:22 +02:00
Ghostkeeper
057ba8cdeb
Fix setting container type of subclasses
...
This mistake caused all of the container types to end up as either None or the actual instance itself, which was causing crashes.
Contributes to issue CURA-6096.
2021-09-08 15:46:25 +02:00
Ghostkeeper
adac0af1ec
Revert "Use SQLQueryFactory for container DB"
...
This reverts commit 571a051041b7c126ca942055961c7714312a967f.
2021-09-08 15:10:32 +02:00
luz paz
d68f375e38
Fix various typos
...
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Ghostkeeper
d5481e4ce8
Merge branch 'CURA-8401_use_secrets_instead_of_random'
2021-09-03 16:06:23 +02:00
Evangelos Trantos
e8be611a0d
Merge pull request #10360 from Ultimaker/CURA-8509_add_extruder_to_current_version
...
Add extruder to current version for version upgrade script
2021-09-03 15:30:50 +02:00
Jaime van Kessel
8b5cfc9c28
Use token_hex from secrets instead of choice
...
CURA-8401
2021-09-03 09:57:04 +02:00