"SimpleFeatures" Plugin - Version 1.0.11



Recommended Posts

Hi All!

 

Due to other commitments, I am sorry to say that I will be discontinuing SimpleFeatures GUI. It was fun while it lasted!

 

There is now a spinoff maintained by Bonienl called "Dynamix". It's based off the old SimpleFeatures, however Bonienl has put a lot of work into it to add further features.

 

I will eventually be re-creating the iTunes Server plugin, and a few others based on what I need.

 

Thanks for all of the support and kind words.

 

 

I've always wanted these features implemented, but didn't really find anything simple enough for my needs. This is a plugin for the general user, who just want pretty (but functional) stuff, with none of the complexities. There are many packages to choose from - and they all add to the functionality of unRAID. Bergware (bonienl) has been actively coding on this project too, much appreciated!

 

Download from Google Code: Download SimpleFeatures

Requires unRAID Version 5 rc11 and above.

 

Features:

Revamp GUI - Really improve the look and function of the stock gui.

Web Server - host websites from unRAID in this fully fledged lighttp server plugin!

iTunes Server - iTunes server for unRAID. Share your music over the network.

Stats - Gorgeous stats on drive usage, network, CPU and more.

Log Viewer - Real-time viewing of logs in a great GUI.

Active Streams - see who's watching what!

Activity Monitor - see what's doing what!

Cache Dirs - Cache directories in ram to make browsing fast.

Disk Health - Check on the health of your hard drives, and run disk tests.

Preclear - Pre-clear disks in the gui. NOT INCLUDED ANYMORE

DNS Server - Host your own DNS server.

Email Notifications - Get notifications if something goes wrong.

System Profiler - Get information on your unRAID hardware.

Sleep - Put your system to sleep, and automate it too!

 

Let me know what other features you might be wanting.

 

Install Instructions:

 

If you're migrating from an earlier version (before version 1.0.5), MAKE BACKUP OF FLASH DRIVE AS YOUR SETTINGS WILL BE DELETED!!!

 

For upgrade from 1.0.4 or below, you need to remove:

  • /boot/extra/simpleFeatures* files
  • /boot/config/plugins/simpleFeatures/ folder

 

Your server must have internet connectivity to download the required files for the packages (check your DNS)!

 

1. Download the "SimpleFeatures Plugins" zip from our Google Code page. Choose the plugins you wish to install. The Base package is required for all other packages to run.

 

2. Create folder called "plugins" inside the root folder of the flash drive - "/boot/plugins"

 

3. Copy in the plugins (must have .plg extension) you wish to have installed.

 

4. Reboot. If it looks funny, please clear your browser cache!

 

Developers:

 

Click link below to see how to add a notification to the webGui!

http://code.google.com/p/unraid-simplefeatures/wiki/NotificationsDeveloperInformation

 

 

Screenshots/Videos:

 

Preview of SimpleFeatures - Video

 

width=950http://unraid-simplefeatures.googlecode.com/files/Main.png[/img]

width=950http://unraid-simplefeatures.googlecode.com/files/Stats.png[/img]

screenshot-notification.png

 

 

Change Log:

1.0.11:

 

It has been a while (sorry folks)! BIG thanks for Bonienl for his hard work and efforts on this project! SimpleFeatures has a bunch of new plugins included (iTunes Server, Web Server, Temperatures plugin), bug fixes, reliability and style update.

 

all plugins

- moved plugin files to location "/boot/plugins"

- moved configuration files to location "/boot/config/simpleFeatures"

- each plugin uses its own configuration file (no more a single shared file)

- updated and improved plugin installation (plg files)

- added network check and wait upon plugin installation

- new txz compression format (smaller packages)

- introduction of new colored icons

- Style updates

 

itunes_server

- Recompiled from scratch with a decent build

- all new dependencies

 

active_streams

- revised internal storage: inline with other plugins

 

cache_dirs

- correction in "excluded/included" names selection

- fixed handling of folders with spaces in their name

