[TW5] Bob and BobEXE version 1.5.0, Apath, automatic backups, access limits to media

185 views
Skip to first unread message

Jed Carty

unread,
Mar 30, 2020, 6:32:52 AM3/30/20
to TiddlyWiki

This add some fixes to the back-end, more configuration UI, settings to limit access to media files to a single wiki and automatic backups

Something about the newer node versions or the method that I am using to package the executable files means that 32bit systems aren't being supported. If this is a problem I can try and figure it out, but I can't make any promises.

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 (hopefully) full changelog:

  • Fixed some problems with action-updatesetting
  • Add configuration UI for logging
  • Tweaked some configuration instructions
  • Added udp multicast to find other Bob servers on the local network
    ** For federation stuff
  • Started UI for managing interactions with other servers
  • Fixed problems with saving images to the server and some settings checkboxes that didn't work
  • Fixed a problem with the syncer that could cause it to try and save files it shouldn't.
  • Setting the pathprefix does what it should now.
    ** A brief explaination of the difference between pathprefix and proxyprefix is added to Configuration.md
  • Added the perWikiFiles setting which makes files served with a specific wiki (by default in the files folder next to the wikis tiddlers folder) are only accessible by that wiki. Files served under filePathRoot are accessible to every wiki.
    ** globally accessible files are served with the /files/ prefix, other wikis have their wiki specific files served with the /wikiName/files/ prefix. For the RootWiki you have to reference wiki specific files with /RootWiki/files/ as the prefix, for other wikis the wikiName part of the prefix is the same as the url path.
  • On the back-end added a hook for wiki loaded and wiki modified to the server
  • Added autobackups
  • fixed a bug that would sometimes prevent wikis from connecting to the server if the RootWiki wasn't already loaded.
  • Added a default settings file that contains a value for every setting.

Mohammad Rahmani

unread,
Mar 30, 2020, 6:54:18 AM3/30/20
to tiddl...@googlegroups.com
Hi Jed
Downloaded and I am experimenting on Windows 10. Works like a charm.

Thank you


Best wishes
Mohammad


--
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/10e9370f-2e0f-4fcb-bf85-30fb0e764c05%40googlegroups.com.

Mohammad

unread,
Mar 30, 2020, 7:01:06 AM3/30/20
to TiddlyWiki
Jed,
 Bobwin.exe creates the folders and then exit!
 What is the problem?

--Mohammad

oleghbond

unread,
Mar 31, 2020, 4:12:26 PM3/31/20
to TiddlyWiki
The same - does not work.

понеділок, 30 березня 2020 р. 14:01:06 UTC+3 користувач Mohammad написав:

Jed Carty

unread,
Mar 31, 2020, 4:19:45 PM3/31/20
to TiddlyWiki
I do not have a way to test on windows, so I need more information before I can be of any help.

Joshua Fontany

unread,
Mar 31, 2020, 8:54:27 PM3/31/20
to TiddlyWiki
When I run it from the terminal I get `Segmentation fault`.

How could I debug that for you? Clone the Bob.exe repo? I don't have a full Visual Studio setup on my laptop jut VSCode...

Best,

Joshua F

Mohammad

unread,
Apr 1, 2020, 1:08:39 AM4/1/20
to TiddlyWiki
Jed


On Wednesday, April 1, 2020 at 12:49:45 AM UTC+4:30, Jed Carty wrote:
I do not have a way to test on windows, so I need more information before I can be of any help.

  1. download bobWin.exe  (Apat) from  https://github.com/OokTech/TW5-BobEXE/releases 
  2. Put in C:\Bob
  3. double click on BobWin.exe, a terminal windows opened and these directories (folders) created
    1. Editions
    2. IndexWiki
    3. Plugins
    4. Themes
  4. nothing extra happened and terminal closed
  5. I started again BobWin.exe by double clicking and a terminal window opens and then quickly closes
As I reported earlier the Bob plugin works fine, so this error only related to Bonwin.exe
Windows 10

--Mohammad

TiddlyTweeter

unread,
Apr 1, 2020, 9:43:03 AM4/1/20
to TiddlyWiki
Ciao Jed

I'm having same issue as others on Windows 10 with Bob.exe.

Is there a way to manually add a "error reporting level" setting to Bob.exe settings?

Maybe if it had a "verbose" setting node could return more useful info for it on Windows on it bailing out?

A thought
TT

TiddlyTweeter

unread,
Apr 1, 2020, 10:14:46 AM4/1/20
to TiddlyWiki
I made some comments before about how to use Bob.exe to get more feedback on exit.

Windows users could use a batch file with a persistent console process IF testing so that on exit any error message does not disappear ... https://groups.google.com/d/msg/tiddlywiki/vBNHtxZxvh8/MvWhCLj2AgAJ

The reporting settings I mentioned in last post.

TT

Jed Carty

unread,
Apr 1, 2020, 1:08:43 PM4/1/20
to TiddlyWiki
I think that the only way I will be able to act on anything is if someone opens a command line and runs the exe from there and gives me the error messages.

Mohammad

unread,
Apr 1, 2020, 1:16:01 PM4/1/20
to TiddlyWiki
Jed,
 Running from terminal returns nothing!

It just simply shows the prompt after 1 or 2 second no output!

--Mohammad

TiddlyTweeter

unread,
Apr 1, 2020, 2:14:07 PM4/1/20
to TiddlyWiki
Jed Carty wrote:
I think that the only way I will be able to act on anything is if someone opens a command line and runs the exe from there and gives me the error messages.

Mohammad is right ... 

 

        >> BOB BobEXE v1.5.0 <<

--- GOTO BOB DIR -----------------------

                       Run in: C:\bag\tw5\bob_150
   Bob main directory: C:\bag\tw5\bob_150

--- BOB DIRS under "C:\bag\tw5\bob_150\"

01/04/2020  17:45    <DIR>          .
01/04/2020  17:45    <DIR>          ..
01/04/2020  17:45    <DIR>          Editions
01/04/2020  17:45    <DIR>          IndexWiki
01/04/2020  17:45    <DIR>          Plugins
01/04/2020  17:45    <DIR>          Themes

--- LAUNCH BOB -------------------------

         Title as: BobEXE v1.5.0
   Launch via: cmd /K "BobWin.exe" (persistent console)

--- BOB CONSOLE ------------------------


C:\bag\tw5\bob_150> 

Nothing is returned.

TT
 

TiddlyTweeter

unread,
Apr 1, 2020, 2:21:04 PM4/1/20
to TiddlyWiki
Jed, after first run the setting JSON looks like ...

{
  "wikis": {},
  "ws-server": {
    "host": "127.0.0.1"
  },
  "suppressBrowser": false
}

Just, FYI

TT

TiddlyTweeter

unread,
Apr 1, 2020, 2:32:19 PM4/1/20
to TiddlyWiki
Jed, I tried adding the "logger" setting to see if it would return anything.

 "logger": {
    "consoleLogLevel": 2
  },

Made no difference. Exit is silent.

Best wishes
TT

On Wednesday, 1 April 2020 19:08:43 UTC+2, Jed Carty wrote:

Mohammad

unread,
Apr 17, 2020, 2:49:00 AM4/17/20
to TiddlyWiki
Hi Josiah,
 Check the new version and it works!

--Mohammad
Reply all
Reply to author
Forward
0 new messages