- 09 Nov, 2018 12 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Just set indentation rules for now
-
Jérome Perrin authored
-
Jérome Perrin authored
Because typescript is a subset of javascript, running typescript compiler on javascript files can already report several issues. https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html
-
Jérome Perrin authored
This is triggered by using "Format document" from context menu. Include prettier 1.14.0 Copyright 2017-2018 James Long https://github.com/prettier/prettier/
-
Jérome Perrin authored
-
Jérome Perrin authored
So that we can edit web pages & web scripts with monaco
-
Jérome Perrin authored
So that javascript editor provides hints for code using these libraries. Some pointers for type scripts definitions: https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html https://definitelytyped.org/
-
Jérome Perrin authored
-
Jérome Perrin authored
In the previous approach, several "useless" request were still made during edition.
-
Jérome Perrin authored
-
Jérome Perrin authored
https://microsoft.github.io/monaco-editor/ as an ERP5 source code editor this commit is only a build of the vendor code. It was built using https://lab.nexedi.com/jerome/monaco-editor-erp5/ at revision 9d7f8b5 and uploaded to ERP5 following this procedure: First enable webdav by adding in zope conf: ``` <webdav-source-server> address 127.0.0.1:12200 force-connection-close off </webdav-source-server> ``` This was built and uploaded to ERP5 with: ```bash git clone https://lab.nexedi.com/jerome/monaco-editor-erp5.git/ cd monaco-editor-erp5 npm npm run build lftp http://login:pwd@127.0.0.1:12200/erp5/portal_skins/erp5_monaco_editor/monaco-editor/ -e 'mput dist/*' ```
-
- 12 Sep, 2018 3 commits
-
-
Jérome Perrin authored
This was not really backward compatible with old slapos versions not passing zserver_address_list
-
Jérome Perrin authored
To answer question in the comment: > How to inspect inside another iframe? use selectFrame (after waiting for the frame to be added in the DOM of course). Reference of selenium commands: https://web.archive.org/web/20160807232621/http://release.seleniumhq.org/selenium-core/1.0.1/reference.html#selectFrame (I'm not sure it's still on the web)
-
Jérome Perrin authored
Tests asserts that size have all languages available, so let's be compatible and just set the default language to the current selected one at site creation.
-
- 11 Sep, 2018 6 commits
-
-
Nicolas Wavrant authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This was not really backward compatible when running with old slapos, because default value was not string in this case.
-
Nicolas Wavrant authored
This step was in reality only removing the "Access Content Information" permission for Anonymous on web_site_module, which was not coherent with erp5_web, and had for consequence to make developers change it by hand when wanting to use web_site_module
-
Jérome Perrin authored
Extend test runners to use partition IP and run functional tests behind an https frontend. See nexedi/slapos!374 for the slapos part and more detailed explanations. /reviewed-on nexedi/erp5!729
-
Jérome Perrin authored
/reviewed-on nexedi/erp5!742
-
- 07 Sep, 2018 6 commits
-
-
Romain Courteaud authored
-
Sven Franck authored
/reviewed-on nexedi/erp5!737
-
Sebastien Robin authored
-
Jérome Perrin authored
I made a mistake rebasing & applying the patch to master, so the test added in nexedi/erp5!726 (comment 65067) did not reach master. This reapplies this part. Thanks Seb for noticing !
-
Jérome Perrin authored
On the traditional editor (from portal_component), selected text was not highlighted
-
Jérome Perrin authored
This is something the webmaster will define. Also, initialize available languages like this will select a random default language, which the webmaster might not understand.
-
- 05 Sep, 2018 4 commits
-
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Georgios Dagkakis authored
So that a declaration like: context.getUrlFor({command: 'display_action', options: {jio_key: "document", page: "action_reference"}}) can return the URL to redirect to the given action or the document
-
- 04 Sep, 2018 7 commits
-
-
Richard authored
/reviewed-on nexedi/erp5!735
-
Jérome Perrin authored
-
Jérome Perrin authored
As it is backward compatible, this option can be passed as environment variable. Also re-order all argument output to make it clear which comes from SlapOS generated wrapper and which are passed by test node.
-
Jérome Perrin authored
We now access zserver behind the backend apache on https:// and this apache's certificate is not trusted
-
Jérome Perrin authored
-
Jérome Perrin authored
Otherwise running in debug mode on headless machines just display cryptic error message.
-
Jérome Perrin authored
-
- 03 Sep, 2018 2 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-