- revised updater script

- updated version 1.6.7 of cahce_dirs

 

core_webGUI

- added 'SimpleFeatures' version display

- correction in folder structure

- added support for multiple ethernet ports in "Info"

- added new display setting "View of spun-down disks"

- added new display setting "Display unassigned disks"

- added support for bonding interfaces on the network settings page

- custom powerdown script overwrites stock one

- support for new "preclear" plugin

- updated version of jquery.js

- updated version of jquery-ui.js

- support of unRAID v5.0-rc11

- support of new system temperature plugin

- style adjustments

 

disk_health

- replaced 'static' references

- corrections in display of empty tables (no self-tests, no errors)

- code optimization

 

system_temperature

- new plugin

 

dns_server

- revised installation with packages

- fixed 'empty' domain name bug

- updated version of dnsmasq

- revised updater script

 

email_notify

- fixed saving of empty email address

- revised installation with packages

- updated version of ssmtp

- revised updater script

 

log_viewer

- stored javascripts in linux format

 

s3_sleep

- added sleep/shutdown selection

- added new options for communication monitoring (local/remote login)

- updated version of s3_sleep script

- fixed name field, could cause "garbage" in options

- fixed port selection

- revised updater script

- correction in TCP idle detection

 

system_info

- added support for multiple ethernet ports

- revised system summary

- replaced 'static' references

 

system_stats

- added ethernet port selection field

- added bits/bytes selection field

- added tooltip with dynamic summary

- added graph for disk array i/o

- added graphs per row selection field

- left & right aligned graphs

- cleanup of folder structure

- updated version of jquery-highcharts.js

- updated version of sysstat

- fixed empty display of network stats

- new coloring of graphs (gray style)

 

web_server

- revised installation with packages

- optional packages are *not* installed by default

- updated version of lighttpd

- updated version of PHP

- revised updater script

 

disk_preclear

- new plugin with GUI for "preclear_disk" script (courtesy Joe L.)

- adapted "preclear_disk" script for simpleFeatures (version 1.14)

 

web_server

- GD extension enabled by default

- sqlite extension enabled by default

- inclusion of PCRE package

 

1.0.5:

 

Holy moly! SimpleFeatures now uses the unRAID 5.0 plugin architecture. This means it's easier to install, and keeps us future proofed-ish.

 

Please read the new install instructions!

 

Bergware has made way too many bug fixes to list. He's awesome! Some style/ui updates from me as well.

 

1.0rc3:

 

New Package! Activity monitor: takes queues from Mac OS X activity monitor. Realtime monitoring of processes, with sorting & filtering. Kill processes with ease!

 

email-notify: Fixed bug with commander

 

1.0rc2:

 

base-webGUI

- updated jquery scripts to latest versions

- revised names of javascript files

- revised names of css files

- added status indicator on scheduler settings page

- added 'default' button to settings pages

- changed css coding in 'template.css'

- removed legacy file deletion from install script

- fixed default value for parity 'write' setting in install script

- fixed PHP 5.3.10 warnings

- fixed misplacement of parity check duration message

 

active-streams

- updated references to css files

- fixed error when hosts.cfg file does not exist

 

cache-dirs

- added status indicator on folder caching settings page

- added automatic quoting of exclude/include folder names

- added 'default' button to settings page

 

disk-health

- revised names of css files

- added setting for background polling (not mentioned earlier under rc1)

- added 'default' button to settings page

 

email-notify

- changed jquery code optimizations

 

s3-sleep

- added status indicator on sleep settings page

- added new field "Custom commands before sleep"

- added new field "Custom commands after wake-up"

- added 'default' button to settings page

- changed sleep(ing) button to stay enabled while sleeping

- changed selected and available WOL options are now dynamically read

 

stats

- revised names of css files

- added series 'cached' to memory graph

- added 'default' button to settings page

- fixed force disks display (in case of missing setting)

 

system-info

- updated references to css files

 

