From 1e70e097e7ac2b511a2f35b1f019aae7f18bc29a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 18 Nov 2024 09:32:21 +0000 Subject: [PATCH 1/2] Privacy and security tweaks from @ericshulman --- .../TiddlyWiki Single File Privacy and Security.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/workingwithtw/TiddlyWiki Single File Privacy and Security.tid b/editions/tw5.com/tiddlers/workingwithtw/TiddlyWiki Single File Privacy and Security.tid index 844b5e801..271777667 100644 --- a/editions/tw5.com/tiddlers/workingwithtw/TiddlyWiki Single File Privacy and Security.tid +++ b/editions/tw5.com/tiddlers/workingwithtw/TiddlyWiki Single File Privacy and Security.tid @@ -3,8 +3,8 @@ tags: [[TiddlyWiki Privacy and Security]] !!! Single File Configuration -As a practical matter, using ~TiddlyWiki in the single file configuration depends upon keeping that file secure and private. Users can employ the same tools that they use to keep any document and photograph secure. For many users, the simplest solution will be to use an existing file storage service such as [[Google Drive|https://drive.google.com]], [[Apple's iCloud|https://www.icloud.com]], or [[Dropbox|https://www.dropbox.com]]. Many users already rely on the privacy and security of these services. There are also open source alternatives such as [[Syncthing|https://syncthing.net/]] that allow users to synchronise files between their devices without using a third party service. +As a practical matter, using ~TiddlyWiki in the single file configuration depends upon keeping that file secure and private. You can employ the same tools that you use to keep your other documents and images secure. In most cases, the simplest solution will be to use an existing file storage service such as [[Google Drive|https://drive.google.com]], [[Apple's iCloud|https://www.icloud.com]], or [[Dropbox|https://www.dropbox.com]]. Many people already rely on the privacy and security of these services. There are also open source alternatives such as [[Syncthing|https://syncthing.net/]] that can allow you to synchronise files between your devices without using a third party service. -Users may wish to use additional layers of security. ~TiddlyWiki in the single file configuration offers built-in encryption using an industry standard encryption library to offer AES 128-bit encryption in CCM mode. All the data within the file is encrypted and cannot be accessed without entering the correct password. The password is never stored in the file, and so if it is lost, the data is lost. Instructions can be found in [[Encryption]]. +You may also wish to use additional layers of security. ~TiddlyWiki in the single file configuration offers built-in encryption using an industry standard encryption library to offer AES 128-bit encryption in CCM mode. All the data within the file is encrypted and cannot be accessed without entering the correct password. Your password is never stored in the file: if it is lost or forgotten, your data cannot be decrypted. Instructions can be found in [[Encryption]]. It is important to understand that ~TiddlyWiki's built in encryption is our best endeavour to offer privacy and usability. However, the encryption feature has not been subject to the kind of rigorous third party testing that characterises secure services like Signal or Syncthing. Cautious users may wish to use ~TiddlyWiki's built in encryption as an extra layer of security, but should take care not to rely on it as one would rely on industry standard encryption solutions that have been rigorously tested in a variety of situations. \ No newline at end of file From 36ae2e82be56fd6d7c2044f3306c3d81ff488c0a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 18 Nov 2024 09:32:38 +0000 Subject: [PATCH 2/2] Improve multicolumn display to avoid super narrow columns --- .../tiddlers/system/tw5.com-styles.tid | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid index c2fb0810a..9d4bad68f 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid @@ -130,19 +130,25 @@ type: text/vnd.tiddlywiki } } -@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { - - .tc-flex-columns { - display: flex; - gap: 1em; - } - - .tc-flex-columns.tc-flex-columns-2 > div { - width: 50%; - } - +.tc-grid-columns { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(25em, 1fr)); + gap: 1em; + width: 100%; /* Ensures container stretches fully */ } +.tc-grid-columns.tc-grid-columns-2 > div { + border-radius: 1em; + padding: 1em; + background-color: <>; +} + +.tc-grid-columns.tc-grid-columns-2 > div:nth-child(odd) { + color: <>; + background-color: <>; +} + + .tc-saving-sidebar-category { margin-bottom:10px; } .tc-saving-sidebar-category-title { margin-bottom:5px; font-weight:bold; } .tc-saving-sidebar-category-item { margin-left:10px; white-space:nowrap; }