Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs-appstore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
officejs-appstore
Commits
81a0045d
Commit
81a0045d
authored
Dec 21, 2023
by
Roque
Browse files
Options
Browse Files
Download
Plain Diff
Update software configuration
See merge request
!26
parents
47446f95
872300da
Pipeline
#31898
passed with stage
in 0 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
40 deletions
+22
-40
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSAppstoreConfigurator.py
..._components/test.erp5.testOfficeJSAppstoreConfigurator.py
+5
-1
slapos/0001-Products-SiteAccess-handle-wildcard-on-rewrite-url.patch
...-Products-SiteAccess-handle-wildcard-on-rewrite-url.patch
+0
-26
slapos/software.cfg
slapos/software.cfg
+3
-13
slapos/software.cfg.json
slapos/software.cfg.json
+14
-0
No files found.
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSAppstoreConfigurator.py
View file @
81a0045d
...
@@ -74,7 +74,9 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
...
@@ -74,7 +74,9 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
# set preference
# set preference
preference_tool
=
self
.
portal
.
portal_preferences
preference_tool
=
self
.
portal
.
portal_preferences
conversion_url
=
"https://cloudooo.erp5.net/"
conversion_url
=
"https://cloudooo.erp5.net/"
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentConversionServerUrl
(),
conversion_url
)
conversion_url1
=
"https://cloudooo1.erp5.net/"
server_url
=
preference_tool
.
getPreferredDocumentConversionServerUrl
()
self
.
assertTrue
(
server_url
==
conversion_url
or
server_url
==
conversion_url1
)
def
testDocumentModuleMigration
(
self
):
def
testDocumentModuleMigration
(
self
):
"""
"""
...
@@ -241,6 +243,8 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
...
@@ -241,6 +243,8 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
'erp5_forge'
,
'erp5_forge'
,
'erp5_ui_test'
,
'erp5_ui_test'
,
'erp5_ui_test_core'
,
'erp5_ui_test_core'
,
'erp5_web_service'
,
'erp5_oauth2_resource'
,
'officejs_test'
'officejs_test'
]
]
self
.
assertSameSet
(
expected_business_template_list
,
self
.
assertSameSet
(
expected_business_template_list
,
...
...
slapos/0001-Products-SiteAccess-handle-wildcard-on-rewrite-url.patch
deleted
100644 → 0
View file @
47446f95
From e98fd4d593699ee33c7ae29bd559488ef68e4fa2 Mon Sep 17 00:00:00 2001
From: Vincent Bechu <vincent.bechu@nexedi.com>
Date: Thu, 25 Oct 2018 14:55:49 +0200
Subject: [PATCH] [Products/SiteAccess] handle wildcard on rewrite url
---
src/Products/SiteAccess/VirtualHostMonster.py | 2 ++
src/Products/SiteAccess/tests/testVirtualHostMonster.py | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/Products/SiteAccess/VirtualHostMonster.py b/src/Products/SiteAccess/VirtualHostMonster.py
index 046d38c00..47a9e3c57 100644
--- a/src/Products/SiteAccess/VirtualHostMonster.py
+++ b/src/Products/SiteAccess/VirtualHostMonster.py
@@ -173,6 +173,8 @@
class VirtualHostMonster(Persistent, Item, Implicit):
stack[ii] = self.id
stack.insert(ii, '/')
ii += 1
+ if '*' in stack:
+ stack[stack.index('*')] = host.split('.')[0]
path = stack[:ii]
# If the directive is on top of the stack, go ahead
# and process it right away.
--
2.11.0
slapos/software.cfg
View file @
81a0045d
[buildout]
[buildout]
extends =
extends =
https://lab.nexedi.com/nexedi/slapos/raw/1.0.
244
/software/erp5/software.cfg
https://lab.nexedi.com/nexedi/slapos/raw/1.0.
339
/software/erp5/software.cfg
parts +=
parts +=
officejs-appstore
officejs-appstore
...
@@ -10,22 +10,12 @@ repository_id_list += officejs-appstore
...
@@ -10,22 +10,12 @@ repository_id_list += officejs-appstore
[local-bt5-repository]
[local-bt5-repository]
list += ${officejs-appstore:location}/bt5
list += ${officejs-appstore:location}/bt5
#[erp5]
#branch =
#revision =
[officejs-appstore]
[officejs-appstore]
<= erp5
<= erp5
repository = https://lab.nexedi.com/nexedi/officejs-appstore.git
repository = https://lab.nexedi.com/nexedi/officejs-appstore.git
branch =
branch =
revision =
2bec764b6d7d223997e6558cbb251b6233b6f70d
revision =
47446f95ffad3094ccdb830772241b49f75d9567
[eggs]
[eggs]
extra-paths +=
extra-paths +=
${officejs-appstore:location}
${officejs-appstore:location}
\ No newline at end of file
Zope2-patches +=
${officejs-appstore:location}/slapos/0001-Products-SiteAccess-handle-wildcard-on-rewrite-url.patch#d4aace37a645354aed02440c34dca629
[versions]
Zope2 =2.13.30+SlapOSPatched002
slapos/software.cfg.json
0 → 100644
View file @
81a0045d
{
"name"
:
"OfficeJS Appstore"
,
"description"
:
"OfficeJS Appstore"
,
"serialisation"
:
"json-in-xml"
,
"software-type"
:
{
"default"
:
{
"title"
:
"Default"
,
"software-type"
:
"default"
,
"request"
:
"https://lab.nexedi.com/nexedi/slapos/raw/1.0.339/software/erp5/instance-erp5-input-schema.json"
,
"response"
:
"https://lab.nexedi.com/nexedi/slapos/raw/1.0.339/software/erp5/instance-erp5-output-schema.json"
,
"index"
:
0
}
}
}
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