1. 20 Oct, 2016 3 commits
  2. 19 Oct, 2016 4 commits
    • Tristan Cavelier's avatar
      Add support of OnlyOffice document (as ziplike file) · a985974c
      Tristan Cavelier authored
      Originaly, the y format (docy, xlsy, ppty) is a file extension that is use by an OnlyOffice document.
      
      An OnlyOffice document is composed by : 
      
      - a file with extension in (docy, xlsy, ppty)
      - a separate media folder containing media files (Ex: media/image1.png)
      
      Several problems : 
      
      - Two documents cannot be in the same folder
      - How to send / get from Cloudooo to ERP5 ?
      - The document cannot be stored easily in ERP5 (embedded files ? seperate images linked to the document by predecessors ??)
      - How to download an OnlyOffice document from ERP5 ? How to load it on OfficeJS ?
      
      To solve, we embbed all the files composing the document into one zip (like docx, odt, ...) : 
      
      - Two documents can be in the same folder
      - We send / get from Cloudooo as usual with portal transform
      - The document can be stored in File data in ERP5 like any other docx document.
      - document.getData allows to download the document data and JSZip can be used to extract easily the body in OfficeJS.
      
      To keep backward compatibility, a docy can be : 
      - the OnlyOffice document body (`startsWith("DOCY;v2;")`)
      - can be a zip file (`startsWith("PK\x03\x04")`) containing one file at the root of the archive + optional media folder
      
      /reviewed-on nexedi/cloudooo!8
      a985974c
    • Tristan Cavelier's avatar
      x2t: add docy tests with image · f6eb36a4
      Tristan Cavelier authored
      f6eb36a4
    • Tristan Cavelier's avatar
      x2t: update tests · 95eb437e
      Tristan Cavelier authored
      95eb437e
    • Tristan Cavelier's avatar
  3. 26 Sep, 2016 3 commits
  4. 27 Jun, 2016 5 commits
  5. 09 Jun, 2016 1 commit
  6. 01 Jun, 2016 1 commit
  7. 06 Apr, 2016 1 commit
  8. 15 Mar, 2016 2 commits
  9. 09 Mar, 2016 1 commit
  10. 22 Feb, 2016 2 commits
  11. 25 Sep, 2015 1 commit
  12. 17 Aug, 2015 1 commit
  13. 11 Aug, 2015 1 commit
  14. 15 Jun, 2015 1 commit
  15. 10 Nov, 2014 1 commit
  16. 08 Nov, 2014 1 commit
  17. 05 Nov, 2014 2 commits
  18. 04 Nov, 2014 1 commit
  19. 19 Sep, 2014 1 commit
  20. 23 May, 2014 2 commits
  21. 05 May, 2014 2 commits
  22. 14 Mar, 2014 1 commit
  23. 06 Feb, 2014 1 commit
  24. 05 Feb, 2014 1 commit