- 17 Jun, 2019 25 commits
-
-
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 b1ecc18f 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/*' ```
-
Jérome Perrin authored
This reverts commit 1ee3aced.
-
Jérome Perrin authored
This reverts commit d881b1e6.
-
Jérome Perrin authored
This reverts commit 93d60201.
-
Jérome Perrin authored
This reverts commit 9924e5ef.
-
Jérome Perrin authored
This reverts commit 5d7481d2.
-
Jérome Perrin authored
This reverts commit 2b6de770.
-
Jérome Perrin authored
This reverts commit 2fa9230e.
-
Jérome Perrin authored
This reverts commit 566dec3f.
-
Jérome Perrin authored
This reverts commit 9b86cf7b.
-
Jérome Perrin authored
This reverts commit 0b7ed9ad.
-
Jérome Perrin authored
This reverts commit 5fd6ad5f.
-
Jérome Perrin authored
This reverts commit ac615670.
-
Jérome Perrin authored
backport nexedi/erp5!880 First revert a first attempt that was incorrect and then backport a7ffbc92 which is related and make the rest apply cleanly /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/41
-
Jérome Perrin authored
This way we can use gadgets using of ERP5JS translation API in xhtml style. This is really minimal compatibility layer and translation is not actually performed.
-
Jérome Perrin authored
This way the "you have unsaved changes" pops up also when navigating away after changing gadget content.
-
Jérome Perrin authored
When the page height is larger than viewport, the scrollbar hides the button on chrome. Also does the "Loading" status message on chrome. By using a margin, we make sure buttons are not behind scrollbar or status message and are easier to reach.
-
Romain Courteaud authored
-
Jérome Perrin authored
This reverts commit 01994d83.
-
Jérome Perrin authored
backport nexedi/erp5!879 /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/40
-
Jérome Perrin authored
Some users have been using google chrome builtin translation system with ERP5 back office (xhtml style), but the way google translation changes the DOM sometimes break ERP5 interface. This also have data privacy issue as this translation is done on google servers. https://www.w3.org/International/questions/qa-translate-flag recommends using translate=no but the approach of the meta tag might be preferable for our case as it prevents sending the page content to translation service.
-
- 29 May, 2019 1 commit
-
-
Jérome Perrin authored
do nothing, but at least makes gadget compatible See discussion on nexedi/erp5@a7ffbc92 (comment 81088)
-
- 09 Apr, 2019 1 commit
-
-
Jérome Perrin authored
Backport nexedi/erp5!854 ( before merge ) /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/39
-
- 04 Apr, 2019 4 commits
-
-
Jérome Perrin authored
This is needed to support datawarehouse on another database.
-
Jérome Perrin authored
-
Jérome Perrin authored
Tables, columns and index names needs to be escaped for syntax to be valid.
-
Jérome Perrin authored
-
- 02 Apr, 2019 9 commits
-
-
Jérome Perrin authored
Backport final state of nexedi/erp5!838 API changed a bit after first backport in https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/37 /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/38
-
Jérome Perrin authored
This fallback seems useless in this context, getClientAddr should be available.
-
Jérome Perrin authored
This test does not need to create an actual user as it just check plugin extract login & password from request. This test does not need to install the plugin in PAS, the actual check instanciate another ERP5DumbHTTPExtractionPlugin.
-
Jérome Perrin authored
This keep the current behavior. Invalidating all logins is also a way to disable login for this user without having to find all tokens and invalidate them one by one
-
Jérome Perrin authored
for compatibility with login/password
-
Jérome Perrin authored
-
Jérome Perrin authored
Because this was broken, we took the liberty to introduce a breaking change to fix naming, now type based scripts are *_getUserValue and must return a user document, with a getUserId method returning the user id. Make this plugin also an IAuthenticationPlugin which does all the job of returning the user id. It does not really make sense to delegate this to default authenticator. A side effect is that token can still authenticate users with no assignments, since tokens are scriptable, if this is a requirement, it can be implemented in scripts. also update test: - plugin must be enabled for IAuthenticationPlugin - check complete authentication sequence, not just extraction - update scripts to new names - simplify transaction management - don't set self.person, it was not used anywhere - update _createPerson to reindex, as said in docstring - merge all tests in on test component
-
Jérome Perrin authored
-
Jérome Perrin authored
This revert https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/37 which was a backport of an intermediate state of nexedi/erp5!838 Revert this first backport to easily backport again the latest merged version of nexedi/erp5!838
-