sidekiq 2.13.1 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq might be problematic. Click here for more details.

@@ -1,15 +0,0 @@
1
- h3 = t('Queues')
2
-
3
- table class="queues table table-hover table-bordered table-striped table-white"
4
- thead
5
- th = t('Queue')
6
- th = t('Size')
7
- th = t('Actions')
8
- - @queues.each do |queue|
9
- tr
10
- td
11
- a href="#{root_path}queues/#{queue.name}" #{queue.name}
12
- td= number_with_delimiter(queue.size)
13
- td width="20%"
14
- form action="#{root_path}queues/#{queue.name}" method="post"
15
- input.btn.btn-danger.btn-small type="submit" name="delete" value="#{t('Delete')}" data-confirm="#{t('AreYouSureDeleteQueue', :queue => queue.name)}"
@@ -1,41 +0,0 @@
1
- header.row
2
- .span5
3
- h3 = t('Retries')
4
- .span4
5
- - if @retries.size > 0
6
- == slim :_paging, :locals => { :url => "#{root_path}retries" }
7
-
8
- - if @retries.size > 0
9
-
10
- form action="#{root_path}retries" method="post"
11
- table class="table table-striped table-bordered table-white"
12
- tr
13
- th width="20px"
14
- input type="checkbox" class="check_all"
15
- th width="25%" = t('NextRetry')
16
- th width="11%" = t('RetryCount')
17
- th = t('Queue')
18
- th = t('Worker')
19
- th = t('Arguments')
20
- - @retries.each do |msg, score|
21
- tr
22
- td
23
- input type='checkbox' name='key[]' value='#{job_params(msg, score)}'
24
- td
25
- a href="#{root_path}retries/#{job_params(msg, score)}"== relative_time(Time.at(score))
26
- td= msg['retry_count']
27
- td
28
- a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
29
- td= msg['class']
30
- td
31
- div.args=display_args(msg['args'])
32
- input.btn.btn-primary.btn-small.pull-left type="submit" name="retry" value="#{t('RetryNow')}"
33
- input.btn.btn-danger.btn-small.pull-left type="submit" name="delete" value="#{t('Delete')}"
34
-
35
- form action="#{root_path}retries/all/delete" method="post"
36
- input.btn.btn-danger.btn-small.pull-right type="submit" name="delete" value="#{t('DeleteAll')}" data-confirm="#{t('AreYouSure')}"
37
- form action="#{root_path}retries/all/retry" method="post"
38
- input.btn.btn-danger.btn-small.pull-right type="submit" name="retry" value="#{t('RetryAll')}" data-confirm="#{t('AreYouSure')}"
39
-
40
- - else
41
- .alert.alert-success = t('NoRetriesFound')
data/web/views/retry.slim DELETED
@@ -1,21 +0,0 @@
1
- == slim :_job_info, :locals => {:job => @retry, :type => :retry}
2
-
3
- h3 = t('Error')
4
- table class="error table table-bordered table-striped"
5
- tbody
6
- tr
7
- th = t('ErrorClass')
8
- td
9
- code= @retry['error_class']
10
- tr
11
- th = t('ErrorMessage')
12
- td= @retry['error_message']
13
- - if !@retry['error_backtrace'].nil?
14
- tr
15
- th = t('ErrorBacktrace')
16
- td
17
- code== @retry['error_backtrace'].join("<br/>")
18
- form.form-horizontal action="#{root_path}retries/#{job_params(@retry, @retry.score)}" method="post"
19
- a.btn href="#{root_path}retries" = t('GoBack')
20
- input.btn.btn-primary type="submit" name="retry" value="#{t('RetryNow')}"
21
- input.btn.btn-danger type="submit" name="delete" value="#{t('Delete')}"
@@ -1,33 +0,0 @@
1
- header.row
2
- .span5
3
- h3 = t('ScheduledJobs')
4
- .span4
5
- - if @scheduled.size > 0
6
- == slim :_paging, :locals => { :url => "#{root_path}scheduled" }
7
-
8
- - if @scheduled.size > 0
9
-
10
- form action="#{root_path}scheduled" method="post"
11
- table class="table table-striped table-bordered table-white"
12
- thead
13
- th width="20px"
14
- input type="checkbox" class="check_all"
15
- th width="25%" = t('When')
16
- th width="10%" = t('Queue')
17
- th = t('Worker')
18
- th = t('Arguments')
19
- - @scheduled.each do |msg, score|
20
- tr
21
- td
22
- input type='checkbox' name='key[]' value='#{job_params(msg, score)}'
23
- td
24
- a href="#{root_path}scheduled/#{job_params(msg, score)}"== relative_time(Time.at(score))
25
- td
26
- a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
27
- td= msg['class']
28
- td
29
- div.args=display_args(msg['args'])
30
- input.btn.btn-danger.pull-right type="submit" name="delete" value="#{t('Delete')}"
31
- input.btn.btn-danger.pull-right type="submit" name="add_to_queue" value="#{t('AddToQueue')}"
32
- - else
33
- .alert.alert-success = t('NoScheduledFound')
@@ -1,6 +0,0 @@
1
- == slim :_job_info, :locals => {:job => @job, :type => :scheduled}
2
-
3
- form.form-horizontal action="#{root_path}scheduled/#{job_params(@job, @job.score)}" method="post"
4
- a.btn href="#{root_path}scheduled" = t('GoBack')
5
- input.btn.btn-primary type="submit" name="add_to_queue" value="#{t('AddToQueue')}"
6
- input.btn.btn-danger type="submit" name="delete" value="#{t('Delete')}"