[Rt-commit] rt branch, 4.0/reset-rt-at-a-glance, repushed
Jim Brandt
jbrandt at bestpractical.com
Fri Apr 4 11:35:49 EDT 2014
The branch 4.0/reset-rt-at-a-glance was deleted and repushed:
was 7d0236dc9438009b5f45a6b79ca8e8c2c9c40f31
now 5ebef047eb784aa923bcf9fcf4750180621754f4
1: 0b4868f = 1: 0b4868f Work around bugs in name resolution in SphinxSE on MySQL 5.5
2: dc47610 = 2: dc47610 Default to 127.0.0.1 in tests to work on MySQL 5.5
3: 1cdff0b = 3: 1cdff0b Stop leaking an extra dbh during server startup
4: 4717d57 = 4: 4717d57 Explicitly disconnect the dbh before forking, if it exists
5: 3264659 = 5: 3264659 Very rough pass to bring RT::StyleGuide up to date
6: 60dc4b1 = 6: 60dc4b1 I#28784: Tests for non-ASCII character in password
7: 2d3e94c = 7: 2d3e94c I#28784: Handle non-ASCII character in passwod
8: 06ee3fb = 8: 06ee3fb Correct POD for Lifecycle methods
9: d3bfd07 = 9: d3bfd07 Failing test when passing 0 to AddDays
10: 8ad1f86 = 10: 8ad1f86 Properly add zero days when zero is passed
11: 41f9505 = 11: 41f9505 all_pod_files_ok only checked lib/
12: 27af6e6 = 12: 27af6e6 Warn about SetFieldsOnce
13: 01405be = 13: 01405be Note that changing queue subject tags may also require an $EmailSubjectTagRegex
14: c58caef = 14: c58caef keep the original string in ParseFormat so we can reuse it in BuildFormatString
15: 2898cad = 15: 2898cad Add a method to remove a user preference
16: f8547ec ! 16: 7c6e2af Add a "Reset" button to configuration of homepage portlets
@@ -30,7 +30,7 @@
+# If we are resetting prefs, do so before attempting to load them
+if ($ARGS{'Reset'}) {
+ my ($ok, $msg) = $session{'CurrentUser'}->UserObj->DeletePreferences($ARGS{name});
-+ push @actions, $ok ? loc('Preferences saved.') : $msg;
++ push @actions, $ok ? loc('Preferences reset.') : $msg;
+}
+
$title .= loc (RT::SavedSearch->EscapeDescription($search->Description), loc ('"N"'));
17: b3ddad9 = 17: ad921e4 Remove HomepageSettings preference on "reset" to pick up global defaults
18: 7d0236d ! 18: 9582e25 Remove the session cache of the "RT at a Glance" portlet lists
@@ -63,3 +63,4 @@
}
);
+
--: ------- > 19: 5ebef04 Tests for user preferences
More information about the rt-commit
mailing list