- 02 Jun, 2020 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Try to logout and login with the new password
-
Rafael Monnerat authored
This prevents some tests to work
-
Rafael Monnerat authored
-
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.
-
- 29 May, 2020 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
It relies on using jIO.util.readBlobAsText rather them Blob.text() to recover the result.
-
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(...)
-
- 28 May, 2020 7 commits
-
-
Rafael Monnerat authored
This prevents display error page when something is invalid.
-
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
-
- 27 May, 2020 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Hosting Subscription requires SubscriptionItem which is now on erp5_open_trace
-
- 26 May, 2020 7 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
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
-
- 25 May, 2020 7 commits
-
-
Rafael Monnerat authored
This could be solved by adding extra asserts for wait for page be entirely load, but it is not required.
-
Rafael Monnerat authored
This could be solved by adding extra asserts for wait for page be entirely load, but it is not required.
-
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 6 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)
-
Rafael Monnerat authored
You can run it and increate by a certain amount the transaction ids used for payment, this may prevent ids conflics on payzen side when multiple developers are trying to test it during the same day.
-