- 03 Jun, 2020 17 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Test if the user adds a password that isn't complaint with the policy Try to logout and login with the new password Add test for the use removes the login he is using Add test for the user changes password he is using Include translated version of the tests to manage password
-
Rafael Monnerat authored
Mostly handle the response a bit better, and log out user if he changes the current login. This prevents his account get blocked.
-
Rafael Monnerat authored
This gadget aims to centralise entire "helper" test on various contexts, in this way translate becomes easy and update information is quite simple. In order to use the gadget, you should include a template on rjs_gadget_slapos_annotated_helper_html: <script id="add-new-example-header-text" type="text/x-handlebars-template"> Some text or <details> <summary>Some test<summary> <p>Content...</p></details> </script> and include the gadget on the target HTML: <div data-gadget-url="gadget_slapos_annotated_helper.html" data-gadget-scope="annotated_helper" data-template-id="add-new-example-header-text" data-gadget-sandbox="public"> </div> This is also supposed to be compatible with GadgetField or usable from getDeclaredGadget(...)
-
Rafael Monnerat authored
This prevents display error page when something is invalid using JIO API.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is just annoying to have failures from tic because portal_activities is enabled on a development instance.
-
Rafael Monnerat authored
This tests the fix for "slapos_jio: fix ERP5Site_activeLogin"
-
Rafael Monnerat authored
Those files might be customize on project related business templates, so we don't want to overwrite those files.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Hosting Subscription requires SubscriptionItem which is now on erp5_open_trace
-
Rafael Monnerat authored
-
- 02 Jun, 2020 1 commit
-
-
Jérome Perrin authored
Otherwise buildout will download latest version of eggs, which in the case of setuptools now pulls version 45 which is no longer compatible with python 2 and causes failures.
-
- 01 Jun, 2020 2 commits
-
-
Rafael Monnerat authored
software releases expects _ parameter to be a string with JSON inside not a python dict so we partially revert 2acef14b and we do the nice printing of JSON parameters in getInformation See merge request !225
-
Thomas Gambier authored
software releases expects _ parameter to be a string with JSON inside not a python dict so we partially revert 2acef14b and we do the nice printing of JSON parameters in getInformation
-
- 29 May, 2020 1 commit
-
-
Jérome Perrin authored
Some softwares have some binary executables in builout bin folder, reading them as text can fail. In this case we can ignore them.
-
- 26 May, 2020 8 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This fix up the default selected when no software type is pre-defined.
-
Rafael Monnerat authored
When you run tests, MailHost is normally changed to DummyMailHost, this script helps you to restore, in case you want to configure your development instance as a demo site.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This could be solved by adding extra asserts for wait for page be entirely load, but it is not required.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 25 May, 2020 5 commits
-
-
Rafael Monnerat authored
The password is re-set anyway later, however it is required to comply to Authentication Policy, generating an acceptable value.
-
Rafael Monnerat authored
The user language will be stored on Subscription Request and on Person, defining the language used to notify the customer.
-
Rafael Monnerat authored
This is required when a computer reboots and there is an excessive number of break casts
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The commit dee343f3 said: slapos_jio: after activate the login come back to WebSite and not to the portal. But it actually went to the WebSection and not the WebSite. This fixes ERP5Site_activeLogin on slapos master because right now we have this URL in emails sent to customer to activate their login: https://slapos.vifib.com/hateoas/connection/ERP5Site_activeLogin?key=XXX So the script is setupping the came from as: https://slapos.vifib.com/hateoas/connection/#!login?p.page=slapos{&n.me} which is not working (returns AttributeError: form_view error) The URL https://slapos.vifib.com/#!login?p.page=slapos{&n.me} is working though. See merge request !223
-
- 22 May, 2020 1 commit
-
-
Jérome Perrin authored
The idea is to make it possible while embedding SlapOS in an existing partition to configure that some requests are forwarded to the master of the partition and to make these requests as the partition - so that when this partition is destroyed all other partitions from the embedded partitions are destroyed. A bit more integration in slapos is still needed, but is intended to be used in theia (and why not webrunner): At the beginning theia's instance looks like this: ![screenshot of theia hosting subscription on slapos master, with the default 3 partitions](/uploads/9a297dbbae49996fb7ee69e89ea75da1/image.png) after an ERP5 instance is requested in theia's embedded slapos, the partition requests are forwarded as this partition and appear here, as requested by theia: ![screenshot of theia hosting subscription on slapos master, frontend partitions requested by ERP5 appears as requested by theia](/uploads/37b8b30ca117a1251fc2bd099a5dac82/image.png) This can also allow transparent integration, because the partition credentials are known by the partition, unlike the user credentials. See merge request !218
-
- 20 May, 2020 5 commits
-
-
Thomas Gambier authored
The commit dee343f3 said: slapos_jio: after activate the login come back to WebSite and not to the portal. But it actually went to the WebSection and not the WebSite. This fixes ERP5Site_activeLogin on slapos master because right now we have this URL in emails sent to customer to activate their login: https://slapos.vifib.com/hateoas/connection/ERP5Site_activeLogin?key=XXX So the script is setupping the came from as: https://slapos.vifib.com/hateoas/connection/#!login?p.page=slapos{&n.me} which is not working (returns AttributeError: form_view error) The URL https://slapos.vifib.com/#!login?p.page=slapos{&n.me} is working though.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is required to comply with erp5_authentication_policy
-
Rafael Monnerat authored
Set "value" cause some overprocessing in this case (which breaks some tests when invoked under superuser)
-