Page MenuHome GnuPG

improve naming scheme of reencrypt folders
Open, NormalPublic

Description

currently the reencrypt dialog informs users that reencrypted mails are stored in <old directory name> - reencrypted. this becomes incorrect as soon as a directory by that name already exists (because an increasing number is then added). this is not only very misleading in the dialog, it also makes it hard to find the correct directory afterwards.

instead of checking for folders and increasing integers, i propose to always append a timestamp that is defined when the reencrypt dialog is being opened to the folder name, e.g. <old directory name> - reencrypted YYYY-MM-DD hh-mm-ss. it also adds information about the creation date to the folder, much more informative than just an integer.

Event Timeline

m.eik triaged this task as Normal priority.Wed, Jan 28, 3:10 PM
m.eik created this task.

Implemented in work/tfry/apiabstraction (since the reencrypt code had changed, considerably, in that branch, I did not base this on master).

I omitted the seconds.