#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>
fix aglio-warnings
specify expected format for PATCH endpoint
unify documentation of error responses
specify conflict cases
specify 403
improve example
specify error objects
sort and improve error id list
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>
fix wp lines jump when hover over grouping
OmniAuth: optional attribute mapping in strategies

OpenProject currently employs a fixed attribute mapping schema for
userdata extracted from OmniAuth::AuthHash.

For some strategies (e.g., LDAP), various attribute names are used to
determine user attributes. Thus, an override to the fixed mapping from
within a strategy is desirable.

This commit allows the attribute mapping hash to be merged with
attribute overrides from within an OmniAuth strategy.