- 30 Sep, 2021 4 commits
-
-
Rafael Monnerat authored
It isn't required to run it that often since everything else will take long, and it perform a too expensive query for run it every minute.
-
Rafael Monnerat authored
Just save some minor processing time.
-
Rafael Monnerat authored
Those are mostly sample files updated for this revision, each project should keep a separated dumped files on their on project context.
-
Rafael Monnerat authored
-
- 28 Sep, 2021 1 commit
-
-
Thomas Gambier authored
-
- 24 Sep, 2021 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!333
-
Jérome Perrin authored
this fixes 86ce8b8e which had an error the current_output variable was not reset when the current output ended in \n. As a result, logged output was sometimes containing some parts of the program output twice. We could even catch it in unit test, when running the test multiple times. It also happened on test node with https://erp5js.nexedi.net/#/test_result_module/20210826-1706D7F50/10 The is trivial, we reset the current output also in this case. The test suite is extended a bit, with added tests and test adjustments made during the debugging. With test_exec_large_output_multiline the problem triggers almost every time.
-
- 22 Sep, 2021 1 commit
-
-
Rafael Monnerat authored
This is basically dead code, and untested.
-
- 21 Sep, 2021 1 commit
-
-
Rafael Monnerat authored
See merge request !328
-
- 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 nexedi/slapos.core@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 6 commits
-
-
Rafael Monnerat authored
See merge request !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
-