mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 11:48:21 +01:00
LibreOffice: fix server side API bug
This commit is contained in:
parent
6fe3723e48
commit
2c436533f7
@ -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)
|
![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
|
## Change log
|
||||||
|
- v 0.1.2-a:
|
||||||
|
* Fix server side API error with new backend API
|
||||||
- v 0.1.1-a:
|
- v 0.1.1-a:
|
||||||
* improve UI handling
|
* improve UI handling
|
||||||
* add Save as option
|
* add Save as option
|
||||||
|
@ -72,8 +72,8 @@ handle.file = function(data)
|
|||||||
std.sendFile(path)
|
std.sendFile(path)
|
||||||
return nil
|
return nil
|
||||||
elseif REQUEST.method == "POST" then
|
elseif REQUEST.method == "POST" then
|
||||||
local clen = tonumber(HEADER['Content-Length'])
|
--local clen = tonumber(HEADER['Content-Length'])
|
||||||
local barr = bytes.unew(REQUEST["octet-stream"],clen)
|
local barr = REQUEST["application/octet-stream"]
|
||||||
bytes.write(barr, path)
|
bytes.write(barr, path)
|
||||||
return result(true)
|
return result(true)
|
||||||
else
|
else
|
||||||
|
@ -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)
|
![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
|
## Change log
|
||||||
|
- v 0.1.2-a:
|
||||||
|
* Fix server side API error with new backend API
|
||||||
- v 0.1.1-a:
|
- v 0.1.1-a:
|
||||||
* improve UI handling
|
* improve UI handling
|
||||||
* add Save as option
|
* add Save as option
|
||||||
|
@ -72,8 +72,8 @@ handle.file = function(data)
|
|||||||
std.sendFile(path)
|
std.sendFile(path)
|
||||||
return nil
|
return nil
|
||||||
elseif REQUEST.method == "POST" then
|
elseif REQUEST.method == "POST" then
|
||||||
local clen = tonumber(HEADER['Content-Length'])
|
--local clen = tonumber(HEADER['Content-Length'])
|
||||||
local barr = bytes.unew(REQUEST["octet-stream"],clen)
|
local barr = REQUEST["application/octet-stream"]
|
||||||
bytes.write(barr, path)
|
bytes.write(barr, path)
|
||||||
return result(true)
|
return result(true)
|
||||||
else
|
else
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"author": "Dany LE",
|
"author": "Dany LE",
|
||||||
"email": "contact@iohub.dev"
|
"email": "contact@iohub.dev"
|
||||||
},
|
},
|
||||||
"version":"0.1.1-a",
|
"version":"0.1.2-a",
|
||||||
"category":"Office",
|
"category":"Office",
|
||||||
"icon":"icon.png",
|
"icon":"icon.png",
|
||||||
"mimes":[
|
"mimes":[
|
||||||
|
Binary file not shown.
@ -7,7 +7,7 @@
|
|||||||
"author": "Dany LE",
|
"author": "Dany LE",
|
||||||
"email": "contact@iohub.dev"
|
"email": "contact@iohub.dev"
|
||||||
},
|
},
|
||||||
"version":"0.1.1-a",
|
"version":"0.1.2-a",
|
||||||
"category":"Office",
|
"category":"Office",
|
||||||
"icon":"icon.png",
|
"icon":"icon.png",
|
||||||
"mimes":[
|
"mimes":[
|
||||||
|
@ -69,6 +69,16 @@
|
|||||||
"dependencies": ["Antunnel@0.2.0-b"],
|
"dependencies": ["Antunnel@0.2.0-b"],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/AntunnelPlugins/build/release/AntunnelPlugins.zip"
|
"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",
|
"pkgname": "Archive",
|
||||||
"name": "Archive",
|
"name": "Archive",
|
||||||
@ -265,7 +275,7 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LibreOffice/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LibreOffice/README.md",
|
||||||
"category": "Office",
|
"category": "Office",
|
||||||
"author": "Dany LE",
|
"author": "Dany LE",
|
||||||
"version": "0.1.1-a",
|
"version": "0.1.2-a",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LibreOffice/build/release/LibreOffice.zip"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LibreOffice/build/release/LibreOffice.zip"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user