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.
Ensure the log knows what project it's in.

The project parameter is treated as optional by callers,
but this wasn't allowed for by the Log function itself.