An error occurred fetching the project authors.
- 12 May, 2021 2 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
This defers the rendering of `instance-theia.cfg.in` to the instance creation time instead of the software installation time, which will allow buildout sections to be added based on the instance parameters. See merge request !981
-
- 10 May, 2021 2 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
In older theia versions `~/srv/frontend-static/logo.png` was a symlink to the actual logo file. Now the logo is copied into `frontend-static` but a simple `cp -f` does not behave as expected when the destination already exists and is a symbolic link: - if the symlink is valid, the file is copied to the symlink target - if the symlink is broken, the copy command fails So the destination must be removed before copying.
-
- 06 Apr, 2021 2 commits
-
-
Jérome Perrin authored
Eventhough "others" can not enter the parent directory, there was no reason to have such open permissions
-
Jérome Perrin authored
The client side was reimplemented in node, to workaround segmentation faults with python/ncurses.
-
- 02 Apr, 2021 1 commit
-
-
Xavier Thompson authored
Before this commit buildout could fail when instantiating Theia after updating to a new software release because it tried to create already existing symbolic links. These symlinks were to let the backend Caddy serve the logo and fonts. This commit solves the issue by systematically overwriting existing files when creating the symlinks, and also directly copies the logo.
-
- 31 Mar, 2021 2 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
- 29 Mar, 2021 1 commit
-
-
Xavier Thompson authored
-
- 25 Mar, 2021 1 commit
-
-
Xavier Thompson authored
Before this commit, running 'slapos node software' and 'supervisorctl start slapos-node-software' behaved differently because the PATH and other environment variables where different in the interactive theia shell and in supervisord.
-
- 24 Mar, 2021 3 commits
- 01 Mar, 2021 1 commit
-
-
Xavier Thompson authored
Changes: - Add comments and reorganise instance.cfg.in for clarity - Select free ports instead of hardcoded ports - Upgrade to slapos.core 1.6.5 to prefix forwarded requests This makes it possible to recursively nest theias into theias. See merge request nexedi/slapos!919
-
- 22 Feb, 2021 2 commits
-
-
Xavier Thompson authored
See merge request !914
-
Xavier Thompson authored
See merge request nexedi/slapos!913
-
- 16 Feb, 2021 1 commit
-
-
Xavier Thompson authored
`autorun` controls the `slapos-node-auto` service: - `running`: start `slapos-node-auto` - `stopped`: stop `slapos-node-auto` - ( else ) : leave `slapos-node-auto` as it is See merge request nexedi/slapos!888
-
- 12 Jan, 2021 3 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
-
- 30 Nov, 2020 5 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Jérome Perrin authored
Until now, standalone subsystem was started as a daemon first time a terminal was openned and since it was running as daemon, stopping the theia instance did not stop any of the services running in the embedded slapos. Before nexedi/slapos.core!265 there was two supervisor running as daemon: - ~/srv/slapos/etc/supervisord.conf which runs slapos proxy etc - ~/srv/slapos/inst/etc/supervisord.conf with runs instances in the embedded slapos After, the second one runs as a service in the first one, but the first one was still running as daemon. This changes so that the first supervisor runs as a service managed by the Theia instance, so stopping Theia instance will effectively stop the services. When upgrading, running instances should continue to run as detached. To attach them to the new service, procedure could be something like this Stop supervisors inside Theia instance: supervisorctl -c ~/srv/slapos/etc/supervisord.conf shutdown supervisorctl -c ~/srv/slapos/inst/etc/supervisord.conf shutdown Restart slappartX:slapos-standalone-instance-XXX-on-watch from host slapos
-
Jérome Perrin authored
-
Jérome Perrin authored
We are observing some segmentation fault with python curses applications that might be because the TERMINFO are different from the system one. I did not debugged, but since I set this environment variable I did not observe any segmentation fault. By comparing strace, the invocations seems same with or without $TERMINFO. In both cases the termcaps from the correct ncurses are selected, this just seem to workaround for some reason.
-
- 11 Nov, 2020 1 commit
-
-
Jérome Perrin authored
When updating existing instance, running slapos node instance failed with: ln: failed to create symbolic link '/srv/slapgrid/slappart9/srv/frontend-static/logo.png': File exists This fixes by doing nothing if logo.png already exists
-
- 08 Oct, 2020 3 commits
-
-
Jérome Perrin authored
This is quite an ugly workaround
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 07 Sep, 2020 4 commits
-
-
Jérome Perrin authored
+minor cleanups user section was not used
-
Jérome Perrin authored
Upload files feature uses a websocket at /file-upload , so configure frontends to allow web sockets on this path.
-
Jérome Perrin authored
When using nested slapos $HOME might not be set (which might be a bug in slapos format) so set $HOME ourselves so that we don't use home files from the outer slapos.
-
Jérome Perrin authored
Introduce an easy way to run slapos commands in a more integrated way.
-
- 21 Jul, 2020 2 commits
-
-
Jérome Perrin authored
When running tasks, shell is invoked like: $THEIA_SHELL -c "command with arguments that\ can\ contain\ spaces"
-
Jérome Perrin authored
so that frontend requests are requested as theia computer partition. Practically this means that if theia is installed on slapos master, frontend requests for slapos inside theia partition will be requested as this theia instance.
-
- 08 May, 2020 1 commit
-
-
Jérome Perrin authored
This disable a theia security feature of using a different hostname for each webview. By defaut, for each webview, thiea generate an unique hostname that when using vifib frontends would be something like https://uuid.webview.softinstXXX.host.vifib.net but that's not usable in our case because we cannot create frontends for a subdomain (also we don't have certificates for such domain). Configure THEIA_WEBVIEW_EXTERNAL_ENDPOINT to something less secure, but working in our environment. This fixes embedded jupyter notebooks and other web views.
-
- 28 Apr, 2020 3 commits
-
-
Jérome Perrin authored
This is required, otherwise published URL in slapos master is `"None"`
-
Jérome Perrin authored
After trying to generate a random image ourselve with image magic with: ${imagemagick:location}/bin/convert -size 6x6 xc: +noise Random \( -clone 0 -flip \) -append \( -clone 0 -flop \) +append -scale 128x128 $${:location} I gave up and just download an image from gravatar, but ignoring errors if any to comply with the "instanciation should work offline" rule.
-
Jérome Perrin authored
like webrunner is doing
-