Test list of possible watchers
Return only users who can see the watchable
Fix callback reference
Merge pull request #2264 from opf/hotfix/17512_duplication_of_wp_with_invalid_watcher

Hotfix/17512 duplication of wp with invalid watcher
Reset query properties after saving the query
Update query only if query string is available

This prevents inadvertently overwriting an existing query's properties if a
query string value is missing. See the comment for a complete justification.
Tell Travis to notify Gitter with build statuses

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #2266 from opf/hotfix/17554_removing_grouping_not_saved_on_existing_queries

17554 removing grouping not saved on existing queries
Remove required keyword args to support Ruby 2.0.x

This is not duplicate of #2267.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Test fractional hours
Split fractional hours in hours and minutes
Merge pull request #2277 from opf/hotfix/17228_handle_fractional_hours

17228 handle fractional hours
Merge pull request #2270 from opf/feature/travisci-notify-gitter
Merge pull request #2273 from marutosi/finn/release/4.0/ruby2.0

Remove required keyword args to support Ruby 2.0.x
removes n+1 query for custom_values on wp#index
move some controller logic into a decorator

This is by no means clean yet, but better than it was before.
eager loading of required columns - too many for now
only load required columns
remove unnecessary block
shortens sorting