Commit graph

28938 commits

Author SHA1 Message Date
c.lamboo
76180eee01 Show warning on-close of the install missing packaged dialog
CURA-6990
2022-06-06 22:49:49 +02:00
c.lamboo
bee4da6368 Re-use Marketplace Component in the InstallMissingPackagesDialog
CURA-6990
2022-06-06 22:27:31 +02:00
c.lamboo
2f22002fd5 Add header and footer components to Dialog
This provides control over how the header (the header is newly introduced in this commit) and footer components are rendered. The footer is the area where the `leftButtoons` and `rightButtons` are rendered. Having control over how this is rendered introduces for instance the possibility to render the buttons within a warning area (an example of this can bee seen in the WorkspaceDialog).

CURA-6990
2022-06-06 21:45:48 +02:00
c.lamboo
781723fbbc Fix typing
CURA-6990
2022-06-06 21:27:32 +02:00
c.lamboo
34004df7af Un-capitalise materials
CURA-6990
2022-06-03 16:25:43 +02:00
c.lamboo
eccef62dc7 Add typing
CURA-6990
2022-06-03 15:22:29 +02:00
c.lamboo
2230269ab3 Simplify variable assignment
CURA-6990
2022-06-03 15:17:32 +02:00
c.lamboo
8d3b3ae411 Use themed border width
CURA-6990
2022-06-03 11:13:19 +02:00
c.lamboo
4492e3fba2 Add warning border to PackageCard if information is missing
CURA-6990
2022-06-03 10:39:01 +02:00
c.lamboo
70c36fc80f Use correct status icon
CURA-6990
2022-06-03 10:13:29 +02:00
j.delarago
277a6a38b2 Update campaign link
CURA-6990
2022-06-02 17:40:14 +02:00
j.delarago
4c2be68c7b Add pyqtSignal no get rid of annoying errors
CURA-6990
2022-06-02 17:39:41 +02:00
j.delarago
a0fd5afbe7 Add missing warning badge
CURA-6990
2022-06-02 17:38:50 +02:00
c.lamboo
8fe53163b3 Add Action button and learn more link to warning message
CURA-6990
2022-06-02 17:33:56 +02:00
c.lamboo
a506b6d9ad Merge remote-tracking branch 'origin/CURA-6990' into CURA-6990 2022-06-02 16:58:51 +02:00
c.lamboo
fccfcb0e2b Add scroll bar to the WorkSpaceDialog
The warning message took out some space from the dialog. Added a scroll bar to make sure the content can still be read.

CURA-6990
2022-06-02 16:58:41 +02:00
j.delarago
511b10c084 Display package cards in the package list for packages that can't be found on the marketplace api.
When the final page of results is fetched, the list of all package_ids retrieved from the api will be compared with the ones we were searching for. Any that are missing have cards displayed with only basic information (name and version).

CURA-6990
2022-06-02 16:54:08 +02:00
c.lamboo
812b728636 Show warning when opening file without installing missing materials
CURA-6990
2022-06-02 15:36:53 +02:00
c.lamboo
9c02f6500d Use API endpoint for requesting package_ids
Use new api endpoint for requesting specific package_ids so we don't have to filter ourselves.

CURA-6990
2022-06-02 15:19:00 +02:00
j.delarago
b015617e13 Marketplace plugin registry is None on initialization, and is loaded after running show().
This makes a check that the window is open before continuing through checkIfRestartNeeded

CURA-6990
2022-06-01 16:56:02 +02:00
j.delarago
0df21e6073 Refactor missing packages dialog into model (MissingPackageList) and controller (InstallMissingPackagesDialog.qml)
Rename classes and files to have unified naming.

CURA-6990
2022-06-01 16:50:53 +02:00
j.delarago
5a3836b841 Fix missingPackages not updating
CURA-8610
2022-06-01 10:39:03 +02:00
c.lamboo
cd9fde946f Add typing
CURA-6990
2022-06-01 10:09:57 +02:00
c.lamboo
cd18bfb893 Set warning only if there are missing materials
CURA-6990
2022-06-01 10:09:23 +02:00
c.lamboo
84f19458c5 Display error when opening 3mf files
CURA-6990
2022-05-31 16:49:47 +02:00
j.delarago
5c1b7470a7 Add pyqt access to missing package metadata.
CURA-6990
2022-05-31 15:26:56 +02:00
j.delarago
ce0623664a Include all missing package metadata instead of just ids so we have something to display before searching the package on the marketplace. This is also important so we can show something if we can't find the package on the marketplace.
CURA-6990
2022-05-31 15:21:11 +02:00
j.delarago
4572d53e11 Read package.json required package information. Put package_ids for packages we don't have installed inside the WorkspaceDialog
CURA-6990
2022-05-31 15:12:52 +02:00
Jaime van Kessel
f130eb2e7c
Merge pull request #11623 from cbc02009/fix-voron-retraction
fix retraction speed and amount for direct drive afterburner.
2022-05-20 16:54:01 +02:00
Ghostkeeper
b5e3479c1c
Catch UnicodeDecodeErrors when parsing error messages from server
Stupid recursive errors.

