Revert "Remove the `:coffee` and `:coffeescript` Haml filters"
This reverts commit ae7de2f851.
Several files in EE still use the `:coffeescript` filter and
I don't have time to fix them before the CE-to-EE merge.
See https://gitlab.com/gitlab-org/gitlab-ee/builds/553647
I will reintroduce this change in a future MR.
See merge request !2400
Improve admin area button style
A lot of the buttons in the top right in the admin area were too big. This makes those the new `btn-nr` size which seems to look nice.
## User buttons
### Current

### New

## Project edit button
### Current

### New 
## Label button
### Current

### New

cc/ @jschatz1 @creamzy @skyruler
See merge request !2351
Where a vew is called from doesn't matter as much. We already know what
action they belong to and this is more than enough information. By
removing the file/line number from the list of tags we should also be
able to reduce the number of series stored in InfluxDB.
This gives a very rough estimate of how much memory is allocated during
a transaction. This only works reliably when using a single-threaded
application server and a Ruby implementation with a GIL as otherwise
memory allocated by other threads might skew the statistics. Sadly
there's no way around this as Ruby doesn't provide a reliable way of
gathering accurate object sizes upon allocation on a per-thread basis.
Add user's last used IP addresses to admin page
This would help admins figure out from where spam is originating.
Screenshot:

See merge request !2381
Improve button styles
I noticed a couple of buttons don't match the newer styles.
## Issue edit note form
### Current (cancel button is big)

### Now

## Merge request code discussion
### Current

### Now (Also changed to `btn-save` class which changes to green. This matches everything else)

cc/ @jschatz1 @skyruler @creamzy
See merge request !2350
changes bolded on active for dropdowns, sitewide.
Fixes#6056 <br/>
**Note:** this change applies to all dropdowns. Currently all dropdowns using bootstrap's dropdown.js apply a bold and larger font for an active state.
See merge request !2377
Call clearInterval for the currentTimer if one exists
Prevents a double-click from causing the logo to sweep forever after a
load completes.
See merge request !2379
Optimize LDAP and add a search timeout
Related to #4282
This merge request arranges some things in `access.rb` to facilitate some optimizations in EE (to come later). It also adds a 10 second timeout to all LDAP searches so the entire worker is not blocked if some query doesn't return in a reasonable amount of time. This timeout is configurable per LDAP server.
See merge request !2267
Without this it's impossible to find out what methods/views/queries are
executed by a certain controller or Sidekiq worker. While this will
increase the total number of series it should stay within reasonable
limits due to the amount of "actions" being small enough.
Improve performance of getting issues on group level
For testing I used the URL http://localhost:3000/groups/gitlab-org/issues?milestone_title=8.1. Prior to these changes said URL would take about 10-12 seconds to load. By applying these changes the loading time has been reduced to roughly 2-3 seconds.
There's still some stuff going on in some views that I have to look at, resolving those changes might reduce the loading time a bit more. I also still have to check if I didn't break too many tests.
Fixes: gitlab-org/gitlab-ce#3707 gitlab-org/gitlab-ce#4071
See merge request !2318