57 Commits

Author SHA1 Message Date
Lipu Fei
97def2f6b1 Handle requests ConnectionErrors in Backup plugin
CURA-6471
2019-04-23 09:07:19 +02:00
Jaime van Kessel
3de9cab1e2
Merge pull request #5363 from Ultimaker/backup-list-response-error-handling
Add extra validation to backup list response
2019-02-26 11:16:40 +01:00
ChrisTerBeke
53cc9cd188 Add extra validation to backup list response 2019-02-26 11:09:57 +01:00
Lipu Fei
64150cc7cf Merge remote-tracking branch 'origin/4.0' 2019-02-18 13:52:27 +01:00
Jaime van Kessel
222f8e6cdb Prevent crash for backup plugin if there is no internet connection 2019-02-18 10:38:39 +01:00
Ghostkeeper
232498980c
Merge branch '4.0'
Conflicts:
	cura/GlobalStacksModel.py -> CuraContainerRegistry being used in stead of ContainerRegistry, but imports were reordered.
	plugins/CuraDrive/src/DrivePluginExtension.py -> Typing being solved in two ways.
2019-01-28 16:45:45 +01:00
Jaime van Kessel
f723cdc8a3 Fix typing issues 2019-01-28 14:47:03 +01:00
Ghostkeeper
41c840adbc
Cast plug-in path of self to str
Because it can't be None.
2019-01-24 17:34:22 +01:00
Ghostkeeper
d535008e08
Don't repeat the plug-in name
If it changes, this will crash Cura.
2019-01-24 17:31:08 +01:00
Remco Burema
98ce0caaef
Merge pull request #5158 from Ultimaker/marketplace_use_busy_indicator
Remove loading gif
2019-01-17 16:17:00 +01:00
Diego Prado Gesto
c28aefac4e Add the maximum backups message to the backups plugin
It didn't work after previous changes, so now it will show again when the user already has 5 backups.

Contributes to CURA-6005
2019-01-16 17:33:14 +01:00
Diego Prado Gesto
c11e0cecc8 Remove loading gif
Instead of an external gif, use the BusyIndicator that exists in the ActionButton.
2019-01-13 16:58:38 +01:00
Diego Prado Gesto
801a43c874 Add a small margin in the right so the close button is never behind the scrollbar
Contributes to CURA-6005.
2019-01-11 17:04:51 +01:00
Lipu Fei
520b34ab89 Use getPluginPath()
CURA-6005
2019-01-09 08:41:15 +01:00
Lipu Fei
aee4034e3e No caching preferences
CURA-6005
2019-01-08 15:49:36 +01:00
Lipu Fei
a8fe5ced89 Remove unused import
CURA-6005
2019-01-08 13:33:49 +01:00
Lipu Fei
53cb2ce189 Add comments for http status >=300 check
CURA-6005
2019-01-08 13:29:48 +01:00
Jaime van Kessel
b4b7e1fc21 Codestyle & typing 2019-01-04 11:50:02 +01:00
Jaime van Kessel
b363be4afb Fix typing 2019-01-04 11:48:06 +01:00
Jaime van Kessel
3df9b369f7 Removed the divider as a seperate component
Since it's only used in one place, there is no real point in making it a seperate file

