- 14 Jan, 2021 40 commits
-
-
Kazuhiko authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When new password does not match policy, in reset password and change password dialogs, we used u' '.join([str(message) ...]) to join all translated messages in a string, but this construct will decode the str(message) to unicode using ascii, so it will fail when these messages contain some multi bytes characters. Extend test coverage to check that these dialogs uses translations and use non ascii messages in the tests, to make sure we don't have regressions with this issue.
-
Georgios Dagkakis authored
in case the message is defined in the field ('manage_messagesForm' tab)
-
Georgios Dagkakis authored
instead use ValidationError.getMessage API
-
Georgios Dagkakis authored
Depending on how the message is defined. Before this commit, translation happened typically in higher level, where the error message was rendered. but this imposed translation in everything, including mapped messages, pulluting Localizer with unneeded messages. This commit introduces getMessage, the logic is: - If the message is defined in the code that raises, then it should be translated there - If the message is defined in the field (in 'manage_messagesForm') then we need to translate in ValidationError class. Caller should pass translation_service, because we do not want to import it in Formulator
-
Tristan Cavelier authored
ERP5 does not handle user "account" anymore, it handles "login". Please use "Add ERP5 Login" or any other login you need instead. See discussions on !547
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
remove useless language="javascript" remove useless <col> This fixes these errors: Using nu validator to parse the view "TestPage_viewEditTest" (from erp5_run_my_doc bt) with warnings displayed : Error: line 623 column 33 : Table column 1 established by element “col” has no cells beginning in it.: st_table"> <col class="action_column" /> < Error: line 624 column 33 : Table column 2 established by element “col” has no cells beginning in it.: n" /> <col class="action_column" /> < Error: line 625 column 11 : Table column 3 established by element “col” has no cells beginning in it.: n" /> <col /> < Error: line 626 column 11 : Table column 4 established by element “col” has no cells beginning in it.: ol /> <col /> < Error: line 627 column 11 : Table column 5 established by element “col” has no cells beginning in it.: ol /> <col /> < Warning: line 619 column 85 : The “language” attribute on the “script” element is obsolete. You can safely omit it.: r.css"> <script language="javascript" src="http://erp5-catalog-0:2201/portal_3010166623124138150/test_editor.js"></scri Warning: line 621 column 90 : The “language” attribute on the “script” element is obsolete. You can safely omit it.: script> <script language="javascript" src="http://erp5-catalog-0:2201/portal_3010166623124138150/erp5_run_my_docs.js"></scri
-
Jérome Perrin authored
Don't use inline <style> in a <div>, but in an external <link>. This fixes: Using nu validator to parse the view "TestPage_viewTestReport" (from erp5_run_my_doc bt) with warnings displayed : Error: line 581 column 23 : Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.): "><div > <style type="text/css"> body,
-
Jérome Perrin authored
These translations where creating too many messages
-
Jérome Perrin authored
-
Gabriel Monnerat authored
-
Romain Courteaud authored
Like xhtml style
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
renderJS's mutex must be used instead
-
Romain Courteaud authored
If enabled, accessing the 'View' skin selection will raise an Error. 2 alarms are provided to automatically enable/disable xhtml style for some period of time. Some users can be always continue using xhtml style.
-
Georgios Dagkakis authored
And add related field to CredentialUpdate_view
-
Kazuhiko Shiozaki authored
This reverts commit 6430ccc3. because it's redundant with the fact that we can already distinguish different Trade Model Line within the returned function by using .getAmountGeneratorLine() on the first parameter.
-
Arnaud Fontaine authored
-
Jérome Perrin authored
There are too many forms to rename, it will be done later
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-