- 01 Jun, 2022 2 commits
-
-
Rafael Monnerat authored
This API extends catalog tool to search node and partitions using unrestricted search and accertACI. The mains goal here are: - raise Unauthorized (instead NotFound) when the object exists but you cannot have access - Globaly cache when you find a computer since this is quite intense operation - Be able to search regardless security (which is required for some usecases).
-
Rafael Monnerat authored
The internal API only store dict, rather them store xml. slapos.slap.slap is only used on SlapTool context, releasing the internal API on having it. The approach is deprecate the usage of it as soon clients relies on a different API.
-
- 31 May, 2022 1 commit
-
-
Rafael Monnerat authored
-
- 27 May, 2022 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Those files tend to be modified quite often, including on the sub projects.
-
- 26 May, 2022 7 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!387
-
Rafael Monnerat authored
The site and translation data is updated after the installation, causing the delta. For now we ignore it and we update translation later.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 18 May, 2022 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The purpose of the restricted parameters were to keep hidden values which weren't part of the schema on the parameter form, for a simplified version of the form. Since the user can always edit the raw values (over XML) this feature is undesirable, since if produce inconsistent outcome. It is the duty of software release to produce a simplified version, with a restricted list of acceptable parameters.
-
Rafael Monnerat authored
Drop non required new line (it will be added anyway).
-
- 16 May, 2022 3 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!385
-
Rafael Monnerat authored
The "bad" sample are examples that are miss used, but it should still works (as expected by the format). The first example are from the implementation of boolean using enum + strings.
-
Rafael Monnerat authored
Boolean should be handled as boolean not as strings. Selection should include default value even if they are outside the enum list.
-
- 13 May, 2022 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Keep the xml_output as it is even if the form is Invalid, this allow the user force post (since it is the user decision). If the textarea is blank/empty, add the default xml (empty values) in place, otherwise the user cannot re-render the parameter form back.
-
Rafael Monnerat authored
-
Thomas Gambier authored
See nexedi/slapos.libnetworkcache@0fe8148a slapos.libnetworkcache now needs the signature key to have a corresponding certificate in signature-certificate-list so we need to give signature_certificate_list to NetworkCacheClient constructor.
-
- 12 May, 2022 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Include more sample data.
-
Rafael Monnerat authored
This makes eventual reuses for testing and demostration easy.
-
Rafael Monnerat authored
-
Alain Takoudjou authored
-
- 10 May, 2022 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!384
-
Rafael Monnerat authored
The kvm json schema is wrong, and it was fixed on a certain context, so I'm just dropping the assertion here until the software instance is refactored to use JSON in XML by default.
-
- 09 May, 2022 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This form allows you test any software release on the parameter form.
-
Rafael Monnerat authored
This fixes up the support for the json schema definition for {"type": "number", "enum": [ 1.0, 2.0] } It relies on data-format to overcome the limitation of select fields that only output strings on input.value.
-
Rafael Monnerat authored
If the field is number the field is handled as float, and not as integer anymore.
-
Alain Takoudjou authored
See merge request nexedi/slapos.core!366
-
- 06 May, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!382
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!383
-
- 05 May, 2022 1 commit
-
-
Rafael Monnerat authored
We should use schema_url rather them json_url on validationJSON, since the json_url is the software.cfg.json while schema_url is the actual url for the schema.
-
- 04 May, 2022 1 commit
-
-
Rafael Monnerat authored
Like in WebSite_login, came_from is an URI Template so we must expand the URI to handle the {&n.me} that can be present on the URL.
-