- 07 Mar, 2019 2 commits
-
-
Bryton Lacquement authored
-
Rafael Monnerat authored
-
- 06 Mar, 2019 9 commits
-
-
Alain Takoudjou authored
-
Thomas Gambier authored
if we have host2 inside host1 inside host0 then routing from host0 to host2 needs to specify 'via' address because the destination address (of host2) is not directly seen through slaptap of host0 (because it goes only to host1). this commit introduces a new constraint: users must now put the IPv6 address `network::1` on their ethernet interface inside the VM. /cc @jm @rafael @alain.takoudjou /reviewed-on nexedi/slapos.core!102
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Once a user pays for a reservation, the ERP5 can generate a deduction (complete or partial). The code here, includes the needed simulation code for expand and merge the Deduction into the invoice.
-
Alain Takoudjou authored
Use cache to save some promise instance information. First run of slapgrid fill each promise cached (when there is no cache). The next run will check some usefull info like if promise `is test less` or promise `is anomaly less` directly from cache without need to import the module. Cache is updated if promise file or module change, or if the promise periodicity expire (when the promise it update cache). /reviewed-on nexedi/slapos.core!101
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 04 Mar, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 20 Feb, 2019 23 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
- Round tax comparation, else we hit floating point impression. - Free trial user is defined by ERP5 Login reference and not Person Reference.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Simple subscription Case Request three instances (ie.: 3 VMs) Case Two concurrent Subscriptions Case
-
Rafael Monnerat authored
-
Rafael Monnerat authored
If the first 3 months are payed, the subscription request is confirmed (allowing allocation).
-
Rafael Monnerat authored
-
Rafael Monnerat authored
When causality is set and it is a Subscription Request, do not aggregate services (it will generate individual inviduals invoices per Subscription). When a user has multiple requests, it should not merge, and it should generate 1 invoice per subscription request.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
slapos_accounting: Use specific trade condition if Hosting Subscription comes from a Subscription Request This allow the system differ the 2 scenarios.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
When the Hosting Subscription comes from a Subscription Request, the Trade Condition applied is a different one (slapos_aggregated_subscription_trade_condition). Update all related scripts to work accordinally. SPL on this case are started as soon they are created and a payment generated.
-
Rafael Monnerat authored
This is used for subscription mode, like rapid.space VM-Like services.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Subscription and Trial uses setDefaultEmailText when create a Trial/Subscription as annonymous which will trigger this workflow and raise Unauthorized when invoke Coordinate_beforeCoordinateTextChange. As Reacheability/Unreacheability is not tracked on SlapOS master for now, so this commits remove the interaction workflow for Email (only).
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Code migrated from testSlapOSERP5DefaultScenario.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This would guarantee that the ungenerated payment from others tests are generated, while you are running live tests.
-
- 18 Feb, 2019 2 commits
-
-
Łukasz Nowak authored
/reviewed-on !99
-
Bryton Lacquement authored
This fixes a regression introduced in commit 7467ef4c ("Add Python 3 support"). /reviewed-on !98
-
- 15 Feb, 2019 1 commit
-
-
Alain Takoudjou authored
The reload part is mainly used for tests, module is reloaded if the promise file has changed. Here, __file__ ends with pyc when promise_path ends with py.
-
- 08 Feb, 2019 2 commits
-
-
Alain Takoudjou authored
-
Rafael Monnerat authored
Since the compatibility with python3 the code change to not encode the string anymore. @jm @bminusl can you take a look if it is enough (I will improve commit message after) This at least make the test pass. /reviewed-on !94
-