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

11 commits

Author SHA1 Message Date
Mike Perham
2c31448065 merge master 2016-08-20 14:59:44 -07:00
Spoonflower
dee9c8bd86 change inline style into classes 2016-08-04 11:18:07 -04: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
ffbf1200bd Remove hard-coded table column width rules, hopefully help with #1747 2014-06-03 09:00:19 -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
d355a0475e Add dead job queue, fixes #1471 2014-02-09 14:56:01 -08:00