Update session-cached display name when deleting it

Bug 1223063: ArtefactTypeCachedProfileField was only updating
the session cache when you updated a value, not when you deleted it.
Of course, the only one that can get deleted and that is shown
anywhere is the PreferredName (aka display name) so only this
one shows the problem.

Change-Id: I55f9c96b59c91ced5cba3cf6443ba2e222201ef7
Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Problems with image gallery and file/folder selection
Bug 1236128

Folder was not staying selected when re-editing the block
due to it being not ArtefactTypeFile - have adjusted the check to
include ArtefactTypeFolder as well

Change-Id: I9b8cbe786b0d35109f05a664f04665e9a9967d92
Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Merge "Update session-cached display name when deleting it" into 1.7_STABLE
Allowing pieform error text to not be escaped if needed (Bug 1239539)

Currently if there is html in an error message used by pieforms it
escapes the html so the link becomes not usable.

I have made a change where you can tell pieforms not to escape the
error message.

So instead of using:
$form->set_error($field, $message);

you can use:
$form->set_error($field, $message, false);

Where false means do not escape the message.

As the terms and conditions are displayed on the page already I've
updated the link to jump to the terms section

Change-Id: Ia8650a9f2284fb007cbe81a4a94223f127c4f6cd
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Adding missing 1.7.3 info to the ChangeLog

Change-Id: Ib69109f088c6cf4b77abca8bf0346497936e4094
Image Gallery: Make sure the user has access to the selected folder

Bug 1236636

Change-Id: I69deb64a5113806ec89145c1213f6a1d10038d78
Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Errors when adding new institution members (bug 1046114)

Once the members have been added and the change has been commited
to the database, logout each user who has been added.

Change-Id: I732c7fcbb5ea5913c5e3def8a7a3950c5e83e554
Signed-off-by: Nitish Bezzala <nbezzala@yahoo.com>
Merge "Errors when adding new institution members (bug 1046114)" into 1.7_STABLE
Putting the 1.8 system requirements into the README file

Bug1234487

Change-Id: I56f1504bdc7d3f38abe254362d59998a84b62531
Merge "Putting the 1.8 system requirements into the README file" into 1.7_STABLE
Bug1234487 Revert "Putting the 1.8 system requirements into the README file"

This reverts commit 9f6a9448a5031735901357cb82c0337af7e22955.

Change-Id: Ic5fdbe2f3ffd5cc0819cc15042dd81766df1475b
Leap2a file being bigger than upload_max_filesize bad error (bug #525632)

- when the importing of a too big leap2a file the form error message
was wrong

- have got it to give the 'file too big' message

Change-Id: Ied2770b057a4fd7c51cc71db98e43808139b5985
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Merge "Leap2a file being bigger than upload_max_filesize bad error (bug #525632)" into 1.7_STABLE
Fix blocks lost when importing leap2a (Bug #1229563)

1. Fix Leap2a export audio and video file
2. Fix text box leap2a import

Change-Id: I6f9f6d082f3796cf74ff134bc632c47e3abf3a63
Signed-off-by: Son Nguyen <sonn@catalyst.net.nz>
Merge "Fix blocks lost when importing leap2a (Bug #1229563)" into 1.7_STABLE
Add javascript code for pagination (Bug #1140836)

Change-Id: Ia3478c0b7df3911e5478b95a88cb33886e5a5b9a
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Merge "Add javascript code for pagination (Bug #1140836)" into 1.7_STABLE
Version bump for 1.7.4

Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Version bump for 1.7.5testing

Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>