erp5.git
5 years agoPROJECT_MOVED -> https://lab.nexedi.com/nexedi/erp5 master
Kirill Smelkov [Mon, 15 Feb 2016 20:11:23 +0000 (23:11 +0300)]
PROJECT_MOVED -> https://lab.nexedi.com/nexedi/erp5

5 years ago[erp5_core] Move listbox fields into the hidden group
Romain Courteaud [Mon, 15 Feb 2016 14:07:53 +0000 (14:07 +0000)]
[erp5_core] Move listbox fields into the hidden group

5 years agoerp5_web: WebSite_login: do not redirect to a came_from that is not child of the...
Georgios Dagkakis [Fri, 12 Feb 2016 14:40:30 +0000 (14:40 +0000)]
erp5_web: WebSite_login: do not redirect to a came_from that is not child of the topmost url document in the given instance.

5 years agoerp5_xhtml_style Base_cancel and logged_in: do not allow redirection outside ERP5...
Georgios Dagkakis [Fri, 12 Feb 2016 14:37:11 +0000 (14:37 +0000)]
erp5_xhtml_style Base_cancel and logged_in: do not allow redirection outside ERP5 site.

5 years agoerp5_base.Base_getURLTopmostDocumentValue.xml: add a method to get the topmost traver...
Georgios Dagkakis [Fri, 12 Feb 2016 14:28:07 +0000 (14:28 +0000)]
erp5_base.Base_getURLTopmostDocumentValue.xml: add a method to get the topmost traversed url in an ERP5 instance. In base it returns the portal.

5 years agoClass FolderMixIn: add isURLAncestorOf method. Returns True if the given_url is child...
Georgios Dagkakis [Fri, 12 Feb 2016 15:24:33 +0000 (15:24 +0000)]
Class FolderMixIn: add isURLAncestorOf method. Returns True if the given_url is child of the url of the given_url is child of the url of the document that the method is called on, False otherwise

5 years agoerp5_web_renderjs_ui_test: an invalidat time's value can't be saved so no change...
Xiaowu Zhang [Fri, 12 Feb 2016 23:52:10 +0000 (23:52 +0000)]
erp5_web_renderjs_ui_test: an invalidat time's value can't be saved so no change for save icon

5 years agoerp5_web_renderjs_ui_test: use save macro
Xiaowu Zhang [Fri, 12 Feb 2016 15:49:10 +0000 (15:49 +0000)]
erp5_web_renderjs_ui_test: use save macro

5 years agocrm : fix unsubscription link
Aurélien Calonne [Wed, 10 Feb 2016 13:39:43 +0000 (14:39 +0100)]
crm : fix unsubscription link

5 years agozope patches: remove in ZMI actions taller/shorter and wider/narrower for zsql method
Sebastien Robin [Wed, 10 Feb 2016 11:27:11 +0000 (12:27 +0100)]
zope patches: remove in ZMI actions taller/shorter and wider/narrower for zsql method

This is too inconvenient when resizing browser size, it requires in
some cases to do taller or shorter many times only because we resized
the browser.

Also, former way was not working nicely when editor like code mirror
was used

5 years agoerp5_web_renderjs_ui: display all lines for listbox configured with a 'lines' value...
Xiaowu Zhang [Wed, 10 Feb 2016 13:21:57 +0000 (13:21 +0000)]
erp5_web_renderjs_ui: display all lines for listbox configured with a 'lines' value to 0

5 years agoupdate test after addition of new dependencies
Aurélien Calonne [Wed, 10 Feb 2016 09:29:48 +0000 (10:29 +0100)]
update test after addition of new dependencies

5 years agoerp5_project: allow assignee to delete project
Tristan Cavelier [Wed, 10 Feb 2016 09:29:15 +0000 (04:29 -0500)]
erp5_project: allow assignee to delete project

