Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mynij
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
mynij
Commits
b12b5614
Commit
b12b5614
authored
Aug 17, 2020
by
Alexandra
Committed by
Alain Takoudjou
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mynij Search: Details useful for ui tests
parent
72f90ee2
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
12 deletions
+27
-12
bt5/Mynij Search/PathTemplateItem/portal_skins/erp5_mynij/action_mynij_search_build_index.js.js
...al_skins/erp5_mynij/action_mynij_search_build_index.js.js
+13
-11
bt5/Mynij Search/PathTemplateItem/web_page_module/gadget_mynij_model.js.js
...PathTemplateItem/web_page_module/gadget_mynij_model.js.js
+1
-0
bt5/Mynij Search/PathTemplateItem/web_page_module/gadget_officejs_mynij_search.configuration.xml
...age_module/gadget_officejs_mynij_search.configuration.xml
+1
-1
bt5/Mynij Search/PathTemplateItem/web_site_module/mynij_search.xml
... Search/PathTemplateItem/web_site_module/mynij_search.xml
+4
-0
bt5/Mynij Search/PathTemplateItem/web_site_module/mynij_search/app.xml
...rch/PathTemplateItem/web_site_module/mynij_search/app.xml
+4
-0
bt5/Mynij Search/PathTemplateItem/web_site_module/mynij_search/hateoas_appcache.xml
...ateItem/web_site_module/mynij_search/hateoas_appcache.xml
+4
-0
No files found.
bt5/Mynij Search/PathTemplateItem/portal_skins/erp5_mynij/action_mynij_search_build_index.js.js
View file @
b12b5614
...
@@ -37,16 +37,8 @@
...
@@ -37,16 +37,8 @@
})
})
.
declareMethod
(
"
handleSubmit
"
,
function
(
content_dict
,
parent_options
)
{
.
declareMethod
(
"
handleSubmit
"
,
function
(
content_dict
,
parent_options
)
{
var
return_submit_dict
=
{
var
return_submit_dict
,
notify
:
{
gadget
=
this
,
message
:
"
Hello
"
,
status
:
"
Status
"
},
redirect
:
{
command
:
"
raw
"
,
options
:
{
"
url
"
:
"
#/
"
+
parent_options
.
action_options
.
jio_key
}
}
},
gadget
=
this
,
list
=
parent_options
.
doc
.
links
,
list
=
parent_options
.
doc
.
links
,
index_name
=
parent_options
.
doc
.
title
,
index_name
=
parent_options
.
doc
.
title
,
property
;
property
;
...
@@ -55,7 +47,17 @@
...
@@ -55,7 +47,17 @@
.
push
(
function
(){
.
push
(
function
(){
return
gadget
.
state
.
parser_gadget
.
parse_user_entry_list
(
list
,
index_name
);
return
gadget
.
state
.
parser_gadget
.
parse_user_entry_list
(
list
,
index_name
);
})
})
.
push
(
function
(){
.
push
(
function
(
result
){
return_submit_dict
=
{
notify
:
{
message
:
"
Index built :
"
+
result
+
"
item(s) added.
"
,
status
:
"
Status
"
},
redirect
:
{
command
:
"
raw
"
,
options
:
{
"
url
"
:
"
#/
"
+
parent_options
.
action_options
.
jio_key
}
}
}
return
return_submit_dict
;
return
return_submit_dict
;
})
})
});
});
...
...
bt5/Mynij Search/PathTemplateItem/web_page_module/gadget_mynij_model.js.js
View file @
b12b5614
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
.
push
(
function
(){
.
push
(
function
(){
console
.
log
(
"
Index saved :
"
);
console
.
log
(
"
Index saved :
"
);
console
.
log
(
gadget
.
state
.
indices
[
index_name
].
info
());
console
.
log
(
gadget
.
state
.
indices
[
index_name
].
info
());
return
gadget
.
state
.
indices
[
index_name
].
info
().
items
;
})
})
.
push
(
undefined
,
function
(
my_error
)
{
.
push
(
undefined
,
function
(
my_error
)
{
console
.
log
(
my_error
);
console
.
log
(
my_error
);
...
...
bt5/Mynij Search/PathTemplateItem/web_page_module/gadget_officejs_mynij_search.configuration.xml
View file @
b12b5614
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<item>
<item>
<key>
<string>
text_content
</string>
</key>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
CONFIGURATION MANIFEST\n
<value>
<string>
CONFIGURATION MANIFEST\n
# generated on
Sun Aug 9 11:17:44
2020\n
# generated on
Tue Aug 11 15:11:01
2020\n
CACHE:\n
CACHE:\n
\n
\n
hateoas_appcache/definition_view/cG9ydGFsX3R5cGVzL015bmlqIFNlYXJjaCBDb2xsZWN0aW9uIE1vZHVsZQ==\n
hateoas_appcache/definition_view/cG9ydGFsX3R5cGVzL015bmlqIFNlYXJjaCBDb2xsZWN0aW9uIE1vZHVsZQ==\n
...
...
bt5/Mynij Search/PathTemplateItem/web_site_module/mynij_search.xml
View file @
b12b5614
...
@@ -281,6 +281,10 @@
...
@@ -281,6 +281,10 @@
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Mynij Search
</string>
</value>
<value>
<string>
Mynij Search
</string>
</value>
</item>
</item>
<item>
<key>
<string>
user_allowed_login
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<item>
<key>
<string>
visible
</string>
</key>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
1
</int>
</value>
...
...
bt5/Mynij Search/PathTemplateItem/web_site_module/mynij_search/app.xml
View file @
b12b5614
...
@@ -227,6 +227,10 @@
...
@@ -227,6 +227,10 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
authorization_forced
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
...
...
bt5/Mynij Search/PathTemplateItem/web_site_module/mynij_search/hateoas_appcache.xml
View file @
b12b5614
...
@@ -146,6 +146,10 @@
...
@@ -146,6 +146,10 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
hateoas_appcache
</string>
</value>
<value>
<string>
hateoas_appcache
</string>
</value>
</item>
</item>
<item>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<value>
<string>
WebSection_viewOfficeJSApplicationPreference
</string>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Static Web Section
</string>
</value>
<value>
<string>
Static Web Section
</string>
</value>
...
...
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