Version bump for 1.9.2testing

Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Exclude Makefile and phpunit.xml from export zip

Change-Id: Ic68b73b3933b667d0e5b870a138aa74ee8d97266
Only render the submission form in the viewing mode (Bug 1320027)

Change-Id: Ifd6afec4e3af9b4a7035cc92892e722496389072
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Clearing the tinymce editor after feedback submitted (Bug #1321972)

Instead of trying to clear the textarea of content we just clear the
active tinymce of content.

Change-Id: I59bfc9b7f8dc41e94a801ff27f5d3f92395347df
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Move the setting for "Confirm registration" into institution settings

Bug 1317265

Change-Id: Iff2a4942f8d48bc7ad3084cc25da7cd84b72266b
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Revert "Move the setting for "Confirm registration" into institution settings"

This reverts commit a1854f018e7f3b75bbaa2dcaeaad24a38fcd3594.

Bug 1280882: It shouldn't be backported to 1.9_STABLE because it's not a bug fix, and it changes the user interface.

Change-Id: Ib3da16f75f863734e7876c0ffdf3f6e9099c65b9
Merge "Clearing the tinymce editor after feedback submitted (Bug #1321972)" into 1.9_STABLE
Clear feedback text on second comment, even if TinyMCE is disabled

Bug 1321972

Change-Id: I12e0be7b01e461fd951582be9365d30c5cfeddbf
Generate page content before initialising smarty (Bug #1337626)

Change-Id: I4b5fb0da8567e95fd9c0e57806baca835b50764e
Signed-off-by: Nathan Lewis <nathan.lewis@totaralms.com>
Catch the exception in LDAP auth (Bug #1009262)

Scrub the password from the error output and turn it into stars

Change-Id: Ie3cbf485ea2173e74364ae8505615a74b8f1c248
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Checking and removing of expired password requests (Bug #1296472)

Seen as we already have an expiry column in the db we might as well
use it.

Change-Id: I4de92289edff40e26c74ff8b9e4a77cf9bd8ccf2
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Destroy user's sessions when (Bug 1328705)

- users change his/her password
- admins delete the user's account

Change-Id: Id88207309770dae3eb803abe1f23f97a6b8eb3c8
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Fixing upgrade script (Bug #1350254)

Problem with ensure_record_exists checking nextrun column will break
things when adding new cron line to cron table.

This is due the the nextrun not being null after it has run.

Change-Id: I1f674cbc842a3e061224bf996cc0267b09018f55
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Bug1323495: Make new/modified Google Maps work

This patch modifies one regex and adds more, to handle the various
new possibilities for source URLs from Google Maps.

Tested using blocks with the following URLs:

https://mapsengine.google.com/map/edit?mid=zfwEiFwRAMSY.kHxFNhFy8iAs

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=patagonia,+argentina&aq=&sll=33.935442,-118.080497&sspn=1.663434,2.17804&ie=UTF8&hq=&hnear=Patagonia&t=m&z=5&ll=-41.810147,-68.906269&output=embed

https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=115.5683895w+51.176933999999996n&aq=&sll=37.0625,-95.677068&sspn=40.953203,79.013672&ie=UTF8&t=m&z=14&ll=51.176934,-115.56839&output=embed

https://maps.google.com/maps?ll=-41.24437,174.761855&spn=0.371216,0.475845&t=h&z=11

https://maps.google.com/maps?ie=UTF8&ll=-41.24437,174.761855&spn=0.371216,0.475845&t=h&z=11&output=embed

https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d20010.295562287632!2d-115.5683895!3d51.176933999999996!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sca!4v1400737313821

https://www.google.com/maps?q=dee+why&hl=en&ll=-33.797088,151.277661&spn=0.026426,0.055704&sll=37.0625,-95.677068&sspn=51.089971,114.082031&hnear=Dee+Why+New+South+Wales,+Australia&t=m&z=15

https://www.google.com/maps?q=dee+why&amp;hl=en&amp;sll=37.0625,-95.677068&amp;sspn=51.089971,114.082031&amp;hnear=Dee+Why+New+South+Wales,+Australia&amp;t=m&amp;ie=UTF8&amp;hq=&amp;ll=-33.797088,151.277661&amp;spn=0.026427,0.055704&amp;z=14&amp;output=embed

Change-Id: Ib5d6d9b14147ec875aa944f60feb9b69c02be85f
Signed-off-by: Nigel Cunningham <nigelc@catalyst-au.net>
Add dbprefix to the table name in SQL statement (Bug #1326174)

Change-Id: Ic13cb97266433cc9cb0a5f95761f58a1a8a7b8c5
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Fix the bug when the Mysql database collation is not set to ci

Bug #1326174

Change-Id: I2ff391b74533092b9c2e0aeaa8a34ed5059d1119
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Fix issues when deleting an institution. Bug 1314440

1. Remove all institution collections
2. Remove all institution custom layouts
3. Remove all institution registrations

Change-Id: I87a36e601571054305e2948d460c2bb670825ee6
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Delete leftover data not associated to any institution (Bug 1314440)

Another patch for bug 1314440 makes it so that when you delete an
institution, this data gets deleted. This patch cleans up the data
for institutions that were deleted before that patch was merged.

Change-Id: I167001f444a3fd204b12610ca10274d6218d9f96
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Checking for $bt['class'] before trying to access it (Bug #1350595)

Change-Id: I13de527f16370f4c37e95421750d625fab636fe4
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Version bump for 1.9.2

Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>