Additional processing fixes for rss to avoid fatal errors (Bug #1081431)

Checking for the datatypes returned, and catching exception caused
by a previous exception object getting passed to the database,
which adodb doesn't know what to do with, surprisingly enough.
Making use of try to better handle failing record updates.

Change-Id: Id211efe045da6182f1316cb60888711f4063a52d
Signed-off-by: Melissa Draper <melissa@catalyst.net.nz>
Display plain editor if the 'HTML editor' option is disabled

(Bug #1089730)

Change-Id: Ia244fa6fafdf32b0d8423646871a815c4397f1aa
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Merge "Additional processing fixes for rss to avoid fatal errors (Bug #1081431)" into 1.6_STABLE
Remove the default theme collection nav template (Bug #1115832)

The only differences between the collection nav template for raw
and default is that default makes poorly formed navigation links.

Change-Id: I9a1d6df1c869f7b0ad13b75ec26d2bd81cb1e835
Signed-off-by: Melissa Draper <melissa@catalyst.net.nz>
Remove the wwwroot from redirect url concatenation (Bug #1113180)

With this in the concatenation, the redirection to the user's profile
page has an extra wwwroot and hence 404's. The deletion still happens
but it looks pretty bad.

Fix suggested by lp:~awillson

Change-Id: I8149ae72254bae3e6b502f3a291e00a8c6c87a4e
Signed-off-by: Melissa Draper <melissa@catalyst.net.nz>
Remove 'safe' function from template to prevent xss (Bug #1091764)

Change-Id: Ie3527cb51c42aab5d88dca1ac57507577389102a
Signed-off-by: Melissa Draper <melissa@catalyst.net.nz>
internalmedia/lib.php: Changing flowplayer invocation to only use relative URLs

Change-Id: Iae96e62951e2e9504f4b4988fa59e7ce1f1d1368
Signed-off-by: Aaron Wells <aaronw@catalyst.net.nz>
flowplayer: Updating flowplayer with custom build to disallow absolute URLs in config parameters

Also updating to the latest version of flowplayer, and removing all the flowplayer source code
files from the Mahara repo and instead referencing the separate github repo they can be DL'ed from.
(The only 3 files actually used by flowplayer are flowplayer.swf, flowplayer.controls.swf, and the
flowplayer.js file. The rest are only necessary if you want to compile.)

The flowplayer GPL license requires that if we modify the source code and redistribute it,
we must change the name to something not confusing with flowplayer. See "ADDITIONAL TERM per
GPL Section 7", paragraphs 3 & 4.

License files that don't apply to our distribution were also removed.

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

Signed-off-by: Melissa Draper <melissa@catalyst.net.nz>
Version bump for 1.6.4testing

Signed-off-by: Melissa Draper <melissa@catalyst.net.nz>