Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
039e8730
Commit
039e8730
authored
Sep 27, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! theia: include more fonts
parent
c21a1b5f
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
227 additions
and
43 deletions
+227
-43
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+2
-2
software/theia/instance.cfg.in
software/theia/instance.cfg.in
+11
-7
software/theia/preloadTemplate.html
software/theia/preloadTemplate.html
+208
-32
software/theia/software.cfg
software/theia/software.cfg
+6
-2
No files found.
software/theia/buildout.hash.cfg
View file @
039e8730
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[instance]
[instance]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum = a
92a80a92afcf3fab6c0c25a506b87cf
md5sum = a
5c23358b8435b516e9e78bd71b5b819
[yarn.lock]
[yarn.lock]
filename = yarn.lock
filename = yarn.lock
...
@@ -27,4 +27,4 @@ md5sum = d2ce161244ce9ebce5295302a1b2a7df
...
@@ -27,4 +27,4 @@ md5sum = d2ce161244ce9ebce5295302a1b2a7df
[preloadTemplate.html]
[preloadTemplate.html]
filename = preloadTemplate.html
filename = preloadTemplate.html
md5sum =
bee842f5b0761eba23fa012d0ef52a50
md5sum =
8f5758f2e0ff7c4600c73ce54c9a70aa
software/theia/instance.cfg.in
View file @
039e8730
...
@@ -54,7 +54,7 @@ template = inline:
...
@@ -54,7 +54,7 @@ template = inline:
root $${directory:frontend-static}
root $${directory:frontend-static}
browse
browse
proxy / $${theia-instance:base-url} {
proxy / $${theia-instance:base-url} {
except public $${favicon.ico:filename}
except
$${frontend-instance-fonts:folder-name}
public $${favicon.ico:filename}
}
}
proxy /services $${theia-instance:base-url} {
proxy /services $${theia-instance:base-url} {
websocket
websocket
...
@@ -62,12 +62,6 @@ template = inline:
...
@@ -62,12 +62,6 @@ template = inline:
proxy /file-upload $${theia-instance:base-url} {
proxy /file-upload $${theia-instance:base-url} {
websocket
websocket
}
}
fonts/source-code-pro/* {
root ${source-code-pro-fonts:location}
}
fonts/jetbrains-mono/* {
root ${jetbrains-mono-fonts:location}
}
basicauth $${frontend-instance-password:username} $${frontend-instance-password:passwd} {
basicauth $${frontend-instance-password:username} $${frontend-instance-password:passwd} {
realm "Theia"
realm "Theia"
/
/
...
@@ -89,6 +83,16 @@ port = $${frontend-instance-config:port}
...
@@ -89,6 +83,16 @@ port = $${frontend-instance-config:port}
pidfile = $${directory:pidfiles}/$${:_buildout_section_name_}.pid
pidfile = $${directory:pidfiles}/$${:_buildout_section_name_}.pid
url = https://$${:hostname}:$${:port}/
url = https://$${:hostname}:$${:port}/
[frontend-instance-fonts]
recipe = plone.recipe.command
location = $${directory:frontend-static}/$${:folder-name}
folder-name = fonts
command =
mkdir $${:location}
ln -s ${source-code-pro-fonts:location} $${:location}/source-code-pro
ln -s ${jetbrains-mono-fonts:location} $${:location}/jetbrains-mono
stop-on-error = true
[frontend-reload]
[frontend-reload]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
...
...
software/theia/preloadTemplate.html
View file @
039e8730
This diff is collapsed.
Click to expand it.
software/theia/software.cfg
View file @
039e8730
...
@@ -199,8 +199,12 @@ template =
...
@@ -199,8 +199,12 @@ template =
"gitlens.remotes": [{ "domain": "lab.nexedi.com", "type": "GitLab" }],
"gitlens.remotes": [{ "domain": "lab.nexedi.com", "type": "GitLab" }],
"java.home": "${java-jdk:location}"
"java.home": "${java-jdk:location}"
}
}
}
},
},
"preloadTemplate": ${preloadTemplate.html:output}
"generator": {
"config": {
"preloadTemplate": "${preloadTemplate.html:output}"
}
}
}
},
},
"dependencies": {
"dependencies": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment