Allow moderation of anonymous comments (Bug #1088609)

Adding the Make Public button visible when author id is
not set (anonymous user) only when owner of artefact is
also viewer of page.

Signed-off-by: rlyon <rlyon@paradise.net.nz>
(cherry picked from commit 845da9e80e6000d74274997da32e93b6336305a4)

Change-Id: Ie43e147fa53a81c19a77302d103efc842f590507
Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Fix uninitialized loop variable that can cause RSS data loss

Bug #1171714

Change-Id: Iba18d590bc6f012708b6927e09ac930994bb3371
Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Bug #1168617: Include "Manage" title for icon

"Manage" tooltip was missing from "Manage" icon
which now shows up.

Change-Id: Id6dea4cc541b2edde72856081e99662aed7b40d3
Signed-off-by: Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
Merge "Fix uninitialized loop variable that can cause RSS data loss" into 1.5_STABLE
Don't include plaintext RSS password in Leap2A archives

Bug #1016253

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Change-Id: I949173697e03344c498d9a8fe0580beb7b359547
Fix terminal error when there's a mistake in an authenticated RSS feed

Bug 1016253: The instance_config_save() function was relying on
instance_config_validate() having actually parsed the RSS feed. But if
the URL didn't change (even if the username & password did), validate()
wouldn't parse the feed, and so save() would get an uncaught exception
and die.

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Change-Id: I74f6230d91a725754644d7a709c44b5a8001190e
Don't send RSS block passwords to browser in plaintext

Bug 1016253: Instead of sending the password back to the
browser, we give them a link that says "Change password?"
and if they click it they get an empty password input.

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Change-Id: I02b33b638f0ca8a5dfcd7c346f2e601351c08f26
If the URL of an RSS feed block is changed, re-enter password

Bug #1172096

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Change-Id: Ief7bdc1d3746f16b5f725597d54aa1b3c78b2eed
Updating youtube video icon (Bug #1165587)

Change-Id: I4b9e69b11b77e3cba591b5b5fec0aac457f02fd8
Signed-off-by: rlyon <rlyon@paradise.net.nz>
Fix to allow decompression of zip files with subdirectories (Bug #788882)

For zip decompression with subdirectories the folders are created first
then the files added later so needed to get any child subfolders to be added
to their correct parent folder.
Also needed to correctly check if folder existed to stop making extra
empty folders.

Change-Id: Ie6c5b8d130488914542a46cfcf355ee00785fb14
Signed-off-by: rlyon <rlyon@paradise.net.nz>
Fix the remote username warning (Bug #1051792)

Trying to pass stdClass Object rather than the wanted username string

Change-Id: Ide5323d239854fa0d131c3941731432e81c7d0d7
Signed-off-by: rlyon <rlyon@paradise.net.nz>
Bug #1039865: Fix slow upgrade query

Remove the CAST from the query, as was causing slow
downs on MySQL.

 https://mahara.org/interaction/forum/topic.php?id=4544#post21091

Could be related to the following MySQL bug

 http://bugs.mysql.com/bug.php?id=11346

Solution was provided by Yaju Mahida

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Change-Id: I7e076d9dc8da46890364373ee10b46eb95ba638b
Version bump for 1.5.10

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
Version bump for 1.5.11testing

Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>