[Rt-commit] rt branch, 4.4/remove-user-info, repushed
Craig Kaiser
craig at bestpractical.com
Thu May 24 13:42:56 EDT 2018
The branch 4.4/remove-user-info was deleted and repushed:
was 9478103196a4e240c8e4e6f6405e4c54e45693da
now 27e72c7094147512e49fc5b90d3c1a07712e3cd2
1: 484bd6620 = 1: 484bd6620 Add option to disable escaping HTML in articles
2: dab73f8fa = 2: dab73f8fa Updated Articles docs to include disabling escaped HTML
3: 27238b8b2 = 3: 27238b8b2 Update article postfix loops from using $_ to a named variable
4: 0b24dae38 = 4: 0b24dae38 Add keyboard shortcuts for reply and comment
5: 843170cdb = 5: 843170cdb Allow rt-setup-fulltext-index to prompt for dba password
6: d5902aaed = 6: d5902aaed Fix typo in POD
7: 3c98ed63e = 7: 3c98ed63e Add AnonymizeEmail method for RT::Attachments
8: a37f0a449 = 8: a37f0a449 Add GenerateAnonymousName function for RT::User
9: 6ce4f84ad ! 9: 762924875 Create portlet for removing user information
@@ -78,14 +78,14 @@
+<div class="row">
+ <div class="col-md-12">
+ <a href="#user-info-modal" rel="modal:open"><button>Anonymize User</button></a>
-+ <a href="/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $user->Name %>&Users%3Areplace_relations=root&Search=Search"><button>Replace User Information</button></a>
-+ <a href="/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $user->Name %>&Search=Search"><button>Remove User Information</button></a>
++ <a href="/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $user->Name %>&Users%3Areplace_relations=root&Search=Search"><button name="replace-user">Replace User Information</button></a>
++ <a href="/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $user->Name %>&Search=Search"><button name="remove-user">Remove User Information</button></a>
+ </div>
+</div>
+</&>
+<%init>
+my $user = RT::User->new($session{'CurrentUser'});
-+my ($ret, $msg) = $user->Load($session{'CurrentUser'});
++my ($ret, $msg) = $user->Load($id);
+return ($ret, $msg) unless $ret;
+
+# Number of attachments that will be Anonymized
10: 0bb300c35 = 10: bc106568c Add portlet for removing user info to modify page
11: 947810319 ! 11: bcd5047a2 Check that user information is anonymized
@@ -68,3 +68,4 @@
+}
+
+done_testing();
+
--: ------- > 12: 27e72c709 Add test for replace user information
More information about the rt-commit
mailing list