[asterisk-gui] Re: pari: trunk r106 - in /trunk/config: options.html scripts/astman.js users.html

Pari Nannapaneni pari at digium.com
Fri Nov 3 07:40:14 MST 2006


 > Oh hey very good active. pari update every hour.
Ya, I'd be working full time on this GUI for atleast a couple of months.

 > Pari can you tell me roadmap because i want to move from freepbx to 
asterisk-gui in my distro.
Well here are a few things in my things to do list.

1. As of now, the gui seems to work fine with Firefox & opera
    If i get some time I want to work on supporting IE as well.

2. Ability to define a custom provider in the "Service providers"

3. A setup wizard thingy in GUI to get the GUI up & running
   Which probably should also take care of setting up the
   default Voicemenu, default Voicemail extension, default Dialplans etc

4. GUI/Astman.js Documentation for Developers

5. minor bug fixes (think this would be here for a while)

- regards
pari
--
Pari Nannapaneni
Digium Inc


Dome C. wrote:
> Oh hey very good active. pari update every hour.
> Pari can you tell me roadmap because i want to move from freepbx to 
> asterisk-gui in my distro.
>
> i have some patch want to send to you but on version 96 :)
> I try to patch from new version and send to you again.
>
> Dome C.
>
> asterisk-gui-commits at lists.digium.com wrote:
>> Author: pari
>> Date: Thu Nov  2 18:23:58 2006
>> New Revision: 106
>>
>> URL: http://svn.digium.com/view/asterisk-gui?rev=106&view=rev
>> Log:
>> minor bug fixes in Users
>> Modified:
>>     trunk/config/options.html
>>     trunk/config/scripts/astman.js
>>     trunk/config/users.html
>>
>> Modified: trunk/config/options.html
>> URL: 
>> http://svn.digium.com/view/asterisk-gui/trunk/config/options.html?rev=106&r1=105&r2=106&view=diff 
>>
>> ============================================================================== 
>>
>> --- trunk/config/options.html (original)
>> +++ trunk/config/options.html Thu Nov  2 18:23:58 2006
>> @@ -161,7 +161,10 @@
>>  
>>  
>>  function compare_passwords(){
>> -    if( $('newpass').value==$('newpass_rep').value && 
>> $('newpass').value.length > 3 ){
>> +    if( $('newpass').value.length < 4 ){
>> +        $('dopwdsmatch').style.color = "#EE0000";
>> +        $('dopwdsmatch').innerHTML = "Password should be atleast 4 
>> characters !" ;
>> +    }else if ( $('newpass').value==$('newpass_rep').value){
>>          $('dopwdsmatch').style.color = "#005D2E";
>>          $('dopwdsmatch').innerHTML = "Passwords Match !" ;
>>      }else{
>>
>> Modified: trunk/config/scripts/astman.js
>> URL: 
>> http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?rev=106&r1=105&r2=106&view=diff 
>>
>> ============================================================================== 
>>
>> --- trunk/config/scripts/astman.js (original)
>> +++ trunk/config/scripts/astman.js Thu Nov  2 18:23:58 2006
>> @@ -704,6 +704,11 @@
>>  
>>  
>>  function save_item(box) {
>> +    if (box.callbacks.beforeSaving){     // like for field 
>> validations etc.
>> +        var tmp =    box.callbacks.beforeSaving();
>> +        if ( tmp == false )
>> +            return false;
>> +    }
>>      var opt = {
>>          method: 'get',
>>          asynchronous: true,
>> @@ -1358,8 +1363,13 @@
>>                              pattern = this.getAttribute('pattern');
>>                              if (pattern && check_pattern(pattern, 
>> this.oldvalue) && !check_pattern(pattern, this.value)) {
>>                                      this.value = this.oldvalue;
>> -                            } else
>> +                                    if (widgets['status']) 
>> +                                        widgets['status'].innerHTML 
>> = "<font size='-1' color=red>Invalid Character !</font>";
>> +                            } else{
>> +                                    if (widgets['status']) 
>> +                                        widgets['status'].innerHTML 
>> = "";
>>                                  this.savewidget.activateSave();
>> +                            }
>>                              return true;
>>                          }
>>                      }
>>
>> Modified: trunk/config/users.html
>> URL: 
>> http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?rev=106&r1=105&r2=106&view=diff 
>>
>> ============================================================================== 
>>
>> --- trunk/config/users.html (original)
>> +++ trunk/config/users.html Thu Nov  2 18:23:58 2006
>> @@ -85,7 +85,17 @@
>>          return tmp;
>>      }
>>      callbacks.identifier = "extension";
>> -   
>> +    callbacks.beforeSaving = function(){
>> +        if(!$('fullname').value.length){
>> +                alert("Sorry, a User Name must be specified !");
>> +                $('fullname').focus();
>> +                return false;
>> +        }
>> +
>> +        return true;
>> +    }
>> +
>> +
>>      phonecallbacks.format = function(t) {
>>          if (t.fieldbyname['port'] == 'fxo')
>>              return "Analog Port #" + t.name;
>>
>> _______________________________________________
>> asterisk-gui-commits mailing list
>> asterisk-gui-commits at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-gui-commits
>>   
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-gui



More information about the asterisk-gui mailing list