- 26 Mar, 2019 2 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
- 25 Mar, 2019 1 commit
-
-
Jérome Perrin authored
Some tools are using directly slapproxy sqlite database and they stopped working when table number was increased in nexedi/slapos.core!76 . We made a quick improvement to the tools so that they can autodetect the current table names instead of hardcoding ( nexedi/slapos@b8c895cd ) but this failed, because slapproxy remove did not remove the old tables after migration. This branch is about removing the table, to quickly repair these tools. The long term plan is (hopefully) to improve these tools so that they don't use the private tables like this. /reviewed-on nexedi/slapos.core!105
-
- 22 Mar, 2019 3 commits
-
-
Jérome Perrin authored
Because we want to trigger an upgrade that will remove old tables. Note that re-dumping database_dump_version_current fixed the column order in software table - the dump was incorrect (this also change output of `proxy show` for this test)
-
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.
-
- 21 Mar, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 19 Mar, 2019 12 commits
-
-
Rafael Monnerat authored
There are 2 interaction triggering the same thing.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Alain Takoudjou authored
python-easyinstall is not a package anymore in Ubuntu 18.10 /reviewed-on nexedi/slapos.core!104
-
Alain Takoudjou authored
-
Jérome Perrin authored
This test was probably asserting that initial state was OK
-
Jérome Perrin authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 18 Mar, 2019 10 commits
-
-
Alain Takoudjou authored
easy_install is not provided python-setuptools package for ubuntu 18.04. It seems easy_install is being removed
-
Alain Takoudjou authored
-
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 nexedi/slapos.core!103
-
- 08 Mar, 2019 1 commit
-
-
Rafael Monnerat authored
-
- 07 Mar, 2019 2 commits
-
-
Bryton Lacquement authored
-
Rafael Monnerat authored
-
- 06 Mar, 2019 7 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
-