Fixes Sentry issue CURA-3VB.
2022-05-20 12:55:59 +02:00
Ghostkeeper
64b29779ca
Fix crash when server sends invalid JSON data
If readJSON fails, it puts an entry in the log and then returns None. This then crashes with a TypeError because you can't check for things to be in None.

Fixes Sentry issue CURA-3V5.
2022-05-19 11:36:16 +02:00
Jaime van Kessel
c41c59da13
Merge pull request #12188 from Ultimaker/CURA-8708_remove_travel_acceleration_jerk
Add setting to no longer use different jerk/acc for travels
2022-05-18 16:32:50 +02:00
Jaime van Kessel
8b02b4161b Merge branch 'fix_tall_toolbar' of https://github.com/fieldOfView/Cura 2022-05-18 13:29:42 +02:00
Jaime van Kessel
21fdaa70dd Merge branch '4.13' of github.com:Ultimaker/Cura 2022-05-17 15:32:48 +02:00
Remco Burema
bf9c3cbc83 Secure another 'environment-settable via Qt' DLL.
SEC-258 a.k.a. CURA-8969
2022-05-17 11:45:14 +02:00
Ghostkeeper
dd251b5117
Merge branch '5.0' 2022-05-16 16:32:12 +02:00
Ghostkeeper
ae630a70a0
Merge branch 'change_log_update' into 5.0 2022-05-16 16:31:50 +02:00
fvrmr
6fc7a961fd Merge branch 'change_log_update' of https://github.com/Ultimaker/Cura into change_log_update 2022-05-16 16:29:50 +02:00
fvrmr
ed67392bcb Update change_log.txt
Remove tabs
2022-05-16 16:29:42 +02:00
Fenne
25ad5cf101
Update resources/texts/change_log.txt
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-05-16 16:28:07 +02:00
Fenne
5078d3f251
Update resources/texts/change_log.txt
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-05-16 16:18:14 +02:00
fvrmr
2d8e1ee2c2 Add beta bug fixes
Added beta bug fixes in a separate list.
Typo's
Removed the line that implied that win 7 keeps functioning, because it doesn't!
Removed a line about an improvement that was only in a Alpha
2022-05-16 16:13:59 +02:00
Ghostkeeper
fc4585e098
Merge branch '5.0'
Conflicts:
	plugins/Marketplace/resources/qml/PackageCardHeader.qml -> An improvement for future translations was made at the same time as a change to the label here.
2022-05-16 15:11:39 +02:00
Ghostkeeper
94fc3981a3
Fix import for file dialog
Without this, the page fails to load, showing nothing, because the FileDialog element doesn't exist.
I don't know why this is necessary for Qt6, but we had to do this for all other FileDialog uses too.

Done as a 5-minute fix.
2022-05-16 15:10:26 +02:00
fvrmr
0bb8ac3460 Added UI fixes
Forgot to add all the UI fixes (those were not part of automating the changelog script) I added only the important fixes like drag and drop, scrollbar on tooltip etc
2022-05-16 14:48:21 +02:00
fvrmr
d1aa7a2142 Update change_log.txt
Updated the changelog with all the bug fixes and added community translations. Removed changelog from 4.9.1
2022-05-16 14:02:54 +02:00
j.delarago
77f5c91b77
Update names of function calls
CURA-9141
2022-05-16 13:33:56 +02:00
j.delarago
63e6b7704c
Use startswith for more pythonic code.
Swap out while True with for line in f.readlines. This will now termitate without having to catch a StopIteration error.

CURA-9141
2022-05-16 13:33:56 +02:00
Joey de l'Arago
b04f3bd587
Code style and typing improvements
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2022-05-16 13:33:33 +02:00
j.delarago
fe261d31a2
Added my script for updating one of our po files with a po file from the community. This should save some time next time we get a scrambled po file.
CURA-9141
2022-05-16 13:33:18 +02:00