Bump i18n-js to latest prerelease

User Story # 15318

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Correct configuration for i18n-js w/asset pipeline

`I18n::JS::Middleware` is only necessary if we're not using the Rails
asset pipeline.

See https://github.com/fnando/i18n-js#rails-app-with-asset-pipeline

If we migrate away from the asset pipeline, this commit should be
reverted.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove erroneously committed translations file

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

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Lay out wp attributes using CSS flexible boxes

This implementation stops long attribute values from "breaking" the
layout.

Bug # 14596

Signed-off-by: Alex Coles <alex@alexbcoles.com>
API v2 PE index: Allow disabling parent rewiring

Allow disabling rewiring - this exposes parent IDs of work packages invisible
to the user.
When requesting single work packages via IDs, the rewiring fails as it assumes
that all visible work packages are loaded, which they might not be. For a work
package with a parent visible to the user, but not included in the requested IDs,
the parent_id would thus be nil.
Disabling rewiring allows fetching work packages with their parent_ids
even when the parents are not included in the list of requested work packages.

There's also a case when rewiring is not used at all: When not providing a project
id and requesting via /api/v2/planning_elements.json?ids=[...]. In this case
parent_ids were and are always shown. This is pretty inconsistent, but that's
the way API v2 is. Btw, planning_elements.json returns 404 when not giving an ids
parameter.

Apparently, the way custom fields are returned is also different between
the general planning elements endpoint and the project-specific one. I didn't
look into this, though.
Do not allow wp attribute values to wrap

Bug # 14596

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Use explicit classes for attribute labels, values

* Do not use <label> outside of an HTML form context.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add small right padding to wp attributes

Signed-off-by: Alex Coles <alex@alexbcoles.com>
remove no longer required experimental controller
Fix board pagination

TablePagination directive: Add support for a updateResults callback again,
which apparently was removed in favor of emitting WorkPackage-specific events.

Kept all the events and calling the callback on page and per-page change now.
Board pagination: Pass per_page parameter to API

Before, per_page was ineffective.
Angular pagination: Add default per_page value to options

I guess it doesn't make much sense having a value as default here
that a user later can't select again.
Add more padding to icon in more-menu

- Add more padding to icon in more-menu
Revert "Mark index pagination Cuke wip (fails on Travis)"

Failures most likely due to Xvfb settings (see 1267a944)

This reverts commit 5f4a2281bf78c3f372cb21e32bdf70d612f95f1d.
Merge pull request #1886 from opf/hotfix/api_v2_parent_rewiring

API v2 PE index: Allow disabling parent rewiring
Merge branch 'release/3.0' into dev
Merge pull request #1907 from opf/feature/details-pane-more-functions-button

Add more padding to icon in more-menu
show (English) errors if starring fails ...

instead of hushing it up
dropped unnecessary menu item title restriction