- 02 Nov, 2023 19 commits
-
-
Jérome Perrin authored
This reverts commit 6c399134.
-
Jérome Perrin authored
this keeps the behavior of nodejs < 18 https://twitter.com/matteocollina/status/1640384245834055680
-
Jérome Perrin authored
This change the format or the (mostly) unused frontend parameter to support requesting more than one frontend and also enable the request of a frontend by default, so that requesting a frontend separately is no longer needed. The `frontend` parameter now also supports requesting frontends for specific paths on the ERP5 backend, the example below requests a frontend serving directly a web site, with the necessary rewrite rules: ```js { "frontend": { "default": { "internal-path": "/erp5/web_site_module/renderjs_runner/" } } } ``` The example below requests a default frontend to the erp5 root, to access the ZMI or erp5_xhtml_style interface and two web sites: ```js { "frontend": { "default": {}, "erp5js": { "internal-path": "/erp5/web_site_module/renderjs_runner/" }, "crm": { "internal-path": "/erp5/web_site_module/erp5_officejs_support_request_ui/" } } } ``` The example below has an explicit definition of the zope families using `zope-partition-dict` parameter, because there is more than one zope family, no frontend is requested by default: ```js { "zope-partition-dict": { "backoffice": { "family": "backoffice" }, "web": { "family": "web" }, "activities": { "family": "activities" } } } ``` Continuing this example, to have frontends for backoffice and web families, the frontend request can specify the families, like it is demonstrated in the example below. In this example, we don't specify an entry for "activities" family, so no frontend will be requested for this family. ```js { "frontend": { "backoffice": { "zope-family": "backoffice" }, "web": { "zope-family": "web", "internal-path": "/erp5/web_site_module/web_site/" } } "zope-partition-dict": { "backoffice": { "family": "backoffice" }, "web": { "family": "web" }, "activities": { "family": "activities" } } } ```
-
Jérome Perrin authored
These must be installed through dependencies
-
Jérome Perrin authored
on python3 we use lzma directly
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Jérome Perrin authored
There are more recent versions, but they don't use pyproject.toml for metadata. Here we want a version with python3.11 support
-
Jérome Perrin authored
-
Jérome Perrin authored
This comes with a patch because the setup.py does not have version, which is not supported with our old tooling.
-
Jérome Perrin authored
This section is just for setup, it does not make sense to generate scripts here and it cause errors when another section uses the same technique.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Note that we don't use 3 yet because nexedi/pygolang@6446a0be
-
Thomas Gambier authored
-
Jérome Perrin authored
-
- 01 Nov, 2023 1 commit
-
-
Jérome Perrin authored
-
- 31 Oct, 2023 5 commits
-
-
Kirill Smelkov authored
In multiRU we will need to be able to check multiple radio units for RX saturation separately. -> As a preparatory step adjust the SR to explicitly specify the list of RX antennas to be verified. This patch is necessary because in nexedi/slapos.toolbox!126 we adjust check_rx_saturated plugin to require list of RX channels to check to be explicitly specified. /cc @tomo, @xavier_thompson, @Daetalus /reviewed-by @jhuge, @lu.xu /reviewed-on nexedi/slapos!1459
-
Kirill Smelkov authored
In multiRU we will need to be able to check multiple devices and DMA channels, not only /dev/sdr0@0 that was implicitly used until now. -> As a preparatory step adjust the SR to explicitly specify which SDR resource is being verified. This patch is necessary because in nexedi/slapos.toolbox!125 we adjust check_sdr_busy plugin to require SDR device/DMA channel to be explicitly specified. /cc @lu.xu, @tomo, @xavier_thompson, @Daetalus /reviewed-by @jhuge /reviewed-on nexedi/slapos!1458
-
Jérome Perrin authored
also stop enabling pip user installation, this breaks slapos isolation too much See merge request nexedi/slapos!1464
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts commit 6f167c36. This causes issues that unexpectly slapos python processes use user installed packages. This was to accomodate python extension prompting user to install packages for them, but current version of the extension no longer seem to do this.
-
- 30 Oct, 2023 2 commits
-
-
Julien Muchembled authored
-
Jérome Perrin authored
-
- 27 Oct, 2023 2 commits
-
-
Ivan Tyagov authored
See merge request nexedi/slapos!1460
-
Ivan Tyagov authored
-
- 26 Oct, 2023 5 commits
-
-
Łukasz Nowak authored
Cover a case of not adding needless trailing / while accessing a backend from top level of the URL. As / are stripped while parsing the url, expose the situation that even if url ends with a /, it won't be sent for top level access. Here is the mapping of configured URL, path accessed on the CDN side and path sent to the backend: * backend/index.html frontend/ index.html * backend/index.html frontend/a index.html/a * backend/index.html frontend/a/ index.html/a/ * backend/index.html/ frontend/ index.html * backend/index.html/ frontend/a index.html/a * backend/index.html/ frontend/a/ index.html/a/
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Kirill Smelkov authored
During my recent work I needed to use path for generated interpreter in several places and found the need to repeat ${buildout:bin-directory}/${python-interpreter:interpreter} both tiring and error-prone, because the knowledge where executable is placed is implicitly used and relied upon. On the other hand: - pygolang already provides ${gpython:exe} as reference to the place where gpython is installed (see e1d269b4) - pygolang already uses :exe for interpreter generated to accompany pyprog (see 0ee52376 and e328aa49) So python-interpreter not providing :exe is an oversight and the logical fix is to start providing python-interpreter:exe as well. -> Do it and convert */software.cfg throughout the tree, where python-interpreter is found, to use it. /cc @jerome, @Tyagov, @alain.takoudjou, @xavier_thompson, @levin.zimmermann /reviewed-on nexedi/slapos!1456
-
- 24 Oct, 2023 6 commits
-
-
Jérome Perrin authored
The new ghostscript could not decrypt some password protected files. It turned out to be a bug in ghostscript but in the process of investigating I thought it might be related to missing libidn that is also used in PDF passwords, so I added it. See merge request !1455
-
Jérome Perrin authored
Fixes decryption of some password protected PDFs
-
Jérome Perrin authored
INFO configure: WARNING: unrecognized options: --disable-threadsafe
-
Jérome Perrin authored
without libidn, decrypting password protected PDFs does not fully work.
-
Jérome Perrin authored
-
Jérome Perrin authored
-