- 20 Apr, 2022 5 commits
-
-
Romain Courteaud authored
* jslint * drop duplicated loopEventListener * use rjs.onEvent method to reduce the number of created listeners * use domsugar to make the code more readable * start to use mutex
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 14 Apr, 2022 8 commits
-
-
Thomas Gambier authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!377
-
Rafael Monnerat authored
Include general tests for the revoke/generation
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!375
-
Thomas Gambier authored
This commit remove the following 2 commands: * slapos cache lookup * slapos cache source And introduces the following 3 commands: * slapos cachelookup binary-sr * slapos cachelookup url * slapos cachelookup pypi This is useful to check if some objects are in shacache for buildout. Please note that the commands are using the latest keys (introduced in slapos.buildout!26) See merge request !376
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 11 Apr, 2022 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
On xml serialisation we support a more restrict scope them the whole json schemas and on json-in-xml, despite the fact we could support all, not everything is suitable for form generation. The both "meta schemas" are a variation of the draft exclusively for UI rendering purpose.
-
- 08 Apr, 2022 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Keep this code would only make things confusing, since this code is mostly an archive
-
- 06 Apr, 2022 2 commits
-
-
Rafael Monnerat authored
If they exist.
-
Łukasz Nowak authored
Since the way of renaming the software_release_url proven to avoid having unexpected results AND it is required in many cases to directly destroy an instance, allow direct destruction of such instances.
-
- 05 Apr, 2022 8 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!374
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This allow user edit the text area to fix the parameters and try to reload the form.
-
Rafael Monnerat authored
This feature isn't used or required anymore.
-
Rafael Monnerat authored
Whenever a user changes the Raw XML them return to the form, the changes on XML are loaded into the form. This allow the user reuse a known xml form as template.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Whenever a parameter is incompatible with the serialization (by the use or not of "_" special parameter) the form should display a textarea as a failover. Whenever the parameter editor fail to render the form, the selection box (with the software type) shouldn't be hidden, so the user can still change to a proper Software type with a proper serialization (as long it allow you to are requesting an instance and not editing).
-
- 04 Apr, 2022 1 commit
-
-
Xavier Thompson authored
See merge request nexedi/slapos.core!373
-
- 01 Apr, 2022 5 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
The promise runner launched in a subprocess with the instance's python redirects stderr to stdout in order to reserve stderr for propagating error messages. However `preexec_fn` is used to run `dropPrivileges` inside the child process, so when `dropPrivileges` calls `logger.debug`, the logger writes to stderr before the redirection is set up. To fix this, the `preexec_fn` function is modified to apply the same redirection first and revert it at the end. Reverting it avoids the need to communicate the new file descriptor for the original stderr stream to runpromise.py.
-
Jérome Perrin authored
The vulnerability that this test was checking was removed from the database, let's use another one that looks more likely to be removed.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!368
-
- 30 Mar, 2022 7 commits
-
-
Thomas Gambier authored
this option was only used in generate-signature-key of slapos.libnetworkcache but it has been removed in nexedi/slapos.libnetworkcache@765d4737
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is same API already present on compute node, the core diference here is that the Software Instance oddly store the value.
-
Rafael Monnerat authored
-