diff --git a/LibreOffice/README.md b/LibreOffice/README.md index 2109173..74ece2f 100644 --- a/LibreOffice/README.md +++ b/LibreOffice/README.md @@ -9,6 +9,8 @@ It support a wide range of documents. ![https://github.com/lxsang/antosdk-apps/blob/master/LibreOffice/libreoffice.png?raw=true](https://github.com/lxsang/antosdk-apps/blob/master/LibreOffice/libreoffice.png?raw=true) ## Change log +- v 0.1.2-a: + * Fix server side API error with new backend API - v 0.1.1-a: * improve UI handling * add Save as option diff --git a/LibreOffice/api/api.lua b/LibreOffice/api/api.lua index b84d990..230edb4 100644 --- a/LibreOffice/api/api.lua +++ b/LibreOffice/api/api.lua @@ -72,8 +72,8 @@ handle.file = function(data) std.sendFile(path) return nil elseif REQUEST.method == "POST" then - local clen = tonumber(HEADER['Content-Length']) - local barr = bytes.unew(REQUEST["octet-stream"],clen) + --local clen = tonumber(HEADER['Content-Length']) + local barr = REQUEST["application/octet-stream"] bytes.write(barr, path) return result(true) else diff --git a/LibreOffice/build/debug/README.md b/LibreOffice/build/debug/README.md index 2109173..74ece2f 100644 --- a/LibreOffice/build/debug/README.md +++ b/LibreOffice/build/debug/README.md @@ -9,6 +9,8 @@ It support a wide range of documents. ![https://github.com/lxsang/antosdk-apps/blob/master/LibreOffice/libreoffice.png?raw=true](https://github.com/lxsang/antosdk-apps/blob/master/LibreOffice/libreoffice.png?raw=true) ## Change log +- v 0.1.2-a: + * Fix server side API error with new backend API - v 0.1.1-a: * improve UI handling * add Save as option diff --git a/LibreOffice/build/debug/api/api.lua b/LibreOffice/build/debug/api/api.lua index b84d990..230edb4 100644 --- a/LibreOffice/build/debug/api/api.lua +++ b/LibreOffice/build/debug/api/api.lua @@ -72,8 +72,8 @@ handle.file = function(data) std.sendFile(path) return nil elseif REQUEST.method == "POST" then - local clen = tonumber(HEADER['Content-Length']) - local barr = bytes.unew(REQUEST["octet-stream"],clen) + --local clen = tonumber(HEADER['Content-Length']) + local barr = REQUEST["application/octet-stream"] bytes.write(barr, path) return result(true) else diff --git a/LibreOffice/build/debug/package.json b/LibreOffice/build/debug/package.json index 3d3a39f..256b2e6 100644 --- a/LibreOffice/build/debug/package.json +++ b/LibreOffice/build/debug/package.json @@ -7,7 +7,7 @@ "author": "Dany LE", "email": "contact@iohub.dev" }, - "version":"0.1.1-a", + "version":"0.1.2-a", "category":"Office", "icon":"icon.png", "mimes":[ diff --git a/LibreOffice/build/release/LibreOffice.zip b/LibreOffice/build/release/LibreOffice.zip index 0d07c13..cd637c7 100644 Binary files a/LibreOffice/build/release/LibreOffice.zip and b/LibreOffice/build/release/LibreOffice.zip differ diff --git a/LibreOffice/package.json b/LibreOffice/package.json index 3d3a39f..256b2e6 100644 --- a/LibreOffice/package.json +++ b/LibreOffice/package.json @@ -7,7 +7,7 @@ "author": "Dany LE", "email": "contact@iohub.dev" }, - "version":"0.1.1-a", + "version":"0.1.2-a", "category":"Office", "icon":"icon.png", "mimes":[ diff --git a/packages.json b/packages.json index fbcbe63..e80ee10 100644 --- a/packages.json +++ b/packages.json @@ -69,6 +69,16 @@ "dependencies": ["Antunnel@0.2.0-b"], "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelPlugins/build/release/AntunnelPlugins.zip" }, + { + "pkgname": "AntunnelTestClient", + "name": "AntunnelTestClient", + "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelTestClient/README.md", + "category": "Development", + "author": "Dany LE", + "version": "0.1.0-a", + "dependencies": ["Antunnel@0.2.1-b"], + "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelTestClient/build/release/AntunnelTestClient.zip" + }, { "pkgname": "Archive", "name": "Archive", @@ -265,7 +275,7 @@ "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LibreOffice/README.md", "category": "Office", "author": "Dany LE", - "version": "0.1.1-a", + "version": "0.1.2-a", "dependencies": [], "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LibreOffice/build/release/LibreOffice.zip" },