Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
e894c311
Commit
e894c311
authored
Sep 26, 2018
by
Francesc Guasch
Committed by
Francesc Guasch
Sep 26, 2018
Browse files
refactor(frontend): list all pending requests
issue #828
parent
54fbfbc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
e894c311
...
...
@@ -293,6 +293,17 @@ sub _update_isos {
,
file_re
=>
'
kubuntu-18.04-desktop-i386.iso
'
,
rename_file
=>
'
kubuntu_bionic_32.iso
'
}
,
suse_15
=>
{
name
=>
"
openSUSE Leap 15
"
,
description
=>
"
openSUSE Leap 15 64 bits
"
,
arch
=>
'
amd64
'
,
xml
=>
'
bionic-amd64.xml
'
,
xml_volume
=>
'
bionic64-volume.xml
'
,
url
=>
'
https://download.opensuse.org/distribution/leap/15.0/iso/
'
,
md5_url
=>
'
$url/openSUSE-Leap-15.\d+-NET-x86_64.iso.sha256
'
,
file_re
=>
'
openSUSE-Leap-15.\d+-NET-x86_64.iso
'
}
,
xubuntu_beaver_64
=>
{
name
=>
'
Xubuntu Bionic Beaver 64 bits
'
,
description
=>
'
Xubuntu 18.04 Bionic Beaver 64 bits
'
...
...
lib/Ravada/Front.pm
View file @
e894c311
...
...
@@ -796,7 +796,7 @@ sub list_requests($self, $id_domain_req=undef, $seconds=60) {
.
"
WHERE
"
.
"
requests.status <> 'done'
"
.
"
OR ( date_changed >= ?)
"
.
"
ORDER BY date_changed
DESC LIMIT 10
"
.
"
ORDER BY date_changed
"
);
$sth
->
execute
(
$time_recent
);
my
@reqs
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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