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
fe0c11f8
Commit
fe0c11f8
authored
Jun 15, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature/commands_page
parents
59d7fd81
6d941d82
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
debomatic-webui/lib/client.js
debomatic-webui/lib/client.js
+2
-2
debomatic-webui/lib/config.js
debomatic-webui/lib/config.js
+9
-9
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+3
-3
No files found.
debomatic-webui/lib/client.js
View file @
fe0c11f8
...
@@ -18,7 +18,7 @@ function __get_files_list_from_package(data, callback) {
...
@@ -18,7 +18,7 @@ function __get_files_list_from_package(data, callback) {
file
.
orig_name
=
f
;
file
.
orig_name
=
f
;
file
.
name
=
f
.
split
(
'
_
'
)[
0
];
file
.
name
=
f
.
split
(
'
_
'
)[
0
];
file
.
extension
=
f
.
split
(
'
.
'
).
pop
();
file
.
extension
=
f
.
split
(
'
.
'
).
pop
();
if
(
file
.
extension
==
'
deb
'
||
file
.
extension
==
'
ddeb
'
)
{
if
(
file
.
extension
==
'
deb
'
||
file
.
extension
==
'
ddeb
'
||
file
.
extension
==
'
udeb
'
)
{
data
.
package
.
debs
.
push
(
file
);
data
.
package
.
debs
.
push
(
file
);
}
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
||
file
.
extension
==
'
changes
'
||
file
.
extension
==
'
dsc
'
)
{
}
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
||
file
.
extension
==
'
changes
'
||
file
.
extension
==
'
dsc
'
)
{
file
.
name
=
f
.
replace
(
data
.
package
.
name
+
'
_
'
+
data
.
package
.
version
+
'
.
'
,
''
);
file
.
name
=
f
.
replace
(
data
.
package
.
name
+
'
_
'
+
data
.
package
.
version
+
'
.
'
,
''
);
...
@@ -44,7 +44,7 @@ function __send_package_files_list(event_name, socket, data) {
...
@@ -44,7 +44,7 @@ function __send_package_files_list(event_name, socket, data) {
function
__send_package_status
(
socket
,
data
,
package_data
)
{
function
__send_package_status
(
socket
,
data
,
package_data
)
{
var
event_name
=
config
.
events
.
client
.
distribution_packages
.
status
;
var
event_name
=
config
.
events
.
client
.
distribution_packages
_
status
;
var
new_data
=
{};
var
new_data
=
{};
new_data
.
distribution
=
data
.
distribution
;
new_data
.
distribution
=
data
.
distribution
;
...
...
debomatic-webui/lib/config.js
View file @
fe0c11f8
...
@@ -73,17 +73,17 @@ config.version = '0.4.2';
...
@@ -73,17 +73,17 @@ config.version = '0.4.2';
config
.
events
=
{};
config
.
events
=
{};
config
.
events
.
error
=
'
error
'
;
config
.
events
.
error
=
'
error
'
;
config
.
events
.
broadcast
=
{};
config
.
events
.
broadcast
=
{};
config
.
events
.
broadcast
.
distributions
=
'
distributions
'
;
config
.
events
.
broadcast
.
distributions
=
'
b.
distributions
'
;
config
.
events
.
broadcast
.
status_update
=
'
status_update
'
;
config
.
events
.
broadcast
.
status_update
=
'
b.
status_update
'
;
config
.
events
.
broadcast
.
status_debomatic
=
'
status_debomatic
'
;
config
.
events
.
broadcast
.
status_debomatic
=
'
b.
status_debomatic
'
;
config
.
events
.
client
=
{};
config
.
events
.
client
=
{};
config
.
events
.
client
.
distribution_packages
=
'
distribution_packages
'
;
config
.
events
.
client
.
distribution_packages
=
'
c.
distribution_packages
'
;
config
.
events
.
client
.
distribution_packages
.
status
=
'
package
_status
'
;
config
.
events
.
client
.
distribution_packages
_status
=
'
c.distribution_packages
_status
'
;
config
.
events
.
client
.
package_files_list
=
'
package_files_list
'
;
config
.
events
.
client
.
package_files_list
=
'
c.
package_files_list
'
;
config
.
events
.
client
.
file
=
'
file
'
;
config
.
events
.
client
.
file
=
'
c.
file
'
;
config
.
events
.
client
.
file_newcontent
=
'
file_newcontent
'
;
config
.
events
.
client
.
file_newcontent
=
'
c.
file_newcontent
'
;
config
.
events
.
client
.
status
=
'
status
'
;
config
.
events
.
client
.
status
=
'
c.
status
'
;
// debomatic status according with JSONLogger.py module
// debomatic status according with JSONLogger.py module
config
.
status
=
{};
config
.
status
=
{};
...
...
debomatic-webui/public/javascripts/page_distribution.js
View file @
fe0c11f8
...
@@ -589,8 +589,8 @@ function Page_Distrubion(socket) {
...
@@ -589,8 +589,8 @@ function Page_Distrubion(socket) {
packages
.
set
(
socket_data
);
packages
.
set
(
socket_data
);
});
});
socket
.
on
(
_e
.
distribution_packages
.
status
,
function
(
socket_data
)
{
socket
.
on
(
_e
.
distribution_packages
_
status
,
function
(
socket_data
)
{
debug_socket
(
'
received
'
,
_e
.
distribution_packages
,
socket_data
);
debug_socket
(
'
received
'
,
_e
.
distribution_packages
_status
,
socket_data
);
packages
.
set_status
(
socket_data
);
packages
.
set_status
(
socket_data
);
sticky
.
set_status
(
socket_data
);
sticky
.
set_status
(
socket_data
);
});
});
...
@@ -648,7 +648,7 @@ function Page_Distrubion(socket) {
...
@@ -648,7 +648,7 @@ function Page_Distrubion(socket) {
// when page is loaded sidebar has offset().top
// when page is loaded sidebar has offset().top
// equals 0. This is because html is loaded on socket
// equals 0. This is because html is loaded on socket
// events. Sleep a while and call stiky.reset()
// events. Sleep a while and call stiky.reset()
setTimeout
(
sticky
.
r
,
500
);
setTimeout
(
sticky
.
r
eset
,
500
);
// WORKAROUND:
// WORKAROUND:
// On incoming hundred of lines browser goes crazy.
// On incoming hundred of lines browser goes crazy.
...
...
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