Commit graph

31424 commits

Author SHA1 Message Date
j.spijker@ultimaker.com
5dc0310f26 Use the release naming scheme for out installer 2022-07-28 10:44:00 +02:00
j.spijker@ultimaker.com
2c6979bc5e Switch to macos-11
This will drop support for MacOS 10.15 and lower, which will be deprecated
within the next 3 months or so. But the GH hosted runners have dropped support
for this already.

https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/
2022-07-28 10:41:24 +02:00
j.spijker@ultimaker.com
a88e31eddd Add the slice_uuid to the slice info data
Contributes to CURA-9031
2022-07-27 18:13:09 +02:00
j.spijker@ultimaker.com
a712e7517a Add the received slice_uuid to the print information
Contributes to CURA-9031
2022-07-27 18:12:25 +02:00
p.kuiper
6ea1079b60 Set the infill density of the support to 0% when tree structures are used.
Relates to CURA-9520
2022-07-27 15:38:03 +02:00
j.spijker@ultimaker.com
2e23fe84ff Add missing Python requirements.txt
Somehow these were left out during the merge from the 5.1 to main branch
2022-07-27 14:28:14 +02:00
j.spijker@ultimaker.com
89042f9dd4 Fix failing trimesh 2022-07-27 12:50:30 +02:00
j.spijker@ultimaker.com
89de2b1fae Set the Cura Version also when running from source 2022-07-27 12:03:51 +02:00
Ghostkeeper
37a98cbb6f
Mock HttpRequestManager while changing sync state
This change triggers a cascade of updates and in some cases triggers a sync. The sync trigger also triggers an update of the account permissions which crashes because the HttpRequestManager can't be started on a thread. We shouldn't make HTTP requests from our tests anyway so mock this away.

Contributes to issue CURA-9220.
2022-07-27 11:43:31 +02:00
Ghostkeeper
d52be42e01
Mock HttpRequestManager while changing log-in state
Changing the log-in state causes additional requests to be made to get information from the account. Previously this wasn't a problem because the information was only obtained from other classes such as the DigitalLibrary to get information on how many library projects the user can make. But now that there are triggers in the Account class itself, those triggers get triggered. It'd make additional requests to the account server. We don't want the tests to make such requests.

Contributes to issue CURA-9220.
2022-07-27 11:41:50 +02:00
Ghostkeeper
f849df6ba3
Remove old df_access additional right
It is replaced by the new permissions system. The rights are more specific than 'digital factory access, yes or no'. It's now about whether you can read/write printers/projects/print jobs/etc and can differ whether it is your own project/job/etc or someone else's.

Contributes to issue CURA-9220.
2022-07-26 17:49:55 +02:00
Ghostkeeper
7287644324
Add specific permission requirements to application switcher
These functions require special permissions in the account now. Just checking for digital factory access is no longer enough.

Contributes to issue CURA-9220.
2022-07-26 17:46:26 +02:00
Ghostkeeper
9d820b8d02
Redirect to USB workflow if user account doesn't have permissions
If the user is not allowed to write profiles to the printers, then they'd get errors when trying to sync. Instead we'll redirect them to the USB workflow.
This also works for users that have accounts but don't have the printers in the cloud. The original requirements suggest that the entire sync button must be hidden for this case. But to allow those people to still sync via USB I'm opting for this solution instead.

Contributes to issue CURA-9220.
2022-07-26 17:21:08 +02:00
Ghostkeeper
615f16bda0
Hide 'show in browser' when the user can't visit the printer overview
No use then. They can't visit that page.

Contributes to issue CURA-9220.
2022-07-26 16:57:07 +02:00
Ghostkeeper
19ba092340
Add property of whether the printer details can be read
We'd assume so, but there is a permissions node for it. If it can't be read by the user, they can't navigate to the printer's overview page. So we should hide the button then.

Contributes to issue CURA-9220.
2022-07-26 16:56:19 +02:00
Ghostkeeper
e9f9730364
Don't show context menu button if it is empty
It will likely be empty for guest accounts on networks where the administrator is the only one with rights to access other people's prints.

Contributes to issue CURA-9220.
2022-07-26 16:36:38 +02:00
Jordan
d9ed37d33c Remove the wall section from quality 2022-07-25 18:40:03 +02:00
Jordan
f6061d76ba Change quality layers height 2022-07-25 18:09:40 +02:00
Ghostkeeper
5eb340e3f0
Check permissions before showing abort/pause/delete context buttons
The user needs permissions to do these things, so don't show them if the user can't use them.

Contributes to issue CURA-9220.
2022-07-25 17:34:34 +02:00
Ghostkeeper
8871fd6224
Add property of the print job being made by the current user
According to the Account API, is this print job made by the same user?
This property is a bit inaccurate, in that this matches by the user name. The user name might be duplicate in some systems.

Contributes to issue CURA-9220.
2022-07-25 17:28:56 +02:00
Ghostkeeper
99d93fa58a
Check if the user can change the queue before showing option
If the user can't change the queue of other prints, then it can't move prints to the top.

Contributes to issue CURA-9220.
2022-07-25 17:07:52 +02:00
Ghostkeeper
bef10b8b35
Hide print queue if the user can't read the print queue
If there are no permissions, this would result in an error and a supposedly empty queue. That's incorrect. It should make it more clear that the user has no permissions to view the queue, while appearing that it is the normal workflow (it is for that user). So hide the queue entirely, just like with the UM2+C.

