- 21 Jul, 2011 10 commits
-
-
Rafael Monnerat authored
The API resolveBusinessTemplateListDependency is able to return a list of BT5 with URL and include all dependencies.
-
Rafael Monnerat authored
This introduces flexibility, and permit this method be reused in different ways.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Business Template API itself should detect if update catalog is mandatory or not, instead force never update.
-
Rafael Monnerat authored
installBusinessTemplatesFromRepositories uses plural, which is a code crime, Keep it deprecated to preserve backward compatibility.
-
Rafael Monnerat authored
If Business Template is not present, returns None.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
There was several tests specifics to TemplateTool into testBusinessTemplates This commit move tests to appropriate test suite.
-
- 20 Jul, 2011 30 commits
-
-
Julien Muchembled authored
-
Łukasz Nowak authored
No Contract field shall be rendered, and no need to confirm.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Cover cases of ERP5 portal and Web Site contexts. Use anonymous and check that returned page contains correct links and that those links are rendered correctly.
-
Łukasz Nowak authored
Support classical style and web site style.
-
Łukasz Nowak authored
Provide new preference, which if set can be used to find portal global contract document.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
954e399c introduced typos.
-
Łukasz Nowak authored
Provide sensible defaults.
-
Łukasz Nowak authored
When form is rendered while being not logged in, what is default way of using this form, ERP5Site_getAuthenticatedMemberPersonValue returns None, so add condition which does not log failures.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Add required submit. Fix expected string.
-
Łukasz Nowak authored
It is required in order to have loggable person after credential request.
-
Łukasz Nowak authored
No credential request is automatic, only approval, so submit credential request. Setup assignment, in order to have loggable user.
-
Łukasz Nowak authored
As beforeTearDown stabilised credential preferences, test are running with default setup, so it is required explicitly set preferences.
-
Łukasz Nowak authored
Thanks to this another configuration will not leak between tests.
-
Łukasz Nowak authored
Without assignment setup during creation, no user would be created.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Cleanup is done in beforeTearDown, no need to add it in test.
-
Łukasz Nowak authored
Because of wrong reset to defaults, a lot of tests were assuming wrong message.
-
Łukasz Nowak authored
There is no need to repeat step in each test, as beforeTearDown hook can be used in such case.
-
Łukasz Nowak authored
According to method name it sets all credential preferences to default state, but some are overriden. It directed to uncontrollable test results.
-
Łukasz Nowak authored
Even if object is still reindexing, reference concurrency shall be protected, and no double objects are created.
-
Łukasz Nowak authored
As users can double click (or register in same time with same reference) during time of indexation, it is required to lock on activity system. Note that as reference is global in the system, same tag, as in Document.Person._setReference is used.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
ERP5Site_newCredentialRequest shall disallow to create duplicated credentials.
-
Łukasz Nowak authored
CredentialRequest_checkLoginAvailability was used only on form, but script shall not trust that form correctly validated everything, so recheck here too.
-
Łukasz Nowak authored
-