gitlab-org--gitlab-foss/app/views
Jacob Schatz e45d6043e8 Merge branch 'js-content-for' into 'master'
Re-implement page-specific JS in a better way.

## What does this MR do?

This rebuilds the way we do page-specific JavaScript assets for a few reasons:

- The current implementation does not work with Subresource Integrity (!4808)
- The current implementation doesn't allow caching of libraries because each page we hook up with this system will have a separate application.js. Meaning that for every page that uses Ace Editor, we'd have to load Ace Editor plus any GitLab-specific scripts in the same file, making local caching of just Ace Editor impossible.
- The current implementation is rather hacky.

## Are there points in the code the reviewer needs to double check?

That Sprockets doesn't choke on this when we use precompiled assets.

## What are the relevant issue numbers?

#14372

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

cc: @jschatz1 @pavelloz

Thanks to @pavelloz for his example implementation which was very useful.

See merge request !4883
2016-06-24 20:51:02 +00:00
..
abuse_report_mailer
abuse_reports Standardize the way we check for and display form errors 2016-04-04 21:37:07 -04:00
admin Merge branch '18871-check-improve-how-we-display-access-requesters-in-admin-area' into 'master' 2016-06-22 01:17:08 +00:00
award_emoji Move award_menu_url variable into gon object. 2016-06-09 03:37:40 +03:00
ci Redirect to root path when visiting `/ci` 2016-03-29 08:04:17 +02:00
dashboard using request dot path instead 2016-06-17 18:17:06 +01:00
devise Customize the Devise `unlock_instructions` email 2016-06-16 20:10:52 -04:00
doorkeeper Fix grammar and wording in text on various pages. 2016-05-22 10:41:30 -06:00
email_rejection_mailer
emojis Create table for award emoji 2016-05-06 10:47:11 +02:00
errors
events Fixed issue with activity links not being consistent 2016-06-02 09:11:44 +01:00
explore Start builds redesign 2016-05-04 16:45:37 -05:00
groups Merge branch '18871-check-improve-how-we-display-access-requesters-in-admin-area' into 'master' 2016-06-22 01:17:08 +00:00
help Added shortcut to help shortcuts view 2016-06-17 18:07:09 +01:00
import Warn about admin privilege to disable GitHub Webhooks 2016-06-17 18:18:52 -03:00
invites
issues Add more information into RSS fead for issues 2016-06-13 09:41:34 -07:00
kaminari/gitlab Upgrade Kaminari from 0.16.3 to 0.17.0. 2016-05-31 14:14:16 -06:00
layouts Merge branch 'js-content-for' into 'master' 2016-06-24 20:51:02 +00:00
notify refactor to use haml instead 2016-06-22 08:48:18 +02:00
profiles Updated tests to not look for flash message 2016-06-21 11:20:06 +01:00
projects Merge branch 'js-content-for' into 'master' 2016-06-24 20:51:02 +00:00
repository_check_mailer Improve 'auto fsck' admin emails 2016-04-18 10:58:40 +02:00
search renamed path to link 2016-06-23 12:44:50 +01:00
shared renamed path to link 2016-06-23 12:44:50 +01:00
sherlock Use better_errors editor links in sherlock 2016-06-06 18:27:26 -04:00
snippets Updated snippets UI 2016-05-18 14:11:06 +01:00
u2f Don't allow clicking on "Setup New U2F Device" unless an authenticator app has been set up. 2016-06-15 08:16:11 +05:30
users Trying to make this work with sprockets in production. 2016-06-23 11:42:52 -06:00