Due to the changes in this update it has a higher than normal chance of having weird bugs. Back up your data and please make bug reports. That is why it is labelled beta.
This update changes a lot on the back end. On the front end the changes are mainly updates to the configuration UI so there is almost no reason to use the manual settings tab.
- Lazy loading
- The ServerImages plugin is now a part of Bob
- Bob uses the core syncer for saving and loading
- The BobSaver part only accepts '.html', '.htm' and '.hta' files (a security thing, it shouldn't affect anyone)
- Added an option to disable the file system monitor, this can help with network drives and if you are using an external file syncer. Using external file syncing applications may still cause trouble.
- UI improvements for the file server configuration and other configuration options.
The plugin version of Bob is on GitHub here: https://github.com/OokTech/TW5-Bob
The newest version of BobEXE is available here: https://github.com/OokTech/TW5-BobEXE/releases
If you want to support the development OokTech has a patreon page here https://www.patreon.com/OokTech
or if you prefer there is a link for PayPal here https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZG94CTLHTKYRE
The full changelog is here:
!! Version 1.4.0-beta Garden Gnomes
''Note:'' this version changes some parts of how tiddlers are saved to the file system. There shouldn't be any problems but there is always a risk of data loss when making changes like this. Make sure to backup your data.
- Implemented lazy loading
** You can enable/disable lazy loading in the Bob Settings tab of the $:/ControlPanel
** Documentation is under the Bob Settings tab in the control panel with the other documentation - Setup saving and loading in normal syncadaptors to work better with the core
** The dirty indicator is now handled by the core, so it should behave better now
*** Saving now takes longer, but 'longer' is about 1 second instead of about 1/10th of a second.
**** This is because of a delay built into the core, it isn't a bug. In future versions of tiddlywiki this will be configurable.
** The 'there are unsaved changes' message when you close a tab is also now handled by the core, so it should behave better as well. - finished moving all of the functionality of the
ServerImages plugin into Bob.
** This means that the ServerImages plugin is no longer necessary.
** Information about the new setup is available in the Bob Documentation called Server Media
** The server media part is enabled by default if you turn on the file server. It can be disable in the $:/ControlPanel under Bob Settings -> Server -> File Server
*** The server media component only works if the file server is enabled, if it isn't enabled than the server media component has no effect. - Changed
WebsocketAdaptor.js to MultiWikiAdaptor.js because it has nothing to do with websockets, it handles saving and loading when you have multiple wikis. - Removed some unused template files
- Switch to using more asynchronous functions
** changing multiple functions in the file system monitor to use asynchronous versions
*** While this prevents some race conditions and reduces the places where writing tiddler changes can be delayed, it introduces another race condition that arises when you rename a tiddler or a file on the file system so that the tiddler file name does not follow the rules used by the wiki. The file system monitor deletes the incorrectly named file and creates a new file with the expected name. The file watcher starts acting before the file is completely deleted so it acts as though the file still exists which leads to an error being thrown. The error is handled but there may be unexpected behaviour is situations where tiddler titles or file names are changed in the file system. Back up your data. - Modified the BobSaver so the server only accepts files with the extensions
.html, .htm and .hta
** Changing the host for the BobSaver requires that you agree to not ask for tech support and understand that none will be given by filling out the acceptance part of the configuration - Added a checkbox to the server tab to enable or disable saving media on the server and creating a tiddler with a
_canonical_uri field when importing media into the wiki - ''(BobEXE only)'' Added a checkbox to enable or disable automatically opening up a browser when BobEXE starts. This has no effect if you are using the plugin version.
- Checkboxes that change settings no longer require you to click a button to save the change
** Text entry boxes still require you to click a button to save the updated settings. - Added/updated documentation about the saver server and the media server (the replacement for the
ServerImages plugin.) - ''(BobEXE only)'' Added command line arguments to set the location of the index wiki and the wikis folder.
- Added an option to disable the file system watcher
** This may help reduce memory usage further if you don't ever edit tiddlers on the file system
** ''Using syncing software with your wiki folders is not recommended, it can cause dulpicate files and data loss, Bob and the syncing software fight each other when changing files.'' This may help reduce conflicts if you are using syncing software for your wiki folders.
** This helps prevent bugs that arise from not being able to properly monitor network drives.
*** This is a limitation of networked drives, it is not specific to Bob. I may write an alternate filesystem monitor that can function with network drives but it will necessarily be slower and have the potential to miss changes made on the file system. This may be unavoidable on networked drives.