Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Nikola Balog
erp5
Commits
eb00daaf
Commit
eb00daaf
authored
May 29, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_afs_directory] JSLint
parent
25fa912f
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
357 additions
and
357 deletions
+357
-357
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_jio_js.js
...athTemplateItem/web_page_module/gadget_erp5_afs_jio_js.js
+84
-77
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_jio_js.xml
...thTemplateItem/web_page_module/gadget_erp5_afs_jio_js.xml
+3
-3
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
...hTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
+4
-9
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
...TemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
+3
-3
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.js
...TemplateItem/web_page_module/gadget_erp5_afs_router_js.js
+3
-6
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.xml
...emplateItem/web_page_module/gadget_erp5_afs_router_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_storage_js.js
...emplateItem/web_page_module/gadget_erp5_afs_storage_js.js
+6
-6
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_storage_js.xml
...mplateItem/web_page_module/gadget_erp5_afs_storage_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.js
...Item/web_page_module/gadget_erp5_page_afs_directory_js.js
+56
-55
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.xml
...tem/web_page_module/gadget_erp5_page_afs_directory_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.js
...Item/web_page_module/gadget_erp5_page_afs_publisher_js.js
+21
-22
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.xml
...tem/web_page_module/gadget_erp5_page_afs_publisher_js.xml
+3
-3
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.js
...web_page_module/gadget_erp5_page_afs_publisher_list_js.js
+36
-35
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.xml
...eb_page_module/gadget_erp5_page_afs_publisher_list_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.js
...eItem/web_page_module/gadget_erp5_page_afs_software_js.js
+27
-28
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.xml
...Item/web_page_module/gadget_erp5_page_afs_software_js.xml
+3
-3
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.js
.../web_page_module/gadget_erp5_page_afs_software_list_js.js
+35
-33
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.xml
...web_page_module/gadget_erp5_page_afs_software_list_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.js
...m/web_page_module/gadget_erp5_page_afs_success_case_js.js
+8
-9
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.xml
.../web_page_module/gadget_erp5_page_afs_success_case_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.js
..._page_module/gadget_erp5_page_afs_success_case_list_js.js
+50
-50
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.xml
...page_module/gadget_erp5_page_afs_success_case_list_js.xml
+3
-3
No files found.
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_jio_js.js
View file @
eb00daaf
/*global window, rJS, RSVP,
UriTemplate, URI, Query, SimpleQuery, ComplexQuery,
/*global window, rJS, RSVP,
jIO, DOMParser */
jIO, DOMParser */
/*jslint indent: 2, maxerr: 3, nomen: true, DOMParser */
/*jslint indent: 2, maxerr: 3, nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
UriTemplate
,
URI
,
Query
,
SimpleQuery
,
(
function
(
window
,
rJS
,
RSVP
)
{
ComplexQuery
,
jIO
,
DOMParser
)
{
"
use strict
"
;
"
use strict
"
;
var
DIRTY_OLOH_LOOKUP_UNTIL_API_WORKS
=
{
var
DIRTY_OLOH_LOOKUP_UNTIL_API_WORKS
=
{
...
@@ -34,7 +33,7 @@
...
@@ -34,7 +33,7 @@
// XXX... lord have mercy
// XXX... lord have mercy
function
mockupQueryParam
(
param
,
select_list
)
{
function
mockupQueryParam
(
param
,
select_list
)
{
var
wild_param
=
param
.
replace
(
/
[
()
]
/g
,
"
%
"
).
replace
(
/ /g
,
''
),
var
wild_param
=
param
.
replace
(
/
[
()
]
/g
,
"
%
"
).
replace
(
/ /g
,
''
),
return_list
=
[],
return_list
=
[],
len
,
len
,
i
;
i
;
...
@@ -77,25 +76,28 @@
...
@@ -77,25 +76,28 @@
// Make Publisher datasheets
// Make Publisher datasheets
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
push
(
function
(
data
)
{
.
push
(
function
(
data
)
{
var
uid
=
0
;
var
uid
=
0
,
publisher_id_list
,
promise_list
;
/*
function isReplicate(el) {
function isReplicate(el) {
return (el.id.indexOf("_replicate_") < 0);
return (el.id.indexOf("_replicate_") < 0);
}
}
*/
function
setPortalTypeOnPublisher
(
el
)
{
function
setPortalTypeOnPublisher
(
el
)
{
return
gadget
.
jio_get
(
el
.
id
)
return
gadget
.
jio_get
(
el
.
id
)
.
push
(
function
(
publisher_object
)
{
.
push
(
function
(
publisher_object
)
{
publisher_object
.
portal_type
=
"
publisher
"
;
publisher_object
.
portal_type
=
"
publisher
"
;
//publisher_object.url = publisher_object.website;
//publisher_object.url = publisher_object.website;
publisher_object
.
uid
=
(
uid
++
).
toString
();
uid
+=
1
;
publisher_object
.
uid
=
uid
.
toString
();
return
gadget
.
jio_put
(
publisher_object
.
uid
,
publisher_object
);
return
gadget
.
jio_put
(
publisher_object
.
uid
,
publisher_object
);
});
});
}
}
var
publisher_id_list
=
data
.
data
.
rows
,
publisher_id_list
=
data
.
data
.
rows
;
promise_list
=
publisher_id_list
.
map
(
setPortalTypeOnPublisher
);
promise_list
=
publisher_id_list
.
map
(
setPortalTypeOnPublisher
);
return
RSVP
.
all
(
promise_list
);
return
RSVP
.
all
(
promise_list
);
...
@@ -110,8 +112,7 @@
...
@@ -110,8 +112,7 @@
// Create Statistic Sheets
// Create Statistic Sheets
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
push
(
function
(
result_list
)
{
.
push
(
function
(
result_list
)
{
var
uid
=
1000
,
var
publisher_list
=
result_list
.
data
.
rows
,
publisher_list
=
result_list
.
data
.
rows
,
statistic_list
=
[],
statistic_list
=
[],
i_len
=
publisher_list
.
length
,
i_len
=
publisher_list
.
length
,
i
;
i
;
...
@@ -120,8 +121,7 @@
...
@@ -120,8 +121,7 @@
// curl https://www.openhub.net/projects/{project_id}/analyses/latest.xml
// curl https://www.openhub.net/projects/{project_id}/analyses/latest.xml
function
createStatisticSheet
(
my_publisher_row
)
{
function
createStatisticSheet
(
my_publisher_row
)
{
var
publisher
=
my_publisher_row
.
value
.
title
,
var
software_list
=
my_publisher_row
.
value
.
free_software_list
,
software_list
=
my_publisher_row
.
value
.
free_software_list
,
j_len
=
software_list
.
length
,
j_len
=
software_list
.
length
,
profile_url
,
profile_url
,
software_analysis
,
software_analysis
,
...
@@ -149,9 +149,7 @@
...
@@ -149,9 +149,7 @@
return
RSVP
.
all
(
software_analysis_list
);
return
RSVP
.
all
(
software_analysis_list
);
})
})
.
push
(
function
(
my_stat_list
)
{
.
push
(
function
(
my_stat_list
)
{
var
parser
=
new
DOMParser
(),
var
line_total
=
0
,
line_total
=
0
,
xml
,
k_len
=
my_stat_list
.
length
,
k_len
=
my_stat_list
.
length
,
k
;
k
;
for
(
k
=
0
;
k
<
k_len
;
k
+=
1
)
{
for
(
k
=
0
;
k
<
k_len
;
k
+=
1
)
{
...
@@ -180,7 +178,7 @@
...
@@ -180,7 +178,7 @@
}
}
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
all
(
statistic_list
);
return
RSVP
.
all
(
statistic_list
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -191,28 +189,32 @@
...
@@ -191,28 +189,32 @@
// Make Software datasheets
// Make Software datasheets
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
push
(
function
(
publisher_list
)
{
.
push
(
function
(
publisher_list
)
{
var
uid
=
2000
;
var
uid
=
2000
,
save_software_promise_list
,
publishers
,
promise_list
;
function
saveSoftwareListFromPublisher
(
j
)
{
function
saveSoftwareListFromPublisher
(
j
)
{
var
publisher
=
j
.
value
.
title
,
var
publisher
=
j
.
value
.
title
,
software_list
=
j
.
value
.
free_software_list
,
software_list
=
j
.
value
.
free_software_list
,
website
=
j
.
value
.
website
;
website
=
j
.
value
.
website
;
function
saveSoftwareDocument
(
software
)
{
function
saveSoftwareDocument
(
software
)
{
software
.
portal_type
=
"
software
"
;
software
.
portal_type
=
"
software
"
;
software
.
publisher
=
publisher
;
software
.
publisher
=
publisher
;
software
.
publisher_website
=
website
;
software
.
publisher_website
=
website
;
software
.
uid
=
(
uid
++
).
toString
();
uid
+=
1
;
software
.
uid
=
uid
.
toString
();
return
gadget
.
jio_put
(
software
.
uid
,
software
);
return
gadget
.
jio_put
(
software
.
uid
,
software
);
}
}
var
save_software_promise_list
=
software_list
.
map
(
saveSoftwareDocument
);
save_software_promise_list
=
software_list
.
map
(
saveSoftwareDocument
);
return
RSVP
.
all
(
save_software_promise_list
);
return
RSVP
.
all
(
save_software_promise_list
);
}
}
var
publishers
=
publisher_list
.
data
.
rows
,
publishers
=
publisher_list
.
data
.
rows
;
promise_list
=
publishers
.
map
(
saveSoftwareListFromPublisher
);
promise_list
=
publishers
.
map
(
saveSoftwareListFromPublisher
);
return
RSVP
.
all
(
promise_list
);
return
RSVP
.
all
(
promise_list
);
...
@@ -224,7 +226,7 @@
...
@@ -224,7 +226,7 @@
'
website
'
,
'
website
'
,
'
success_case_list
'
,
'
success_case_list
'
,
'
publisher
'
,
'
publisher
'
,
'
category_list
'
,
'
category_list
'
],
],
query
:
'
portal_type: "software"
'
query
:
'
portal_type: "software"
'
});
});
...
@@ -233,47 +235,53 @@
...
@@ -233,47 +235,53 @@
// Make Success Case datasheets
// Make Success Case datasheets
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
push
(
function
(
software_list
)
{
.
push
(
function
(
software_list
)
{
var
uid
=
3000
;
var
uid
=
3000
,
softwares
,
promise_list
;
function
saveSuccessCaseListFromSoftware
(
softwareObject
)
{
function
saveSuccessCaseListFromSoftware
(
softwareObject
)
{
var
software
=
softwareObject
.
value
,
var
software
=
softwareObject
.
value
,
publisher
=
softwareObject
.
value
.
publisher
,
publisher
=
softwareObject
.
value
.
publisher
,
website
=
softwareObject
.
value
.
website
,
website
=
softwareObject
.
value
.
website
,
success_case_list
=
softwareObject
.
value
.
success_case_list
;
success_case_list
=
softwareObject
.
value
.
success_case_list
,
save_success_case_promise_list
;
function
isValid
(
success_case
)
{
function
isValid
(
success_case
)
{
return
(
success_case
!==
"
N/A
"
&&
return
(
success_case
!==
"
N/A
"
&&
success_case
.
title
!==
""
&&
success_case
.
title
!==
""
&&
success_case
.
title
!==
"
N/A
"
);
success_case
.
title
!==
"
N/A
"
);
}
}
function
addProperties
(
success_case
)
{
function
addProperties
(
success_case
)
{
success_case
.
portal_type
=
"
success_case
"
;
success_case
.
portal_type
=
"
success_case
"
;
success_case
.
software
=
software
.
title
;
success_case
.
software
=
software
.
title
;
success_case
.
software_website
=
software
.
website
;
success_case
.
software_website
=
software
.
website
;
success_case
.
publisher
=
publisher
;
success_case
.
publisher
=
publisher
;
success_case
.
publisher_website
=
website
;
success_case
.
publisher_website
=
website
;
success_case
.
category_list
=
software
.
category_list
;
success_case
.
category_list
=
software
.
category_list
;
success_case
.
uid
=
(
uid
++
).
toString
();
uid
+=
1
;
success_case
.
uid
=
uid
.
toString
();
return
gadget
.
jio_put
(
success_case
.
uid
,
success_case
);
return
gadget
.
jio_put
(
success_case
.
uid
,
success_case
);
}
}
var
save_success_case_promise_list
=
save_success_case_promise_list
=
success_case_list
.
filter
(
isValid
)
success_case_list
.
filter
(
isValid
)
.
map
(
addProperties
);
.
map
(
addProperties
);
return
RSVP
.
all
(
save_success_case_promise_list
);
return
RSVP
.
all
(
save_success_case_promise_list
);
}
}
var
softwares
=
software_list
.
data
.
rows
.
filter
(
function
(
sw
)
{
softwares
=
software_list
.
data
.
rows
.
filter
(
function
(
sw
)
{
return
(
sw
.
value
.
success_case_list
!==
"
N/A
"
);
return
(
sw
.
value
.
success_case_list
!==
"
N/A
"
);
})
,
})
;
promise_list
=
softwares
.
map
(
saveSuccessCaseListFromSoftware
);
promise_list
=
softwares
.
map
(
saveSuccessCaseListFromSoftware
);
return
RSVP
.
all
(
promise_list
);
return
RSVP
.
all
(
promise_list
);
/*
})
})
.push(undefined, function (error) {
.push(undefined, function (error) {
console.log(error);
console.log(error);
*/
});
});
}
}
...
@@ -294,7 +302,7 @@
...
@@ -294,7 +302,7 @@
.
declareMethod
(
'
createJio
'
,
function
()
{
.
declareMethod
(
'
createJio
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
(
setting_list
)
{
.
push
(
function
()
{
return
gadget
.
state_parameter_dict
.
jio_storage
.
createJio
({
return
gadget
.
state_parameter_dict
.
jio_storage
.
createJio
({
check_local_modification
:
false
,
check_local_modification
:
false
,
check_local_creation
:
false
,
check_local_creation
:
false
,
...
@@ -303,7 +311,7 @@
...
@@ -303,7 +311,7 @@
local_sub_storage
:
{
local_sub_storage
:
{
type
:
"
query
"
,
type
:
"
query
"
,
sub_storage
:
{
sub_storage
:
{
type
:
"
memory
"
,
type
:
"
memory
"
}
}
},
},
remote_sub_storage
:
{
remote_sub_storage
:
{
...
@@ -312,9 +320,9 @@
...
@@ -312,9 +320,9 @@
type
:
"
publisher_storage
"
,
type
:
"
publisher_storage
"
,
url
:
"
/
"
url
:
"
/
"
}
}
}
,
}
})
})
.
push
(
function
(
data
)
{
.
push
(
function
(
)
{
return
gadget
.
state_parameter_dict
.
jio_storage
.
repair
();
return
gadget
.
state_parameter_dict
.
jio_storage
.
repair
();
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -339,5 +347,4 @@
...
@@ -339,5 +347,4 @@
.
declareMethod
(
'
repair
'
,
function
()
{
.
declareMethod
(
'
repair
'
,
function
()
{
return
this
.
state_parameter_dict
.
jio_storage
.
repair
();
return
this
.
state_parameter_dict
.
jio_storage
.
repair
();
});
});
}(
window
,
rJS
,
RSVP
,
UriTemplate
,
URI
,
Query
,
SimpleQuery
,
ComplexQuery
,
jIO
,
}(
window
,
rJS
,
RSVP
));
DOMParser
));
\ No newline at end of file
\ No newline at end of file
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_jio_js.xml
View file @
eb00daaf
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
3
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.
36864.12643.63829
</string>
</value>
<value>
<string>
959.
45138.33426.26555
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
5564514.77
</float>
<float>
149
6059373.63
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
View file @
eb00daaf
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global
window, rJS, Handlebars, RSVP, loopEventListener
*/
/*global
document, window, rJS, Handlebars, RSVP, loopEventListener, Node
*/
(
function
(
window
,
rJS
,
Handlebars
,
RSVP
,
loopEventListener
)
{
(
function
(
document
,
window
,
rJS
,
Handlebars
,
RSVP
,
loopEventListener
,
Node
)
{
"
use strict
"
;
"
use strict
"
;
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
...
@@ -93,11 +93,6 @@
...
@@ -93,11 +93,6 @@
.
onStateChange
(
function
(
modification_dict
)
{
.
onStateChange
(
function
(
modification_dict
)
{
var
context
=
this
,
gadget
=
this
,
queue
=
new
RSVP
.
Queue
(),
tmp_element
;
if
(
modification_dict
.
hasOwnProperty
(
"
visible
"
))
{
if
(
modification_dict
.
hasOwnProperty
(
"
visible
"
))
{
if
(
this
.
state
.
visible
)
{
if
(
this
.
state
.
visible
)
{
if
(
!
this
.
element
.
classList
.
contains
(
'
visible
'
))
{
if
(
!
this
.
element
.
classList
.
contains
(
'
visible
'
))
{
...
@@ -154,7 +149,7 @@
...
@@ -154,7 +149,7 @@
}
}
},
true
,
false
);
},
true
,
false
);
}(
window
,
rJS
,
Handlebars
,
RSVP
,
loopEventListener
));
}(
document
,
window
,
rJS
,
Handlebars
,
RSVP
,
loopEventListener
,
Node
));
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
View file @
eb00daaf
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
3
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.
35236.20346.42359
</string>
</value>
<value>
<string>
959.
45016.12856.26658
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
5466909.6
2
</float>
<float>
149
6052034.3
2
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.js
View file @
eb00daaf
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS
, RSVP
*/
/*global window, rJS */
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
)
{
"
use strict
"
;
"
use strict
"
;
rJS
(
window
)
rJS
(
window
)
...
@@ -70,7 +70,4 @@
...
@@ -70,7 +70,4 @@
});
});
});
});
}(
window
,
rJS
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.xml
View file @
eb00daaf
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
3.59443.50628.5881
1
</string>
</value>
<value>
<string>
95
9.45015.31491.2280
1
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14
73843119.57
</float>
<float>
14
96052069.31
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_storage_js.js
View file @
eb00daaf
/*jslint
nomen: true
*/
/*jslint
indent: 2, nomen: true, maxlen: 120
*/
/*global jIO, RSVP, JSON */
/*global jIO, RSVP, JSON */
(
function
(
jIO
,
RSVP
,
JSON
)
{
(
function
(
jIO
,
RSVP
,
JSON
)
{
"
use strict
"
;
"
use strict
"
;
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
return
(
name
===
"
list
"
);
return
(
name
===
"
list
"
);
};
};
PublisherStorage
.
prototype
.
buildQuery
=
function
(
options
)
{
PublisherStorage
.
prototype
.
buildQuery
=
function
()
{
var
url
=
this
.
_href
+
this
.
_user
+
'
/
'
+
this
.
_repo
+
'
/contents/?ref=master
'
;
var
url
=
this
.
_href
+
this
.
_user
+
'
/
'
+
this
.
_repo
+
'
/contents/?ref=master
'
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_storage_js.xml
View file @
eb00daaf
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
4.54677.7080.40823
</string>
</value>
<value>
<string>
95
9.45095.9318.10888
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14
77403595.09
</float>
<float>
14
96056764.06
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.js
View file @
eb00daaf
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
console
.
log
(
error
);
console
.
log
(
error
);
});
});
})
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
...
@@ -56,7 +55,7 @@
...
@@ -56,7 +55,7 @@
})
})
]);
]);
})
})
.
push
(
function
(
my_response_list
)
{
.
push
(
function
(
)
{
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
jio_allDocs
({
gadget
.
jio_allDocs
({
select_list
:
[
'
category_list
'
],
select_list
:
[
'
category_list
'
],
...
@@ -67,10 +66,12 @@
...
@@ -67,10 +66,12 @@
})
})
.
push
(
function
(
my_response_list
)
{
.
push
(
function
(
my_response_list
)
{
var
softwares
=
my_response_list
[
0
].
data
.
rows
,
var
softwares
=
my_response_list
[
0
].
data
.
rows
,
obj
,
// get categories and flatten array of category arrays
// get categories and flatten array of category arrays
categories
=
softwares
.
map
(
(
obj
)
=>
obj
.
value
.
category_list
)
categories
=
softwares
.
reduce
(
(
cur
,
prev
)
=>
cur
.
concat
(
prev
)
),
.
map
((
obj
)
=>
obj
.
value
.
category_list
)
.
reduce
((
cur
,
prev
)
=>
cur
.
concat
(
prev
)),
// remove duplicates (case sensitive!)
// remove duplicates (case sensitive!)
unique_categories
=
Array
.
from
(
new
Set
(
categories
)),
unique_categories
=
Array
.
from
(
new
Set
(
categories
)),
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.xml
View file @
eb00daaf
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.4
4990.18794.59562
</string>
</value>
<value>
<string>
959.4
5141.9554.30549
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149605
0512.15
</float>
<float>
149605
9536.49
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.js
View file @
eb00daaf
/*globals window, RSVP, rJS, Handlebars, jIO*/
/*globals window, RSVP, rJS, Handlebars, jIO*/
/*jslint indent: 2, nomen: true, maxlen:
8
0*/
/*jslint indent: 2, nomen: true, maxlen:
10
0*/
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
jIO
)
{
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
jIO
)
{
"
use strict
"
;
"
use strict
"
;
var
PLACEHOLDER
=
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACWCAYAAACb3McZAAANRUlEQVR4Xu2dB1cbOReGBaGEEloCGEglYVPI7v7/37GFEBJS6SmUUG3CnncSnU+fMuMyHln3jl+d42MHezTSe/XkSiPpqufq6urKMFEBKpCqQA8BYcugAtkKEBC2DipQRwECwuZBBQgI2wAVyKcAPUg+3XhVlyhAQLrE0KxmPgUISD7deFWXKEBAusTQrGY+BQhIPt14VZcoQEC6xNCsZj4FCEg+3XhVlyhAQLrE0KxmPgUISD7deFWXKEBASmroz5+/mLOzs+C1m5ycMMPDw8HvE+sGBCSW8oHv++bNO3NwcBj4LsbcvXvbTE1NBr9PrBsQkFjKB74vASlGYAJSjI7iciEgxZiEgBSjo7hcCEgxJiEgxegoLhcCUoxJCEgxOorLhYAUYxICUoyO4nIhIMWYhIAUo6O4XAhIMSYhIMXoKC4XAlKMSQhIMTqKy4WAFGOSUgNyeXlpqtWq6cbQeBsbm+bbt+NiWkmdXDiTHlzi4m4AGPb3D5LX6emZ+f79e3GZM6dUBW7cGDXz83NmaOh6KRUqhQcBGFtbO+bLl6+lNJKGSo2N3TCzs9NmZGREQ3GbLqN6QLBqdWNji96iaZOH/SE8yv37d821a9fC3qhDuasGZHt7x2xv73ZIKt6mWQWGh4fMw4cPSgGJWkA2N7fN7u5eszbj7zqsQFkgUQkIBuFv377vsMl5u1YVGBoaMktLi6a3t7fVS8X8Xh0gFxcXZnV1zVxe8gmVmFZUpyBzc5Vk8K41qQPk/fuPfFq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AZ//le5TYkEQFJM17AAT7smDYd/c7AiILCL80aYBYOLDhyoJhP9t3XOd2vQjIzzFEmscAGP7Ljkns77O6WrKbT/lLV69rBRhcMNx/W3DSPEkM1aJ7ENcToNG7XgMBGXxA0rwIxx4xmk79e6YB4noNC4V9xxmN+N71JO5TrVhPtKIB4nev/K6VhaMeJGnzI/KaSneWqBlAAAVePiS+F4nZzRIHiOsxAIcPStY4hIN0WSC6//v7Yw8XCAuICwoBceYurBdwB+YWkixA8L0di3AMIgsMf5LPHXTbLhQBacJmrXSx3G5WvSdZHIs0IXzgn/gz6O7jXX8MkuY93CdcXT0GsY05a5DuQoHPdgDvzonwUW/g1p4z+3pzIGlexB2wu/MiBOTnIkS/m+XC4I5JfO9hl6D4a7ly2pWXFaBA2hos281yG7//FMv1HGlLUAooWq4sog3S3e6QCwg+uxODWZOFjRYv5lKDFxWiQDPdLPeRrg8HJwp/mqHeOizXW6R5DgJSSFsOkkkWIGmehEtNGpigESTu0yp39pxzIEHadqGZZo1FXFD8z1ysmGKCLEhcOFyPkQUH50IKbd+5M8sah6Qtbc9a8u4/Ls5dmDYvjDoGsWX3B9k+AD4c/vilTQ14eUAFXC+C2/hPptKgkQJHUt4rIf/tpj2JSgPFhcP/HNDOzDqnAvW8SRowkuAQBUiWN8nyFkK4ztlsuu+yLFAsJK4isRYmpllFjAdxC+c3/kb/7r7mprPGfsNv9G8JtRQJSD1Ymv1Ogrgsw/8UyPIKkryFGg9Sr2Gxa6UbO+lA+OqK9yC6mwNLr10BAqLdgix/UAUISFB5mbl2BQiIdguy/EEV+A9Em3PVuGWDlwAAAABJRU5ErkJggg==
"
,
var
gadget_klass
=
rJS
(
window
),
gadget_klass
=
rJS
(
window
),
templater
=
gadget_klass
.
__template_element
,
templater
=
gadget_klass
.
__template_element
,
display_widget_table
=
Handlebars
.
compile
(
display_widget_table
=
Handlebars
.
compile
(
templater
.
getElementById
(
"
display-template
"
).
innerHTML
templater
.
getElementById
(
"
display-template
"
).
innerHTML
...
@@ -47,7 +47,8 @@
...
@@ -47,7 +47,8 @@
.
push
(
function
(
publisher
)
{
.
push
(
function
(
publisher
)
{
// https://en.wikipedia.org/api/rest_v1/
// https://en.wikipedia.org/api/rest_v1/
// only works in for english
// only works in for english
var
wikipedia_api_url
=
'
https://en.wikipedia.org/api/rest_v1/page/summary/
'
,
var
wikipedia_api_url
=
'
https://en.wikipedia.org/api/rest_v1/page/summary/
'
,
wiki_list
=
[];
wiki_list
=
[];
publisher
.
free_software_list
.
map
(
function
(
software
)
{
publisher
.
free_software_list
.
map
(
function
(
software
)
{
...
@@ -65,7 +66,7 @@
...
@@ -65,7 +66,7 @@
}
else
{
}
else
{
software
.
success_case_list
=
clean
(
software
.
success_case_list
);
software
.
success_case_list
=
clean
(
software
.
success_case_list
);
}
}
if
(
software
.
wikipedia_url
==
"
N/A
"
)
{
if
(
software
.
wikipedia_url
==
=
"
N/A
"
)
{
delete
software
.
wikipedia_url
;
delete
software
.
wikipedia_url
;
}
else
{
}
else
{
wiki_list
.
push
(
wiki_list
.
push
(
...
@@ -77,14 +78,12 @@
...
@@ -77,14 +78,12 @@
url
:
wikipedia_api_url
+
software
.
wikipedia_url
.
split
(
"
/
"
).
pop
()
url
:
wikipedia_api_url
+
software
.
wikipedia_url
.
split
(
"
/
"
).
pop
()
});
});
})
})
.
push
(
.
push
(
function
(
my_content
)
{
function
(
my_content
)
{
var
response
=
my_content
.
target
.
response
||
my_content
.
target
.
responseText
;
var
response
=
my_content
.
target
.
respons
||
my_content
.
target
.
responseText
;
return
JSON
.
parse
(
response
).
extract
;
return
JSON
.
parse
(
response
).
extract
;
},
function
(
my_error
)
{
},
function
(
)
{
return
undefined
;
return
undefined
;
}
})
)
);
);
}
}
});
});
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.xml
View file @
eb00daaf
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
3
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
4.58958.53154.13363
</string>
</value>
<value>
<string>
95
9.45146.21261.49186
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
5468512.28
</float>
<float>
149
6059863.46
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.js
View file @
eb00daaf
...
@@ -22,19 +22,20 @@
...
@@ -22,19 +22,20 @@
.
allowPublicAcquisition
(
'
getUrlParameter
'
,
function
(
argument_list
)
{
.
allowPublicAcquisition
(
'
getUrlParameter
'
,
function
(
argument_list
)
{
return
this
.
getUrlParameter
(
argument_list
)
return
this
.
getUrlParameter
(
argument_list
)
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
if
((
result
===
undefined
)
&&
(
argument_list
[
0
]
===
'
field_listbox_sort_list:json
'
))
{
if
((
result
===
undefined
)
&&
(
argument_list
[
0
]
===
'
field_listbox_sort_list:json
'
))
{
return
[[
'
title
'
,
'
ascending
'
]];
return
[[
'
title
'
,
'
ascending
'
]];
}
}
return
result
;
return
result
;
});
});
})
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
updateHeader
({
return
gadget
.
updateHeader
({
page_title
:
"
Publisher List
"
,
page_title
:
"
Publisher List
"
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -59,7 +60,8 @@
...
@@ -59,7 +60,8 @@
"
key
"
:
"
field_listbox
"
,
"
key
"
:
"
field_listbox
"
,
"
lines
"
:
20
,
"
lines
"
:
20
,
"
list_method
"
:
"
portal_catalog
"
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
'
urn:jio:allDocs?query=
'
+
'
portal_type:
'
+
'
"publisher"
'
,
"
query
"
:
'
urn:jio:allDocs?query=
'
+
'
portal_type:
'
+
'
"publisher"
'
,
"
portal_type
"
:
[],
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
...
@@ -91,4 +93,3 @@
...
@@ -91,4 +93,3 @@
});
});
});
});
}(
window
,
RSVP
,
rJS
));
}(
window
,
RSVP
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.xml
View file @
eb00daaf
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
3.40656.41521.35942
</string>
</value>
<value>
<string>
95
9.45150.63557.44714
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14
73843194.9
</float>
<float>
14
96060137.94
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.js
View file @
eb00daaf
/*globals window, RSVP, rJS, Handlebars, jIO*/
/*globals window, RSVP, rJS, Handlebars, jIO*/
/*jslint indent: 2, nomen: true, maxlen:
8
0*/
/*jslint indent: 2, nomen: true, maxlen:
10
0*/
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
jIO
)
{
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
jIO
)
{
"
use strict
"
;
"
use strict
"
;
var
PLACEHOLDER
=
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACWCAYAAACb3McZAAANRUlEQVR4Xu2dB1cbOReGBaGEEloCGEglYVPI7v7/37GFEBJS6SmUUG3CnncSnU+fMuMyHln3jl+d42MHezTSe/XkSiPpqufq6urKMFEBKpCqQA8BYcugAtkKEBC2DipQRwECwuZBBQgI2wAVyKcAPUg+3XhVlyhAQLrE0KxmPgUISD7deFWXKEBAusTQrGY+BQhIPt14VZcoQEC6xNCsZj4FCEg+3XhVlyhAQLrE0KxmPgUISD7deFWXKEBASmroz5+/mLOzs+C1m5ycMMPDw8HvE+sGBCSW8oHv++bNO3NwcBj4LsbcvXvbTE1NBr9PrBsQkFjKB74vASlGYAJSjI7iciEgxZiEgBSjo7hcCEgxJiEgxegoLhcCUoxJCEgxOorLhYAUYxICUoyO4nIhIMWYhIAUo6O4XAhIMSYhIMXoKC4XAlKMSQhIMTqKy4WAFGOSUgNyeXlpqtWq6cbQeBsbm+bbt+NiWkmdXDiTHlzi4m4AGPb3D5LX6emZ+f79e3GZM6dUBW7cGDXz83NmaOh6KRUqhQcBGFtbO+bLl6+lNJKGSo2N3TCzs9NmZGREQ3GbLqN6QLBqdWNji96iaZOH/SE8yv37d821a9fC3qhDuasGZHt7x2xv73ZIKt6mWQWGh4fMw4cPSgGJWkA2N7fN7u5eszbj7zqsQFkgUQkIBuFv377vsMl5u1YVGBoaMktLi6a3t7fVS8X8Xh0gFxcXZnV1zVxe8gmVmFZUpyBzc5Vk8K41qQPk/fuPf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8HAZ//le5TYkEQFJM17AAT7smDYd/c7AiILCL80aYBYOLDhyoJhP9t3XOd2vQjIzzFEmscAGP7Ljkns77O6WrKbT/lLV69rBRhcMNx/W3DSPEkM1aJ7ENcToNG7XgMBGXxA0rwIxx4xmk79e6YB4noNC4V9xxmN+N71JO5TrVhPtKIB4nev/K6VhaMeJGnzI/KaSneWqBlAAAVePiS+F4nZzRIHiOsxAIcPStY4hIN0WSC6//v7Yw8XCAuICwoBceYurBdwB+YWkixA8L0di3AMIgsMf5LPHXTbLhQBacJmrXSx3G5WvSdZHIs0IXzgn/gz6O7jXX8MkuY93CdcXT0GsY05a5DuQoHPdgDvzonwUW/g1p4z+3pzIGlexB2wu/MiBOTnIkS/m+XC4I5JfO9hl6D4a7ly2pWXFaBA2hos281yG7//FMv1HGlLUAooWq4sog3S3e6QCwg+uxODWZOFjRYv5lKDFxWiQDPdLPeRrg8HJwp/mqHeOizXW6R5DgJSSFsOkkkWIGmehEtNGpigESTu0yp39pxzIEHadqGZZo1FXFD8z1ysmGKCLEhcOFyPkQUH50IKbd+5M8sah6Qtbc9a8u4/Ls5dmDYvjDoGsWX3B9k+AD4c/vilTQ14eUAFXC+C2/hPptKgkQJHUt4rIf/tpj2JSgPFhcP/HNDOzDqnAvW8SRowkuAQBUiWN8nyFkK4ztlsuu+yLFAsJK4isRYmpllFjAdxC+c3/kb/7r7mprPGfsNv9G8JtRQJSD1Ymv1Ogrgsw/8UyPIKkryFGg9Sr2Gxa6UbO+lA+OqK9yC6mwNLr10BAqLdgix/UAUISFB5mbl2BQiIdguy/EEV+A9Em3PVuGWDlwAAAABJRU5ErkJggg==
"
,
var
gadget_klass
=
rJS
(
window
),
gadget_klass
=
rJS
(
window
),
templater
=
gadget_klass
.
__template_element
,
templater
=
gadget_klass
.
__template_element
,
display_widget_table
=
Handlebars
.
compile
(
display_widget_table
=
Handlebars
.
compile
(
templater
.
getElementById
(
"
display-template
"
).
innerHTML
templater
.
getElementById
(
"
display-template
"
).
innerHTML
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
if
(
software
.
logo
===
"
N/A
"
||
software
.
logo
===
""
)
{
if
(
software
.
logo
===
"
N/A
"
||
software
.
logo
===
""
)
{
software
.
logo
=
PLACEHOLDER
;
software
.
logo
=
PLACEHOLDER
;
}
}
if
(
software
.
commercial_support
==
"
N/A
"
)
{
if
(
software
.
commercial_support
==
=
"
N/A
"
)
{
delete
software
.
commercial_support
;
delete
software
.
commercial_support
;
}
}
if
(
software
.
success_case_list
.
length
===
0
||
if
(
software
.
success_case_list
.
length
===
0
||
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
software
.
publisher
software
.
publisher
);
);
}
}
if
(
software
.
wikipedia_url
==
"
N/A
"
)
{
if
(
software
.
wikipedia_url
==
=
"
N/A
"
)
{
delete
software
.
wikipedia_url
;
delete
software
.
wikipedia_url
;
return
software
;
return
software
;
}
}
...
@@ -88,12 +88,11 @@
...
@@ -88,12 +88,11 @@
url
:
wikipedia_api_url
+
software
.
wikipedia_url
.
split
(
"
/
"
).
pop
()
url
:
wikipedia_api_url
+
software
.
wikipedia_url
.
split
(
"
/
"
).
pop
()
});
});
})
})
.
push
(
.
push
(
function
(
my_content
)
{
function
(
my_content
)
{
var
response
=
my_content
.
target
.
response
||
my_content
.
target
.
responseText
;
var
response
=
my_content
.
target
.
response
||
my_content
.
target
.
responseText
;
software
.
wikipedia_description
=
JSON
.
parse
(
response
).
extract
;
software
.
wikipedia_description
=
JSON
.
parse
(
response
).
extract
;
return
software
;
return
software
;
},
function
(
my_error
)
{
},
function
(
)
{
// console.log(my_error)
// console.log(my_error)
// 404 or not allowed, swallow
// 404 or not allowed, swallow
return
software
;
return
software
;
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.xml
View file @
eb00daaf
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
3
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
5.20627.16103.45619
</string>
</value>
<value>
<string>
95
9.45155.11639.33945
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
5202159.3
7
</float>
<float>
149
6060365.2
7
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.js
View file @
eb00daaf
...
@@ -22,19 +22,20 @@
...
@@ -22,19 +22,20 @@
.
allowPublicAcquisition
(
'
getUrlParameter
'
,
function
(
argument_list
)
{
.
allowPublicAcquisition
(
'
getUrlParameter
'
,
function
(
argument_list
)
{
return
this
.
getUrlParameter
(
argument_list
)
return
this
.
getUrlParameter
(
argument_list
)
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
if
((
result
===
undefined
)
&&
(
argument_list
[
0
]
===
'
field_listbox_sort_list:json
'
))
{
if
((
result
===
undefined
)
&&
(
argument_list
[
0
]
===
'
field_listbox_sort_list:json
'
))
{
return
[[
'
title
'
,
'
ascending
'
]];
return
[[
'
title
'
,
'
ascending
'
]];
}
}
return
result
;
return
result
;
});
});
})
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
updateHeader
({
return
gadget
.
updateHeader
({
page_title
:
"
Software List
"
,
page_title
:
"
Software List
"
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -58,7 +59,8 @@
...
@@ -58,7 +59,8 @@
"
key
"
:
"
field_listbox
"
,
"
key
"
:
"
field_listbox
"
,
"
lines
"
:
20
,
"
lines
"
:
20
,
"
list_method
"
:
"
portal_catalog
"
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
'
urn:jio:allDocs?query=
'
+
'
portal_type:
'
+
'
"software"
'
,
"
query
"
:
'
urn:jio:allDocs?query=
'
+
'
portal_type:
'
+
'
"software"
'
,
"
portal_type
"
:
[],
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.xml
View file @
eb00daaf
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
3.40675.35974.65450
</string>
</value>
<value>
<string>
95
9.45114.28192.42308
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14
73842742.9
</float>
<float>
14
96057919.27
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.js
View file @
eb00daaf
...
@@ -3,9 +3,8 @@
...
@@ -3,9 +3,8 @@
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
)
{
(
function
(
window
,
RSVP
,
r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S+F4nZzRIHiOsxAIcPStY4hIN0WSC6//v7Yw8XCAuICwoBceYurBdwB+YWkixA8L0di3AMIgsMf5LPHXTbLhQBacJmrXSx3G5WvSdZHIs0IXzgn/gz6O7jXX8MkuY93CdcXT0GsY05a5DuQoHPdgDvzonwUW/g1p4z+3pzIGlexB2wu/MiBOTnIkS/m+XC4I5JfO9hl6D4a7ly2pWXFaBA2hos281yG7//FMv1HGlLUAooWq4sog3S3e6QCwg+uxODWZOFjRYv5lKDFxWiQDPdLPeRrg8HJwp/mqHeOizXW6R5DgJSSFsOkkkWIGmehEtNGpigESTu0yp39pxzIEHadqGZZo1FXFD8z1ysmGKCLEhcOFyPkQUH50IKbd+5M8sah6Qtbc9a8u4/Ls5dmDYvjDoGsWX3B9k+AD4c/vilTQ14eUAFXC+C2/hPptKgkQJHUt4rIf/tpj2JSgPFhcP/HNDOzDqnAvW8SRowkuAQBUiWN8nyFkK4ztlsuu+yLFAsJK4isRYmpllFjAdxC+c3/kb/7r7mprPGfsNv9G8JtRQJSD1Ymv1Ogrgsw/8UyPIKkryFGg9Sr2Gxa6UbO+lA+OqK9yC6mwNLr10BAqLdgix/UAUISFB5mbl2BQiIdguy/EEV+A9Em3PVuGWDlwAAAABJRU5ErkJggg==
"
,
gadget_klass
=
rJS
(
window
),
var
gadget_klass
=
rJS
(
window
),
templater
=
gadget_klass
.
__template_element
,
templater
=
gadget_klass
.
__template_element
,
display_widget_table
=
Handlebars
.
compile
(
display_widget_table
=
Handlebars
.
compile
(
templater
.
getElementById
(
"
display-template
"
).
innerHTML
templater
.
getElementById
(
"
display-template
"
).
innerHTML
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.xml
View file @
eb00daaf
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
4.58711.46291.45073
</string>
</value>
<value>
<string>
95
9.45116.37210.34542
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14
79291364.95
</float>
<float>
14
96058053.94
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.js
View file @
eb00daaf
...
@@ -30,13 +30,13 @@
...
@@ -30,13 +30,13 @@
});
});
})
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
updateHeader
({
return
gadget
.
updateHeader
({
page_title
:
"
Success Story List
"
,
page_title
:
"
Success Story List
"
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.xml
View file @
eb00daaf
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
3
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
3.59497.55273.5171
</string>
</value>
<value>
<string>
95
9.45121.21336.33467
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
5468000
.96
</float>
<float>
149
6058364
.96
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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