1. 19 Apr, 2019 3 commits
  2. 22 Mar, 2019 1 commit
  3. 21 Mar, 2019 2 commits
  4. 19 Mar, 2019 1 commit
  5. 11 Mar, 2019 4 commits
  6. 04 Mar, 2019 2 commits
    • Romain Courteaud's avatar
      Release 3.37.0 · 20f2d3e9
      Romain Courteaud authored
      Deprecate websql.
      
      Add group_by parameter to allDocs.
      
      Queries: Fix some parsing/serialization issues
      20f2d3e9
    • Tristan Cavelier's avatar
      Queries: Fix some parsing/serialization issues · 83d022d4
      Tristan Cavelier authored
      - fixes query toString inconsistent output
      - change serialization behavior
        ( a:b OR a:c ) -> a:( b OR c )
        a:( b OR c )   -> a:( b OR c )
      - rename simpleQuerySetKey to querySetKey
        as it also applies on complex queries.
      83d022d4
  7. 01 Mar, 2019 2 commits
  8. 14 Feb, 2019 2 commits
  9. 21 Jan, 2019 2 commits
    • Romain Courteaud's avatar
      Release 3.36.0 · f6e18118
      Romain Courteaud authored
      Add LinshareStorage
      f6e18118
    • Romain Courteaud's avatar
      [linshare] add linshare storage · 01e87e2c
      Romain Courteaud authored
      LinshareStorage uses the linshare document name as jio key.
      
      If multiple linshare documents have the same name, only the most recent modified is used.
      
      Thanks to Vincent Bechu for his work on this storage.
      01e87e2c
  10. 16 Oct, 2018 2 commits
    • Romain Courteaud's avatar
      Release 3.35.0 · 8143c5a8
      Romain Courteaud authored
      Fix IndexedDB transaction handling.
      
      Ease usage of ReplicateStorage.
      8143c5a8
    • Romain Courteaud's avatar
      [replicateStorage] Replicate all documents/attachments before raising. · e9a130ed
      Romain Courteaud authored
      Accumulate all operations done in a ReplicateReport object.
      
      This ReplicateReport is returned by the repair method in any case (success or failure).
      
      If an error occured while replicating a document, do not stop the full process and log the issue in the report.
      Which means repair now always tries to replicate all documents even if one fails.
      
      Each operation has a code to ease parsing it if needed.
      
      By default, the report only contains error code (< 100).
      It is possible to change the log level by using the 'report_level' storage parameter.
      
      If the 'debug' parameter is set to true, codes will also be displayed in the console.log.
      e9a130ed
  11. 10 Oct, 2018 1 commit
    • Romain Courteaud's avatar
      [indexedDBStorage] handle transaction event · 8ab4f278
      Romain Courteaud authored
      Open database is now wrapped into a promise which ensure that the database will be closed as soon as the promise is resolved.
      This will allow to open multiple transactions if needed.
      
      Transaction creation is now manage by a promise, which will abort the transaction if cancel is called.
      
      The transaction will also be aborted if an error occurs during its callback function.
      
      As transaction abort will reject all accesses, it is safe to use .then method inside the transaction callback.
      
      Check the transaction error event to detect some browser internal errors (like QuotaExceededError).
      Previously, such error was silently ignored, and the jIO client was not aware that the data were not correctly written.
      
      All deletions are now correctly checked, and the method will wait for all deletion to be successfull before returning.
      
      Improve putAttachment algorithm to make it update the previous value and delete only the useless blob chunks.
      
      Reduce the usage of openCursor to not fetch the table content if not needed (like if the index key is enough for example).
      8ab4f278
  12. 09 Oct, 2018 2 commits
  13. 28 Sep, 2018 1 commit
  14. 27 Sep, 2018 2 commits
  15. 07 Sep, 2018 5 commits
  16. 03 Sep, 2018 3 commits
  17. 21 Aug, 2018 2 commits
    • Romain Courteaud's avatar
      Build: stop relying on grunt, nodejs, npm. · 4b8bddba
      Romain Courteaud authored
      Use a Makefile to concatenate the file (and so, drop grunt).
      Allow to build without linting
      
      Fetch external dependencies with curl.
      As they are few, it simplifies the process.
      Keep a local copy of the dependencies.
      
      Add Jison call in the build process.
      
      JSLint can be also triggered from the makefile, and installed how the developper prefers.
      
      Drop the package.json, as jIO is for now not published on npm website.
      
      Remove unused libraries.
      4b8bddba
    • Romain Courteaud's avatar
      Lint: do not redefine the same variable · 13aa9c7b
      Romain Courteaud authored
      13aa9c7b
  18. 13 Aug, 2018 1 commit
  19. 10 Aug, 2018 1 commit
  20. 09 Aug, 2018 1 commit