- 21 Jul, 2011 17 commits
-
-
Rafael Monnerat authored
This method was refactored to: - automatically resolve and install business templates dependencies if requested. - Make possible use activities and prevent long transactions.
-
Rafael Monnerat authored
This method comes from previous Implementation.
-
Rafael Monnerat authored
Due the presence of object_to_update, the API will never update the catalog if we do not provide explicitly values.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
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 23 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.
-