Adds an additional field to actions and timeline events so that slack IDs can be represented in human-readable form. These fields are read-only as updates should be applied to the non-mapped field.
Note: With the ability to turn off input sanitization in #171 it's possible to store < and > in the fields for these models verbatim. The regex that replaces slack IDs will currently only work in this case.
Where there is existing escaped data, we could either modify the regex to match escaped entities like < or write a data migration to un-escape existing values. I've decided both of those are outside the scope of this PR ;)
Adds an additional field to actions and timeline events so that slack IDs can be represented in human-readable form. These fields are read-only as updates should be applied to the non-mapped field.
Note: With the ability to turn off input sanitization in #171 it's possible to store
<
and>
in the fields for these models verbatim. The regex that replaces slack IDs will currently only work in this case.Where there is existing escaped data, we could either modify the regex to match escaped entities like
<
or write a data migration to un-escape existing values. I've decided both of those are outside the scope of this PR ;)