Permalink
Commits on Jun 24, 2016
  1. Rewrite the failing testcase of template.py to make it work both in P…

    anandology committed Jun 24, 2016
    …ython 2 and 3.
    
    The earlier attempts were failing either with Python 2 or Python 3.
  2. Fix to the earlier template test failure.

    anandology committed Jun 24, 2016
    The previous commit didn't seem to have fixed it.
Commits on Jun 23, 2016
Commits on Jun 22, 2016
Commits on Jun 21, 2016
  1. Python3 migration: db.py tests now run perfectly with Py3

    Zashas committed Jun 21, 2016
    Py2 : tests runned with all DB backends, excepted psycopg1 (which is not
    supported anymore and should be removed from web.py as well)
    Py3 : tests runned with psycopg2, sqlite3 and mysqlclient (the latter
    seems to be compatible with all MySQLdb-related code. MySQLdb is not
    available under Py3, and mysqlclient seems at the moment the best
    alternative).
  2. Python3 migration: httpserver.py now Python 3 compatible

    Zashas committed Jun 21, 2016
    Essentialy dealing with import issues (relatives and Python stdlib
    changes).
  3. Python3 migration: rewriting tokenize.tokenprog no longer available in

    Zashas committed Jun 20, 2016
    Py3
    
    The tokenprog regex rule was a private variable of tokenize used by
    _interpolate in db.py. It has been removed from tokenize in Py3.
    It's now copy/pasted in db.py.
Commits on Jun 20, 2016
  1. Upgraded to CherryPy WSGIServer 6.0.1

    Zashas committed Jun 20, 2016
    Necessary for Py3 support. Using the same technique as CherryPy, two
    files are provided, one for Py2 and one for Py3.
  2. Python3 migration: fixed unicode issues.

    anandology committed with Zashas Jun 10, 2013
    Able to run helloworld app using Python3 as well as python2 now.
  3. Python3 migration: more changes to make code work with Python3.

    anandology committed with Zashas Jun 10, 2013
    Changes:
    * iteritems, itervalues
    * urlparse.urljoin
    * xrange
    
    Able to start wsgiref server for helloworld app now.
  4. Python 3 migration: Fixed exceptions.

    anandology committed with Zashas Jun 10, 2013
    * s/except ExceptionClass, e/except Exception as e/
    * s/raise Exception, msg/raise Exception(msg)/
  5. Python3 migration: converted all imports to relative imports.

    anandology committed with Zashas Jun 10, 2013
    Ignored browser.py and removed it's import in __init__.py. Will look at
    it later.
Commits on Apr 24, 2016
  1. Minor typo fix.

    akash0x53 committed Apr 24, 2016
Commits on Apr 5, 2016
  1. Merge pull request #351 from sconeyard/master

    anandology committed Apr 5, 2016
    Include Error Code `451 Unavailable For Legal Reasons`
Commits on Mar 19, 2016
  1. Merge pull request #361 from jzellman/dburl-simple-case

    anandology committed Mar 19, 2016
    Change dburl2dict to use urlparse and add simple case.
Commits on Mar 10, 2016
Commits on Jan 13, 2016
  1. Merge pull request #254 from jzellman/master

    anandology committed Jan 13, 2016
    Escape HTML characters when emitting documentation.
Commits on Dec 22, 2015
  1. Include Error Code `451 Unavailable For Legal Reasons`

    sconeyard committed Dec 22, 2015
    An HTTP Status Code to Report Legal Obstacles
    draft-tbray-http-legally-restricted-status-05
    
    https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-0
    5
Commits on Oct 15, 2015
  1. Merge pull request #345 from goodrone/patch-1

    anandology committed Oct 15, 2015
    Update templating.rst to remove external link
Commits on Oct 14, 2015
Commits on Mar 15, 2015
  1. Fixed error in validip6addr on Windows.

    anandology committed Mar 15, 2015
    closes #308
  2. fix for #323

    suhashpatil committed Mar 15, 2015
    fix for #323
Commits on Apr 1, 2014
  1. The where clause in db queries can be a dict now.

    anandology committed Apr 1, 2014
    When the where clause is a dict, each key-value pair is make a condition
    and joined with AND.
    
    For example:
    
        >>> db.select("post", where={"category": "popular", "published": True},
        >>> limit=5, _test=True)
        <sql: "SELECT * FROM post WHERE category = 'popular' AND published = 't'
        LIMIT 5">