Commit graph

316 commits

Author SHA1 Message Date
Jaime van Kessel
a9b45572cc PostReply is now always reset correctly
CURA-2630
2016-10-12 14:50:58 +02:00
Jaime van Kessel
2638365839 LastRequestTime is reset on connection close
CURA-2630
2016-10-12 14:36:41 +02:00
Ghostkeeper
afd5df283c
Re-filter list of printers when you open the window
When you open the window of a printer that already exists, it doesn't re-create the entire window and therefore didn't re-apply the filter on machine type.

This triggers the filter to be applied again.

Contributes to issue CURA-2475.
2016-10-06 14:33:42 +02:00
Jaime van Kessel
9389149064 Type name display is now also updated in print discovery
CURA-2475
2016-10-06 11:36:26 +02:00
Jaime van Kessel
2688928467 Revision number is no longer taken into account
CURA-2475
2016-10-06 11:30:56 +02:00
Jaime van Kessel
f71b23c72a Added handling for if there is no global stack
CURA-2475
2016-10-06 09:35:31 +02:00
Jaime van Kessel
ec63d6931e Actually perform the filtering based on machine type
CURA-2475
2016-10-05 14:54:22 +02:00
Jaime van Kessel
84defb27cf Merge branch 'master' of github.com:Ultimaker/JediWifiPrintingPlugin 2016-10-05 14:32:17 +02:00
Jaime van Kessel
8cbd6443be UM3 familiy printers now set their machine type
CURA-2475
2016-10-05 14:31:41 +02:00
fieldOfView
029fda72e3 Fix warning when there is no current printer 2016-10-04 19:09:10 +02:00
Ghostkeeper
8bd3b7ea9b
Revert "Reinitialise Zeroconf network socket upon refresh/start"
This reverts commit a31a4a1e90.
2016-10-04 14:50:08 +02:00
Ghostkeeper
a31a4a1e90
Reinitialise Zeroconf network socket upon refresh/start
Reinitialising Zeroconf entirely causes CPU usage to go through the proverbial roof. This is sort of a hack, since we're touching the _listen_socket variable inside Zeroconf, which it hasn't exposed. But it works to still be able to refresh Zeroconf after network switches, and to not have high CPU usage afterwards.

Contributes to issue CURA-2497.
2016-10-04 13:49:01 +02:00
fieldOfView
8a6d125478 Add strings to clarify the manual printer UI
Also adds resuming/pausing states strings and a "Print Again" to use elsewhere.
2016-10-03 12:29:50 +02:00
fieldOfView
e6570884fc Hide dialog when accepting/rejecting
Under some circumstances, UM.Dialog would not hide the dialog, so we do it ourselves.

CURA-2384
2016-10-01 13:16:14 +02:00
fieldOfView
8e5dbb78a4 Don't connect to a printer if we don't have its properties yet
CURA-2483
2016-10-01 13:07:55 +02:00
fieldOfView
4f9eeb6be6 Hide printer details until printer has divulged them
CURA-2483
2016-10-01 13:06:38 +02:00
Aldo Hoeben
de44ac1df9 Merge pull request #3 from Ultimaker/feature_manual_instances
Add support for manual instances
2016-09-29 19:15:11 +02:00
fieldOfView
042ebe76ba Don't rely on key prefix, remove code duplication (_api_prefix)
CURA-2384
2016-09-29 15:32:42 +02:00
fieldOfView
b25b92a81b Don't allow spaces, commas and other illegal chars in the address
CURA-2384
2016-09-29 14:46:31 +02:00
fieldOfView
ea9ba87fa4 Only allow connecting if the printer has responded to API query
CURA-2483
2016-09-29 14:29:33 +02:00
fieldOfView
a2722c7571 Get firmware version through API...
...for parity between discovered printers and manual printers

CURA-2384
2016-09-29 09:41:21 +02:00
fieldOfView
578b4d3826 Implement Adding, Editing and Removing manual printers
CURA-2384
2016-09-29 08:47:29 +02:00
fieldOfView
eba49ee8c2 Always show manual printer instances, even before they are validated
CURA-2483
2016-09-28 23:08:23 +02:00
fieldOfView
8dd8fd740c Add UI for managing manually added printers
CURA-2483
2016-09-28 23:05:53 +02:00
fieldOfView
8e26d63390 Get a list of ipadresses/hosts to check for UM3 printers...
...in case discovery does not work. This uses the API to look up info on the printer instead of relying on zeroconf.

