Message-ID: <1412402317.2064.1556113524963.JavaMail.javamailuser@localhost>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_2063_459300805.1556113524962"
------=_Part_2063_459300805.1556113524962
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
Migrating to Ushahidi 2.4
Migrating to Ushahidi 2.4
This page doesn't document all changes in 2.4, but specifically =
documents breaking changes that may effect developers migrating to v2.4
Full list of changes since 2.3.2 https://github.com/ushahidi/Ushahidi_Web/compare/2.3.2...master
What's changed
=09- New parameter added to category::tree();
=09
=09=09- parameters are now: tree($categories, $hide_children =3D TRUE, ar=
ray $selected_categories, $form_field, $columns =3D 1, $enable_parents =3D =
FALSE)
=09=09- This may break themes with a custom reports_submit.php view
=09=09- To work around this change the line
=09
=09
category::tree($categories, $selected_categories, 'incident_category=
9;, $columns);
to
category::tree($categories, TRUE, $selected_categories, 'incident_categ=
ory', $columns);
* Session driver changed to 'database' by default
=09-
=09
=09=09- This was tried previously and reversed in 2.3.2
=09=09- Bugs with this were due to access control in the base controller =
always called $auth->auto_login() instead of $auth->logged_in()
=09
=09
=09- XSS security fixes
=09
=09=09- Lots more fields are now properly escaped with strip_tags() or ht=
ml::specialchars()
=09=09- This shouldn't break anything, but if you had previously used htm=
l in some fields you might not be able to any more
=09=09
=09=09=09- Mostly this is user fields or report fields
=09=09
=09=09
=09
=09
=09- Access level's for admin, member and superadmin roles have changed
=09
=09=09- This shouldn't break anything as previously the permissions check=
s that relied on these (in custom forms) didn't work
=09=09- New access levels: superadmin =3D 100, admin =3D 90, member =3D 1=
0
=09=09- If you have custom roles and use custom forms, make sure you chec=
k your access levels are in the right order
=09
=09
=09- Openlayers updated
=09
=09=09- Again, this shouldn't break anything.
=09=09- Just includes a fix to stop the google maps attribution popup.
=09
=09
=09- New format for the Settings table
=09
=09=09- Configuration settings are stored as key-values pairs, instead of=
using a single record with multiple fields
=09=09- This should not be a problem, but be careful if you have scripted=
installs or updates using this table
=09
=09
------=_Part_2063_459300805.1556113524962--