- 25 Feb, 2021 13 commits
-
-
Rafael Monnerat authored
This might replace "Bank" for automation, since "Bank" requires that the money been accurately in relation to Bank Sheets.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
If set, causality is a Subscription Request, and it should be always splited.
-
Rafael Monnerat authored
Use shadow user to access Account document, this prevent us to setup complex security.
-
Rafael Monnerat authored
The asserts and verification should be done as manager to present set unecessary security roles.
-
Rafael Monnerat authored
Those documents are expected to be published when they are accessible
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This isn't compatible with the actuall usage, if we want to keep this, we should install networkcache_erp5 business template (and use groups/security from there).
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Thomas Gambier authored
-
- 22 Feb, 2021 1 commit
-
-
Xavier Thompson authored
When slapproxy forwards a request to an external master it is seen as coming from the slapproxy and the original requester's id is lost. This means forwarded requests from different requesters can collide. e.g. two partitions request a frontend and when the second request is handled the external master updates the first frontend to redirect to the second partition instead of creating a second frontend. To avoid collisions, the id of the requester as seen in the slapproxy is prefixed to the instance name (partition reference) in the request: - case 1: requester is embedded partition => prefix with partition id e.g. 'myinstance' -> 'slappart0_myinstance' - case 2: requester is user => prefix with 'user' e.g. 'myinstance' -> 'user_myinstance' See merge request nexedi/slapos.core!282
-
- 15 Feb, 2021 1 commit
-
-
Łukasz Nowak authored
There is no reason to name regions so explicitly (like France or US), just use generic and understandable region name (like Europe or North America). Chinese endpoints are named via their operating telecoms, as this is like region (latency, speed).
-
- 09 Feb, 2021 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Since wechat is used on those tests.
-
Rafael Monnerat authored
Those properties is whenever we want to use different defaults for chinese and non-chinese organisations. Usually, due wechat/payzen payments.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
When you have different companies per Subscription Conditions
-
Jérome Perrin authored
-
- 04 Feb, 2021 1 commit
-
-
Jérome Perrin authored
logging is configured globally in SlapOSApp.configure_logging and: - if logging to file is enabled, it is logged with maximum level - logging on the console depends on --quiet / --verbose command line flags Default log level of this logger was DEBUG, which is just fine: the logger emit all messages and the file/console handler decide to output them or not Because we configure logger after Flask initialize its own logging, for Flask >= 1.1.2, we remove Flask logger as described in https://flask.palletsprojects.com/en/1.1.x/logging/#removing-the-default-handler Since this is internal API which doest not exist on old version of Flask, we adjust requirements to require a recent version of Flask.
-
- 03 Feb, 2021 1 commit
-
-
Xavier Thompson authored
See merge request nexedi/slapos.core!280
-
- 02 Feb, 2021 3 commits
-
-
Rafael Monnerat authored
Subscription request workflow uses simulation_state rather them validation one.
-
Rafael Monnerat authored
What happens when user don't pay reservation.
-
Rafael Monnerat authored
Since we use Caddy rather them apache by default, change the field to input a value on tests.
-
- 29 Jan, 2021 13 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
slapos_subscription_request: As dates are simetrical on Invoice and Payment, the value is not negative anymore
-
Rafael Monnerat authored
This with price not zero is covered by another tests.
-
Rafael Monnerat authored
Failures: portal_skins/slapos_subscription_request/SubscriptionRequest_checkRelatedAccounting:5:2:Dangerous default value {} as argument (dangerous-default-value) portal_skins/slapos_subscription_request/SubscriptionRequest_checkRelatedAccounting:15:2:Unused variable 'refund_service' (unused-variable)
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Rafael Monnerat authored
The input_movement_list weren't properly filtering causing grouping references been set with it's late occurency.
-
Rafael Monnerat authored
It makes requests as non-subscription and for subscription cases, and assert if the invoice is correctly linked via simulation
-
- 28 Jan, 2021 1 commit
-
-
Rafael Monnerat authored
See merge request !277
-