CURA-6005
2019-01-04 11:40:09 +01:00
Jaime van Kessel
c10b8b5c3f Fix crash when attempting to restore backup
CURA-6005
2019-01-04 11:37:52 +01:00
Jaime van Kessel
b4911478e3 Made the plugin depend more on the theme
CURA-6005
2019-01-04 11:35:34 +01:00
Jaime van Kessel
98153769ff Use wide_margin instead of multiplying default margin
CURA-6005
2019-01-04 11:23:34 +01:00
Jaime van Kessel
add5f17ae7 And removed even more unneeded / duplicate / orphaned images
CURA-6005
2019-01-04 11:06:43 +01:00
Jaime van Kessel
74087ade05 Remove a number of orphaned files
CURA-6005
2019-01-04 10:58:51 +01:00
Jaime van Kessel
0ec0b68360 Remove unneeded component
CURA-6005
2019-01-04 10:54:23 +01:00
Jaime van Kessel
3b498d3a34 Change name of the signals so they are consistent with rest of the code
CURA-6005
2019-01-04 10:51:07 +01:00
Jaime van Kessel
23315260ae Fix some of the documentation
CURA-6005
2019-01-04 10:49:41 +01:00
Jaime van Kessel
63c2a901bb Prevent double emits / recalculations when not needed
CURA-6005
2019-01-04 10:45:24 +01:00
Jaime van Kessel
87eb863451 Remove the final traces of the translation indirection
CURA-6005
2019-01-04 10:43:40 +01:00
Jaime van Kessel
8ebd4282fd Make the backupList use a scrollview instead of manually re-doing it
CURA-6005
2019-01-04 10:39:39 +01:00
Jaime van Kessel
31156d6230 Add missing signalemitter decorater
CURA-6005
2019-01-04 10:28:54 +01:00
Jaime van Kessel
551f075527 Removed unneeded destinction between get/put/delete URL
They are all the same, so no real need to keep this seperate.

CURA-6005
2019-01-04 10:27:41 +01:00
Jaime van Kessel
6492b51d7c Remove duplicated icons
CURA-6005
2019-01-04 10:25:22 +01:00
Jaime van Kessel
0edc3f2680 Make some minor improvements to the qml
This implements some of the best practices that weren't used yet for the QML

CURA-6005
2019-01-04 10:17:06 +01:00
Jaime van Kessel
49076a7103 Remove the unneeded BackupListModel
CURA-6005
2019-01-03 17:42:58 +01:00
Jaime van Kessel
1578aaa301 Minor code cleanup
CURA-6005
2019-01-03 17:17:40 +01:00
Jaime van Kessel
83fbb78c9e Backup uploading now shows a intermediate progress bar and hides when done
CURA-6005
2019-01-03 17:15:32 +01:00
Jaime van Kessel
e36b3e37d1 Remove indirection in the translation
CURA-6005
2019-01-03 17:13:47 +01:00
Jaime van Kessel
ed9a51791b Handle bunch of review comments
CURA-6005
2019-01-03 17:05:58 +01:00
Jaime van Kessel
4d1e9d24f9 Cleanup documentation
Either fix the style to doxygen or remove it if it just repeated the functionnname.

CURA-6005
2019-01-03 16:58:51 +01:00
Jaime van Kessel
785f2a8a8b Merge branch 'CURA-6005_cura_drive_plugin' of github.com:Ultimaker/Cura into CURA-6005_cura_drive_plugin 2019-01-03 16:52:02 +01:00
Jaime van Kessel
ea1712df0f Codestyle fixes & simplifications
CURA-6005
2019-01-03 16:51:28 +01:00
Jaime van Kessel
65183ade0a No longer chache singleton objects
CURA-6005
2019-01-03 16:44:08 +01:00
Lipu Fei
a14c846e29 Rename CheckBox.qml to CheckBoxWithTooltip.qml
CURA-6005
2019-01-03 11:53:19 +01:00
Diego Prado Gesto
773190bee1 Fix code style
Add space between binary operator.

Contributes to CURA-6005.
2018-12-19 12:53:41 +01:00
Diego Prado Gesto
8206fde223 Remove the non-load-only-when-testing check
Contributes to CURA-6005.
2018-12-18 16:24:13 +01:00
Diego Prado Gesto
8e78582b61 Add correct copyright and license header to all the files in the plugin
Contributes to CURA-6005.
2018-12-18 16:17:37 +01:00
Diego Prado Gesto
da69c16e09 Split the constants in to files, indicating which constants each file
stores.

Contributes to CURA-6005.
2018-12-18 16:14:13 +01:00
Diego Prado Gesto
02825a062f Change the remove and the info buttons
Contributes to CURA-6005.
2018-12-17 13:38:41 +01:00