- 22 Mar, 2019 2 commits
-
-
Jérome Perrin authored
Create a test for each previous versions to current version (starting from version 10, earlier versions are not really supported). Procedure to add test for new version can be: * update table structure and increase version in slapos/proxy/schema.sql * use generate_dump.sh script to generate slapos/tests/test_slapproxy/database_dump_version_$NEW_VERSION.sql from slapos/tests/test_slapproxy/database_dump_version_$PREVIOUS_VERSION.sql (with computer_id "computer") * add TestMigrateVersion$(NEW_VERSION)ToLatest in slapos/tests/test_slapproxy/__init__.py * use generate_dump.sh script to update in-place slapos/tests/test_slapproxy/database_dump_version_current.sql (with computer_id "slaprunner")
-
Jérome Perrin authored
Instead of keeping old tables which cause confusion for humans and tools directly operating on the database, remove old tables and create a separate backup file.
-
- 19 Mar, 2019 2 commits
-
-
Jérome Perrin authored
This test was probably asserting that initial state was OK
-
Jérome Perrin authored
-
- 18 Mar, 2019 8 commits
-
-
Rafael Monnerat authored
If they are not, it mess up the simulation.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is only for when subscription request is present, as consumption is normally irrelevant from accounting point of view. This preserves the previous approach from non-subscriptions hosting subscriptions.
-
Rafael Monnerat authored
-
- 15 Mar, 2019 1 commit
-
-
Thomas Gambier authored
I'm now displaying the upgrade decision message as HTML. @rafael I'm not sure if I should do the same in `rjs_gadget_erp5_page_slap_ticket_view_js.js` and `rjs_gadget_erp5_page_slap_regularisation_request_view_js.js` /cc @alain.takoudjou /reviewed-on !103
-
- 08 Mar, 2019 1 commit
-
-
Rafael Monnerat authored
-
- 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 14 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.
-