Due to the nature of the changes it is strongly recommended to update all packages to version v1.0rc2 and reboot the system after installation.

 

1.0rc1:

 

Base - webGUI

  - Aligned with unRAID v5.0-rc1

  - Few code optimizations

 

ActiveStreams

  - Single page with active streams and user names tabs

  - Suppress directory names in streams list

  - Sort IP addresses as number

 

DiskHealth

  - Corrected a regression bug: status of disks was not updated anymore in background

  - Changed failed disk to a "glowing" box

  - Code optimizations in javascript (jquery part)

 

Stats

  - Speed optimization for reading chart history data

  - Changed processor and memory graphs to a "stacked" display

  - Changed color for "transmit" display

  - Autoscaling units for memory and speed graphs

  - Few other code optimizations

 

All packages

  - Code corrections to suppress PHP warnings when using PHP-5.3.10

  - Updated time references

 

1.0b7:

 

- New display option "number format"

- New scheduler option "write corrections to parity disk"

- New sleep mode option "set WOL"

- Addons settings go under "SimpleFeatures Settings"

- Grouped "Confirmations" and "Scheduler" under "SimpleFeatures"

- Grouped "Notifications" settings

- Stats hour format follows display settings

- Internal optimizations

- Improve consistency in textual phrases (leading uppercase, followed by lowercase text) across the board

- CSS improvements to dropdown checkbox

- Let javascript routines on settings pages start after page loading is completed (jquery - document.ready)

- Few internal optimizations

- Corrected some regression errors (bug fixing)

- CSS Improvements on Stats & Health Packages

- Fix menu & links going grey after loading modal window

- Fix realtime stats not showing in certain situations

- Bug fixing

 

1.0b6:

 

Base Package:

Improvement: Misc library updates/code optimisation.

Improvement: Added ability to change date/time format.

Bug Fix: Misc CSS changes.

 

Disk Health:

Improvement: Bergware optimised code.

 

Email Notify:

Bug Fix: Help make notifications more reliable

 

S3 Sleep:

Improvement: Bergware - Added the possibility in the sleep settings to select multiple days and months (choose option "every")

Improvement: Bergware - Updated the s3_sleep script to version 1.1.2 - this version allows selection of the network interval checking and ethernet interface (if more than 1 interface is available)

Bug Fix: Corrected a bug in the cron creation

 

Stats Package:

Addition: Choose which graphs are loaded in Stats Settings page.

Bug Fix: Fixed cron entry.

Bug Fix: Cleaned up some code.

 

1.0b5:

 

Base Package:

Addition: Added number of active connections in both AFP and SMB settings pages. Also added in total connections in the Info panel.

Bug Fix: Disabled PHP notices for undefined variables.

Bug Fix: Added pagination to notification archives.

Bug Fix: Misc CSS fixes.

 

Stats Package:

Bug Fix: Fixed collation of historic data when new month comes around.

Bug Fix: Added loading screen for each graph until it's fully operational.

Bug Fix: Made data collection every minute instead of every 5 minutes.

 

1.0b4 - Improvements: Added an "API" for developers to add Notifications to the webGui. The email notification script now adds notifications to the webGui.

Improvements: Added SYSSTAT graphs under the Status page.

Bug Fixes: Some CSS/Misc. Fixes. Fixed some email script issues.

Bug Fixes: Sleep script fixes

 

1.0b3 - Improvements: Changed to a plugin like system (thank Bergware!). Added in webGui notifications to the base package.

Bug Fixes: Some CSS/Misc. Fixes.

 

1.0b2 - Improvements: Added the beginnings of notification system. Revamped user list page

Bug Fixes: Removed preference icons for shares/disk stats, as they didn't do anything. Fixed scheduler settings, thanks Bergware! Fixed menu CSS.

 

1.0b1 - Improvements: Merged project with modifications from Bergware. Gui is customizable thanks to his good work. Updated gui to match original project theme.

 

0.9 - Bug fixes: Improved SSMTP compatibility

 

