1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

28 commits

Author SHA1 Message Date
Mike Perham
7864fdbeb3 Polish job tags with Sidekiq Pro filtering support 2019-09-23 14:52:15 -07:00
fatkodima
c428383523 Support job tags 2019-09-23 13:00:59 -07:00
fatkodima
854ffcf7e2 Position -> # 2019-09-09 15:39:47 -07:00
fatkodima
64cd6b81ae It is not sorted by enqueued_at 2019-09-09 15:39:47 -07:00
fatkodima
8243c55f25 Add ability to sort 'Enqueued' page on Web UI by enqueued_at time 2019-09-09 15:39:47 -07:00
Laurent Arnoud
6e18326f69 Add queue size to web show page (#3896)
* Add queue size to web show page

* Use bootstrap badge for queue size on show

Thanks-to: @thegorgon

* Use @total_size to avoid a network trip
2018-08-13 15:13:51 -07:00
Mike Perham
8e98c75c08 Update display of arguments for enqueued jobs to better match the rest of the pages, should go through the display_args() helper. 2017-04-24 16:39:57 -07:00
Mike Perham
ed485e47e4 Make Sidekiq Web UI RTL-friendly (#3381)
* Unminify rickshaw graph CSS so we can maintain it

* Initial BiDi support for the Web UI

BiDi means the web app can serve both LTR and RTL languages at the same time.

1. Bootstrap-RTL overrides Bootstrap 3.3 styles for RTL clients
2. Application CSS was preprocessed thru rtlcss and then hand-trimmed to contain only RTL-specific directives.
3. Dashboard was tweaked to hardcode LTR for footer and polling gadget

* Vendor bootstrap-rtl.css

* Various RTL style fixes, need to flip all pull-* elements

* Upgrade Rickshaw to latest, remove dupe CSS

* Add Arabic language (credit to Milena Novakova)
Add Hebrew placeholder
Added dir attribute to html tag

* changes

* Clean up HTTP header generation, add Content-Language response header

* Use correct locale for hebrew
2017-03-16 13:51:29 -07:00
Mike Perham
9a71a121c8 Merge branch 'master' into 5-0 2017-01-31 11:37:14 -08:00
Mike Perham
878ffff0c9 Fix a number of issues with URL-unsafe queue names, fixes #3327 2017-01-24 10:27:50 -08:00
Mike Perham
701e06224c Rework job processing in light of Rails 5's Reloader (#3235)
* Rework job processing in light of Rails 5's Reloader, see #3221

* Ignore built gems

* Documentation, testing

* Add fallback for 'retry' value server-side, fixes #3234

* Fix job hash reporting in stats

* cleanup

* Add job for AJ testing

* Push jobs with invalid JSON immediately to Dead set, fixes #3296

* Break retry logic into global and local parts, fixes #3306

* fix heisentest
2017-01-17 14:58:08 -08:00
dgasper
901e8586c2 Hide the intial preview line when using Show All in the UI (#3286) 2016-12-20 09:20:40 -08:00
Mike Perham
2c31448065 merge master 2016-08-20 14:59:44 -07:00
Spoonflower
8f085052dc taking out inline styling and putting them in application.css 2016-07-29 10:09:17 -04:00
Amadeus Folego
d05066dc1a Implement compatibility interface with sinatra 2016-07-29 04:45:19 -03:00
Amadeus Folego
9ea167db16 Migrate Sidekiq::Web to a pure Rack application
Migrate Sidekiq::Web a pure Rack application to avoid sinatra as
dependency. rack-protection is still needed.

The application is mounted on top of Rack::Builder, mantaining all of
the previous http interface.

Rack apps being used:

- Rack::File to serve assets
- Rack::Session::Cookie, the secret can be configured via
  Sidekiq::Web.session_secret
- Rack::Protection, same as before when using sinatra
- Sidekiq::WebApplication, described below.

Sidekiq::WebApplication is a very simple rack application composed of a
Sidekiq::WebRouter and a Sidekiq::WebAction dispatcher. This terminology
was adopted to be able to mantain Sidekiq::Web as a Rack app.

The Router is heavily inspired on Rack::Router[0] (and in many parts
identical), however not being retrocompatible.

The Action is a wrapper to provide convenience, DRY code and maintain
the old interface.

I tried to mantain most of the old application structures so that
customizations and monkey-patches are easily adjustable or even
further work be done to enforce retrocompatibility.

Testing welcome!

0: https://github.com/pjb3/rack-router
2016-07-26 11:43:32 -03:00
Mike Perham
5adbc24cbe Rework authenticity_token to use simpler helper, #2422 2015-07-06 15:52:41 -07:00
Mike Perham
cf3c43b241 Fix CSRF vulnerability reported by Egor Homakov, fixes #2422 2015-07-06 12:51:15 -07:00
Anton Davydov
17ee70f063 Create table containers with overflow is overlay 2015-05-14 02:48:17 +03:00
Mike Perham
2178d66b66 Queue name xss, fixes #2330 2015-05-04 08:38:51 -07:00
Nolan Evans
54766f3366 fix xss vulnerability in display class 2015-04-21 14:20:40 -07:00
Mike Perham
605d7d0747 Remove trim mode reference, fixes #1736 2014-05-27 06:42:04 -07:00
Mike Perham
2513884aa0 Unwrap Delayed jobs for presentation in UI, fixes #1718
No more massive numbers of Sidekiq::Extensions::DelayedClass jobs!  Now you’ll see the underlying Class.method call instead so the UI is much more intuitive.

This might also be necessary for ActiveJob.
2014-05-19 20:54:28 -07:00
Mike Perham
809f0f3829 Show warning on Queues page if a queue is paused, fixes #1672 2014-04-24 22:16:34 -07:00
Julian Langschaedel
104bc8a9c8 Sidekiq::Web escape args on workers and queues page 2013-10-30 23:11:12 +01:00
Jeff Boek
beb5bc2ae3 Bootstrap upgrade 2013-09-30 21:43:24 -07:00
Kirill Nikitin
62bc7f3c73 Fixed realtime and history dashboards. 2013-08-22 11:41:00 +04:00
Kirill Nikitin
0a7e8ea439 Closes #1120 Removed slim. 2013-08-22 02:59:34 +04:00