erp5:98635b888b9e15c2beab142eed7ca238d811988e commitshttps://lab.nexedi.com/nexedi/erp5/-/commits/98635b888b9e15c2beab142eed7ca238d811988e2018-07-02T15:56:46+09:00https://lab.nexedi.com/nexedi/erp5/-/commit/98635b888b9e15c2beab142eed7ca238d811988eerp5.util.testbrowser: Refactor of openNoVisit() and {Image,Submit}Control fo...2018-07-02T15:56:46+09:00Arnaud Fontainearnaud.fontaine@nexedi.comerp5.util.testbrowser: Refactor of openNoVisit() and {Image,Submit}Control for recent zope.testbrowser (followup of <a href="/nexedi/erp5/-/commit/5a0b3763d334ac00e283ee2ee1d9520b4ade2024" data-original="5a0b376" data-link="false" data-link-reference="false" data-project="1" data-commit="5a0b3763d334ac00e283ee2ee1d9520b4ade2024" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="testbrowser: refactor in browser due to new version of package zope.testbrowser." class="gfm gfm-commit has-tooltip">5a0b3763</a>).
https://lab.nexedi.com/nexedi/erp5/-/commit/7a708aab918ed13dd47a2cc81375d03ec7601bdeAlarm: Add support for Predicates as notification targets.2018-07-02T15:37:05+09:00Vincent Pelletiervincent@nexedi.com
And specifically, Domains (more portal types may be added to the relation
string field widget as needed).
Predicates get expanded to the list of documents they match.https://lab.nexedi.com/nexedi/erp5/-/commit/640d90a7a6279f1696f0529db5ac35e9a55609baNew portal type group: "domain".2018-07-02T15:37:05+09:00Vincent Pelletiervincent@nexedi.com
Can be used to identify whether a document should be used to match other
documents, rather than as a final document itself.https://lab.nexedi.com/nexedi/erp5/-/commit/4e6fc667d3d686aedaba39c49ccdf57bd8f967bb[erp5_gadget_interface_validator] Switch to erp5js gadgets2018-06-29T12:29:03+02:00Romain Courteaudromain@nexedi.com
Reorganize code by parsing the appcache with jio.
Interface checking is done by a standalone gadget whch directly display the status.
Drop not needed code (do not reimplement getInterfaceList for example).
Force interface strict HTML formathttps://lab.nexedi.com/nexedi/erp5/-/commit/53d26a9d5fbeb86ebef106cd52e38e006a1898d8[erp5_xhtml_style/erp5_web_renderjs_ui] Update renderJS 0.19.02018-06-29T12:28:53+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/aa1331310e00c06f7f08d462d1b6fca240cc265b[web_renderjs_ui] fix if statement2018-06-26T10:39:40+02:00Tristan Caveliertristan.cavelier@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/706" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/706" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2165" data-project-path="nexedi/erp5" data-iid="706" data-mr-title="[web_renderjs_ui] fix if statement" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!706</a>https://lab.nexedi.com/nexedi/erp5/-/commit/044f13c1af4efce9f150652611105409feb4b859[web_renderjs_ui]: jslint gadget_erp5_page_form.js2018-06-26T09:44:16+02:00Tristan Caveliertristan.cavelier@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/8b93517d517dc0ee55c08645ca9c4c8aebfb05a8runTestSuite: add conversion_server_retry_count parameter2018-06-25T10:40:31+02:00Xiaowu Zhangxiaowu.zhang@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/705" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/705" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2164" data-project-path="nexedi/erp5" data-iid="705" data-mr-title="runTestSuite: add conversion_server_retry_count parameter" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/erp5!705</a>https://lab.nexedi.com/nexedi/erp5/-/commit/9e695da1ee7e18594b4c0a68e5ddcfbd83b2e574[erp5_web_renderjs_ui] Checkbox: handle stored value in relation field2018-06-22T18:22:33+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/0bce423937ce59a4a87e59313d31d65661b58435[erp5_web_renderjs_ui] When redirecting to parent, always try to restore the ...2018-06-22T18:22:32+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/670e37e1efa3973cbeceed1c7870de10ba4108bd[erp5_web_renderjs_ui] Follow HTML spec for checkbox2018-06-22T12:10:41+02:00Romain Courteaudromain@nexedi.com
Send 'on' value when checked.
Do not add checkbox in the request body if unchecked.https://lab.nexedi.com/nexedi/erp5/-/commit/17dbbb408b0cbab16f30d5aee29d1e39ad7ea8e4[erp5_core] Do not show the maximize button on editor embedded in a listbox2018-06-22T12:10:40+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/9a3ffaf2aec5812473c3c294ebe033cdd9da43b6OoDocument: retry for socket related error2018-06-22T08:22:57+02:00Xiaowu Zhangxiaowu.zhang@nexedi.com
for example: SSLError: ('The read operation timed out',)
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/703" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/703" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2161" data-project-path="nexedi/erp5" data-iid="703" data-mr-title="OoDocument: retry for socket related error" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!703</a>https://lab.nexedi.com/nexedi/erp5/-/commit/10ef148f5090dc0d6e0d76787fa44b2a2d391078erp5.util.testbrowser: Require zope.testbrowser >= 5.0.0 since 5a0b376 so...2018-06-22T05:13:05+09:00Arnaud Fontainearnaud.fontaine@nexedi.comerp5.util.testbrowser: Require zope.testbrowser >= 5.0.0 since <a href="/tiwariayush/erp5/-/commit/5a0b3763d334ac00e283ee2ee1d9520b4ade2024" data-original="5a0b376" data-link="false" data-link-reference="false" data-project="80" data-commit="5a0b3763d334ac00e283ee2ee1d9520b4ade2024" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="testbrowser: refactor in browser due to new version of package zope.testbrowser." class="gfm gfm-commit has-tooltip">5a0b3763</a> so update dependency accordingly.
https://lab.nexedi.com/nexedi/erp5/-/commit/786e5f01af1149341330b88b191d89ab89fdc352[erp5_core/erp5_web_renderjs_ui] Update jIO 3.30.02018-06-21T16:28:06+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/516fefb4f314b34932778f9c5efd2ba189ad54cc[erp5_gadget_interface_validator] Do not check the constructor attribute2018-06-21T15:45:46+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/ecc0a8791532b61a2429454eff8612fd67d6b22e[erp5_gadget_interface_validator] Stop surcharging error message2018-06-21T15:45:45+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/8a07c6e3ef416fd4ff4fc2817f872d65b561f7ea[erp5_gadget_interface_validator] Simplify2018-06-21T15:45:44+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/e1708acd9642bffed1d4ca9f9e0217fe1eb06f1e[erp5_gadget_interface_validator] No need to copy renderJS code2018-06-21T15:45:43+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/b88a0489f5c72aa5da691c035fabe7eb70166cf1[erp5_gadget_interface_validator] Do not reimplement jio ajax2018-06-21T15:45:42+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/2922450072797bb7bb5fed587ca258c028f693c2[erp5_gadget_interface_validator] Remove not needed defer2018-06-21T15:45:40+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/598bb3fe8ec3226a35028b0237a7dbe381e3ddb0[erp5_web_renderjs_ui] Display the modification date on search list2018-06-21T15:39:02+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/d176729ac64487c370e425cb0b2829850831475cfixup! erp5_accounting: Give a None selection_domain instead of an empty dict.2018-06-21T16:54:45+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/9d29b9066d6ef5087c8e75205a859173f1db35eferp5_accounting: Give a None selection_domain instead of an empty dict.2018-06-21T14:13:16+09:00Vincent Pelletiervincent@nexedi.com
Otherwise, the query will include a pointless "node.uid > 0" condition
(because internal API has no choice but to return a condition) which
confuses the query optimiser and may lead to very suboptimal execution
plans: a range scan of node.uid (catalog as node, node.uid=stock.node_uid)
despite provided account uid list constraining stock.node_uid.https://lab.nexedi.com/nexedi/erp5/-/commit/89f86f4cda3d025cdbd0731e60349b89fa0e6731erp5_mysql_innodb: Improve coding style.2018-06-20T12:59:18+09:00Vincent Pelletiervincent@nexedi.com
Remove trailing whitespaces.
Make it easier to extend the list of indexed columns without causing
unnecessary diffs (sadly, SQL being SQL, those lines will still cause
extra diffs).https://lab.nexedi.com/nexedi/erp5/-/commit/bdf46eaeca1b8201f1cd59f615fe284c79e6b95aCMFActivity: Remove unused import.2018-06-20T12:52:35+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/af2ccbb433985cd8bac1f19ea26042fb69a0f415[erp5_officejs_appstore_base] Wait for documents creation before indexing sof...2018-06-19T09:19:57+02:00Vincent Bechuvincent.bechu@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/699" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/699" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2153" data-project-path="nexedi/erp5" data-iid="699" data-mr-title="[erp5_officejs_appstore_base] Wait for documents creation before indexing software publication" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/erp5!699</a>https://lab.nexedi.com/nexedi/erp5/-/commit/f6c568261306d02dcca228ca9f54f5b41cb14f51Coordinate reachability2018-06-18T14:13:38+02:00Georgios Dagkakisgeorgios.dagkakis@nexedi.com
This Merge Request adds ```reachability_workflow``` and adds it to all Coordinate types (Adress, Email etc.)
so that the can be marked as ```reachable``` or ```unreachable```.
It also adds ```coordinate_interaction_workflow```, so that when a coordinate text changes actions can be triggered.
The default behaviour is that, when coordinate text changes for an 'unreachable' Coordinate, it is marked as reachable.
We already discussed this with <a href="/jerome" data-user="9" data-reference-type="user" data-container="body" data-placement="top" data-html="true" class="gfm gfm-project_member" title="Jérome Perrin">@jerome</a> , but I cc <a href="/nexedi" data-group="7" data-reference-type="user" data-container="body" data-placement="top" data-html="true" class="gfm gfm-project_member" title="nexedi">@nexedi</a> , since this can break compatibility in projects, because
in the past Coordinates acquired ```validation_state``` by their parent document (Person, Organisation, etc).
So now, if some code checks ```getValidationState``` (though it should be checking on the parent) for Coordinate, or searches Catalog with ```validation_state``` (though it should be ```parent_validation_state```), behaviour will change.
Test Result <a href="<a href="https://nexedijs.erp5.net/#/test_result_module/20180608-2D68AF16" rel="nofollow noreferrer noopener" target="_blank">https://nexedijs.erp5.net/#/test_result_module/20180608-2D68AF16</a>">here</a> seems good (3 failures in UI tests that seem unrelated)
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/691" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/691" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2133" data-project-path="nexedi/erp5" data-iid="691" data-mr-title="Coordinate reachability" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/erp5!691</a>https://lab.nexedi.com/nexedi/erp5/-/commit/af3fb549dcc38b6472a12f79134c1183d5b73b49[erp5_gadget_interface_validator] JSLint2018-06-15T15:38:53+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/fe9a9c9433b5608b8e4a00d6516ef9071c2d8a6e[erp5_gadget_interface_validator_ui_test] Check all gadget results2018-06-15T15:38:50+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/4ca9d141d085718498c93db82d3abd4169c1732a[erp5_gadget_interface_validator_ui_test] Check missing method2018-06-15T15:38:49+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/bb7ade5b2eb95ad3ded0a6f8ddf0da73ef0fbc31[erp5_web_renderjs_ui_test] Add more assertions2018-06-15T15:38:48+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a5b456c3f4b7f7803dc1b79cb9ce3317ea83eb7c[erp5_web_renderjs_ui_test] Remove hardcoded URL2018-06-15T15:38:47+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/51456a3c2743ead428194583bc43ed9a87031b6fFix for invoices with date <= 19002018-06-15T10:39:12+02:00Jérome Perrinjerome@nexedi.com
Because the helper script for invoice, (order, packing lists, etc) printout is using `DateTime.strftime` it does not support dates before 1900.
This is a [documented behavior](<a href="https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior" rel="nofollow noreferrer noopener" target="_blank">https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior</a>) in python that dates before 1900 cannot be used.
In these cases it's not supposed to happen, but if by mistake user enter a date before 1900, printing the invoice would fail, which is not good.
These patterns were very simple and did not need strftime.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/694" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/694" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2141" data-project-path="nexedi/erp5" data-iid="694" data-mr-title="Fix for invoices with date <= 1900" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/erp5!694</a>https://lab.nexedi.com/nexedi/erp5/-/commit/0c375a2a866fc14c159114c029c02b7b768a7b4atestERP5Base: add a test to check reachability_workflow and coordinate_intera...2018-06-14T18:10:04+02:00Georgios Dagkakisgeorgios.dagkakis@nexedi.com
for Coordinates
Test also checks accessors like getDefaultEmailValidationState.https://lab.nexedi.com/nexedi/erp5/-/commit/97b65690b9ea213bdbaf0b812c8227439914bb4fproperty_sheets: generate validation_state accessors for default coordinates2018-06-14T18:10:01+02:00Jérome Perrinjerome@nexedi.com
So that we can use accessors such as getDefaultEmailValidationState on
persons or organisations.https://lab.nexedi.com/nexedi/erp5/-/commit/e29672020b36a4c8ca1c8a13ae42810fe1549a5derp5_base: Add coordinate_interaction_workflow and add it all Coordinate types2018-06-14T18:09:59+02:00Georgios Dagkakisgeorgios.dagkakis@nexedi.com
In its generic form it would declare as reachable an unreachable coordinate
when the coordinate_text changeshttps://lab.nexedi.com/nexedi/erp5/-/commit/5504703a552f6f2195b68f10a1cbf1b24ecdf9beerp5_base: Add my_translated_validation_state_title field in standard views of2018-06-14T18:09:58+02:00Georgios Dagkakisgeorgios.dagkakis@nexedi.com
'coordinate' types.
Also translated_validation_state_title column to
Base_viewBaseFieldLibrary/my_view_mode_contact_listboxhttps://lab.nexedi.com/nexedi/erp5/-/commit/ca82c9ebb24e8e28d2e79be2d2cd7be0b503af0berp5_base: Add reachability_workflow and add it to all 'coordinate' types2018-06-14T18:09:47+02:00Georgios Dagkakisgeorgios.dagkakis@nexedi.com
To be used by coordinates (Adress, Email etc.)
so that the can be marked as "reachable" or "unreachable".https://lab.nexedi.com/nexedi/erp5/-/commit/ce6223bcf26d6c94647925a6780390e23292e226[erp5_officejs_appstore_base] Add tag for publication creation activities2018-06-14T16:07:44+02:00Vincent Bechuvincent.bechu@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/689" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/689" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2131" data-project-path="nexedi/erp5" data-iid="689" data-mr-title="[erp5_officejs_appstore_base] Add tag for publication creation activities" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/erp5!689</a>