- 11 Sep, 2024 19 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
testing strategy: - use an external method with a transaction manager which sleeps for 20 seconds during tpc_vote and tpc_commit - commit such a transaction - stop zope - check the stop happens after the tpc_commit
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
For now this still have to be enabled with a config like this in a .conf file in srv/telegraf/extra-config/ : [[inputs.execd]] name_override = "slapos" # this needs sudo when using can not access supervisor socket, like when being installed in root slapos command = ["/usr/bin/sudo", "$SOFTWARE_DIR/go.work/bin/telegraf-input-slapos", "-config", "/path/to/slapos.conf"] /path/to/slapos.conf would contain something like this: [[inputs.slapos]] ## Folder where partitions are located instance_root = "/srv/slapgrid/" ## filepath.Glob pattern to look for recursive instances recursive_instance_glob_pattern = "*/srv/runner/inst*/" ## Path of supervisor socket, relative to instance root socket_name = "sv.sock"
-
Jérome Perrin authored
This version has a new sql input, that can be used to get metrics from sql queries.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
zeo uses temporary files during commit, we want to keep these temporary files in its partition. The reason which motivated this change was to prevent problems when system /tmp is full. It's also consistent to how we configure other services.
-
Jérome Perrin authored
-
Jérome Perrin authored
this logic was simple enough to be inlined and this makes it easier to make changes
-
Jérome Perrin authored
This test checks that running `slapos node software` command on theia shell starts installing software, but this command might get an error like: process started, but another slapos process is aleady running with pid 2656158, exiting this happened for example with https://erp5js.nexedi.net/#/test_result_module/20240911-ED8B4BF9/60
-
Jérome Perrin authored
-
Jérome Perrin authored
This test uses XMLRPC to control ERP5
-
- 06 Sep, 2024 5 commits
-
-
Carlos Ramos Carreño authored
- Each class now correspond to an instance with different configuration, and possibly several test methods. - Upgraded to more recent pypdf version. - The code has been reviewed to reduce complexity and repetition. - Adds documentation to all public functions, in Google style. - Some other cosmetic changes have been made for consistency (consistent parentheses indentation, consistent string literal quotes), courtesy of ruff. See merge request nexedi/slapos!1628
-
Carlos Ramos Carreño authored
The `enable-scripting` parameter allows to specify a LibreOffice script to be applied before saving the document, as per nexedi/cloudooo@a09d87af If false (the default), an exception will be raised instead. This commit also adds two SlapOS integration tests classes to test the functionality: - TestScripting requests an instance with scripting enabled, and tests the scripting functionality. - TestScriptingDisabled tests that scripting fails if it is not enabled explicitly. See merge request nexedi/slapos!1628
-
Lu Xu authored
See merge request nexedi/slapos!1635
-
Lu Xu authored
-
Lu Xu authored
-
- 04 Sep, 2024 6 commits
-
-
Paul Graydon authored
See merge request nexedi/slapos!1632
-
Paul Graydon authored
-
Paul Graydon authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Carlos Ramos Carreño authored
The option "ooo_enable_scripting" can now be set up in the generic.cloudooo recipe. This option allows the Cloudooo server to execute user scripts to edit the documents before they are saved (see cloudooo@a09d87af3f8bf222cd7d37d814b94ed7a907e2b4). See merge request nexedi/slapos!1628
-
- 03 Sep, 2024 2 commits
-
-
Xavier Thompson authored
Fix clone favicon being the same as the main instance favicon - this is an uncaught regression. Add a test for it. Also give each clone a different favicon, in case there are several clones. See merge request nexedi/slapos!1637
-
Carlos Ramos Carreño authored
When using older GCC versions (e.g. 8.3.0), Inkscape fails with an error similar to: ```C++ /srv/slapgrid/slappart15/srv/runner/instance/slappart7/tmp/shared/inkscape/31c6ae5c72c5325d479cca38e62b82bb/.build/inkscape-1.3.2_2023-11-25_091e20ef0f/src/ui/tools/booleans-subitems.cpp: In lambda function: /srv/slapgrid/slappart15/srv/runner/instance/slappart7/tmp/shared/inkscape/31c6ae5c72c5325d479cca38e62b82bb/.build/inkscape-1.3.2_2023-11-25_091e20ef0f/src/ui/tools/booleans-subitems.cpp:213:61: error: cannot deduce template arguments for ‘uniform_real_distribution’ from () auto ranf = [&] { return std::uniform_real_distribution()(gen); }; ``` This may be an instance of this problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81486 In any case, setting a minimum version of 10.5 for GCC when building Inkscape, as done in this commit, seems to fix this. See merge request nexedi/slapos!1634
-
- 02 Sep, 2024 5 commits
-
-
Jérome Perrin authored
This is based on example from https://json-schema.org/understanding-json-schema/reference/object#unevaluatedproperties this approach allows extending a schema from another software type with some extra properties while rejecting other properties on instances, like it's done with additionalProperties: false.
-
Jérome Perrin authored
See merge request !1633
-
Carlos Ramos Carreño authored
Currently librsync is being compiled in the folder lib64 in some OSes (e.g. SUSE SLE 15.6). This is a problem because some dependents look for the library in the lib subdirectory. This change forces librsync to always use the lib directory. See merge request nexedi/slapos!1629
-
Kazuhiko Shiozaki authored
-
Xavier Thompson authored
See merge request nexedi/slapos!1602
-
- 29 Aug, 2024 3 commits
-
-
Jérome Perrin authored
this binary is no longer used
-
Jérome Perrin authored
-
Jérome Perrin authored
because we are not using anymore and no new release was made to fix CVE-2024-38428
-