erp5:3ab7bc23cb9f06ede7063774ea1b3c1fd112b79c commitshttps://lab.nexedi.com/nexedi/erp5/-/commits/3ab7bc23cb9f06ede7063774ea1b3c1fd112b79c2017-04-05T12:03:50+02:00https://lab.nexedi.com/nexedi/erp5/-/commit/3ab7bc23cb9f06ede7063774ea1b3c1fd112b79cerp5.util: Release 0.4.472017-04-05T12:03:50+02:00Sebastien Robinseb@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/291f1a1ba7aef2dc7ee60ff49de193d1a97122actestnode: prevent failures when proxy is not ready, just retry2017-04-05T11:52:20+02:00Sebastien Robinseb@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/455b24e5f3637e3d4df4e226c347bdea5df32d8aZSQLCatalog: Drop compatibility support for "operator" argument.2017-04-05T16:37:29+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/b6f4d46d90ecd5cf9873203ee0e22c553d4e91e1all: Stop using ComplexQuery deprecated "operator" argument.2017-04-05T16:37:29+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/615b6f0c656274d7e2b9c332afa6aeeacd262d02erp5testnode: a process might be already dead right before we try to kill it2017-04-04T12:24:32+02:00Sebastien Robinseb@nexedi.com
Since a process might exit by himself at any time, handle exceptions when
we try kill processeshttps://lab.nexedi.com/nexedi/erp5/-/commit/7b602e2343f464c7d69800be18d0fb387fd8301derp5_mysql_innodb_catalog: Do not limit catalog schema to 1000 columns.2017-04-04T17:06:40+09:00Vincent Pelletiervincent@nexedi.com
Spotted by chance. Seems unlikely to be hit, but that would be a stupid
arbitrary limitation nevertheless.https://lab.nexedi.com/nexedi/erp5/-/commit/21097e4837682fdfaed3373a7ae9b89f4c7f8747ZSQLCatalog.Query.ComplexQuery: Raise on unexpected named argument.2017-04-03T18:08:56+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a22a103be0b7b46ba9df3aae215b063a7c403b12ERP5Catalog: Do not create a ComplexQuery for "query" parameter.2017-04-03T18:08:55+09:00Vincent Pelletiervincent@nexedi.com
ComplexQuery bypasses SearchKey mechanism and makes assumptions
SQLCatalog.{search|count}Results does not do.
Instead, reserve a name, and complain if it is passed by caller.https://lab.nexedi.com/nexedi/erp5/-/commit/2163fa7cdd09dcd967970132ea52db5c4af11b61all: Do not pass query=None to catalog.2017-04-03T18:08:54+09:00Vincent Pelletiervincent@nexedi.com
"query" argument is not supposed to be different from any other
argument (argument name is [pseudo-]column name, unknown coluns are
rejected, and "None" means "IS NULL" SQL comparison), but is accidentally
special-cased in ERP5Catalog. This special-casing is to be removed, so
update all callers relying on this glitch.
Also, avoid using Query.https://lab.nexedi.com/nexedi/erp5/-/commit/7698284fe315b7964b1def334966f452d824558aERP5.Tool.SimulationTool: Wrap SQL before passing it to ComplexQuery.2017-04-03T18:08:53+09:00Vincent Pelletiervincent@nexedi.com
Also, do not use deprecated parameter name to pass a logical operator.https://lab.nexedi.com/nexedi/erp5/-/commit/c0856b9a4ff685caea8a45fa1c3bf7eca12f7243ZSQLCatalog.SQLCatalog: Add missing security declaration on alias.2017-04-03T18:08:52+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/5aaeb9d255f477eda1d649e5f990ff4132b6472aerp5_web_renderjs_ui: handle responseType on putAttachment2017-03-31T14:04:43+02:00Tristan Caveliertristan.cavelier@nexedi.com
ERP5Storage.putAttachment is going to return a blob instead of a
string in the resulting event.target.response. This patch allows
to handle blob responses and keep backward compatibility.https://lab.nexedi.com/nexedi/erp5/-/commit/3f022e22a1b91ed4aef8de3ef7f3877f959e85bcerp5_web_renderjs_ui: add default_${key} to some fields2017-03-31T13:52:11+02:00Tristan Caveliertristan.cavelier@nexedi.com
- CheckBoxField
- ListField
- MultiCheckBoxField
- MultiListField
- RadioField
erp5_ui_test: add dialogs and script to test fields
erp5_web_renderjs_ui_test: add tests for some fields
- ListField
- MultiCheckBoxField
- MultiListField
- RadioFieldhttps://lab.nexedi.com/nexedi/erp5/-/commit/d200177758592144c0281e7c86694def2d960936erp5_web_renderjs_ui_test: move portal_tests/renderjs_ui_zuite/* folders in p...2017-03-31T13:45:51+02:00Tristan Caveliertristan.cavelier@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/7b50995b3ebd53940061b5656d15116a04abdfdcerp5_web_renderjs_ui: jslint2017-03-31T13:45:51+02:00Tristan Caveliertristan.cavelier@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/c99fb9163503c5afdef59ecb124b3060b05330a4erp5testnode: make the timeout shorter to avoid long wait time doing nothing2017-03-30T15:45:10+02:00Sebastien Robinseb@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/2baf3b1ee16bbdab75f128b2a782a4ffc34797beerp5testnode: switch on another test suite if we had dead or too long process2017-03-30T15:45:08+02:00Sebastien Robinseb@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/7e2877e481a8be08e3855a54c15498010e1a1d36[erp5_web_renderjs_ui_test] Wait for the page to be updated when saving2017-03-29T14:12:05+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/701dc548e153cb27166d6b346e73aa94edaa96f6[erp5_web_renderjs_ui] Store navigation parameter when displaying the history...2017-03-29T14:11:54+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/710bab7c5f17c9fb7293e550e9eabb85e6096f5c[erp5_web_renderjs_ui] Display desktop mode on chromebook when maximized2017-03-29T14:11:52+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a620ef82efce63723aaec16d7c58a409996c5a14[erp5_web_renderjs_ui] Make media queries exclusive2017-03-29T14:11:51+00:00Romain Courteaudromain@nexedi.com
min-width and max-width overlap if the same value is used:
<a href="https://www.w3.org/TR/css3-mediaqueries/#media1" rel="nofollow noreferrer noopener" target="_blank">https://www.w3.org/TR/css3-mediaqueries/#media1</a>https://lab.nexedi.com/nexedi/erp5/-/commit/5db0d4ff8d74bd6df9b432ba5d6d97e1bafe8a44[erp5_web_renderjs_ui] Allow to focus on input by clicking on label2017-03-29T14:11:50+00:00Romain Courteaudromain@nexedi.com
Set ID attribute on input fields.
<a href="https://www.w3.org/TR/html5/forms.html#the-label-element" rel="nofollow noreferrer noopener" target="_blank">https://www.w3.org/TR/html5/forms.html#the-label-element</a>https://lab.nexedi.com/nexedi/erp5/-/commit/8dcb5112dce49217e345d0f86a8f719783a6cc9ferp5_web_renderjs_ui: File with HTML content type are returned as is2017-03-27T15:46:09+02:00Cédric Le Ninivincedric.leninivin@tiolive.com
Formerly the "base" tag was introduced in the header.https://lab.nexedi.com/nexedi/erp5/-/commit/9563c221931d96dd1fda39917aeccfd6650d89c3erp5_web_renderjs_ui: Add portal Contribution Registry entry for Web Script,...2017-03-27T15:46:09+02:00Cédric Le Ninivincedric.leninivin@tiolive.comerp5_web_renderjs_ui: Add portal Contribution Registry entry for Web Script, Web Style and Web Manifest
https://lab.nexedi.com/nexedi/erp5/-/commit/74ca0bec6284eb081023e748596db4106006fbdd[erp5_web_renderjs_ui] Do not expect all HTML pages to be in web page module2017-03-27T10:29:21+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/eb6968867a9f42f2814c20a66a605c2696e3f389[erp5_web_renderjs_ui] form_view_editable: catch 403 error2017-03-27T07:57:15+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/4b8dd7443ac41286544291e19b4f4ea539c4ddcc[erp5_hal_json_style] Base_edit: return an 403 code if user can't edit the do...2017-03-27T07:57:14+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/bc823dd550438efd5fe55d0c1a68f646d86616b2erp5_font: add http cache to all font and css files2017-03-21T10:29:13+00:00Sven Francksven.franck@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/c23dde8b0fd672090501e26f82e0f14b3134c91berp5_font: add new font noto-sans-cjk-sc for chinese character support2017-03-21T10:27:56+00:00Sven Francksven.franck@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/0eed2ec055f991038d2821f261ec305a1f5d5a6ferp5_data_notebook: Don't add Data Notebook Line if store_history is false....2017-03-18T12:46:05+09:00Yusei Taharayusei@nexedi.comerp5_data_notebook: Don't add Data Notebook Line if store_history is false. When polling ERP5 from Jupyter, I don't want to create a lot of Data Notebook Line.
https://lab.nexedi.com/nexedi/erp5/-/commit/8a980df8ac8f117fc6095e9ca87f99966dfbda87erp5_data_notebook: Add script for renderjs-extension2017-03-17T12:37:24+01:00Sebastian Kreiselsebastian.kreisel@nexedi.com
This commit adds server-side functionality for the [jupyter-renderjs-extension](<a href="https://lab.nexedi.com/Kreisel/jupyter_renderjs_extension">https://lab.nexedi.com/Kreisel/jupyter_renderjs_extension</a>). This has no interaction/impact with the existing functionality of the erp5_data_notebook BT.
<a href="/klaus" data-user="7" data-reference-type="user" data-container="body" data-placement="top" data-html="true" class="gfm gfm-project_member" title="Klaus Wölfel">@klaus</a> mentioned that it is not common practice to return objects of a class (defined in the script). However, for usuability reasons there is an argument to do it here:
Usually when using a jupyter extension, a module is imported an functionality is provided by that module. For instance:
```python
In [1]:
import mymodule as mm
mm.someFunction()
mm.someOtherFunction()
```
To emulate this behavior **and** to be consistent with the [ipython-version (Python 2 Kernel)](<a href="https://lab.nexedi.com/Kreisel/jupyter_renderjs_extension/blob/master/renderjs_ipyextension/renderjs_ipyextension/renderjs_extension.py">https://lab.nexedi.com/Kreisel/jupyter_renderjs_extension/blob/master/renderjs_ipyextension/renderjs_ipyextension/renderjs_extension.py</a>) of this extension I therefore use an object of the class `RJSExtension` which is returned by this script. I am then able to use
```python
rjs = Base_loadRenderJSExtension()
rjs.someFunction()
rjs.someOtherFunction()
```
instead of something like
```python
Base_rjsExtensionSomeFunction()
Base_rjsExtensionSomeOtherFunction()
```
which is much less user-friendly. If there is a better alternative I am not aware of, please comment. Also if anything else is amiss.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/238" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/238" data-link="false" data-link-reference="true" data-project="1" data-merge-request="951" data-project-path="nexedi/erp5" data-iid="238" data-mr-title="erp5_data_notebook: Add script for renderjs-extension" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/erp5!238</a>https://lab.nexedi.com/nexedi/erp5/-/commit/8ec2d0cd7dd05d2049e3410a2a469107ae8f18c8[erp5_xhtml_style] Search page gadget with the data-gadget-value property2017-03-17T09:13:13+00:00Romain Courteaudromain@nexedi.com
Do not use data-gadget-value, as some gadgets may also have sub gadget declarationshttps://lab.nexedi.com/nexedi/erp5/-/commit/c77a64f3d2c640aba8496a920d1f2af267c05ab9[erp5_xhtml_style] Propagate editable value to the gadget2017-03-17T09:13:12+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a6c44ed54b810e35bf386e0eb70f33f0b7517618[erp5_web_renderjs_ui_test] Fix tests2017-03-17T09:13:11+00:00Romain Courteaudromain@nexedi.com
Dialog submit button was modified.
Precise where the form_list search is located.
Lisbox does not delete DOM when updating itself.
Use macro when possible.
Translation uses another base_url.
Listbox button were modified.
Relation field rendering was modified.https://lab.nexedi.com/nexedi/erp5/-/commit/da8f4b5f722bc03d459c761cdaba3e0fe61a2439[erp5_web_renderjs_ui] Do not call changeState recursively, or it blocks the UI2017-03-17T09:13:10+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a3362a6264bff6eaef3d8d5fe755b0912fd32301[erp5_web_renderjs_ui] Listbox: only modify the DOM in the onStateChange method2017-03-17T09:13:09+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a27baa7fac6052d5002e3a91b7dfcc35ef18df65[erp5_web_renderjs_ui] Prevent listbox flickering when updating it2017-03-17T09:13:09+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/e2feb88b5a97d434a1651bc7e7259b3bf1726dad[erp5_web_renderjs_ui] Add a loading notification on the listbox2017-03-17T09:12:57+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/9a8f9d7d99c784acb66cc5fea29d77fa9b5c8a1a[erp5_web_renderjs_ui] Fix action display permission2017-03-17T09:12:56+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/cb1a533481e90673132b1a71e8cfa964ef643fd3[erp5_web_renderjs_ui] Add a search input in the panel2017-03-17T09:02:47+00:00Romain Courteaudromain@nexedi.com