- 01 Nov, 2022 30 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
It was replaced
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
As exposed by Romain, `parseFromString` does not throw any error if the XML parsing fails. Instead, you have to manually check if there is a `parsererror` element inside the returned document. See: https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#error_handling
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This don't remove jQuery completly, but it allow us to clean up the remaing part
-
Rafael Monnerat authored
It is a useless block
-
Rafael Monnerat authored
Replace tv4 by cfworker-jsonschema in order to support more recent schemas. Use ref-parser rather them custom expandSchema to build a expanded json schema. cfworker json schema was built from https://github.com/cfworker/cfworker/tree/main/packages/json-schema source code.
-
Rafael Monnerat authored
Allow the default sample use Additional Properties for now, a more restricted version of it can be included on another file.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This trigger validator to display error messages. This change isn't ideal, but this is minimal before a major refactoring
-
Rafael Monnerat authored
Click only works when you click on buttons, while change quite often calls getContent/checkValidity, causing the this test to be more stable.
-
Rafael Monnerat authored
Add samples for required on editor parameter (for tests)
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The errors should be properly displayed.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This may contains extremely simple with 1 field of each type for make test parameter easier to be written.
-
Rafael Monnerat authored
This makes tests much easier to be written, for while asserting the result as a simple hashed string.
-
Rafael Monnerat authored
Also include header link to return
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 28 Oct, 2022 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!439
-
- 26 Oct, 2022 2 commits
-
-
Thomas Gambier authored
Fixup of 89863d6c For links like this: $ ls -l /dev/disk/by-path/pci-0000:42:00.0-nvme-1 lrwxrwxrwx 1 root root 13 Oct 25 15:19 /dev/disk/by-path/pci-0000:42:00.0-nvme-1 -> ../../nvme7n1 os.readlink() returns "../../nvme7n1" while we want "/dev/nvme7n1".
-
Jérome Perrin authored
libmvec ( https://sourceware.org/glibc/wiki/libmvec ) is part of libc. $ dpkg -S /lib/x86_64-linux-gnu/libmvec-2.24.so libc6:amd64: /lib/x86_64-linux-gnu/libmvec-2.24.so
-
- 25 Oct, 2022 2 commits
-
-
Jérome Perrin authored
## before ```console $ slapos service list List of services: erp5 /srv/slapgrid/slappart15/srv/project/slapos/software/erp5/software.cfg slapos-sr-testing /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg slapos-testing /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-testing/software.cfg hugo /srv/slapgrid/slappart15/srv/project/slapos/software/hugo/software.cfg metabase /srv/slapgrid/slappart15/srv/project/slapos/software/metabase/software.cfg dufs /srv/slapgrid/slappart15/srv/project/slapos/software/webdav/software.cfg ``` ```console $ slapos service info slapos-sr-testing Software Release URL: /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg Instance state: busy Instance parameters: {} Connection parameters: ("<?xml version='1.0' encoding='utf-8'?>\n" '<instance>\n' ' <parameter ' 'id="environment-script">/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh</parameter>\n' ``` ## after ```console $ slapos service list { "dufs": "/srv/slapgrid/slappart15/srv/project/slapos/software/webdav/software.cfg", "erp5": "/srv/slapgrid/slappart15/srv/project/slapos/software/erp5/software.cfg", "hugo": "/srv/slapgrid/slappart15/srv/project/slapos/software/hugo/software.cfg", "metabase": "/srv/slapgrid/slappart15/srv/project/slapos/software/metabase/software.cfg", "slapos-sr-testing": "/srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg", "slapos-testing": "/srv/slapgrid/slappart15/srv/project/slapos/software/slapos-testing/software.cfg" } ``` ```console $ slapos service info slapos-sr-testing { "software-url": "/srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg", "instance-state": "busy", "instance-parameters": {}, "connection-parameters": { "environment-script": "/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh" } } ``` See merge request !441
-
Jérome Perrin authored
because json output is different on python2 and python3 and cli is only used on python2, we don't test the exact output in python2.
-
- 24 Oct, 2022 2 commits
-
-
Jérome Perrin authored
before: $ slapos service info slapos-sr-testing Software Release URL: /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg Instance state: busy Instance parameters: {} Connection parameters: ("<?xml version='1.0' encoding='utf-8'?>\n" '<instance>\n' ' <parameter ' 'id="environment-script">/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh</parameter>\n' after: $ slapos service info slapos-sr-testing Software Release URL: /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg Instance state: busy Instance parameters: {} Connection parameters: {'environment-script': '/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh'}
-
Thomas Gambier authored
This is particularly needed for old OS with python2: very old versions of pip are trying to install latest version of eggs no matter their python2 compatibility whereas pip 20 is making sure to install only python2 compatible eggs.
-
- 21 Oct, 2022 3 commits
-
-
Rafael Monnerat authored
Not required to do doActionFor here.
-
Rafael Monnerat authored
Update tests only.
-
Rafael Monnerat authored
-