5 years agoerp5_base: allow assignor to update assignment
Tristan Cavelier [Wed, 10 Feb 2016 09:28:04 +0000 (04:28 -0500)]
erp5_base: allow assignor to update assignment

5 years agoerp5_web_renderjs_ui: form inside form is forbidden
Xiaowu Zhang [Tue, 9 Feb 2016 12:42:23 +0000 (12:42 +0000)]
erp5_web_renderjs_ui: form inside form is forbidden

5 years agoerp5_web_renderjs_ui: don't crash interface for failing query
Xiaowu Zhang [Tue, 9 Feb 2016 12:40:32 +0000 (12:40 +0000)]
erp5_web_renderjs_ui: don't crash interface for failing query

5 years agoerp5_system_event: fix acknowledge guard
Romain Courteaud [Tue, 9 Feb 2016 10:41:02 +0000 (11:41 +0100)]
erp5_system_event: fix acknowledge guard

No workflow state provides Modify Portal Content to a Role (except Manager).
Change the guard to be based on role instead of permission, so that Assignor can also trigger the transition.

5 years agothese bt5 depends on erp5_knowledge_pad for proxy field library
Aurélien Calonne [Tue, 9 Feb 2016 09:59:41 +0000 (10:59 +0100)]
these bt5 depends on erp5_knowledge_pad for proxy field library

5 years agocrm : prevent failure due to badly call script
Aurélien Calonne [Fri, 5 Feb 2016 14:18:13 +0000 (15:18 +0100)]
crm : prevent failure due to badly call script

5 years agoRevert "erp5_web_renderjs_ui: add publication section to dygraph file"
Jérome Perrin [Mon, 8 Feb 2016 09:21:02 +0000 (10:21 +0100)]
Revert "erp5_web_renderjs_ui: add publication section to dygraph file"

This reverts commit 85c87bc668cd4dcbc0298b0908eb2775a4331c8a.

This publication section is not present in erp5_web_renderjs_ui or any
of its dependencies, so we cannot reference it from here.

5 years agofixup! ERP5TypeTestCase: update translation table only once in setUpERP5Site().
Kazuhiko Shiozaki [Fri, 5 Feb 2016 15:18:41 +0000 (16:18 +0100)]
fixup! ERP5TypeTestCase: update translation table only once in setUpERP5Site().

5 years agoERP5TypeTestCase: update translation table only once in setUpERP5Site().
Kazuhiko Shiozaki [Fri, 5 Feb 2016 13:26:37 +0000 (14:26 +0100)]
ERP5TypeTestCase: update translation table only once in setUpERP5Site().

5 years agofixup! fixup! erp5_dms: update document_publication_workflow permissions
Kazuhiko Shiozaki [Fri, 5 Feb 2016 13:10:42 +0000 (14:10 +0100)]
fixup! fixup! erp5_dms: update document_publication_workflow permissions

5 years agoerp5_dms: increase permissions of archiveVersion
Tristan Cavelier [Thu, 4 Feb 2016 17:41:25 +0000 (18:41 +0100)]
erp5_dms: increase permissions of archiveVersion

5 years agoERP5TypeTestCase: reduce needless ERP5Site_reindexAll call in setUpERP5Site().
Kazuhiko Shiozaki [Thu, 4 Feb 2016 09:35:33 +0000 (10:35 +0100)]
ERP5TypeTestCase: reduce needless ERP5Site_reindexAll call in setUpERP5Site().

ERP5Site_reindexAll is now called only once when --recreate_catalog=1 is explicitly specified.
Also manage_catalogClear is not called with --load unless --recreate_catalog=1 is explicitly specified.

5 years agoerp5_dms: fix archiveVersion archives already archived document
Tristan Cavelier [Thu, 4 Feb 2016 15:33:03 +0000 (16:33 +0100)]
erp5_dms: fix archiveVersion archives already archived document

