26 Commits

Author SHA1 Message Date
David Kocik
b9b4edb129 Upload changes
PrusaLink: Use PUT or POST based on information read during test connection (upload-by-put). If put - do additional GET for storage_list and let user to choose where to upload or show name if only 1 is possible. Allow PrusaLink for MK2.5 and MK2.5S.
PrusaConnect: New host type PrusaConnect inherited from PrusaLink class with filled host address, disabled http diggest. After upload read header information - status message and pass it to notification and Printhost upload dialog via events, this message can be shown as warning notification and is recieved in localized lang. Pass accept-language shortcut in upload header. 3 option to upload. (upload, to queue, to print)
Upload Notification: Showing status text, changes in text, not showing close button, Completed state on special call (not 100%) and other design changes.
Right panel: Open URL button.
2022-12-19 14:17:48 +01:00
David Kocik
d9058b2a92 Cancel upload priority before error showing. 2022-07-17 18:40:07 +02:00
David Kocik
89e288dcf8 Propagate resolved ip address to the UI layer (both upload dialog and notification) 2022-07-17 18:40:07 +02:00
Sergey Kovalev
4917f3b811 Initial implementation, mostly proof of concept 2021-11-23 23:41:25 +07:00
David Kocik
b14345012d PrusaLink - cherrypick pick from stable branch
Added to config enums, visible in Physical Printer Dialog and class derived from Octoprint
2021-06-28 12:36:01 +02:00
David Kocik
8522c06812 cleanup 2020-12-10 11:02:46 +01:00
David Kocik
3523bb421f Ongoing uploads while exiting dialog
Ongoing uploads while exiting dialog

Ongoing uploads while exiting dialog
2020-12-10 11:02:46 +01:00
Vojtech Bubnik
7c571c1d9d Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
Spencer Owen
e7b835dc52 Add Astrobox to Print Host options 2020-01-06 03:37:35 -05:00
Stephan Reichhelm
3321ae7f13 + add FlashAir support for host upload 2019-11-04 12:53:48 +01:00
Vojtech Kral
f937209619 Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial 2019-08-19 17:04:14 +02:00
Vojtech Kral
857b68a82a PrintHost: Fix host type configuration, refactor, fix #1687 2019-03-05 16:12:15 +01:00
Vojtech Kral
bd725a47f4 PrintHost: Don't offer print start for SL1 2019-03-05 16:12:15 +01:00
Vojtech Kral
017b4f3aa1 PrintHost: Fix bad access on bg thread stop 2018-12-21 14:44:03 +01:00
Vojtech Kral
af08626398 Duet: Implement upload() (refactoring from old code) 2018-12-20 17:09:44 +01:00
Vojtech Kral
f318536556 Printhost: Make queue window non-modal, fix upload start progress 2018-12-20 16:43:17 +01:00
Vojtech Kral
ece3c74380 Printhost: Minor bugfix 2018-12-20 13:45:20 +01:00
Vojtech Kral
2d0dc6b050 Printhost: Cancelation, bugfixes 2018-12-20 13:38:00 +01:00
Vojtech Kral
afc5ed0c62 Printhost: Error message stashing, improvements 2018-12-20 13:37:50 +01:00
Vojtech Kral
3b2c28fa89 Printhost: Polish error handling, bugfixes 2018-12-19 18:49:34 +01:00
Vojtech Kral
0ac4d13015 Print host: Check OctoPrint vs SLA 2018-12-19 15:15:29 +01:00
Vojtech Kral
ec9caae622 Http & ErrorDialog: Improve error reporting 2018-12-18 18:50:37 +01:00
Vojtech Kral
66b5deccf5 PrintHost: Basic SL1 support 2018-12-18 14:37:35 +01:00
Vojtech Kral
862217a6b3 OctoPrint basics working, niceties to-do 2018-12-17 17:14:00 +01:00
Vojtech Kral
2350fb62b9 WIP OctoPrint integration 2018-12-12 13:17:01 +01:00
bubnikv
0558b53493 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00