Commits on Oct 18, 2016
  1. update notes, release 4.2.3

    committed Oct 18, 2016
Commits on Oct 17, 2016
Commits on Oct 16, 2016
  1. Update the fuzzy timestamps during polling (#3193)

    The timestamps were not updated during live polling since
    This causes the timestamps to be updated with fuzzy timestamp text when
    live polling is turned on.
    shaneog committed with Oct 16, 2016
Commits on Oct 14, 2016
  1. this isnt supported anymore

    committed Oct 14, 2016
  2. Allow to disable sessions (#3183)

    * Allow to disable sessions
    * Set sessions to false or to an hash
    * Tests sessions settings
    * Remove unnecessary code
    * Add instance setters to Sidekiq::Web
    inkstak committed with Oct 14, 2016
Commits on Oct 12, 2016
  1. release pro 3.4.0

    committed Oct 12, 2016
Commits on Sep 30, 2016
  1. Resolve Rails Reloader and ActiveRecord middleware incompatibility (#…

    * Prevent AR middleware and reloader clash
    The ActiveRecord middleware releases any current ActiveRecord
    connections before the reloader has a chance to clear their query
    We can just remove this middleware because the reloader takes care of
    clearing active connections, too.
    * Make sure folks haven't added the middleware manually
    * Fix the conditional
    * Mention that the reloader also clears connections
    * Move it all back into a single method
    * Typos
    * Pull all rails setup into railtie
    * Set the middleware even earlier
    Also clarify exactly when these hooks are run.
    * Only check ActiveRecord reloader/middleware sanity at boot
    sj26 committed with Sep 30, 2016
  2. Fix the error in worker#perform_in about interval type (#3170)

    We are using Sidekiq Pro with ActiveSupport.
    When I passed a object which is ActiveSupport::TimeWithZone to perform_at,
    `TypeError: can't convert ActiveSupport::TimeWithZone into an exact
    number` has occurred.
    Time can't plus a ActiveSupport::TimeWithZone object.
    We can transform any Time object to float, and use it to compare and
    tzwm committed with Sep 30, 2016
Commits on Sep 29, 2016
  1. changes

    committed Sep 29, 2016
  2. Fix uninitialized constant Sidekiq::WebAction::CONTENT_TYPE error (#3168

    * fix uninitialized constant Sidekiq::WebAction::CONTENT_TYPE
    * remove space
    onigra committed with Sep 29, 2016
Commits on Sep 27, 2016
  1. Remove gemspec version constraint for rack-protection (#3162)

    * Remove gemspec version constraint for rack-protection
    * Use rack-protection version of at least 1.5
    bbulpett committed with Sep 27, 2016
Commits on Sep 26, 2016
  1. Provide consistent interface to exception handlers (#3161)

    This commit ensures that exception handlers are always provided with two objects:
    * The Exception
    * A hash with the following keys:
      * `:context` (Required) - A String message explaining what happened
      * `:job` (Optional) - If this occurred while a job was being processed, this is the deserialized job Hash
      * `:jobstr` (Optional) - If this occurred during job deserialization, this is the raw JSON string of the job
      * `:event` (Optional) - If this occurred during a lifecycle event, name of the event
    nateberkopec committed with Sep 26, 2016
  2. changes

    committed Sep 26, 2016
Commits on Sep 22, 2016
  1. Redirect from no trailing slash on Web UI (#3158)

    Fixes #3151
    If you mount at `/sidekiq` and visit the `/sidekiq` URL, it will now redirect over to `/sidekiq/`, rather than 404ing.
    timdorr committed with Sep 22, 2016
Commits on Sep 20, 2016
  1. update english term

    committed Sep 20, 2016
  2. Disable live time updates, #3123

    committed Sep 20, 2016
  3. Replace jQuery.timeago (#3123)

    * Remove jQuery.timeago
    * Use new timeago.js library
    This library is ~2KB, has no dependencies and includes several built-in locales.
    It also updates the timestamp on the page in realtime.
    * Set the timeago locale to the application locale
    * Convert locale from hyphen to underscore
    The localepassed by Rails/browser "Accept-Language" header needs to be
    manipulated before being used by timeago.js
    shaneog committed with Sep 20, 2016
  4. Merge pull request #3152 from alphagov/fix-testing-with-overridden-queue

    Prevent an infinite loop when the job queue is not the worker default
    committed on GitHub Sep 20, 2016
Commits on Sep 19, 2016
  1. Prevent an infinite loop when the job queue is not the worker default

    When adding the job to the Queue, it uses the value corresponding to the
    "queue" key in the job hash, but for deleting that it has just processed, the
    queue from the sidekiq_configuration of the Worker is used. This means that the
    job is only removed from the jobs_by_worker hash in the Queue, and not the
    jobs_by_queue Hash, leading to drain_all repeatedly trying to get a worker to
    work on the job (as it uses jobs_by_queue), and the worker not finding a job to
    work on (as it uses jobs_by_worker).
    This can be fixed by deleting the job from the queue by using the queue for the
    job, and not the default for the worker.
    cbaines committed Sep 19, 2016
Commits on Sep 17, 2016
  1. Merge pull request #3146 from omadahealth/master

    Resolve `rack.session` cookie duplication
    committed on GitHub Sep 17, 2016
Commits on Sep 16, 2016
  1. Freeze shared header object in rack response so the current response'…

    …s rack headers don't show up in the next request.
    cconstantine committed Sep 16, 2016
Commits on Sep 15, 2016
  1. feexes

    committed Sep 15, 2016
Commits on Sep 14, 2016
  1. update time

    committed Sep 14, 2016
  2. Add no-cache to JSON response headers, fixes #3136

    Also, remove a bunch of freeze noise and unnecessary constants.
    committed Sep 14, 2016
Commits on Sep 13, 2016
  1. bump, release!

    committed Sep 13, 2016
Commits on Sep 12, 2016