90 Commits

Author SHA1 Message Date
Aleksei S
447c6e7e23 Added Disable link style
CURA-4630
2017-12-21 16:25:13 +01:00
alekseisasin
d7146a90f5
Merge branch 'master' into feature_decline_slice_info 2017-12-21 10:24:35 +01:00
ChrisTerBeke
421d93baa3 Fix potential crash on missing index in extruder dict 2017-12-15 16:30:38 +01:00
Ghostkeeper
13c7099e2f
Don't show slice info message if the preference is set to not send it
If the preference was set to not send it but the user never clicked on the message, don't show the message.

Fixes #2840.
2017-12-05 13:30:12 +01:00
Ruben D
0c4db90b7b
Add button to disable sending info directly
Convenient and easy.
2017-11-28 00:20:43 +01:00
ChrisTerBeke
77cd10374c Always set the active extruder stack when loading project file settings - CURA-4482 2017-10-31 16:00:22 +01:00
ChrisTerBeke
c23c031152 Always use extruder stacks in slice info - CURA-4482 2017-10-31 14:51:31 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Diego Prado Gesto
f139bbe3f1 Fixed some missed references to the previous variables - CURA-4232 2017-09-15 16:05:24 +02:00
alekseisasin
204019702d Added Title for messages
CURA-4203
2017-09-13 13:58:08 +02:00
Lipu Fei
b9397aaa57 Check the content of definition changes container in SliceInfo
CURA-4107

Now we always create a definition changes container for a stack,
checking if the definition changes is empty in SliceInfo doesn't work.
It should check the content too.
2017-08-16 12:50:09 +02:00
Jaime van Kessel
33f843b73a Added name of output device
CURA-4160
2017-08-16 10:52:13 +02:00
Lipu Fei
3a46a337ff In SliceInfo, use the global stack if it is a single-extrusion machine
CURA-4167

Single extrusion machines don't have extruder stacks in the current
architecture.
2017-08-15 14:19:23 +02:00
Ghostkeeper
de8a700bd4
Fix spelling of statistics sending message
Found while working on CURA-3998.
2017-07-18 13:10:16 +02:00
Jaime van Kessel
391533e939 Slice info is now sent by https 2017-07-11 17:09:59 +02:00
Jaime van Kessel
3ee72a5393 Fixed sending wrong setting for bed adhesion
CURA-3858
2017-07-04 10:19:11 +02:00
Jaime van Kessel
1b6152b793 Send print times & extruders as string
CURA-3858
2017-07-04 09:44:09 +02:00
Jaime van Kessel
a1413e8162 Added active mode to sliceinfo
CURA-3858
2017-07-03 13:18:23 +02:00
Jaime van Kessel
d69736ac34 Filter \n from transformation string
CURA-3858
2017-07-03 13:13:42 +02:00
Jaime van Kessel
1682348629 Send data to new server
CURA-3858
2017-07-03 13:10:17 +02:00
Jaime van Kessel
3abde17466 Updated list of settings to be sent.
CURA-3858
2017-07-03 12:57:50 +02:00
Jaime van Kessel
a8492b3a6f Added few more fields (brand & manufacturer) to brand & machine
CURA-3858
2017-06-30 13:33:39 +02:00
Jaime van Kessel
9db00fa9c0 Also send if the user changed the machine definition
CURA-3858
2017-06-30 10:39:22 +02:00
Jaime van Kessel
d38eb7f4e4 Model data is now actually appended to data that's being sent
CURA-3858
2017-06-30 10:35:16 +02:00
Jaime van Kessel
5c9e3c1e4d Extruders are now correctly filled in slicdeInfo
CURA-3858
2017-06-30 10:30:33 +02:00
Jaime van Kessel
c77ff8ea8b Initial set of changed setup for sliceinfo
CURA-3858
2017-06-29 16:54:12 +02:00
Jaime van Kessel
abae2cc28c Moved SliceInfoJob to it's own file
CURA-3858
2017-06-29 14:54:49 +02:00
Jack Ha
bedb41b6d3 SliceInfo now only sends sliceable model hashes (layer data was also sent) 2017-03-02 16:44:40 +01:00
Jack Ha
1029fb4ddd Not to trigger reslice happy anymore, only retrigger if necessary. Also using isSliceable instead of property check when inspecting root node. CURA-3413 CURA-3412 2017-03-02 16:38:31 +01:00
Simon Edwards
1b43e4981e Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.) 2017-01-17 16:57:37 +01:00
Thomas Karl Pietrowski
df63b2d620 Merge remote-tracking branch 'refs/remotes/origin/master-CURA-1445' into master-CURA-1445 2016-09-27 15:40:16 +02:00
Thomas Karl Pietrowski
ca60e517fa Revert "SliceInfo: Defining container_serialized as empty, before trying to serialize"
This reverts commit 1fd169c6697f268588733e7a6d65e80d587b51ab.
2016-09-27 15:39:54 +02:00
Thomas Karl Pietrowski
10d2d7902e Updating the comment about the "settings" keyword
Contributes to CURA-1445
2016-09-24 10:19:26 +02:00
Thomas Karl Pietrowski
db6702fbbc CURA-1445: Sending bundle of serialized data
After an discussion with the developers at YM, we decided to send all data in one keyword.
So now all data is bundled into a JSON dictionary, where "" is the global_container_stack and it's containers go into the same JSON, too, by using their IDs as keywords.
More on JIRA...