CURA-2483
2016-09-28 17:45:56 +02:00
Jack Ha
da4ea2e450 Better refresh button: now emits signal and re-instantiates zeroconf.
Signal emits let the UI display an empty list.
Re-instantiation copes with network changes.

Contributes to CURA-2372
2016-09-28 16:36:09 +02:00
fieldOfView
1ed3fc7c37 Don't reset zeroconf until after (most) printers have been found
CURA-2060
2016-09-28 11:31:52 +02:00
awhiemstra
fb371f5556 Remove some more references to Jedi
Contributes to CURA-2342
2016-09-27 15:57:01 +02:00
awhiemstra
7408f31738 Change install location to UM3NetworkPrinting
Contributes to CURA-2342
2016-09-27 15:53:33 +02:00
awhiemstra
fefa111b5a Update references to JediWifiPrinting to UM3NetworkPrinting
Contributes to CURA-2342
2016-09-27 15:52:31 +02:00
fieldOfView
720dd9c50c Use the semantically more correct infinity 2016-09-26 16:28:06 +02:00
fieldOfView
58d31beeb8 Merge branch 'master' of https://github.com/Ultimaker/JediWifiPrintingPlugin 2016-09-26 14:07:31 +02:00
fieldOfView
368851b910 Check if a request was made recently before claiming a timeout occurred
If the main thread locks up for longer than the network timeout period, the connection may incorrectly seem to have reached a timeout.

CURA-2440
2016-09-26 14:07:16 +02:00
Ghostkeeper
b4ba7a64a9
Only update printer list after printer is added/removed
This makes it emit a signal only after addPrinter and removePrinter has completed executing, so we know that updating the list is done by the time it refreshes the list view in QML.

Contributes to issue CURA-2393.
2016-09-26 12:04:59 +02:00
fieldOfView
c0839bcfbb Correct and format the documentation example json 2016-09-23 16:50:57 +02:00
fieldOfView
64571bff0b Revert exception logging 2016-09-21 16:42:02 +02:00
fieldOfView
bc76744ddb Add (more) logging to authentication denied state
CURA-2270
2016-09-21 16:40:42 +02:00
Jaime van Kessel
9bc50c59e5 Merge branch 'master' of github.com:Ultimaker/JediWifiPrintingPlugin 2016-09-21 15:59:46 +02:00
Jaime van Kessel
24827ba5a1 Added more logging when authentication was denied
CURA-2270
2016-09-21 15:59:26 +02:00
fieldOfView
d8f0b634af Switch back to Print Setup when canceling sending a print to the printer
CURA-2384
2016-09-21 14:01:05 +02:00
fieldOfView
ba53b0109b Fix connecting to the selected printer when pressing "Finish" in add machine wizard 2016-09-21 14:00:11 +02:00
Jaime van Kessel
2a349214cf Merge branch 'master' of github.com:Ultimaker/JediWifiPrintingPlugin 2016-09-20 17:46:58 +02:00
Jaime van Kessel
df9f940ff4 Added cancel button to upload print
CURA-2384
2016-09-20 17:46:46 +02:00
fieldOfView
f75e8c9537 Add version number 2016-09-20 11:53:14 +02:00
fieldOfView
400360cb34 Add check if additional components were successfully created 2016-09-19 15:05:33 +02:00
Jaime van Kessel
7da05e0f36 Post reply is now set to None after abort
CURA-2295
2016-09-19 13:38:52 +02:00
Jaime van Kessel
66b22134ba Always hide progress message if connection is lost 2016-09-19 11:31:20 +02:00
Jaime van Kessel
27d017b29e Merge branch 'master' of github.com:Ultimaker/JediWifiPrintingPlugin 2016-09-19 11:30:30 +02:00
Jaime van Kessel
e388b8126b No longer re-create zeroConf object, as this crashes
CURA-2393
2016-09-19 11:29:57 +02:00
fieldOfView
d980f6b792 Code style
CURA-2277/CURA-2276
2016-09-19 10:26:25 +02:00