TiddlyServer 2.1.2 beta

127 views
Skip to first unread message

Arlen Beiler

unread,
Aug 26, 2019, 8:41:56 AM8/26/19
to TiddlyWiki
I've gotten another round of updates made to TiddlyServer. 

The old tree format is back so an object works as a group and a string works as a folder. If an object contains only folders or the more advanced group element format which provides a key property for the group, you can use an array instead of an object. 

Here is a link to the current master, so you have a known good link when I make updates. This one should be working a lot better than the last one was. I've made so many changes to the code that it took me a while to get all the bugs worked out. So this one should be a lot better but I don't know if it is flawless yet or not. As always, feel free to open an issue on Github if you run into any issues.


Let me know what your feedback is. 
Arlen

mauloop

unread,
Aug 27, 2019, 4:16:44 PM8/27/19
to TiddlyWiki
Dear Arlen,

I ran my wikis on 2.1.1 in the last four months with satisfaction. I was eager to update it to TW 5.1.20 (I was planning to do it by myself), hence TiddlyServer 2.1.2 is welcome. Just some questions:
  • can I simply copy settings.json from 2.1.1 to 2.1.2 (that I hardly converted from 2.0 format to the new one) or should I revert it to the old format?
  • what's the use of datafolder-template.json? It looks like a tiddlywiki.info template
  • TW 5.1.21 is around the corner with some 5.1.20 bugs fixed. Is TiddlyServer ready for a further TW update?
Best regards,

)+(auloop

Arlen Beiler

unread,
Aug 27, 2019, 8:20:28 PM8/27/19
to TiddlyWiki
Yes, you can just copy settings.json over and if it doesn't complain then you're good. 
Yes, datafolder-template.json is a tiddlywiki.info template. It is the tiddlywiki.info file from the server edition and is used when you create a data folder from a directory index page. 
Yes, TiddlyServer 2.1 is all set for future updates. I expect to support the latest version of TiddlyWiki for a long time. 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0ff2005a-ad14-4779-9cdf-8805f500ceab%40googlegroups.com.

Arlen Beiler

unread,
Aug 27, 2019, 8:21:20 PM8/27/19
to TiddlyWiki
You can also just create a new settings.json file using example-settings.json and then copy the tree over from your old file. 

mauloop

unread,
Aug 28, 2019, 12:28:31 PM8/28/19
to TiddlyWiki
Thanks for your replies. I started with a carbon copy of my 2.1.1 setting. Despite some warnings it started and seems to work fine.

Following are the warnings, raised while starting up. They are not blocking. I will take time to investigate them further before eventually open an issue on your Github repo. They look like syntax errors, not server bugs.

Regards, )+(

Settings file: K:\MK\opt64\TiddlyServer-2.1.2-beta\settings.json
Check server config result: {
  "putsaver": {
    "expected": "expected an object with keys \"backupFolder\"?,\"etag\"?,\"etagAge\"?,\"gzipBackups\"?, , ",
    "union_result": [
      {
        "etag": "expected one string of [\"optional\",\"required\",\"disabled\"]"
      },
      false
    ]
  }
}
32 32 64 16
Check server config result: {
  "putsaver": {
    "expected": "expected an object with keys \"backupFolder\"?,\"etag\"?,\"etagAge\"?,\"gzipBackups\"?, , ",
    "union_result": [
      {
        "etag": "expected one string of [\"optional\",\"required\",\"disabled\"]"
      },
      false
    ]
  }
}
Creating servers as http
 SERVER  2019-08-28 18:10:23 server 127.0.0.1 listening
Open your browser and type in one of the following:



Reply all
Reply to author
Forward
0 new messages