Better usage of the DML API

Bug1180194

Change-Id: Idfaad6ba9138eabc8e0efa4f72a5a3da224c7eab
Version bump for 1.7.2

Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Version bump for 1.7.3testing

Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Add protocol to Youtube iframe code (Bug #1207140)

The youtube iframe code lacks the http: or https: protocol
- so we add it in based on mahara site protocol

Change-Id: Id1c8e026c9bad3baa07643dea5bd30477412902e
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Update PREG_CLASS_SEARCH_EXCLUDE to latest from Drupal 6

Bug #1072972: This includes the KATAKANA-HIRAGANA PROLONGED SOUND MARK,
which should solve some issues for Japanese language users. It also removes
the 16-bit surrogate characters D800-DFFF from the exclusion class.

Change-Id: Iaaa70b891219d97758b3d7982d69a4522a477009
Fix "Loading" message issue. (bug #1095208)

Change-Id: I2e4c57709653a87950ca1a76505b99e4ca400085
Signed-off-by: Ruslan Kabalin <r.kabalin@lancaster.ac.uk>
Merge "Add protocol to Youtube iframe code (Bug #1207140)" into 1.7_STABLE
Merge "Fix "Loading" message issue. (bug #1095208)" into 1.7_STABLE
view/view.php: Squelch a "headdata already sent" warning

Bug1188001

Change-Id: Id0a2c049fa59383b7df77074e1691982987c4a29
Revert "Add protocol to Youtube iframe code (Bug #1207140)"

This reverts commit dac25c9b90c1de8815db6acbe18242fe2789b406.

This patch adds an additional "http://" to the beginning of each URL each time you save an existing external content block! "http://" becomes "http://http://"

Change-Id: I82bc964c58406efeb3df73073e59965a7c527280
Merge "Revert "Add protocol to Youtube iframe code (Bug #1207140)"" into 1.7_STABLE
Returning red colour to the 'cron is not running' message Bug 1165592

Change-Id: I1780171d45c53cc4226f869b83536ac6ddd18b45
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
admin/upgrade.php: Make installer jump to the bottom of the page when install is done

Bug1195489

Change-Id: I3d567f85bedfb92e0105e969d1770cd4e38413b5
Merge "Returning red colour to the 'cron is not running' message Bug 1165592" into 1.7_STABLE
New fix for the YouTube issue (bug #1207140)

This time around instead of changing the protocol-relative URLs
to be matching the protocol of what Mahara is using I've changed
how html purifier checks iframes to allow protocol-relative URLs.

Change-Id: Ia928616f47f99ea1859e5ab3c7942b7d0ff67e10
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Correct Mahara 1.7 version number

The patch for Bug #1207140 erroneously raised the Mahara 1.7 version number too high.
Mahara versioning policy says that version numbers within a stable branch should only
increment by 1.

Change-Id: Iedcca7281494f4826df60621fe48df0cba4f36e1
Reduce false positives in syntax checket for unbracketed SQL tables.

Bug #1215702
This one gets me a lot of false positives, so I'm changing the message to explain
that it's triggered by the words "from" and "join", and make it so that it doesn't
perform this check on lines that are probably comments

Change-Id: I5d1acc5eed0a31acc0a570b9bdac564ca514707f
Fix display of the name of the sharing group on the Group Participation report

Bug #1213908: If a group shares a page with another group, and that other group
has "Participation report" turned on, and an admin views that participation report,
it was failing to properly show the name of the first group that was sharing
that page.

Change-Id: Id4d2b7c7bf3616233091f828f39ff040ebab64bd
Fix for pagination when in edit blockinstance doing search (bug 1218091)

Change-Id: Ic24920d47e40f2d3dd21bd6b603d4f0e7442d89f
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Rss images rendering too large in external feed block (Bug #1219499)

Some RSS/Atom feeds provide an over-large channel image/logo which
disrupts display of the External Feed block in a Mahara Page.

See e.g. this feed link from the BBC
http://downloads.bbc.co.uk/podcasts/worldservice/digitalp/rss.xml

Change-Id: Ib6db4b1261abbf6feefabccddb60adad605d9a25