* Format latency time
* format latency when 0
* only show human-readable time if 60s or more
* memoize to reduce repetitive Redis calls
* removing use of seconds.ago due to no ActiveSupport in Sidekiq
* Fixed mobile navigation.
* Remove unused toggle.
* Small css changes for mobile + ipad
* Fixes to double navbar
* remove leftover css
* fixed double btn two line issue
* 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
* 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
The timestamps were not updated during live polling since
cd3d18b81e.
This causes the timestamps to be updated with fuzzy timestamp text when
live polling is turned on.
* 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