Commit graph

6 commits

Author SHA1 Message Date
Noisyfox
9f3bafb04e
Fix 3rd party login issue on macOS (#4739)
* Fix use-after-free error

* Ignore http OPTIONS method

* Make sure response has sent before closing the http server
2024-03-28 23:07:10 +08:00
Noisyfox
e29bbac193
Support for SimplyPrint cloud integration (#4525)
* Make httpserver more generic and reusable

* Add OAuthJob

* Fix issue caused by the fact that the backing widget of the `TextCtrl` is no longer `wxTextCtrl`

* Implement login and token refresh

* Implement file upload

* Try fix build error

* Support BBL printers

* Show error message if user hasn't done OAuth

* Fix typo

* Update error message

* Disable unsupported options when SimplyPrint is selected
2024-03-23 10:08:48 +08:00
Aidan
951fc8e98a
A *lot* of import fixes for flatpak (#3909)
* A *lot* of import fixes for flatpak

Aside, thank you @hadess for the majority of these fixes. You are the
base point for a lot of issues fixed during the creation of this
flatpak.

* Use slic3r::load_string_file

Boost 1.84 removed `boost::fs::load_string_file` so use the func located
in Utils.hpp
2024-01-31 11:23:29 +00:00
Stone Li
7ecc8a9834 ENH: use a rare unfrequent port
Change-Id: I29cd679c9d1e435170cbd091cd85a0973cca1012
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
6674aced8f ENH: add prefix for ip in boost::asio
Change-Id: I19e4e470207d9cf98259be112829b089c1ce23eb
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 52e0d20b94d52b48ce25c8f2452a16cafd05e7a8)
2023-02-22 20:09:17 +08:00
Stone Li
cb2334559b NEW: add http server in BambuStudio
Change-Id: I72d99277187ea0d6b600e741dcc4306bc5f44036
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 9ee36044158856e433b19e407094120bd15f4aa0)
2023-02-22 20:09:17 +08:00