Contributes to issue CURA-9220.
2022-07-25 16:57:47 +02:00
Ghostkeeper
9e1940dd4b
Move default behaviour up in inheritance hierarchy
This way, any new printer types we define will automatically get these properties that are used by the monitor stage anyway.

Contributes to issue CURA-9220.
2022-07-25 16:55:05 +02:00
Ghostkeeper
b4c4371929
Add properties of whether the queue can be manipulated
Not all printers can do that.

Contributes to issue CURA-9220.
2022-07-25 16:51:13 +02:00
Ghostkeeper
483911dc4a
Fix error of undefined property when using LAN printers
This property was defined for Cloud printers, but not for Network printers. In QML this then resulted in an error saying that null cannot be assigned to a bool (for the 'visible' property). The visible property then defaulted to its default, true. And so it was always visible, but still had an error.
The error is now solved so that I can also check for other properties in this visible check.

Contributes to issue CURA-9220.
2022-07-25 16:49:48 +02:00
Ghostkeeper
f3403ff856
Add property to get the list of permissions for the user
The QML code can read this list and see if certain keys are in the list.

Contributes to issue CURA-9220.
2022-07-25 15:57:51 +02:00
Ghostkeeper
c529f2b31a
Upon syncing, get account permissions from API
This incurs another request every minute. But it's not provided by the log-in itself and can change, so that'll be necessary.

Contributes to issue CURA-9220.
2022-07-25 15:33:46 +02:00
digitalfrost
1bf330df66
Improve layout of comment
Modify the layout of the comment to improve readability.
Now each sentence starts on a new line.
2022-07-23 23:19:20 +02:00
digitalfrost
9221c3e21e
Improve layout of comment
Modify the layout of the comment to improve readability.
Now each sentence starts on a new line.
Add a punctuation mark (comma) to improve clarity.
2022-07-23 23:11:06 +02:00
digitalfrost
bce60a7d96
Fix typo
Correct typo (duplicated word)
2022-07-23 23:02:00 +02:00
digitalfrost
776c71e5c9
Shorten excessively long lines
- Some lines in the files were excessively long, even in the context of the Cura project which seems to prefer a long line length.
These lines could not be read easily even on github .... 
- Removed some unnecessary whitespaces
- Added some extra spaces so that inline comments are separated by at least two spaces from the statement
2022-07-23 22:35:18 +02:00
Jelle Spijker
9488092e5e
Merge pull request #12709 from Ultimaker/GH-12582_fix_uninstall_by_other
Make it possible for another user to uninstall.
2022-07-21 17:39:44 +02:00
Jelle Spijker
cee219f65b Merge branch 'main' into GH-12582_fix_uninstall_by_other
# Conflicts:
#	packaging/NSIS/Ultimaker-Cura.nsi.jinja
2022-07-21 15:24:57 +02:00
j.spijker@ultimaker.com
dc00625188 Remove pr_version
Contributes to CURA-9430
2022-07-20 17:05:56 +02:00
j.spijker@ultimaker.com
6e7ac62808 actually create the package
Contributes to CURA-9430
2022-07-20 16:54:24 +02:00
j.spijker@ultimaker.com
0676dea789 allow creation from source
Contributes to CURA-9430
2022-07-20 16:24:13 +02:00
j.spijker@ultimaker.com
10b7b7f2c4 Allow package creation from the source folder
normally you won't need this because it is first exported

Contributes to CURA-9430
2022-07-20 16:17:27 +02:00
j.spijker@ultimaker.com
763768e26d Split uploading Artifactory cura and cura-ce
Contributes to CURA-9365
2022-07-20 13:08:23 +02:00
Jordan
b13a16c921 take review of failures 2022-07-19 18:35:37 +02:00
j.spijker@ultimaker.com
61996e5af6 bump up minor instead of patch
Contributes to CURA-9365
2022-07-19 16:55:16 +02:00
jspijker
a4461a618f Merge branch '5.1'
# Conflicts:
#	conandata.yml
2022-07-19 16:52:20 +02:00
j.spijker@ultimaker.com
118dab7cf0 Clean-up 5.1.0-beta from conandata
Contributes to CURA-9365
2022-07-19 16:50:50 +02:00
j.spijker@ultimaker.com
559813c7c6 Bump up minor after release
Contributes to CURA-9365
2022-07-19 16:45:49 +02:00
Jordan
a482aa7a0c take review from Nallath into account 2022-07-19 16:00:44 +02:00
Ghostkeeper
de39918661
Add contributors to change log 2022-07-19 15:37:09 +02:00
Jaime van Kessel
69d3b4d85a
Merge branch 'master' of github.com:RVillani/Cura 2022-07-19 15:32:57 +02:00
Jaime van Kessel
9bc00b4a53
Merge pull request #12442 from amweiss/patch-1
Rename Ender-3 profile to include v2
2022-07-19 15:02:42 +02:00
Jaime van Kessel
87c6c3649f
Bump version numbers
CURA-9503
2022-07-19 14:59:14 +02:00
Jaime van Kessel
9ee948ded4
Merge branch 'master' of github.com:heed818/Cura 2022-07-19 14:55:06 +02:00
NilsRo
11800f1c49
Update anycubic_i3_mega_s.def.json (#11715)
Added nozzle size
Dynamic wall thickness by nozzle diameter
Added filament costs to standard
First layer speed inheritance
Added maximum temp warnings
Updated FAN
Optimized initial purge of filament
2022-07-19 14:54:23 +02:00