- 13 Sep, 2021 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Also migrate Computer Partition to Compute Partition
-
Romain Courteaud authored
Keep permissions on the computer module to allow computer_module/Base_getComputerToken call
-
Romain Courteaud authored
libslap must continue to use the same class names for compatibility. Changes are made to keep the migration as simple as possible: * do not change the catalog table/column names * do not change the local_role's names and the related categories * keep Computer Consumption portal type * keep portal_id's group name * keep SLA compatibility * keep SlapTool compatibility SlapTool: restore compatibility with Hosting Subscription method
-
- 10 Sep, 2021 1 commit
-
-
Romain Courteaud authored
-
- 09 Sep, 2021 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The property changed into a List rather them a string
-
Rafael Monnerat authored
Even if the Map had no markers, display some location meaningful instead a point into the occean
-
Rafael Monnerat authored
Since we use latitude/longitude, "Region" is irrelelant.
-
Rafael Monnerat authored
-
- 06 Sep, 2021 1 commit
-
-
Łukasz Nowak authored
Use correct script.
-
- 01 Sep, 2021 1 commit
-
-
Rafael Monnerat authored
Contributed by Romain Courteud
-
- 31 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
When upgrade the site, we shouldn't revert the count, else it may lead to duplicated values.
-
- 26 Aug, 2021 2 commits
-
-
Rafael Monnerat authored
-
Romain Courteaud authored
slapos_cloud: fixup be0d00d6 Half commited propertysheets change
-
- 24 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
This fixup mostly the status column and introduces type (since it is multiple type entry).
-
- 23 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
-
- 19 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
The uid is kept the same so updateRelatedContent don't need to reindex the related object in this specific case.
-
- 13 Aug, 2021 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This save us double indexation activities triggerred on different moments.
-
Rafael Monnerat authored
-
Jérome Perrin authored
With recursive instances, it was possible that the slapos.cfg introduce a kind of loop and this was checking again and again the same folders. Fix this by keeping track of the visited instance root and not visit the same instance root twice.
-
- 12 Aug, 2021 8 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!327
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!326
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Jérome Perrin authored
This test was using time.strftime which uses the current machine timezone, but collection is done in UTC timezone, so the test was sometimes failing because the strftime('%Y-%m-%d') was another day than the same time in UTC time zone. This test https://erp5js.nexedi.net/#/test_result_module/20210811-96D6B55F/8 for example had the problem. By using faketime and TZ=Europe/Paris environment variable, the same problems reproduced locally 100% of times. The fix is to always use datetime.utcnow().strftime('%Y-%m-%d'), to not depend on the timezone.
-
Jérome Perrin authored
Don't buffer output and use a separate thread to read subprocess process output and send it line by line to logging, instead of reading from the main thread which output lines with a delay. fixes https://erp5js.nexedi.net/#/bug_module/20210311-90BA30
-
Jérome Perrin authored
To consider if a shared part is used, we consider all files named `slapos.cfg` in the instance and try to parse them as a slapos config file. The problem was that as soon as a file can not be parsed as a slapos config file, we did not continue to evaluate other `slapos.cfg` files. It was a `return` where it should have been a `continue`. This was especially incorrect, because when we have recursive slapos, we usually have a working copy of slapos repository, which contain `stack/slapos.cfg`, which is not a valid slapos config file. As a result, when a top level shared part was used in a software installed in the recursive slapos from a theia or slaprunner instance, this shared part was not detected as used and could have been deleted. The fix consist in checking all `slapos.cfg` files. This will make slapos node prune command probably much slower, because it will really iterate on all files now. Anyway this was fast because it was wrong.
-
Jérome Perrin authored
-
- 11 Aug, 2021 4 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!324
-
Rafael Monnerat authored
This changes aims minimize the unecessary accessed to master while the instance is going to be skipped to process or won't post informations to master. This in best cases reduces access from 1+n to 1 while n = number of used partitions. Fixed up after the (revert)
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 09 Aug, 2021 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The suffixes present on the come_from are incompatible with the addition done by portal_password
-