Skip to content

Releases: Arlen22/TiddlyServer

File Uploads

07 Mar 14:00
Compare
Choose a tag to compare

The main feature of this release is the ability to upload files and create subdirectories and data folders in the directory index.

For the editions zips, see https://github.com/Arlen22/TiddlyServer/releases/tag/2.0.11

The template for the tiddlywiki.info is in the tiddlywiki folder in the file called datafolder-template.json. This is copied into the new data folder as tiddlywiki.info. Of course, you are always welcome to upload a tiddlywiki.info to any directory and it will immediately turn into a datafolder.

To upgrade, just follow the installation instructions, and copy the settings.json file from the old installation to the new one. https://github.com/Arlen22/TiddlyServer#quick-install

TiddlyWiki 5.1.15

11 Dec 13:14
Compare
Choose a tag to compare

This release updates to TiddlyWiki 5.1.15, corrects the case of a file name, and fixes 2.0.10.

Post from release 2.0.9

Probably the most notable addition to TiddlyServer in this release is a basic WebSocket server which connects with data folders. At the risk of jumping the gun, it simply uses the hooks mechanism, but I am hoping that we will be able to add a WebSocket server/client to the core in the near future in a way that still allows TiddlyServer to operate seamlessly. We shall see, but it should be simple.

The other important change is relative linking. The trailing slash has been removed from data folders so that they now work exactly like single file wikis. This allows relative links to work when importing tiddlers from single file wikis to data folders and vice versa.

This release adds two settings to disable Etag checking or allow files to match if they were edited within so many seconds of the version being saved. This allows you to keep from overwriting hours of work because you have the same file open in more than one tab, but still allows you to continue saving if there is a slightly delayed write or your antivirus changes the modified time immediately after writing.

Changes in this release

  • Add the etag and etagWindow options to partially or completely disable etag checking.
  • Remove the trailing slash from data folders in order to allow relative links in tiddlers imported from single file wikis to continue to work without changing the folder structure.
    • Data folders are opaque and appear to the user to be identical to a single file TiddlyWiki, therefore the relative links should also work the same.
  • Move the TiddlyWiki bundle into the repository since changes have been made to the boot code.
  • Add a websocket server to TiddlyServer and add hooks to the data folders.
  • Point to the actual TiddlyWiki package.json file in the bundle instead of having a copy in the src folder.

There is no longer a bundled zip. Everything in the bundled version is now included in the repository, so just download the source code from the link below and follow the instructions like normal.

2.0.10

11 Dec 09:41
Compare
Choose a tag to compare
2.0.10 Pre-release
Pre-release

Please use https://github.com/Arlen22/TiddlyServer/releases/tag/2.0.11

This release is completely broken.

WebSocket server and relative linking

06 Dec 15:36
Compare
Choose a tag to compare

This release wraps up the changes made up to this point in preparation for upgrading to the next version of TiddlyWiki.

Probably the most notable addition to TiddlyServer in this release is a basic WebSocket server which connects with data folders. At the risk of jumping the gun, it simply uses the hooks mechanism, but I am hoping that we will be able to add a WebSocket server/client to the core in the near future in a way that still allows TiddlyServer to operate seamlessly. We shall see, but it should be simple.

The other important change is relative linking. The trailing slash has been removed from data folders so that they now work exactly like single file wikis. This allows relative links to work when importing tiddlers from single file wikis to data folders and vice versa.

This release adds two settings to disable Etag checking or allow files to match if they were edited within so many seconds of the version being saved. This allows you to keep from overwriting hours of work because you have the same file open in more than one tab, but still allows you to continue saving if there is a slightly delayed write or your antivirus changes the modified time immediately after writing.

Next on the agenda is the upgrade to TiddlyWiki 5.1.15.

