Menu

YfiDevelopWebtop

Anonymous

Introduction

YFi Hotspot Manager has been around for some time now, the Web evolved, and there are many exiting things which happened since the initial launch.
The time has come to make good of these new technologies which means a complete rewrite. The new version will feature the following:

Feature
Comment

Webtop front end
Ext JS is just miles ahead from any other JavaScrip toolkit available today. It will be using Ext JS version 4

REST back-end
CakePHP is now in version 2.x and has gone through many enhancements. We will create a REST interface to make it easy for any front-end or third party system to integrate with


Feature Requests / Inclusions

Realms

  • Geo-coding per physical address
  • Logo
  • Gallery
  • DEFAULT realm for users without an '@realm'

NAS Devices

  • Specify a time per NAS definition that accounting records will be auto closed
  • Dynamic Clients
  • Geo-coding per physical address of device
  • Default realm for Dynamic Login Pages

Debugging

  • Easy debugging with various filters selectable filters
  • Performance testing

Accounting

  • Archiving of older data

Vouchers

  • Option to use pin codes instead of username and passwords
  • Auto delete / archive option for vouchers

Permanent Users

  • Add expiry date for permanent users
  • Add activation date for permanent users

Other hook-ups

  • LDAP
  • Active Directory

FreeRADIUS Dictionary

  • Standard gridview / with filter of 3 types eg [ All; FreeRADIUS specific; RFC/Technology; Custom ]
  • Allow for addition of custom items including integer : name mappings
  • Allow for import of custom dictionary
  • Allow for modification of RFC/Technology specific dictionary.

Developer Notes

Discussion Pages

Generate a treeview from Acos model

private function _ReturnChildren($id){
    $children = array();
    $ch = $this->Acl->Aco->children($id,true);
    foreach($ch as $c){
        $id = $c['Aco']['id'];
        $al = $c['Aco']['alias'];
        //See if this has some children
        $ch_ch = $this->_ReturnChildren($id);
        if(count($ch_ch)!=0){
            array_push($children, array('id' => $id, 'alias' => $al,'children' => $ch_ch));
        }else{
            array_push($children, array('id' => $id, 'alias' => $al));
        }   
    }
    return $children;
}

Related

Wiki: DevelopRestfull
Wiki: Home