Commit graph

5 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
Stone Li
db20e5efed FIX: fix third-party login
Change-Id: Ib4699ecec1a6c72a9bc4967751d07b75f6b52d3a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-03-14 20:52:14 +08: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
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