Changes in this release

  • Add the etag and etagWindow options to partially or completely disable etag checking.
  • Remove the trailing slash from data folders in order to allow relative links in tiddlers imported from single file wikis to continue to work without changing the folder structure.
    • Data folders are opaque and appear to the user to be identical to a single file TiddlyWiki, therefore the relative links should also work the same.
  • Move the TiddlyWiki bundle into the repository since changes have been made to the boot code.
  • Add a websocket server to TiddlyServer and add hooks to the data folders.
  • Point to the actual TiddlyWiki package.json file in the bundle instead of having a copy in the src folder.

There is no longer a bundled zip. Everything in the bundled version is now included in the repository, so just download the source code from the link below and follow the instructions like normal.

Debug messages for 412 errors

19 Oct 12:22
Compare
Choose a tag to compare

Some users have been running into 412 errors quite a bit, meaning the file was changed since they last saved it. This error is meant to protect against a stale copy being saved to the server, but some users have been reporting 412 errors when they only have one wiki open. This release logs information about the 412 error to the console.

The example-settings-simple.json file contains all the basic options. It also specifies a default tree -- one "data" directory which is sibling to the folder the settings.json file is in.

 - TiddlyServer-2.0.8
    - settings.json
 - data

Better error messages and nexe support

10 Oct 11:58
Compare
Choose a tag to compare

If upgrading from a previous release, do not copy the new files into the old distribution. Unzip the new folder and only copy settings.json into it from the old folder.

This release includes several significant changes.

  • A new favicon inspired by the NodeJS icon. This might not be the final icon. I posted a request for comments on the Google Group: https://groups.google.com/forum/#!topic/tiddlywiki/0Jl6EaH6rQM
  • The source code installation method has changed, and no longer uses npm install. The readme has been updated to reflect this.
  • A custom error message has been added to indicate exactly where the problem is when settings.json fails to parse. Usually the error is either an extra comma or bracket, so you may need to look at the previous line to the one indicated in the error message to find the actual source of the problem.
  • Under the hood, the files have been modified somewhat to support compiling using nexe. This is still in the testing stage but it should be stable, so if you're interested you can download the "nexe" version for your OS. The executable is inside the dist folder.
  • A mac app launcher script has been added, and users are welcome to test it and let me know how it works. To use it, rename the TiddlyServer folder to Contents, then place it inside another folder and name that folder Tiddlyserver.app. You should now be able to double-click it to launch TiddlyServer. To open the folder, right click on it and click Examine Package Contents (or something like that). This is very much experimental so all feedback is welcome.

This release uses TiddlyWiki5 release v5.1.14.

Add error handling for single file backup

11 Jul 16:54
Compare
Choose a tag to compare

This release adds an error message if there is an error while saving the backup. The save will not work, and an error 500 will be returned.

Also, the bundled version no longer includes the TiddlyWiki editions folder. It is now included as a separate download. It will be marked with the TiddlyWiki version it was from and matches the TiddlyWiki core version in use.

Add version number to directory listing

08 Jul 02:11
Compare
Choose a tag to compare

The main change here is to add a version number to the directory list.

And package.json will also be kept updated with the correct version number.

Added backups for single file saving

07 Jul 19:15
Compare
Choose a tag to compare

This release adds backups for single file saving. Data folders are still on their own with whatever TiddlyWiki has for them. The old version of a single file put request will be gzipped (to save space) and stored in the specified directory, which is undefined by default. If no directory is specified, it will not create a backup. The file is named with the server request path and the modified time of the original file.

Updated default settings

05 Jul 23:43
Compare
Choose a tag to compare

In this release I added more hard coded defaults. The Readme lists the default settings.

This release also includes a zip file with the node_modules folder included. The TiddlyWiki version included is 5.1.14.

The plugins, themes, and languages, as well as the core, have been bundled into one file each to improve transfer and load times.

Major changes

  • The host is now 127.0.0.1 (localhost) by default. In order to access TiddlyServer over the network, set it to a specific IP address, or 0.0.0.0 to listen on all IP addresses on the computer.