5 years agoerp5_credential: change proxy role that can update assignment
Tristan Cavelier [Thu, 4 Feb 2016 11:21:21 +0000 (12:21 +0100)]
erp5_credential: change proxy role that can update assignment

5 years agocleanup category relations in Category.
Kazuhiko Shiozaki [Thu, 4 Feb 2016 09:00:04 +0000 (01:00 -0800)]
cleanup category relations in Category.

5 years agocore: do not keep a category link to the original when cloning a Category.
Kazuhiko Shiozaki [Thu, 4 Feb 2016 08:58:13 +0000 (00:58 -0800)]
core: do not keep a category link to the original when cloning a Category.

5 years agoerp5_test_result: fix AttributeError: string_index in TestResult_view/listbox_string_...
Tristan Cavelier [Wed, 3 Feb 2016 13:07:55 +0000 (13:07 +0000)]
erp5_test_result: fix AttributeError: string_index in TestResult_view/listbox_string_index tales expression

5 years agofixup! erp5_dms: update document_publication_workflow permissions
Kazuhiko Shiozaki [Wed, 3 Feb 2016 09:56:13 +0000 (10:56 +0100)]
fixup! erp5_dms: update document_publication_workflow permissions

5 years agocrm : remove not existing property
Aurélien Calonne [Wed, 3 Feb 2016 09:40:48 +0000 (10:40 +0100)]
crm : remove not existing property

5 years agofixup! erp5_dms: update document_publication_workflow permissions
Kazuhiko Shiozaki [Wed, 3 Feb 2016 09:10:53 +0000 (10:10 +0100)]
fixup! erp5_dms: update document_publication_workflow permissions

5 years agoerp5_dms: update document_publication_workflow permissions
Tristan Cavelier [Tue, 2 Feb 2016 20:30:06 +0000 (21:30 +0100)]
erp5_dms: update document_publication_workflow permissions

5 years agoOfficeJS drive: Fix error display.
Isabelle Vallet [Tue, 2 Feb 2016 21:06:32 +0000 (13:06 -0800)]
OfficeJS drive: Fix error display.

5 years agoOfficeJS drive: Fix unecessary line and add message errors for cd/ls 'commands'.
Isabelle Vallet [Tue, 2 Feb 2016 16:21:58 +0000 (08:21 -0800)]
OfficeJS drive: Fix unecessary line and add message errors for cd/ls 'commands'.

5 years agobase: make portal_solver_process security configuration similar to portal_simulation.
Kazuhiko Shiozaki [Tue, 2 Feb 2016 14:36:36 +0000 (15:36 +0100)]
base: make portal_solver_process security configuration similar to portal_simulation.

because it is a generic tool and access restriction should be done by API.

5 years agoerp5_payroll(.*): fix the case when an employee works for different firms
Nicolas Wavrant [Tue, 26 Jan 2016 09:32:45 +0000 (09:32 +0000)]
erp5_payroll(.*): fix the case when an employee works for different firms

5 years agotest.erp5.testUpgrader.py: update the bt5list in afterSetUp(). Otherwise the user...
Georgios Dagkakis [Tue, 2 Feb 2016 12:15:47 +0000 (12:15 +0000)]
test.erp5.testUpgrader.py: update the bt5list in afterSetUp(). Otherwise the user has to invoke genbt5list manually before runnning the test. It was also confusing, because the same test would pass in the server but not locally

5 years agotypo.
Kazuhiko Shiozaki [Tue, 2 Feb 2016 08:19:17 +0000 (09:19 +0100)]
typo.

5 years agocrm : merge scripts NotificationMessage_getSubstitutionMappingDictFromEvent into...
Aurélien Calonne [Mon, 1 Feb 2016 13:19:55 +0000 (14:19 +0100)]
crm : merge scripts NotificationMessage_getSubstitutionMappingDictFromEvent into one only

