- 02 Jun, 2017 6 commits
-
-
Tristan Cavelier authored
erp5_core was using Image portal type which is defined in erp5_base.
-
Tristan Cavelier authored
___from___ _to_ ________id_________ ____________________module___________________________ ______________comments______________ * bmp image_to_bmp Products.PortalTransforms.transforms.image_to_bmp * gif image_to_gif Products.PortalTransforms.transforms.image_to_gif * jpg image_to_jpeg Products.PortalTransforms.transforms.image_to_jpeg * pcx image_to_pcx Products.PortalTransforms.transforms.image_to_pcx * png image_to_png Products.PortalTransforms.transforms.image_to_png * ppm image_to_ppm Products.PortalTransforms.transforms.image_to_ppm * svg image_to_svg Products.PortalTransforms.transforms.image_to_svg * tiff image_to_tiff Products.PortalTransforms.transforms.image_to_tiff + css txt css_to_text Products.PortalTransforms.transforms.identity csv txt csv_to_text Products.PortalTransforms.transforms.identity + doc docx doc_to_docx erp5.component.document.TransformDocToDocx - doc html word_to_html Products.PortalTransforms.transforms.word_to_html binary `wvHtml` not in slapos + doc html doc_to_html erp5.component.document.TransformDocToHtml + docx docy docx_to_docy erp5.component.document.TransformDocxToDocy docy is OnlyOffice Text Document + docx odt docx_to_odt erp5.component.document.TransformDocxToOdt + docy docx docy_to_docx erp5.component.document.TransformDocyToDocx html html html_body Products.PortalTransforms.transforms.html_body html html safe_html Products.PortalTransforms.transforms.safe_html html html text-pre_to_html Products.PortalTransforms.transforms.text_pre_to_html html odt html_to_odt Products.ERP5OOo.transforms.html_to_odt html txt html_to_text Products.PortalTransforms.transforms.html_to_text - html txt lynx_dump Products.PortalTransforms.transforms.lynx_dump binary `lynx` not in erp5 SR html txt w3m_dump Products.PortalTransforms.transforms.w3m_dump + js txt javascript_to_text Products.PortalTransforms.transforms.identity + odp html odp_to_html erp5.component.document.TransformOdpToHtml + odp pdf odp_to_pdf erp5.component.document.TransformOdpToPdf + odp pptx odp_to_pptx erp5.component.document.TransformOdpToPptx + odp sxi odp_to_sxi erp5.component.document.TransformOdpToSxi + ods html ods_to_html erp5.component.document.TransformOdsToHtml + ods pdf ods_to_pdf erp5.component.document.TransformOdsToPdf + ods xlsx ods_to_xlsx erp5.component.document.TransformOdsToXlsx odt doc odt_to_doc Products.ERP5OOo.transforms.odt_to_doc + odt docx odt_to_docx erp5.component.document.TransformOdtToDocx + odt html odt_to_html erp5.component.document.TransformOdtToHtml odt pdf odt_to_pdf Products.ERP5OOo.transforms.odt_to_pdf odt xml odt_to_xml Products.ERP5OOo.transforms.odt_to_xml pdf html pdf_to_html Products.PortalTransforms.transforms.pdf_to_html pdf png pdf_to_png Products.PortalTransforms.transforms.pdf_to_png pdf txt pdf_to_text Products.PortalTransforms.transforms.pdf_to_text + php txt php_to_text Products.PortalTransforms.transforms.identity - png txt png_to_text Products.PortalTransforms.transforms.png_to_text binary `ocrocmd` not in slapos + ppt pptx ppt_to_pptx erp5.component.document.TransformPptToPptx + pptx odp pptx_to_odp erp5.component.document.TransformPptxToOdp + pptx ppty pptx_to_ppty erp5.component.document.TransformPptxToPpty ppty is OnlyOffice Presentation + ppty pptx ppty_to_pptx erp5.component.document.TransformPptyToPptx py html python_to_html Products.PortalTransforms.transforms.python + rss txt rss_to_text Products.PortalTransforms.transforms.identity rst html rest_to_html Products.PortalTransforms.transforms.rest rst txt rest_to_text Products.PortalTransforms.transforms.identity - rst,js,css txt css_to_text Products.PortalTransforms.transforms.identity - rst,js,css txt javascript_to_text Products.PortalTransforms.transforms.identity - rtf html rtf_to_html Products.PortalTransforms.transforms.rtf_to_html binary `rtf-converter` not in slapos - rtf xml rtf_to_xml Products.PortalTransforms.transforms.rtf_to_xml binary `rtf2xml` not in slapos st html st_to_html Products.PortalTransforms.transforms.st + sxi html sxi_to_html erp5.component.document.TransformSxiToHtml + sxi odp sxi_to_odp erp5.component.document.TransformSxiToOdp - tiff txt tiff_to_text N/A Cannot find the entry definition... + tiff txt tiff_to_text Products.PortalTransforms.transforms.tiff_to_text txt html text_to_html Products.PortalTransforms.transforms.text_to_html + xls ods xls_to_ods erp5.component.document.TransformXlsToOds + xls xlsx xls_to_xlsx erp5.component.document.TransformXlsToXlsx + xlsx ods xlsx_to_ods erp5.component.document.TransformXlsxToOds + xlsx xlsy xlsx_to_xlsy erp5.component.document.TransformXlsxToXlsy xlsy is OnlyOffice Spreadsheet + xlsy xlsx xlsy_to_xlsx erp5.component.document.TransformXlsyToXlsx xml txt xml_to_text Products.PortalTransforms.transforms.xml_to_text
-
Tristan Cavelier authored
added: id: Word 2007 document icon: docx.png binary: yes mimetypes: application/vnd.openxmlformats-officedocument.wordprocessingml.document extensions: docx globs: *.docx id: OnlyOffice Text Document icon: application.png binary: yes mimetypes: application/x-asc-text extensions: docy globs: *.docy id: OnlyOffice Spreadsheet icon: application.png binary: yes mimetypes: application/x-asc-spreadsheet extensions: xlsy globs: *.xlsy id: OnlyOffice Presentation icon: application.png binary: yes mimetypes: application/x-asc-presentation extensions: ppty globs: *.ppty
-
Tristan Cavelier authored
by improving Base_getTargetFormatItemList to return a list of all indirect portal transform conversions.
-
Tristan Cavelier authored
-
Cédric Le Ninivin authored
-
- 01 Jun, 2017 3 commits
-
-
Kirill Smelkov authored
ZBigArrays were omitted from being saved in notebooks in 5fb16acd (erp5_data_notebook: Don't save ZBigArray in data notebook. It may be too big that zope process may crash.). However since ZBigArrays are regular ZODB objects with persistent references to other ZODB objects there is no reason for us not to be able to serialize them. Add corresponding FIXME with link to more context. /reviewed-by TrustMe
-
Sebastien Robin authored
-
Nicolas Wavrant authored
Currently the full-upgrade alarm calls the 3 upgrade-related-alarm's activeSense methods in activities. As activeSense method runs Alarm's methods in activities too, the final activities do not get the good "tag" and "after_tag" values, which creates a lack of depency between them. In consequence, if we are not running the real upgrade (= just activeSense), no need to run post-upgrade's activeSense : indeed, post-upgrade constraints will be run on what are *currently* installed, and not on the result of the previous steps of the upgrader, which lead to a wrong and misleading consistency check. This Merge Request intends to fix it by : * Adding a "activate_kw" parameter to activeSense method, which allow to configure its internal call to "activate" * Improving upgrader to remove the useless calls to activeSense, and properly parameterize activeSense's activity generation /reviewed-on nexedi/erp5!276
-
- 31 May, 2017 2 commits
-
-
Sebastien Robin authored
For new developments, we should use portal_components. So move theses tests to portal_components before Workflow changes.
-
Sebastien Robin authored
There is no selenium tests yet, but at least we can see the same graph rendered with different gadgets. Later, we will have to find smart ways for testing graphs
-
- 30 May, 2017 6 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
[erp5_officejs_appstore_base] configuration_latest_version is set when acception the Software Publication
-
Cédric Le Ninivin authored
-
Romain Courteaud authored
Fix web section templates. Fix appcache for the redirect app.
-
Nicolas Wavrant authored
FullUpgrade Alarm relies on getLastActiveProcess to return results, which makes use of the catalog to return a result. If the Active Processes spawned by the 3 Alarms composing the upgrader (pre, upgrade, post) are not indexed before the FullUpgrade Alarm collects the results, then the wrong active result is returned, which then give the wrong feedback to the user. It seems that the "defaultActivateParameterDict" method cannot overwrite the "tag" parameter of indexation activities (even if it was working for after_tag). This is why this commit is needed.
-
Tristan Cavelier authored
to fit original script behavior, from erp5_web skin folder. Also fixes "KeyError: TraversalRequestNameStack" from `WebPage.getDocumentValue(reference)` on the "View" skin selection.
-
- 29 May, 2017 19 commits
-
-
Sven Franck authored
-
Cédric Le Ninivin authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
This activate_kw is a dict passed to internal 'activate' called in order to more controls on activities created by activeSense
-
Nicolas Wavrant authored
As results may be inconsistent as long as pre-upgrade and upgrade steps have been run for real
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Jérome Perrin authored
To make it easier for users to change their preferences, so that they do not have to create the preference themselves, we tried to pre-create a user preference ready to be configured for each user. It was 59860df3 : an interaction to create a user preference on `Person.setReference` which is more or less the time when this person become a user ( but not really - this was already a weakness of this approach). This calls `Person_createUserPreference` that initialize the preference by introspecting the assignments of the person. This already had a problem that it was working only if the assignments were created before the reference was set on the person. With the new user management introduced in !185 this interaction moved to `Person.setUserId`, which is called in Person's init script. This had the following problems: - All persons have a user id, so all persons have a preference. For sites with many persons that are not actually users, this create useless preferences. - During init, person does not have assignments yet, so `Person_createUserPreference` could not use information from assignment to create preference. The suggested change is to create the preference only when the user click on *Edit my preferences* button. This is done by adding a new `portal_preferences.getActiveUserPreference` method that returns the active user preference and create it if not already existing, this way we do not have to put logic in the user interface scripts. All *Edit my preferences* links should use it like it was done in f62e6651 The `person_interaction_workflow` was completely remove, as the other interaction it was containing - clearCache when deleting the person - was useless . We had to adjust a few tests that was passing thanks to this interaction. /cc @gabriel @vpelletier @kazuhiko @tc /reviewed-on !273
-
Jérome Perrin authored
Base.edit has this feature of not actually modifying the properties when the new property value is same as the current one, so when we do `movement.edit(price=x)`, this will cause an implicit getPrice. As price lookup is a bit slow, do not lookup price in this case. /cc @vpelletier @kazuhiko @romain /reviewed-on nexedi/erp5!259
-
Jérome Perrin authored
Fix for [#20160719-1B69F57]( https://nexedi.erp5.net/bug_module/20160719-1B69F57 ) These after clone methods in transformed resources are being too clever and behave very badly when the transformation itself is cloned. The suggested approach is to stop initializing int index & reference when cloning transformed resources ("transformation lines"). This behavior is kept when adding new transformed resource. This become consistent with what we have, for example, with Sale Order Lines in Sale Orders. /cc @luke @seb @gabriel @kazuhiko @romain @Nicolas ( see also nexedi/erp5!148 for more ) /reviewed-on nexedi/erp5!258
-
- 25 May, 2017 4 commits
-
-
Sven Franck authored
-
Sven Franck authored
-
Jérome Perrin authored
Abort transaction, we do not need changes made by test to persist. Execute pending activities before removing persons, the pending activities might be relying on the existence of persons.
-
Jérome Perrin authored
-