This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
docs/Release Notes/Release Notes Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1515* [ config.Session.cookieMaxAge is ignored] ( https://github.com/TriliumNext/Notes/issues/1709 ) by @pano9000
1616* [ Return correct HTTP status code on failed login attempts instead of 200] ( https://github.com/TriliumNext/Notes/issues/1707 ) by @pano9000
1717* [ Calendar stops displaying notes after adding a Day Note] ( https://github.com/TriliumNext/Notes/issues/1705 )
18+ * Full anonymization not redacting attachment titles.
1819
1920## ✨ Improvements
2021
Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ function getFullAnonymizationScript() {
1313 . map ( ( attr ) => `'${ attr . name } '` )
1414 . join ( ", " ) ;
1515
16- const anonymizeScript = `
16+ const anonymizeScript = /*sql*/ `\
1717UPDATE etapi_tokens SET tokenHash = 'API token hash value';
1818UPDATE notes SET title = 'title' WHERE title NOT IN ('root', '_hidden', '_share');
1919UPDATE blobs SET content = 'text' WHERE content IS NOT NULL;
2020UPDATE revisions SET title = 'title';
21+ UPDATE attachments SET title = 'title';
2122
2223UPDATE attributes SET name = 'name', value = 'value' WHERE type = 'label' AND name NOT IN(${ builtinAttrNames } );
2324UPDATE attributes SET name = 'name' WHERE type = 'relation' AND name NOT IN (${ builtinAttrNames } );
You can’t perform that action at this time.
0 commit comments