#after_login can now receive a context variable (usually the controller)
make Hound happy (and Markus)
give the context a more useful default value
do not hardcode node’s local bin path
Add protractor, chai-as-promised dependencies

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add Protractor config, example e2e spec

This initial spec still relies on a running Rails server (with default
seed data).

User Story # 16494

Signed-off-by: Alex Coles <alex@alexbcoles.com>
shut up, bothering bower!
Document Protractor in RUNNING_TESTS

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add basic JSHint config

Tolerate subscript notation in addition to dot notation.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Move from grunt to gulp build system

Initially port only JSHint tasks.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Move angular app requires to openproject-app.js

Signed-off-by: Alex Coles <alex@alexbcoles.com>
what now, travis?
Merge branch 'fix/normalise-file-naming' into feature/16494-protractor-tests
Restructure Angular app into CommonJS modules

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Bundle CommonJS modules with Webpack

Minimal work necessary to make Sprockets and existing Karma tests work
with Webpack.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix stray global in Karma tests

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge branch 'dev' into feature/16494-protractor-tests

Signed-off-by: Alex Coles <alex@alexbcoles.com>

Conflicts:
	app/assets/javascripts/angular/work_packages/view_models/common-relations-handler.js
Add Rake tasks for Webpack compilation

Hook Webpack build into standard Sprockets precompilation.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Hook Webpack build into test/spec tasks

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Only hook into test/spec tasks if they are defined

Signed-off-by: Alex Coles <alex@alexbcoles.com>