- 18 Jan, 2019 1 commit
-
-
Jérome Perrin authored
According to pep-0263, python scripts can define encoding magic on first or second line. If we use for example such a script: ```python # coding: utf-8 return "héhé" ``` then using .read() was wrong, because it return the script with headers, ie: ```python ## Script (Python) "test_coding" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## # coding: utf-8 return "héhé" ``` so the coding magic is no longer in first line and pylint complains with error like: Cannot decode using encoding "ascii", unexpected byte at position 11 (invalid-encoded-data)]
-
- 10 Jan, 2019 2 commits
-
-
Jérome Perrin authored
backport nexedi/erp5!796 mentioned in [Re: Create Bt5 with list of all accounting accounts ?](https://www.erp5.com/project_section/capago-project/forum/Create-Bt5-with-list-of-all-accounting-accounts-HLBp84CyNR/view?list_start=9&reset=1#2019138697) /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/33
-
Jérome Perrin authored
Using a cache cookie that is incremented each time an account is added or modified, we can keep an (almost) up to date list of accounts in the UI. Fixes #20170221-1812E21 /reviewed-on nexedi/erp5!796 (cherry picked from commit bbbe264a)
-
- 03 Dec, 2018 1 commit
-
-
Aurel authored
missing in https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/30
-
- 30 Nov, 2018 14 commits
-
-
Jérome Perrin authored
Backport nexedi/erp5!799 /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/30
-
Jérome Perrin authored
https://microsoft.github.io/monaco-editor/ as an ERP5 source code editor. Backport nexedi/erp5!687 /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/31
-
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/*' ```
-
- 29 Nov, 2018 17 commits
-
-
Jérome Perrin authored
instead of building HTML in python, it's cleaner and prevent problems when attachments names are HTML entities.
-
Jérome Perrin authored
because storing as document depends on erp5_ingestion & erp5_dms
-
Jérome Perrin authored
So that conversion is done by a zope activity node and not on a front node.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Vincent Pelletier authored
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. backport of nexedi/erp5@7a708aab Note: I had to change this commit a bit, it did not apply because our erp5 is a bit old. /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/29
-
- 28 Sep, 2018 3 commits
-
-
Jérome Perrin authored
/reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/27
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 25 Sep, 2018 1 commit
-
-
Jérome Perrin authored
/reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/26
-
- 22 Aug, 2018 1 commit
-
-
Jérome Perrin authored
backport nexedi/erp5!694 /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/25
-