5 years agosimulation: use proxy roles and guards for Delivery_getSolverProcess
Sebastien Robin [Mon, 1 Feb 2016 15:24:07 +0000 (15:24 +0000)]
simulation: use proxy roles and guards for Delivery_getSolverProcess

Solve divergence dialog was raising unauthorized error when new solver process was created
by this script (when called with someone who was not manager). Therefore use proxy role and
protect call with "View" permission. View is used instead of modify portal content since we could
imagine cases where user might need to solve divergence even though is has no right to modify
delivery.

5 years agofixup! workflow: add workflow transition guard for non-user actions as well.
Kazuhiko Shiozaki [Fri, 29 Jan 2016 21:41:51 +0000 (22:41 +0100)]
fixup! workflow: add workflow transition guard for non-user actions as well.

5 years agoBusiness Template : erp5_data_notebook (To execute remote python code from inside...
Kirill Smelkov [Mon, 1 Feb 2016 09:55:51 +0000 (12:55 +0300)]
Business Template : erp5_data_notebook (To execute remote python code from inside of erp5)

Merge work of Ayush Tiwari (@tiwariayush) to support ERP5-side code
execution for Jupyter (= IPython) notebook:

---- 8< ----

Jupyter == IPython Notebook

Features:

1. Module - Data Notebook (To save notebook according to reference from jupyter frontend)
2. Execute python code which might/might not be remote.
3. Save local_variables for specific notebook, i.e, you can use the python
   objects which were created during code execution. After making a successful
   connection(from frontend) to specific notebook, the variables which were saved
   earlier are available while for execution.

Architecture:

- Code from Jupyter cell is being received as string by Base_executeJupyter.
- Code is executed in Base_runJupyter external method.
- Local variables saved via CMFActivity.
- Result as JSON is returned to frontend (contains mime_type of result string also).

Example Notebook:

    http://nbviewer.ipython.org/urls/lab.nexedi.com/nexedi/erp5/uploads/6778782d5753873583bd4843772cf502/Proof_of_concept_Notebook.ipynb
    https://lab.nexedi.com/nexedi/erp5/uploads/6778782d5753873583bd4843772cf502/Proof_of_concept_Notebook.ipynb

---- 8< ----

Current state is: erp5-data-notebook somehow works on server side, but is known
(see nexedi/slapos!43) to have at least the following limitations:

- errors are not reported properly to users;
- state is not fully saved to ZODB.

the latter point means notebook works only if it is connected to Zope family
with only 1 zope process.

@Tyagov reviewed this work. I'm the person who does the merge.

Slapos part to integrate erp5-data-notebook bt5 and Jupyter frontend
will come in via nexedi/slapos!43 .

/reviewed-by @Tyagov  (on nexedi/erp5!29 and on a lot of other places)

5 years agoerp5_hr_calendar: make the alarm updating time table lines producing stable result
Sebastien Robin [Fri, 29 Jan 2016 16:27:35 +0000 (16:27 +0000)]
erp5_hr_calendar: make the alarm updating time table lines producing stable result

5 years agoerp5_crm: make content_type field visible in Ticket_viewNewEventDialog.
Kazuhiko Shiozaki [Fri, 29 Jan 2016 10:55:00 +0000 (11:55 +0100)]
erp5_crm: make content_type field visible in Ticket_viewNewEventDialog.

5 years agoerp5_base: handle Manage portal content permission in solver_workflow like solver_pro...
Kazuhiko Shiozaki [Fri, 29 Jan 2016 10:27:03 +0000 (11:27 +0100)]
erp5_base: handle Manage portal content permission in solver_workflow like solver_process_workflow.

So that we can have enough permissions in subobjects of solving Solver Process.

5 years agofix testXHTML w3c invalid erp5_svg_editor content
Tristan Cavelier [Fri, 29 Jan 2016 09:25:04 +0000 (10:25 +0100)]
fix testXHTML w3c invalid erp5_svg_editor content

5 years agofix testERP5Core actions do not match expected
Tristan Cavelier [Fri, 29 Jan 2016 09:02:13 +0000 (10:02 +0100)]
fix testERP5Core actions do not match expected

5 years agocore: fix a category with incorrect membership
Jérome Perrin [Fri, 29 Jan 2016 07:23:44 +0000 (08:23 +0100)]
core: fix a category with incorrect membership

5 years agoerp5_core: allow to click on the related object count to see them on Folder_viewDelet...
Tristan Cavelier [Thu, 28 Jan 2016 18:10:16 +0000 (18:10 +0000)]
erp5_core: allow to click on the related object count to see them on Folder_viewDeleteDialog

5 years agoerp5_base: add global jump to related objects
Tristan Cavelier [Thu, 28 Jan 2016 17:34:13 +0000 (17:34 +0000)]
erp5_base: add global jump to related objects

5 years agoallow data urls in src attributes of img safe html tags
Tristan Cavelier [Thu, 28 Jan 2016 15:56:31 +0000 (16:56 +0100)]
allow data urls in src attributes of img safe html tags

5 years agoerp5_web_renderjs_ui_test: Wait activities after create person.
Gabriel Monnerat [Wed, 27 Jan 2016 11:00:31 +0000 (11:00 +0000)]
erp5_web_renderjs_ui_test: Wait activities after create person.

Otherwise test will fail because the user is not indexed yet

5 years agotest: add a test to check guard existence in workflow transitions.
Kazuhiko Shiozaki [Thu, 28 Jan 2016 09:38:02 +0000 (10:38 +0100)]
test: add a test to check guard existence in workflow transitions.

5 years agotest: update causality state explicitly because normal users have no write to modify...
Kazuhiko Shiozaki [Wed, 27 Jan 2016 15:54:15 +0000 (16:54 +0100)]
test: update causality state explicitly because normal users have no write to modify in solving state.

5 years agotest: add basic auth in syncml url.
Kazuhiko Shiozaki [Wed, 27 Jan 2016 15:31:40 +0000 (16:31 +0100)]
test: add basic auth in syncml url.

5 years agotest: update test to follow workflow transition guard changes.
Kazuhiko Shiozaki [Fri, 18 Dec 2015 16:06:19 +0000 (17:06 +0100)]
test: update test to follow workflow transition guard changes.

5 years agotest: use appropriate user to invoke workflow transitions.
Kazuhiko Shiozaki [Thu, 26 Nov 2015 13:59:31 +0000 (14:59 +0100)]
test: use appropriate user to invoke workflow transitions.

5 years agoRevert "fix Unauthorized exception that can be caused by automatic solver."
Kazuhiko Shiozaki [Wed, 27 Jan 2016 10:59:52 +0000 (11:59 +0100)]
Revert "fix Unauthorized exception that can be caused by automatic solver."

Because solve() is now unrestecred method.

This reverts commit ab9e6e6984ce8f76f927e55c7d24bb3cb9224bb2.

5 years agoworkflow: add workflow transition guard for non-user actions as well.
Kazuhiko Shiozaki [Wed, 18 Nov 2015 14:44:27 +0000 (15:44 +0100)]
workflow: add workflow transition guard for non-user actions as well.

they are mostly 'Modify portal content' permission.

5 years agoAdd missing security declarations.
Kazuhiko Shiozaki [Thu, 28 Jan 2016 14:14:07 +0000 (15:14 +0100)]
Add missing security declarations.

5 years agoERP5TypeTestCase: --update_business_templates --update_only didn't work with ZODB...
Arnaud Fontaine [Wed, 25 Nov 2015 10:03:38 +0000 (19:03 +0900)]
ERP5TypeTestCase: --update_business_templates --update_only didn't work with ZODB Test Components.

With ZODB Components, getBusinessTemplateList() only returns the test
bt5 (as given on the command line, such as BT_TITLE:testFoo) and later
it resolves dependencies.

So filtering bt5 to be updated should be done as late as possible...

5 years agoZSQLCatalog.SQLCatalog: Ignore unknown columns in getParams() instead (c6d26af5).
Arnaud Fontaine [Mon, 7 Dec 2015 11:57:43 +0000 (20:57 +0900)]
ZSQLCatalog.SQLCatalog: Ignore unknown columns in getParams() instead (c6d26af5).

Selection.__call__() calls getParams() and as getParams() can be called
directly from many places (such as SelectionTool.getSelectionParamsFor()),
it makes more sense to have it here.

5 years agoerp5_core: Fix ListMode view for ListBox with several tabs.
Arnaud Fontaine [Wed, 27 Jan 2016 09:37:10 +0000 (18:37 +0900)]
erp5_core: Fix ListMode view for ListBox with several tabs.

1. On Tab1, from PurchaseSupply_view, click on 'Purchase Supply Lines':
   Base_viewListMode??proxy_form_id=PurchaseSupply_view&proxy_field_id=listbox

   This Python Script initialise 'list_mode_proxy_selection' with the
   above 2 GET parameters and then displays PurchaseSupply_view.listbox
   indirectly but current Form is Base_viewListModeRenderer.

2. On Tab2, from SaleSupply_view, click on 'Sale Supply Lines':
   Base_viewListMode?proxy_form_id=SaleSupply_view&proxy_field_id=listbox

   This Python Script initialise 'list_mode_proxy_selection' with the
   above 2 GET parameters and then displays SaleSupply_view.listbox
   indirectly but current Form is Base_viewListModeRenderer.

3. On Tab1, filter Purchase Supply Lines.

   As proxy_form_id and proxy_field_id are not given, then
   Base_viewListModeRender fallbacks on 'list_mode_proxy_selection'
   values to find out the Form ID to be called and wrongly display
   SaleSupply_view.listbox (2.).

5 years agoerp5_gadget_interface_validator: Change CSP.
Isabelle Vallet [Thu, 28 Jan 2016 10:38:53 +0000 (10:38 +0000)]
erp5_gadget_interface_validator: Change CSP.

5 years agoOfficeJS drive: Add draft of vim/cd/ls commands + CSP configuration.
Isabelle Vallet [Fri, 22 Jan 2016 16:13:19 +0000 (16:13 +0000)]
OfficeJS drive: Add draft of vim/cd/ls commands + CSP configuration.

5 years ago[erp5_web_renderjs_ui] Sandbox should not be an empty string
Romain Courteaud [Thu, 28 Jan 2016 10:40:26 +0000 (10:40 +0000)]
[erp5_web_renderjs_ui] Sandbox should not be an empty string

5 years agobase: Add a domain tree on `site` for organisation module
Jérome Perrin [Thu, 28 Jan 2016 06:09:23 +0000 (06:09 +0000)]
base: Add a domain tree on `site` for organisation module

5 years agobase: chain Career with edit_workflow
Jérome Perrin [Thu, 28 Jan 2016 04:58:56 +0000 (04:58 +0000)]
base: chain Career with edit_workflow

all documents must be

5 years agoERP5: fix returned value type of Transformation.getQuantity
Jérome Perrin [Wed, 27 Jan 2016 08:04:40 +0000 (09:04 +0100)]
ERP5: fix returned value type of Transformation.getQuantity

This is just to make property type validity constraint happy

5 years agoERP5Type: add useful __traceback_info__ in getProperty
Jérome Perrin [Wed, 27 Jan 2016 05:28:08 +0000 (06:28 +0100)]
ERP5Type: add useful __traceback_info__ in getProperty

5 years agoerp5_gadget_interface_validator_ui_test: rename test for proper display of errors
Jérome Perrin [Wed, 27 Jan 2016 05:15:08 +0000 (05:15 +0000)]
erp5_gadget_interface_validator_ui_test: rename test for proper display of errors

5 years agocrm: do not restrict notification messages to response in Ticket_viewNewEventDialog
Jérome Perrin [Tue, 26 Jan 2016 03:10:22 +0000 (04:10 +0100)]
crm: do not restrict notification messages to response in Ticket_viewNewEventDialog

This dialog can be used outside of the "creating a response context", so filtering the notification messages to only the response one is not always good.
Introduce a request key "notification_message_response_only" that will apply the filter if true.

5 years agoadministration: sort module list in consistency alarm configuration
Jérome Perrin [Tue, 26 Jan 2016 07:40:32 +0000 (07:40 +0000)]
administration: sort module list in consistency alarm configuration

5 years agoadministration: Add "incremental check" option on consistency alarm
Jérome Perrin [Tue, 26 Jan 2016 06:37:01 +0000 (06:37 +0000)]
administration: Add "incremental check" option on consistency alarm

This defines wether we check all documents in matching the query or only documents created since the last alarm run.
In other words, make bd3da7190079640e65ebf2ac813a443860395f90 an option which is now false by default.

5 years agoadministration: implicitly enable Missing Document Category Constraint in consistency...
Jérome Perrin [Mon, 25 Jan 2016 06:19:50 +0000 (06:19 +0000)]
administration: implicitly enable Missing Document Category Constraint in consistency alarm

5 years agoadministration: new constraint to detect documents with category relations to non...
Jérome Perrin [Mon, 25 Jan 2016 06:18:31 +0000 (06:18 +0000)]
administration: new constraint to detect documents with category relations to non existent objects

5 years agoadministration: move testERP5Administration to erp5_administration bt
Jérome Perrin [Mon, 25 Jan 2016 06:14:34 +0000 (06:14 +0000)]
administration: move testERP5Administration to erp5_administration bt

5 years agoBusiness Template: sort skin selection list when exporting to xml. erp5-component
Kazuhiko Shiozaki [Mon, 25 Jan 2016 12:59:19 +0000 (13:59 +0100)]
Business Template: sort skin selection list when exporting to xml.

5 years ago[erp5_web_renderjs_ui] Update appcache
Romain Courteaud [Fri, 22 Jan 2016 16:34:47 +0000 (16:34 +0000)]
[erp5_web_renderjs_ui] Update appcache

5 years ago[erp5_web_renderjs_ui] Improve textarea rendering
Romain Courteaud [Fri, 22 Jan 2016 16:33:51 +0000 (16:33 +0000)]
[erp5_web_renderjs_ui] Improve textarea rendering

Display textarea as 'pre' in read only.
In editable mode, increase textarea size as soon as it get the focus.

5 years ago[erp5_web_renderjs_ui] Improve MultiRelationField gadget readonly rendering
Romain Courteaud [Fri, 22 Jan 2016 16:32:23 +0000 (16:32 +0000)]
[erp5_web_renderjs_ui] Improve MultiRelationField gadget readonly rendering

5 years ago[erp5_web_renderjs_ui] FileField gadget should not crash if no file is uploaded
Romain Courteaud [Fri, 22 Jan 2016 16:31:40 +0000 (16:31 +0000)]
[erp5_web_renderjs_ui] FileField gadget should not crash if no file is uploaded

5 years ago[erp5_web_renderjs_ui] Drop unused handlebars web script.
Romain Courteaud [Fri, 22 Jan 2016 09:57:12 +0000 (09:57 +0000)]
[erp5_web_renderjs_ui] Drop unused handlebars web script.

The one provided by erp5_core is used by default.

5 years ago[erp5_core] Update handlebars 4.0.5
Romain Courteaud [Fri, 22 Jan 2016 09:56:06 +0000 (09:56 +0000)]
[erp5_core] Update handlebars 4.0.5

5 years ago[erp5_web_renderjs_ui] Define CSP needed for renderjs_runner
Romain Courteaud [Fri, 22 Jan 2016 09:50:24 +0000 (09:50 +0000)]
[erp5_web_renderjs_ui] Define CSP needed for renderjs_runner

5 years ago[erp5_web_renderjs_ui] Increase restriction in default CSP configuration
Romain Courteaud [Fri, 22 Jan 2016 09:49:39 +0000 (09:49 +0000)]
[erp5_web_renderjs_ui] Increase restriction in default CSP configuration

5 years agoerp5_web_renderjs: Add CSP configuration field to WebSection_viewRenderJSPreference.
Isabelle Vallet [Fri, 22 Jan 2016 09:35:38 +0000 (09:35 +0000)]
erp5_web_renderjs: Add CSP configuration field to WebSection_viewRenderJSPreference.

5 years agoerp5_web_renderjs_ui: Add CSS rule for not changing 'pre' blocks fonts properties.
Isabelle Vallet [Fri, 22 Jan 2016 08:57:58 +0000 (08:57 +0000)]
erp5_web_renderjs_ui: Add CSS rule for not changing 'pre' blocks fonts properties.

5 years ago[erp5_web_renderjs_ui] Add support for FileField
Romain Courteaud [Thu, 21 Jan 2016 15:35:30 +0000 (15:35 +0000)]
[erp5_web_renderjs_ui] Add support for FileField

5 years ago[erp5_web_renderjs_ui] Update jIO 3.9.0
Romain Courteaud [Thu, 21 Jan 2016 15:33:37 +0000 (15:33 +0000)]
[erp5_web_renderjs_ui] Update jIO 3.9.0

5 years agomake testXHTML ignore erp5_svg_editor
Tristan Cavelier [Thu, 21 Jan 2016 13:13:38 +0000 (08:13 -0500)]
make testXHTML ignore erp5_svg_editor

5 years agocopy some Web Page actions to Web Illustration
Tristan Cavelier [Wed, 20 Jan 2016 16:08:13 +0000 (16:08 +0000)]
copy some Web Page actions to Web Illustration

erp5_web_ung_core: view, view_editor, web_view
erp5_officejs: jio_view

5 years agoerp5_web_ung_core: replace ung_document_publication_workflow by document_publication_...
Tristan Cavelier [Wed, 20 Jan 2016 15:45:53 +0000 (10:45 -0500)]
erp5_web_ung_core: replace ung_document_publication_workflow by document_publication_workflow

- replace workflow for Web Illustration and Web Table portal types
- change objects that contains the wrong workflow in their history
- remove test that deletes published documents

5 years ago[erp5_web_renderjs_ui] Ensure that iframe GadgetField are correctly loaded with their...
Romain Courteaud [Thu, 21 Jan 2016 09:00:57 +0000 (09:00 +0000)]
[erp5_web_renderjs_ui] Ensure that iframe GadgetField are correctly loaded with their data

5 years agoerp5_web: replace EditorField by ImageField in WebIllustration_view image preview
Tristan Cavelier [Wed, 20 Jan 2016 17:42:28 +0000 (12:42 -0500)]
erp5_web: replace EditorField by ImageField in WebIllustration_view image preview

5 years ago[erp5_web_renderjs_ui] Update to jIO 3.8.0
Romain Courteaud [Wed, 20 Jan 2016 15:37:14 +0000 (15:37 +0000)]
[erp5_web_renderjs_ui] Update to jIO 3.8.0

5 years agoerp5_svg_editor: add method-draw canvg missing files
Tristan Cavelier [Wed, 20 Jan 2016 12:19:00 +0000 (07:19 -0500)]
erp5_svg_editor: add method-draw canvg missing files

5 years agoerp5_svg_editor: set anonymous_http_cache to method-draw files
Tristan Cavelier [Wed, 20 Jan 2016 12:18:09 +0000 (07:18 -0500)]
erp5_svg_editor: set anonymous_http_cache to method-draw files