Contributes to CURA-1445

Includes/Fixes #1013
2016-09-22 18:24:01 +02:00
Thomas Karl Pietrowski
1fd169c669 SliceInfo: Defining container_serialized as empty, before trying to serialize
While discussing with Jordy about the code I just found a problematic case where sending slice info could fail.
(This shouldn't happen, but..) If the first container is not serializable, then the for-loop will crash because container_serialized is not set for the if clause.
Additionally the if-clause is at the moment useless, because it is always true, because the content of container_serialized gets never resetted.

Contributes to CURA-1445
2016-09-22 11:43:21 +02:00
Ghostkeeper
d3a9b349d1 Merge pull request #999 from Ultimaker/thopiekar-CURA-1445-use-HTTPS-again
[CURA-1445] SliceInfo: Using HTTPS again
2016-09-20 10:44:34 +02:00
Aldo Hoeben
9fb4fc3e65 Merge pull request #1000 from thopiekar/master-CURA-1852
[CURA-1852] Sending material volumina per extruder
2016-09-19 12:42:56 +02:00
Thomas Karl Pietrowski
8366cb8c9b CURA-1852: Removing TODO
Removed the TODO tag, but left a little comment about what is happening in the following section.
2016-09-19 09:50:09 +02:00
Thomas Karl Pietrowski
755b2e61e4 CURA-1852: Sending material volumina per extruder 2016-09-16 15:16:34 +02:00
Thomas Karl Pietrowski
41248a5133 SliceInfo: Using HTTPS again
The problem seems to be related to our HTTP(S) server.
It is expected that the problem will be solved after the weekend.

Contributes to CURA-1445
2016-09-16 14:36:32 +02:00
Jack Ha
31b0f74874 Change url of cura stats. CURA-1445 2016-09-13 15:09:33 +02:00
jack
7d5eb493c7 Merge pull request #967 from thopiekar/master-CURA-1445
[CURA-1445] Adding hashes
2016-09-13 12:55:01 +02:00
Thomas Karl Pietrowski
8571087f3e CURA-1445: Using .join instead
Says in one line what I wanted to do.
2016-09-09 00:24:32 +02:00
fieldOfView
fe34938bce Update wording 2016-09-07 13:57:09 +02:00
Thomas Karl Pietrowski
cf55178a11 Removing unused code
We are collecting here a lot of data, which doesn't get submitted.
2016-09-05 19:05:26 +02:00
Thomas Karl Pietrowski
dd02243790 SliceInfo: Adding log message and pass exception
* removes unused "e"
* Using logException correctly

Conflicts:
	plugins/SliceInfoPlugin/SliceInfo.py
2016-09-05 18:54:52 +02:00
Thomas Karl Pietrowski
6688b99cae CURA-1445: Adding md5 hashes
... for every model placed on the build plate.
2016-09-03 14:03:18 +02:00
fieldOfView
4de5360ac5 Use Logger.log instead of Logger.logException
CURA-1923
2016-08-08 10:43:48 +02:00
Thomas Karl Pietrowski
ecd80974f7 CURA-1923: Just something I missed
Forgot to remove 'self' from 'super().__init__()'
2016-08-07 09:04:24 +02:00
Thomas Karl Pietrowski
dbe1d140c4 Removing old function 2016-08-07 08:54:58 +02:00