It's about time for an update, containing some new features and a lot of bugfixes.
Some changes have been made to be able to run Flex on x86 NAS devices from Qnap and Synology, and still keep the same development line. Their packages will be released soon, containing this same svn version.
Here's the list:
svn 1466
* changed : !topic now has -s (silent) option
* changed : !ipinfo history is now sorted by IP and logintime
* changed : !allow and !override can now use * to allow/override for all profiles
* changed : !unblock * <blocktype> Remove all blocks of a certain type. Blocktypes: mute,kenny,muppet,connects,pm
* changed : CreateCertificate will not use 'sudo' on Synology and QNAP NAS devices (uses root)
* changed : charset conversion modified to fix conversion problems on Linux-based NAS devices
+ added : commandline parameter --storagedir, this is a main folder containing folders: logs,settings,import,backup / overrides logdir and configdir parameters (logdir and configdir may be deprecated later)
+ added : commandline parameter --device, default = "pc", Synology NAS = "synox86", QNAP = "qnapx86"
+ added : !setredirects * <address> To set a redirect addresses for all types, or use main,full,minshare etc. instead of * to set it for specific types.
+ added : !set regme_msg <msg> To set a configurable message as response to !regme -h
+ added : !set threadchecker <true/false> Enables the threadchecker, disabled due to too many false positives in svn 1417, enable it for debugging if your hub freezes occasionally.
- fixed : removed reconnection timeout once when user is redirected because ADC or NMDC is disabled, for instant reconnection to the other protocol in same hub
- fixed : Hub would crash when closing the hubsoft with Gui (x in topright or ALT-F4) is cancelled in confirmation dialog, and then hubsoft is closed again
- fixed : mixup in mutexes for timer function could make the hub crash or lockup when some timers were running in their own thread
- fixed : bug when trying to restart a thread that ran too long
- fixed : !regme -h bug
- fixed : tiny char conv issue in update check made it send the report in main instead of feed room for some settings
- fixed : webstats issue with total sharesize > 200Tb
- fixed : paths for logdir, configdir can now be absolute paths outside of the FlexHub folder
- fixed : account import from GUI
- fixed : in Hub-Start.lua made the hub crash on errors; Error: ./core/Hub-Start.lua:129: attempt to concatenate a boolean value
- fixed : FilterPass ran twice on each msg to feed
- fixed : change to socketkiller to prevent errors when a socket/client closes unexpected
- fixed : NMDC bad handling of $SR that contained an endpipe in filepath
- fixed : ADC Now blocking commands from client: GPA, ZON, ZOF, SID
- fixed : ADC SID and state validation for unknown message types
- fixed : ADC H,I and U messages from client will now trigger a wrongprotocol_action
- fixed : ADC INF SU fields from client were added incrementally instead of replaced
- fixed : ADC too quick reconnecting could result in a < > TL message in mainchat
- fixed : ADC INF field VE from hub now includes current svn version on connect
NOTE: For !restart to work when running multiple FlexHubs, you'll have to make sure that the files you start the hub with, have a unique name. For Windows this means renaming both FlexHub.lua and FlexHub.exe (both the .exe and the .lua need to have the same name though), for Linux this means renaming FlexHub.lua only. So for example in Windows: rename FlexHub.lua to FlexHub1.lua and FlexHub.exe to FlexHub1.exe.
NOTE: Linux --nogui version needs the file: bit.so in the FlexHub lib-folder, available in the Linux archive in download section if you don't already have it. The FlexHub team currently does not support or supply Linux x64 versions.
NOTE: After '!update now' the hub will tell you if it needs a !restart or if you can just use !rs (reload scripts) instead. If the path to FlexHub.exe contains spaces the hub will have to be started once manually if it was running svn 1108 or earlier before updating, a correct restart script (for use with !restart) will only be created on manual startup.
Hope you will enjoy this new release, if you run into trouble with it, let us know. And if it runs fine, you can let us know too ofcourse. Your feedback is much appreciated!
Regards, the FlexHub team