Skip to content
Commits on May 15, 2011
  1. @anandology

    Changes for 0.35

    anandology committed
Commits on May 4, 2011
  1. @anandology

    Merge pull request #60 from s7v7nislands/master.

    anandology committed
    Use encoding argument in safestr and replace the use of utf8 with safestr.
  2. @s7v7nislands
Commits on May 3, 2011
  1. @anandology
  2. @anandology

    test session+redirect. #36

    anandology committed
Commits on May 2, 2011
  1. @anandology
  2. @anandology

    Revert "listen on 127.0.0.1 by default instead of 0.0.0.0"

    anandology committed
    This reverts commit f89041c.
    
    The app.request method is used for testing stuff. It has nothing to do
    with the default bind address.
  3. @anandology
  4. @anandology

    Optimized SQLQuery.join and generation of multiple_insert query. #58

    anandology committed
    The multiple_insert query generation is now about 2x faster than
    aaronsw's optimization and 10x faster than the initial implementation.
Commits on Mar 29, 2011
  1. @aaronsw

    Optimize multiple_insert (closes #58)

    aaronsw committed
    This takes the following simple test from 1.8s to .5s on my machine:
    
    		import time
    		import web
    
    		def generatedicts(n):
    		    for i in xrange(n):
    		        yield {'x': i, 'y': i*3, 'j': 'koo'}
    
    		db = web.DB(None, {})
    		db.supports_multiple_insert = True
    
    		a = time.time()
    		db.multiple_insert('person', values=list(generatedicts(10000)), _test=True)
    		b = time.time()
    
    		print b - a
  2. @dylan-evans @anandology
Commits on Mar 25, 2011
  1. @aaronsw

    Merge branch 'tp-embeddable' of https://github.com/serverhorror/webpy

    aaronsw committed
    …into serverhorror-tp-embeddable
Commits on Mar 23, 2011
  1. Default for debug_sql is now the value of debug

    Nimrod S. Kerrett committed
    backward compatibility
Commits on Mar 22, 2011
  1. No SQL debug logs unless web.config.debug_sql is set

    Nimrod S. Kerrett committed
    Trivial, but helpful.
Commits on Mar 17, 2011
  1. @serverhorror

    Make webpy embeddable in another package

    serverhorror committed
    Don't `import test` at the package level of `web`.
    `test` imports `web` and that isn't available if
    webpy is placed within another package
Commits on Mar 8, 2011
  1. @serverhorror

    listen on 127.0.0.1 by default instead of 0.0.0.0

    serverhorror committed
    There shouldn't be any worries about opening up an
    unsecured application just because it is run with
    the defaults.
  2. @serverhorror

    create all dirs if root doesn't exist

    serverhorror committed
    * Use os.makedirs instead of os.mkdir
    * Use os.path.abspath to get rid of eventual '..' elements
Commits on Mar 3, 2011
  1. @anandology
Commits on Feb 27, 2011
  1. @anandology
  2. @anandology

    Fixed mutliple set-cookie header issue with session. (closes #45)

    anandology committed
    The Session class was extended from ThreadedDict, which is extended from
    threading.local. It looks like __init__ is called once for each thread
    for thread local objects. That made session to add multiple processors
    to the application, one for each thread/request.
    
    Fixed this issue by keeping the threadeddict as an attribute instead of
    extending from it.
Commits on Feb 19, 2011
  1. @anandology

    Fixed error in safeunicode when used with appengine datastore objects.

    anandology committed
    The safeunicode function wasn't handling classes derived from unicode
    and appengine has a Text class which is extended from unicode.
Commits on Feb 16, 2011
  1. @anandology

    Better ThreaedDict implementation using threadlocal (tx Ben Hoyt)

    anandology committed
    Using threading.local instead of managing thread-local state manually
    improved the performance by 50x. Also added a threadlocal implementation
    for python 2.3 as it doesn't have threading.local.
Commits on Feb 3, 2011
  1. @aaronsw

    update for new SES api

    aaronsw committed
Commits on Jan 28, 2011
  1. fix broken tab

    Emre Yilmaz committed
Commits on Jan 27, 2011
  1. @aaronsw
Commits on Jan 26, 2011
  1. @aaronsw
Commits on Jan 24, 2011
  1. @aaronsw
Commits on Jan 21, 2011
  1. @anandology
Commits on Dec 26, 2010
  1. @anandology

    Explicitly pass debug=False to flup server (tx irrelative). (closes #35)

    anandology committed
    Version of flup in ubuntu 10.04 has debug=True as default. This is a security issue as it can expose tracebacks.
Commits on Nov 24, 2010
  1. @anandology
Commits on Nov 23, 2010
  1. @anandology
Commits on Nov 12, 2010
  1. @anandology
Commits on Nov 10, 2010
  1. @anandology

    Fixed unicode error in generating debugerror (closes #26).

    anandology committed
    The web.net.websafe function works on strings, not on unicode. I wrote a
    unicode version of that in template.py. Using that as filter for debugerror
    template fixed the problem.
Commits on Oct 6, 2010
  1. @anandology
Commits on Sep 14, 2010
  1. @anandology
Something went wrong with that request. Please try again.