0.8 - Improvements: With help of Madburg, added SSMTP as the default SMTP mailer. Configurable with the webGui, and compatible with nearly any mail server out there.

Bug Fixes: CSS Fixes for disabled buttons & iOS viewing. Fixed SMART checks in the notification scripts, and fixed over-temp powerdown.

Note: You will need to re-configure Email Configuration & SMTP Configuration (under Settings menu)

 

0.7 - Bug Fixes: Fixed compatibility with unRAID 5.0-beta8d. Now requires unRAID 5.0-beta8d

 

0.6 - Added a System profiler. There are now modals for System information and logs, with the ability for logs to open in new window from modal.

No more errors on Stats page, CSS fixes for menu bar & page length, various CSS improvements

 

0.4 - Combined replacement webGui into SimpleFeatures. Removed Cache drive from stats totals. Updated CSS on webGui to provide a nicer experience. Progress iframe now pops up from the bottom. Fixed other misc issues.

 

0.3 - Added email notifications to the plugin. Provides an easy to use gui to edit the configuration of unraid_notify script. Also includes socat for SSL.

Note: Remove previous notify scripts & configuration files beforehand, otherwise they may conflict with each other.

 

0.2 - Renovated the Disk Stats page. Now gives array totals, removed the un-necessary disk temperatures, and spruced up the CSS. Renovated the SMART page. Now provides realtime status of SMART Tests, ability to launch SMART Tests, and provides access to more logs.

 

0.1 - Added a button on the main screen to sleep the server. Sleeps using S3, turns off all services and syncs the filesystem before sleep. Once you wake the server up again, it will restart all services again.

Link to comment
  • Replies 2.8k
  • Created
  • Last Reply

Top Posters In This Topic

I would love to see these as individual packages rather then one big one.

All accessible from google code.

Then they can be updated or extended individually.

From what I saw of the smart check one, I would like to see a button to grab the whole log

or do initiate a short or long test.

Link to comment

I would love to see these as individual packages rather then one big one.

All accessible from google code.

Then they can be updated or extended individually.

From what I saw of the smart check one, I would like to see a button to grab the whole log

or do initiate a short or long test.

 

What about the ability to disable or enable certain features? I don't want to make management of packages a chore, as I'm doing this in my spare time.

 

Can add those features though, quite easy. In terms of the Smart Tests, does the array need to be offline? I'm thinking that the array should offline before the long test, with an estimated time of finish.

Link to comment

Can you add the total array size and total used and total free to your stats page? so one can instantly see the total size of the array along with info on total used space and total free .

 

Also im getting an error below when going to the Stats page (im using both simpleFeatures along with your new webGui)

 

Warning: Division by zero in /usr/local/emhttp/plugins/simpleFeatures/DiskStats.php on line 107

 

fyi, my go file loads your webgui first then the simpleFeatures addon

 

Nice work by the way! the new gui really makes unRAID look professional.

 

 

Link to comment

Can you add the total array size and total used and total free to your stats page? so one can instantly see the total size of the array along with info on total used space and total free .

 

Also im getting an error below when going to the Stats page (im using both simpleFeatures along with your new webGui)

 

Warning: Division by zero in /usr/local/emhttp/plugins/simpleFeatures/DiskStats.php on line 107

 

fyi, my go file loads your webgui first then the simpleFeatures addon

 

Nice work by the way! the new gui really makes unRAID look professional.

 

 

 

Cheers! Poss to send screenshot? I'll be working on the stat page in the next couple of days.

Link to comment

Can you add the total array size and total used and total free to your stats page? so one can instantly see the total size of the array along with info on total used space and total free .

 

Also im getting an error below when going to the Stats page (im using both simpleFeatures along with your new webGui)

 

Warning: Division by zero in /usr/local/emhttp/plugins/simpleFeatures/DiskStats.php on line 107

 

fyi, my go file loads your webgui first then the simpleFeatures addon

 

Nice work by the way! the new gui really makes unRAID look professional.

 

 

