Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
ecd5e5d0
Commit
ecd5e5d0
authored
Mar 09, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regenerate data - send only data information I have requested
parent
8a6307f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
debomatic-webui/lib/send.js
debomatic-webui/lib/send.js
+3
-0
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+19
-6
No files found.
debomatic-webui/lib/send.js
View file @
ecd5e5d0
...
@@ -129,6 +129,9 @@ function __watch_path_onsocket(event_name, socket, data, watch_path, updater) {
...
@@ -129,6 +129,9 @@ function __watch_path_onsocket(event_name, socket, data, watch_path, updater) {
}
}
function
__file_newcontent
(
event_name
,
socket
,
data
)
{
function
__file_newcontent
(
event_name
,
socket
,
data
)
{
if
(
!
utils
.
check_data_file
(
data
))
return
data
.
file
.
content
=
null
socket
.
emit
(
event_name
,
data
)
socket
.
emit
(
event_name
,
data
)
}
}
...
...
debomatic-webui/public/javascripts/page_distribution.js
View file @
ecd5e5d0
...
@@ -36,8 +36,11 @@ var Page_Distrubion = {
...
@@ -36,8 +36,11 @@ var Page_Distrubion = {
get
:
function
(
data
)
{
get
:
function
(
data
)
{
if
(
!
data
)
if
(
!
data
)
data
=
Utils
.
from_hash_to_data
()
data
=
Utils
.
from_hash_to_data
()
if
(
Utils
.
check_data_distribution
(
data
))
if
(
Utils
.
check_data_distribution
(
data
))
{
socket
.
emit
(
"
get_distribution_packages
"
,
data
)
new_data
=
{}
new_data
.
distribution
=
data
.
distribution
socket
.
emit
(
"
get_distribution_packages
"
,
new_data
)
}
}
}
},
},
...
@@ -86,8 +89,12 @@ var Page_Distrubion = {
...
@@ -86,8 +89,12 @@ var Page_Distrubion = {
get
:
function
(
data
)
{
get
:
function
(
data
)
{
if
(
!
data
)
if
(
!
data
)
data
=
Utils
.
from_hash_to_data
()
data
=
Utils
.
from_hash_to_data
()
if
(
Utils
.
check_data_package
(
data
))
if
(
Utils
.
check_data_package
(
data
))
{
socket
.
emit
(
"
get_package_files_list
"
,
data
)
new_data
=
{}
new_data
.
distribution
=
data
.
distribution
new_data
.
package
=
data
.
package
socket
.
emit
(
"
get_package_files_list
"
,
new_data
)
}
},
},
select
:
function
(
file
)
{
select
:
function
(
file
)
{
$
(
"
#logs li
"
).
removeClass
(
'
active
'
)
$
(
"
#logs li
"
).
removeClass
(
'
active
'
)
...
@@ -115,8 +122,14 @@ var Page_Distrubion = {
...
@@ -115,8 +122,14 @@ var Page_Distrubion = {
get
:
function
(
data
)
{
get
:
function
(
data
)
{
if
(
!
data
)
if
(
!
data
)
data
=
Utils
.
from_hash_to_data
()
data
=
Utils
.
from_hash_to_data
()
if
(
Utils
.
check_data_file
(
data
))
if
(
Utils
.
check_data_file
(
data
))
{
socket
.
emit
(
"
get_file
"
,
data
)
new_data
=
{}
new_data
.
distribution
=
data
.
distribution
new_data
.
package
=
data
.
package
new_data
.
file
=
data
.
file
new_data
.
file
.
content
=
null
socket
.
emit
(
"
get_file
"
,
new_data
)
}
}
}
},
},
...
...
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