32026 Commits

Author SHA1 Message Date
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
Jaime van Kessel
e6c23c5827
Merge branch 'main' of github.com:Ultimaker/Cura 2022-07-19 14:51:44 +02:00
Jaime van Kessel
aa607ab555
Merge pull request #11637 from 3d-hctech/master
Add profiles and platforms for 3 new printer from HCTECH
2022-07-19 14:49:24 +02:00
Jaime van Kessel
d7f5eeb829
Merge branch 'master' of github.com:3d-hctech/Cura 2022-07-19 14:46:10 +02:00
Jaime van Kessel
6d6058f4f1
BUmp version number for anycubic printers
CURA-9501
2022-07-19 14:44:25 +02:00
Jaime van Kessel
fb9b71a901
Merge branch 'master' of github.com:ANYCUBIC-3D/Cura 2022-07-19 14:41:05 +02:00
Jaime van Kessel
68aec6f064
Bump version number
CURA-9500
2022-07-19 14:37:27 +02:00
Jaime van Kessel
7e811025fb
Merge branch 'feat/ender3s1-profile' of github.com:Sebazzz/Cura 2022-07-19 14:34:42 +02:00
c.lamboo
3dad5d564d Only unquote once in getMaterialFilePackageId 5.1.0 2022-07-19 14:12:35 +02:00
c.lamboo
a6b15d27b7 Merge remote-tracking branch 'origin/5.1' into 5.1 2022-07-19 13:54:42 +02:00
c.lamboo
1e9e3a8cfb Fix saving materials with spaces 2022-07-19 13:54:32 +02:00
Casper Lamboo
9b5cf07269
Merge pull request #12795 from Ultimaker/CURA-9342_add_missing_openssl_1_1_1l_shared_library
Cura 9342 add missing openssl 1 1 1l shared library
2022-07-19 13:03:29 +02:00
Jelle Spijker
ce8eb1056c
Add Path to the imports 2022-07-19 11:16:34 +02:00
jspijker
ebf7fb000b Merge branch '5.1' 2022-07-19 10:48:03 +02:00
jspijker
ee10141691 Merge branch '5.1' into CURA-9342_add_missing_openssl_1_1_1l_shared_library
# Conflicts:
#	conandata.yml
2022-07-19 10:47:26 +02:00