Cheers! Poss to send screenshot? I'll be working on the stat page in the next couple of days.

 

here is a screenshot of the error

 

unraidstatserror.th.png

 

 

EDIT: the error appears to have disappeared now that my Parity sync has finished. hope that helps in your tracking down the cause of the error :)

Link to comment

Cheers for the help. Found the error, will be fixed in next version.

 

Have math & css sorted for total size of array. See screenshot:

 

Will have key in the final version. Gray means space left (will show that in key). Green means space used. Orange is the size of parity. The size of the bars are relational to the size and amount of disks in the array.

 

Any other suggestions?

 

Screen_shot_2011-05-05_at_10_21.26_PM.png.34b17339240c1b4edb563020f5f63920.png

Link to comment

Cheers for the help. Found the error, will be fixed in next version.

 

Have math & css sorted for total size of array. See screenshot:

 

Will have key in the final version. Gray means space left (will show that in key). Green means space used. Orange is the size of parity. The size of the bars are relational to the size and amount of disks in the array.

 

Any other suggestions?

 

 

 

maybe add at the bottom of the graph, a Total Array Size: 9TB, Used: 4.35TB, Free: 4.63TB. or something nice like that.

 

 

I have to hand it to you, your skin is very slick. really helps one sell unraid to other people looking at getting a media server.

 

 

could you have a toggle to turn on "per disk" used space and freespace? and that text sit on the color like this?

 

RED=GREY :D

 

------------------------------------------------------

|                              USED:8GB || FREE:2GB  |

------------------------------------------------------

 

 

 

so in the div the = the green have the "USED:8GB right aligned" and in the div with the red/grey, have the "FREE: 2GB" left aligned.

 

I know there would be issues with displaying the freespace if the drive was new as there would be 0% of a green bar.

 

maybe have the text below the bar like so:

 

------------------------------------------------------

|                                              ||                  |

------------------------------------------------------

                                USED:8GB FREE:2GB

 

 

so far im loving your work :)

Link to comment

Cheers! Yes, the total array size will have a key!

 

I'm not sure how the aesthetics of 12 checkboxes before a bunch of graphs would look like, unsure of how you'd implement such a thing nicely. I have been working on the other graphs for disk specific size though, so hopefully they'll look nicer now  :)

Link to comment

;) Cheers. Going to try and tone down the greens on the disks, think they're a little too crass. Got a few other cool little tidbits coming up soon, stay tuned.

 

if i may i think the greens are magnificent, please if you can give the non coders like me a way to change the colors back to how it was IF you do change them.. :o)...

 

 

thanks

Link to comment

;) Cheers. Going to try and tone down the greens on the disks, think they're a little too crass. Got a few other cool little tidbits coming up soon, stay tuned.

 

if i may i think the greens are magnificent, please if you can give the non coders like me a way to change the colors back to how it was IF you do change them.. :o)...

 

 

thanks

 

:P Ok

Link to comment

So I'm doing some work on the SMART disk section. Someone wanted to initiate long and short smart tests via the gui, along with gathering the logs. This is possible, but there are a few things to consider. When unRAID spins down the drive, it will stop the test. I did consider changing spin down settings when you click the test, but this brings in a whole set of issues. I don't want to touch any spindown settings on the disk itself either.

 

How about a while loop for the duration of the estimated test time, that touches the disk (/dev/sd*) every minute until the time has finished? It's non destructive, and should let the test finish.

 

Thoughts?

Link to comment

I just added this and it is nice.

 

One feature that I would find helpful as a few others might.

On one of the screens (main or stats?), a "mover button" to manually run the mover script.

 

I have run it manually from the CLI a few times in playing around.

 

it would be especially useful if you sleep the server over night, you might otherwise miss the default mover at 4 am.

hrmm.. move then sleep? put a check box next to it, "sleep after move".

Link to comment
  • 2 weeks later...
  • Squid locked this topic
Guest
This topic is now closed to further replies.