1. 06 Jun, 2014 1 commit
    • Frederik Kriewitz's avatar
      Fix render() encoding · 1a9d7416
      Frederik Kriewitz authored
      Fixes exceptions like this:
      ERROR in CGI: Traceback (most recent call last):
        File "/var/www/html/ulg.py", line 785, in <module>
        File "/var/www/html/ulg.py", line 722, in index
          print self.renderULGIndex()
      UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in
      position 6254: ordinal not in range(128)
      Signed-off-by: default avatarTomas Hlavacek <tmshlvck@gmail.com>
  2. 04 Apr, 2013 1 commit
    • Tomas Hlavacek's avatar
      Add support for CommonSelectionParameter · f91fd079
      Tomas Hlavacek authored
      There are problems with page size and page loading speed when there
      are more routers with several peers and several BGP related commands
      because selection commands multiplicate the peer tables in the resulting
      javascript placed into the resulting page. This is not effective enough and
      therefore sligh rewrite is needed.
      Introduce new type of SelectionParameter - CommonSelectionParameter that
      has its ID and it is placed to a JS variable in the beginning of the page
      or function that uses the values inside only once. Then construction of the
      select boxes uses this variables to feed needed values according to the
      ID of the content.
  3. 27 Mar, 2013 2 commits
  4. 22 Mar, 2013 1 commit
    • Tomas Hlavacek's avatar
      Move config file to an arbitrary path. · 3b6f367e
      Tomas Hlavacek authored
      Implement loading of config.py from arbitrary path. The file potentially
      contains sensitive material like passwords, usernames, list of routers
      etc. and should be placed outside the www root directory.
  5. 20 Mar, 2013 1 commit
  6. 06 Mar, 2013 1 commit
  7. 18 Jan, 2013 1 commit
  8. 02 Jan, 2013 1 commit
  9. 12 Dec, 2012 2 commits
  10. 08 Dec, 2012 1 commit
  11. 30 Nov, 2012 1 commit
    • Tomas Hlavacek's avatar
      Licencing rectified. · d862672e
      Tomas Hlavacek authored
      Update licencing header in sources to reflect actual authorship of
      CZ.NIC labs.
      Move personal credits to file CREDITS.
      Add copy of the license GNU GPLv3 to LICENSE file.
  12. 12 Nov, 2012 1 commit
  13. 19 Oct, 2012 1 commit
  14. 18 Oct, 2012 1 commit
    • Tomas Hlavacek's avatar
      Add AS names to BGP graph nodes. · 93e459ac
      Tomas Hlavacek authored
      Implement arbitrary data into sessions.
      Implement finishHook to TextCommand.
      Refactor graph generation of Cisco by the abovementoined mechanisms.
      Add whois client.
      Refactor whois client calls in ulg.py in action whois.
      Add simple annotation by AS names in BIRD BGP graph.
  15. 10 Oct, 2012 2 commits
  16. 03 Oct, 2012 1 commit
  17. 27 Sep, 2012 1 commit
    • Tomas Hlavacek's avatar
      Rework parameter passing to decorator methods. · 6cfdc78a
      Tomas Hlavacek authored
      Rework parameter passing from
      (result,router=0,decorator_helper,resrange,...) to more compresehnsive
      version (session,decorator_helper). The session contains or should
      contain all the parameters needed but there is a certain indirection
      because session is being defined later in ulg.py. The rationale is that
      even thouhg ulg.py can no be imported into files containing decorators
      it is stable part of the ULG and therefore it might be used for building
      decorators based on classes defined there (even though the classes are
      not directly accessible, which can be overcomed by passing instances or
      using decorator_helper to do needed class instantiation.
      Modules for BIRD as well as Cisco has been changed to reflect this
  18. 26 Sep, 2012 1 commit
  19. 14 Sep, 2012 1 commit
    • Tomas Hlavacek's avatar
      Dispaly ranges implemented. · 884bc060
      Tomas Hlavacek authored
      Lot of things has to be reworked in order to introduce range display of
      large results (it should have been take into account in the beginning)...
  20. 11 Sep, 2012 2 commits
  21. 31 Aug, 2012 1 commit
  22. 21 Aug, 2012 1 commit
  23. 14 Aug, 2012 1 commit
  24. 27 Jul, 2012 1 commit
  25. 20 Jul, 2012 1 commit
  26. 19 Jul, 2012 1 commit
  27. 18 Jul, 2012 1 commit