Switch to WebService::Dropbox to use Dropbox API v2
Dropbox API v1 has been turned off for years, sadly that File::Dropbox
doesn't support v2.
As there are no persistent access tokens any more(tokens are only valid
in 4 hours), we need to configure RefreshToken instead to automatically
generate new access tokens.
Support to shred external contents of attachments/objectcustomfieldvalues
To undo changes, here we insert external contents back to RT database
before wiping them out, so the SQL dump contains all the data. Then
users can re-externalize them using commands saved in a separate file
*.external-storage.sh that is also generated by shredder.
Note that this commit doesn't touch the broken Dropbox storage, because
File::Dropbox(last released in 2016) doesn't support Dropbox's current
API v2. We will migrate it in a separate commit later.
Previouly we used $AllowUserAutocompleteForUnprivileged for the Principals
autocomplete, which didn't manage groups. With this new config, admins can
control the autocomplete feature for users and groups.
Note that this config is already in RT 5 (along with cored
RT-Extension-GroupSummary), though it is just a no-op there.
Add the missing Principals autocomplete URL for Self Service
Principals autocomplete was added in
4.4/username-and-groupname-in-role-input, specifically in
917a486d, but Self Service wasn't updated, so autocomplete
stopped working there. Add the missing template to Self
Service to re-enable autocomplete on role inputs.