jio:master commitshttps://lab.nexedi.com/preet/jio/-/commits/master2019-03-22T15:34:34+01:00https://lab.nexedi.com/preet/jio/-/commit/b08e246c91d99293f685c85e990174f204964ca4[IndexedDB] close the DB by cancelling the promise2019-03-22T15:34:34+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/5ce1c7d2150e3eb0f29c665cb605ea422b7411ef[Make] remove built parser when cleaning2019-03-21T10:36:49+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/5ceba61b5bb563242acc386ae549852f93874f7c[node] Handle blob responseType2019-03-21T10:36:49+01:00Romain Courteaudromain@nexedi.com
Thanks to Guillaume Royer <guillaume.royer@clearroad.io> for reporting
the issue.
See <a href="https://lab.nexedi.com/nexedi/jio/merge_requests/103" data-original="https://lab.nexedi.com/nexedi/jio/merge_requests/103" data-link="false" data-link-reference="true" data-project="117" data-merge-request="2700" data-project-path="nexedi/jio" data-iid="103" data-mr-title="Node" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/jio!103</a>https://lab.nexedi.com/preet/jio/-/commit/d64085517044409de29d5f38ac2b17fc1c20ef88[test] Check ajax FormData and Blob handling2019-03-19T16:03:02+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/489c41d37db555a605724563e630958b3035dd86[node] atob raises an Error if parameter is not a valid base642019-03-11T23:51:34+09:00Romain Courteaudromain@nexedi.com
Try to reproduce the browser specifications.https://lab.nexedi.com/preet/jio/-/commit/101fd0bae9cc2a386d1cdcbeb686daa3a9a173f4[test] Make it more readable by using promise2019-03-11T23:51:34+09:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/b53e74be655fe66538e2726b1d56cc365d2fef2f[jio] Fix XMLHttpRequest global2019-03-11T23:51:34+09:00Romain Courteaudromain@nexedi.com
sinon now correctly replace it only on demand.https://lab.nexedi.com/preet/jio/-/commit/f9cfbc477c9a0a83ce323d1da5ba4fdb9bf293d6[test] Update test code to make them compatible with node2019-03-11T23:51:21+09:00Romain Courteaudromain@nexedi.com
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).https://lab.nexedi.com/preet/jio/-/commit/20f2d3e99117c534b8e30f5d33e7a87e945a79f6Release 3.37.02019-03-04T19:16:47+09:00Romain Courteaudromain@nexedi.com
Deprecate websql.
Add group_by parameter to allDocs.
Queries: Fix some parsing/serialization issueshttps://lab.nexedi.com/preet/jio/-/commit/83d022d443603a2cb57765a420092e2b8847afd4Queries: Fix some parsing/serialization issues2019-03-04T19:08:26+09:00Tristan Caveliertristan.cavelier@nexedi.com
- 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.https://lab.nexedi.com/preet/jio/-/commit/1868b24931c29dcd78a824e9f23f358e83b09d9b[jio] Drop support for websql2019-03-02T00:17:52+09:00Romain Courteaudromain@nexedi.com
<a href="https://www.w3.org/TR/webdatabase/" rel="nofollow noreferrer noopener" target="_blank">https://www.w3.org/TR/webdatabase/</a>https://lab.nexedi.com/preet/jio/-/commit/d814b55cd152ab8d383e1f4f7e7e0bc97e20801c[erp5storage] Allow to query the catalog with the group_by parameter2019-03-02T00:00:05+09:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/2f890873b4e88ac00cc1a951becbe21ab8ea4e55Release 3.36.12019-02-15T01:02:08+09:00Romain Courteaudromain@nexedi.com
Fixup linsharehttps://lab.nexedi.com/preet/jio/-/commit/663fcc4724ff0cdc2a580c6a06fb8c2953954161[linshare] Handle non JSON metadata2019-02-15T00:56:30+09:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/f6e1811844def52f19711180a785b556ba433c4eRelease 3.36.02019-01-21T23:53:35+09:00Romain Courteaudromain@nexedi.com
Add LinshareStoragehttps://lab.nexedi.com/preet/jio/-/commit/01e87e2c7008924547d9b4362a05c6b5ff1d6027[linshare] add linshare storage2019-01-21T23:50:37+09:00Romain Courteaudromain@nexedi.com
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.https://lab.nexedi.com/preet/jio/-/commit/8143c5a81f81725fef8a5f69a8caea62c5fc1bacRelease 3.35.02018-10-16T14:59:50+02:00Romain Courteaudromain@nexedi.com
Fix IndexedDB transaction handling.
Ease usage of ReplicateStorage.https://lab.nexedi.com/preet/jio/-/commit/e9a130edc2111971be62b7c12c94e5f4563ae21c[replicateStorage] Replicate all documents/attachments before raising.2018-10-16T14:48:49+02:00Romain Courteaudromain@nexedi.com
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.https://lab.nexedi.com/preet/jio/-/commit/8ab4f2781542ab19a32909915961bb2d777c8b06[indexedDBStorage] handle transaction event2018-10-10T10:48:10+02:00Romain Courteaudromain@nexedi.com
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).https://lab.nexedi.com/preet/jio/-/commit/1da27f3603b834bb27554f167ec56b28b4d2614c[replicatestorage] Always skip document if checked once2018-10-09T17:49:08+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/4dd17986c6f4f1bcf557f0570c4cf094ee39d2ecNotify channel has been dropped.2018-10-09T17:49:08+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/2fed742a081be461038ee246aec556a824d0acf4Publish a npm package as jio2018-09-28T12:09:36+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/b254056c058cf1a8d085585e2ec78d6c34df8438Release 3.34.02018-09-27T17:29:37+02:00Romain Courteaudromain@nexedi.com
Revert ERP5Storage local_roles handling breakagehttps://lab.nexedi.com/preet/jio/-/commit/8b1427acdb567f71ece2c5d1a980cc055052b436Revert "Queries: Fix some parsing/serialization bug"2018-09-27T17:07:05+02:00Romain Courteaudromain@nexedi.com
This reverts commit <a href="/romain/jio/-/commit/7e9921a4edb0bfd51d646885ee7ece6188dd427c" data-original="7e9921a4edb0bfd51d646885ee7ece6188dd427c" data-link="false" data-link-reference="false" data-project="210" data-commit="7e9921a4edb0bfd51d646885ee7ece6188dd427c" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Queries: Fix some parsing/serialization bug" class="gfm gfm-commit has-tooltip">7e9921a4</a>.
This change broke the ERP5Storage local_roles/worklist handling.https://lab.nexedi.com/preet/jio/-/commit/64e49fa69dd1ff58eba38752999415abaab6876eAdd .npmignore2018-09-07T12:12:46+02:00Romain Courteaudromain@nexedi.com
No need to publish development files.https://lab.nexedi.com/preet/jio/-/commit/468decd79b2df92a8852790b8898912127a74258Release 3.33.02018-09-07T10:40:09+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/cc5996a4ae862e0f1b0f7ba77054987e9d1b8697Publish a npm scoped package as @nexedi/jio2018-09-07T10:39:27+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/d29592cede43fe5b4773a088774dc5a36ebe0e5aNode: build a NodeJS compatible version.2018-09-07T10:16:38+02:00Romain Courteaudromain@nexedi.com
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.https://lab.nexedi.com/preet/jio/-/commit/c9fc030fb4c5d176dac7e67565099c0753ccba9b[erp5storage] add access token support2018-09-07T09:34:07+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/c865b62d228c57c2f3d06e65de862d808f7825bbMakefile: force building the jIO release2018-09-03T15:18:26+02:00Romain Courteaudromain@nexedi.com
As the list of included storages is defined in the Makefile directly, force building jIO in any case.https://lab.nexedi.com/preet/jio/-/commit/81393ffc53ab3be27e84e74c334c588694530286Ajax: notify channel is not used2018-09-03T15:18:26+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/c8334d5435a931ab47bc528ee19d25526d72e0c8Test Query: drop require usage2018-09-03T12:13:51+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/4b8bddba16d3924be35f358c72040be12c74db83Build: stop relying on grunt, nodejs, npm.2018-08-21T10:33:08+02:00Romain Courteaudromain@nexedi.com
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.https://lab.nexedi.com/preet/jio/-/commit/13aa9c7b03467640ba032cdd915d3362a220007aLint: do not redefine the same variable2018-08-21T10:24:43+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/82ac0448c00d501e9d26e8111da4a522b0b23905Fixup: do not load uglify2018-08-13T14:03:34+02:00Romain Courteaudromain@nexedi.com
See <a href="https://lab.nexedi.com/nexedi/jio/commit/b985eabb65fca79a0d2a18261d757977113a0ff5" data-original="https://lab.nexedi.com/nexedi/jio/commit/b985eabb65fca79a0d2a18261d757977113a0ff5" data-link="false" data-link-reference="true" data-project="117" data-commit="b985eabb65fca79a0d2a18261d757977113a0ff5" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Drop minification." class="gfm gfm-commit has-tooltip">nexedi/jio@b985eabb</a>https://lab.nexedi.com/preet/jio/-/commit/01c57e3f4e3783cb9913253e465efa387b3f430dRelease 3.32.12018-08-10T14:13:24+02:00VincentBvincent.bechu@nexedi.com
Fix previous release content
/reviewed-on <a href="https://lab.nexedi.com/nexedi/jio/merge_requests/99" data-original="https://lab.nexedi.com/nexedi/jio/merge_requests/99" data-link="false" data-link-reference="true" data-project="117" data-merge-request="2250" data-project-path="nexedi/jio" data-iid="99" data-mr-title="Release 3.32.1" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!99</a>https://lab.nexedi.com/preet/jio/-/commit/1db6282c1c216c16c51bbc09b7608ac94ab6f8a4Release 3.32.02018-08-09T17:25:37+02:00VincentBvincent.bechu@nexedi.com
Add CloudoooStorage
Remove minify and doc
Switch licence
/reviewed-on <a href="https://lab.nexedi.com/nexedi/jio/merge_requests/98" data-original="https://lab.nexedi.com/nexedi/jio/merge_requests/98" data-link="false" data-link-reference="true" data-project="117" data-merge-request="2247" data-project-path="nexedi/jio" data-iid="98" data-mr-title="Release 3.32.0" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/jio!98</a>https://lab.nexedi.com/preet/jio/-/commit/4855eabd182a742ef731ad1f4f66fd7478468b87Switch jIO to GPLv3 + wide exception for Free Software2018-08-09T11:10:56+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/preet/jio/-/commit/79019992166bd0465cf5bb6052ceb8e245229e5aRemove docs directory.2018-08-09T10:15:06+02:00Romain Courteaudromain@nexedi.com
Documentation moved to <a href="https://jio.nexedi.com" rel="nofollow noreferrer noopener" target="_blank">https://jio.nexedi.com</a>https://lab.nexedi.com/preet/jio/-/commit/b985eabb65fca79a0d2a18261d757977113a0ff5Drop minification.2018-08-09T10:14:34+02:00Romain Courteaudromain@nexedi.com