Skip to content
Commits on Mar 17, 2013
  1. @adoom42
  2. @adoom42
Commits on Mar 16, 2013
  1. add columns with IIF and OIF ID (#749)

    The purpose to show the keys is to be able to reference them in the
    aforementioned "Interface config", and basically the IIF and OIF keys
    are used.
    Peter Gervai committed with Mar 16, 2013
Commits on Mar 14, 2013
  1. @andriyanov

    802.1Q recalc wasn't make switch out-of-sync

    recalc8021QPorts: wrong object id to touch
    andriyanov committed Mar 14, 2013
Commits on Mar 12, 2013
  1. @andriyanov
Commits on Mar 11, 2013
  1. @andriyanov

    highlight foreign VLANs on downlink ports

    get8021QPortTrClass: new func to calc highlighting of 802.1Q port
    renderObject8021QPorts: use unified get8021QPortTrClass highlighting
    logic
    andriyanov committed Mar 11, 2013
  2. @andriyanov

    802.1Q: ignore foreign VLANs when building uplinks

    produceUplinkPorts changed
    andriyanov committed Mar 11, 2013
Commits on Mar 6, 2013
  1. @andriyanov
  2. @andriyanov

    retry fetching running-config from Cisco IOS devs

    some devices (e.g. Cisco IOS) refuse to print running configuration
    while they are busy. The best way of treating this is retry a few times
    before failing the request.
    
    ERetryNeeded: new exception class
    ios12ReadVLANConfig: throwing ERetryNeeded if busy error message seen.
    ios12SpotConfigText: idem.
    queryDevice: loop queryTerminal 3 times if ERetryNeeded is catched
    andriyanov committed Mar 6, 2013
  3. @andriyanov

    use inet_ntop, inet_ntop instead of self-made ones

    self-made format_ip* and parse_ip* were leaved for compatibility with
    pre-5.1 PHPs and PHPs built without IPv6 support. All API calls have not
    changed.
    
    is_inet_avail: checks inet_ntop and inet_pton for existance and IPv6
    support
    ip4_format: try to use inet_ntop, inet_pton before self-made code
    ip6_format: idem
    ip_parse: idem
    ip4_parse: idem
    ip6_parse: idem
    andriyanov committed Mar 5, 2013
  4. @andriyanov
Commits on Mar 4, 2013
  1. @adoom42

    Revert "apply patch from Alexey new function clearObjectAttribute - j…

    …ust the deleteBlade commitResetObject: use clearObjectAttribute for FQDN and contact renderEditAttributesForm: revert the check for pre-defined attributes"
    
    This reverts commit df9ec19.
    adoom42 committed Mar 4, 2013
  2. @andriyanov

    config var DATETIME_FORMAT description changed

    date() was replaced by strftime() in description
    andriyanov committed Mar 4, 2013
  3. @andriyanov

    bugfix: negative push duration time in 802.1q

    If the push process was interrupted, the "schedule" portlet was
    displaying negative push duration. Also, all ages were displayed in
    hours. Now formatAge function is used.
    
    getVLANSwitchInfo: row format is changed. The following keys were
    removed: last_push_lasted, last_change_age, last_change_age_seconds,
    last_error_age, last_error_age_seconds, last_push_age.
    The following keys changed their format from DB-formatted datetime to
    integer UNIX timestemp: last_change, last_push_finished,last_error_ts.
    The last_push_started key was added.
    
    detectVLANSwitchQueue: calculate change_age amd error_age
    renderObject8021QSyncSchedule: use datetimestrFromTimestamp and formatAge
    renderDeployQueue: idem
    andriyanov committed Mar 4, 2013
  4. @andriyanov

    fix IOS 12 telnet prompt (confirmation questions)

    queryTerminal changed
    andriyanov committed Mar 4, 2013
Commits on Mar 3, 2013
  1. @adoom42

    apply patch from Alexey

    new function clearObjectAttribute - just the deleteBlade
    commitResetObject: use clearObjectAttribute for FQDN and contact
    renderEditAttributesForm: revert the check for pre-defined attributes
    adoom42 committed Mar 3, 2013
  2. @andriyanov

    HTML mark-up: main table replaced with divs

    The search box has also turned into right-floating div.
    This change is inspired by the needs of my plug-in for making the tabs
    and search boxes to stay on the screen when scrolling down. I assume to
    include in into the main after testing in production environment.
    
    renderInterfaceHTML: table cells were replaced by divs
    showPathAndSearch: search box table replaced by div
    andriyanov committed Mar 3, 2013
  3. put some opening curly PHP braces to Allman style

    Besides that, add missing spaces to the modified lines where necessary
    to meet the style of the rest of the code.
    committed Mar 3, 2013
  4. refine renderIndexItem()

    committed Mar 3, 2013
Commits on Mar 2, 2013
  1. @adoom42
  2. @adoom42
  3. @adoom42
  4. @adoom42

    renderEditRackForm(): hide the delete icon if any atoms are used

    remove the 'W' option from the RackSpace.state column
    adoom42 committed Mar 2, 2013
  5. fix date/time attributes input processing (#719)

    Date/time attributes processing was inconsistent in that output of such
    attributes was done using date() function and a configurable format
    string, but input was done using strtotime() and no format string. For
    some format strings this lead to parts (year/month/day) of the date
    swapped around on each form submit or the update declined.
    
    This change addresses the problem through switching to strftime() for
    output and strptime() for input. This implies a different format string
    syntax, but both functions are available in early releases of PHP5, as
    opposed to DateTime::createFromFormat(), which uses the same format as
    date() but requires PHP 5.3.
    
    * datetimestrFromTimestamp(): new helper function
    * renderEditObjectForm(): update to use above
    * formatAttributeValue(): idem
    * renderExpirations(): idem
    
    * timestampFromDatetimestr(): new helper function
    * assertDateArg(): rewrite using above
    * updateObjectAttributes(): update to use above
    
    * upgrade.php: overwrite DATETIME_FORMAT value
    * install.php: update DATETIME_FORMAT default value
    * resetUIConfig(): idem
    committed Mar 2, 2013
  6. refine a few InvalidArgException translation cases

    This change fixes the error message displayed to the user after an
    InvalidArgException exception (hard) is converted into an
    InvalidRequestArgException one (soft).
    
    InvalidArgException::__construct(): keep copies of arguments
    InvalidArgException::getName(): new read accessor
    InvalidArgException::getValue(): idem
    InvalidArgException::getReason(): idem
    convertToIRAE(): new function to convert between two classes
    assertIPArg(): update to use above
    assertIPv4Arg(): idem
    assertIPv6Arg(): idem
    committed Mar 2, 2013
  7. refine InvalidArgException::__construct()

    Justify coding style, suppress extra quotes around the value and place
    the period at the end of the sentence.
    committed Mar 2, 2013
Commits on Mar 1, 2013
  1. justify text files by 80-column margin

    This change assumes 2-space tab expansion for ChangeLog.
    committed Mar 1, 2013
Commits on Feb 28, 2013
Commits on Feb 25, 2013
Commits on Feb 24, 2013
  1. @adoom42
  2. @adoom42

    add SNMP support for Linksys SRW224G4 (#743)

    also change the port label for some Dell switches
    adoom42 committed Feb 24, 2013
  3. @adoom42

    deleteLocation(): references to tags and files remained when a location

    was deleted (#747)
    renderRackspaceLocationEditor: resolve strict PHP warning
    adoom42 committed Feb 23, 2013
  4. @adoom42
Something went wrong with that request. Please try again.