Commit Graph

28 Commits

Author SHA1 Message Date
Vojtech Bubnik
a8f8563b29 Replaced the code to substitute host address part in URL
with libcurl library calls. This solution should be more robust
than a homebrew URL parser solution.
2021-12-03 08:02:16 +01:00
David Kocik
000daaa612 Substitution of host during ip resolve: correct handling of ipv6 2021-12-02 16:31:19 +01:00
David Kocik
c5ab9857e9 Change of 71082adbc9ac2101c39f46218d666e46ab4ecb7c
Instead of just adding port, take original address and replace just host with resolved host.
fix of #7389
2021-12-02 10:25:31 +01:00
David Kocik
a1e645a5a9 allow_ip_resolve in app config 2021-12-02 10:25:04 +01:00
David Kocik
4ca9d0a7d1 Added port number to resolved ip address if specified.
fix of #7361
2021-12-02 10:25:04 +01:00
Vojtech Bubnik
900b79447a Fix of #7386, missing include 2021-11-30 13:17:56 +01:00
Vojtech Bubnik
3e8be922a8 Start Simulation for Duet
Author: Martin Loidl <martin.loidl@gmail.com>

    * PrintHost can now return a set of possible actions to be done after a
      upload is finished
    * Added new Button for starting a simulation after upload
    * Duet Hosts are now able to start a simulation after upload instead of
      starting a print
    * removed now unneeded config key 'printhost_print'
2021-11-30 08:43:39 +01:00
David Kocik
945a7c72c0 Resolve IP address from last curl connection and use it as address for next Octoprint upload
IP resolve only for non secure connection and on windows.
2021-11-25 15:18:15 +01:00
Vojtech Bubnik
60261f2b8b Follow-up to OctoPrint upload: ignore certificate revocation checks
6b03b66167

Renamed the new "printhost_ignore_check" option to "printhost_ssl_ignore_revoke"

Improved the Physical Printers dialog in regard to the new option checkbox
(added tooltip to the checkbox, moved it to the end of options).

Disabled the host_xxx options at the command line interface, they no
more work after these options were separated to Physical Printers profiles.

Little refactoring of Http.cpp/hpp, OctoPrint.cpp/hpp
Private local variables prefixed with m_, some renaming for clarity.
2021-08-24 13:57:52 +02:00
Vojtech Bubnik
feacd191ee OctoPrint upload: ignore certificate revocation checks
Fixes Hostname incorrect While test is positive (Bonjour discovery not
supported for the address field) #1781
(partial fix of #1781)
2021-08-24 11:24:48 +02:00
Vojtech Bubnik
498db5cb01 Support for SL1S printer:
Where SL1 is mentioned, mention it as SL1 / SL1S.
Support loading / saving of SL1S files in addition to SL1.
2021-08-13 13:40:13 +02:00
David Kocik
5161cfdace 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
Yuri D'Elia
674cc646a0 Include PrintConfig for the definition of AuthorizationType 2020-09-11 16:51:05 +02:00
Vojtech Bubnik
1ee729d9ac Added networking support for SL1 Digest authorization.
Renamed login/password/authorization_type to printhost_user/printhost_password/printhost_authorization_type.
Added initialization of physical printer preset with default values.
2020-09-08 15:31:10 +02:00
Lukas Matena
4949150313 Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
bubnikv
eacf1b8334 Clean-up of the "Upload to" code (AstroBox, Duet, FlashAir, OctoPrint) 2020-01-06 10:59:57 +01:00
Vojtech Kral
369a08d2c0 Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial 2019-08-19 17:04:14 +02:00
bubnikv
42af7a8cf3 Modified texts of the "Change language" dialog. 2019-05-09 15:24:08 +02:00
Vojtech Kral
400c46e697 PrintHost: Fix host type configuration, refactor, fix #1687 2019-03-05 16:12:15 +01:00
Vojtech Kral
78e5af1b04 PrintHost: Don't offer print start for SL1 2019-03-05 16:12:15 +01:00
Vojtech Kral
5eec8a24f1 Duet: Implement upload() (refactoring from old code) 2018-12-20 17:09:44 +01:00
Vojtech Kral
19268b292b Printhost: Polish error handling, bugfixes 2018-12-19 18:49:34 +01:00
Vojtech Kral
7c8dbda610 Print host: Check OctoPrint vs SLA 2018-12-19 15:15:29 +01:00
Vojtech Kral
f3d7199a32 PrintHost: Basic SL1 support 2018-12-18 14:37:35 +01:00
Vojtech Kral
0fc0ba119d OctoPrint basics working, niceties to-do 2018-12-17 17:14:00 +01:00
Vojtech Kral
caafcede3b WIP OctoPrint integration 2018-12-12 13:17:01 +01:00
bubnikv
91ac484405 Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
bubnikv
1260b8deb3 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