Replace the forgotten password link with a help box.

This contains more up-to-date information about what to do if
the user has forgotten their password, as well as links to
pages that do exist which should help them resolve the siutation.

Change-Id: Ideb10d1b7efe73f40faa2a3e180da2807f236c1e
Fix #1364: Reduce the presence of hard-coded SR links.

This allows for development alongside other SR services
at a completely separte URL. The remaining srobo.org urls
are present as defaults or placeholders.

Change-Id: Ifdb4adfd1b4aae991824e8b89501966d310aa61e
Don't work out the extension manually.

Change-Id: I30a39ac08173ce00286e5a42ab5c32b3a49382ac
Don't try to remove a folder whilst in it.

We'll see this folder again as a listing in the parent,
from where it makes more sense to try to remove it.
This also ensures that we won't ever try to remove the
root folder that we're iterating through, and avoids a
PHP error from trying to remove something that ends in '/.'

Change-Id: I5c0dbf24964ab3c868db7c17743326c3caa6a2f4
Allow empty commit messages.

It appears that the previous mechanism for achieving this
no longer works, probably because git strips trailing
whitespace from commits. Fix this by using --allow-empty-message
and add a test.

Change-Id: I3f8206af541301950dca5c098b47d69ff3f487dd
Fix typo in comment.

Change-Id: I7ada57d5abbf79e11551ef46ecd019ed32a57f7e
Remove a redundant partial() call.

partial() & bind() use the same logic, calls to partial()
outside a bind() can therefore be combined into just the bind().

Change-Id: I3582568bba2612f52b585ed42364c8c9ad0f2eb3
Make the error-check retry use the same args.

Previously it just used some of them..

Change-Id: I62cf0a967e3aa5d68c5f06177a629006d66fcd81
Avoid backend error when re-checking a file.

Previously, the final parameter passed to the check method when
this signal fired was the event being signalled. This didn't appear
to cause any issues, but did result in the backend outputting
an error about passing an object to escapeshellargs.

Adding the additional null to this bind ensures that we're always
passing valid arguments through.

Change-Id: I848117af00ca9113190be65f20c996a1c02f2624
Whitespace.

Change-Id: Ic07d47d58453345cc9a3757b9a90c15f665a06c9
Remove debug line that produces PHP errors.

From the use of the undefined $hash variable.

Change-Id: I0d8814459546d8141b64f1d980466d01cc84346f
Fix #1731: Add an instruction about the search results.

Change-Id: I4e49bbf483f5abcf896b3bc48ea8a56ca70e4019
Tweak styling of the line under the menu-bar.

A little extra indent on the left makes it easier to read.
Also make the log page's line match the others.

Change-Id: I03e973073d4fd4d2af0eab85f9dd7a280a9b1deb
Alignment fix.

Change-Id: I73c6cb23175e7d9613f7d14f9f8f453cc6fc5063
Fix synatax error.

Remove an extra layer of array that shouldn't have been present.

Change-Id: Iefdf81b8bbcfbf2063c25f2c25950a08659dcdda
Rename getCurrentUser to be a little more precise.

It returns the current user's username. Also update related variable
names to also be more precise.

Change-Id: Ief8be887c2d08418b3cbe77e3d647795ecc93b64
Whitespace, tidyup.

Change-Id: I0c1cb82cd2a24058cc8346bf4a388a03fb0b6b8c
Rework how team information is exposed.

Change from a dictionary of id => name to an array
of objects that have id and name properties. This
makes the mechanism far more extensible.

Change-Id: I3e4ed790a6e399e7bf902969c500debc1225e55e
Hide previous project pane when switching teams.

Previously, the information for the previous project, from
the other team, was shown until replaced by the new info.
This change ensure that it's always hidden immediately,
as it is no longer valid.

The particular case where this was an issue was when the new
team had a project of the same name as the one being shown.
Fix settings team selector when teams have no names.

Previously, if the teams' name was blank, so was their entry
in the drop-down. This resulted in a selector that was mostly
unusable. Now we use the team's Id if there is no name.