- 25 Sep, 2019 1 commit
-
-
Roque authored
-
- 09 Sep, 2019 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
The array buffer length was higher than what is stored in indexedDB Thanks to Alexandra Rogova for reporting the issue.
-
Romain Courteaud authored
Use Blob.size instead...
-
- 23 Jul, 2019 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
If a document stop matching the replicate query, it will be considered as deleted. But its attachments will still be reachable and previously prevented the remote document deletion.
-
- 10 Jul, 2019 2 commits
-
-
Romain Courteaud authored
Fix erp5 storage query handling
-
Romain Courteaud authored
-
- 01 Jul, 2019 2 commits
-
-
Romain Courteaud authored
Fix query. Improve IndexedDB storage. Improve ajax in node.
-
Tristan Cavelier authored
- fixes `"\"a b\""` parsed to {simple query with value: '"a b"'} serialized to ` "\"a b\""` /bug #20190603-E76ED6 https://nexedijs.erp5.net/#/bug_module/20190603-E76ED6 /reviewed-on nexedi/jio!107
-
- 28 Jun, 2019 2 commits
-
-
Romain Courteaud authored
-
Nicolas Wavrant authored
-
- 22 Mar, 2019 1 commit
-
-
Romain Courteaud authored
-
- 21 Mar, 2019 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Thanks to Guillaume Royer <guillaume.royer@clearroad.io> for reporting the issue. See nexedi/jio!103
-
- 19 Mar, 2019 1 commit
-
-
Romain Courteaud authored
-
- 11 Mar, 2019 4 commits
-
-
Romain Courteaud authored
Try to reproduce the browser specifications.
-
Romain Courteaud authored
-
Romain Courteaud authored
sinon now correctly replace it only on demand.
-
Romain Courteaud authored
Do not spy XMLHttpRequest, as it is node 100% compatible between node and browser. Spy ajax calls instead. Do not rely on storage not available in node (like localstorage).
-
- 04 Mar, 2019 2 commits
-
-
Romain Courteaud authored
Deprecate websql. Add group_by parameter to allDocs. Queries: Fix some parsing/serialization issues
-
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.
-
- 01 Mar, 2019 2 commits
-
-
-
Romain Courteaud authored
-
- 14 Feb, 2019 2 commits
-
-
Romain Courteaud authored
Fixup linshare
-
Romain Courteaud authored
-
- 21 Jan, 2019 2 commits
-
-
Romain Courteaud authored
Add LinshareStorage
-
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.
-
- 16 Oct, 2018 2 commits
-
-
Romain Courteaud authored
Fix IndexedDB transaction handling. Ease usage of ReplicateStorage.
-
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.
-
- 10 Oct, 2018 1 commit
-
-
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).
-
- 09 Oct, 2018 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 28 Sep, 2018 1 commit
-
-
Romain Courteaud authored
-
- 27 Sep, 2018 2 commits
-
-
Romain Courteaud authored
Revert ERP5Storage local_roles handling breakage
-
Romain Courteaud authored
This reverts commit 7e9921a4. This change broke the ERP5Storage local_roles/worklist handling.
-
- 07 Sep, 2018 4 commits
-
-
Romain Courteaud authored
No need to publish development files.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Implement a basic FormData support, used to serialize the POST body. Use xhr2 library to replicate XHMLHttpRequest. Desactivate all broken storages (IndexedDB, localstorage, webdav, ...) which rely on browser API. Thanks to Aurelien Calonne <aurel@nexedi.com> and Guillaume Royer <guillaume.royer@clearroad.io> for their contributions.
-