Skip to content


Subversion checkout URL

You can clone with
Download ZIP
This comparison is big! We’re only showing the most recent 250 commits
Commits on Mar 04, 2013
@amol- amol- Merge pull request #37 from Turbo87/development
app_config: Added i18n extension to Jinja2 template renderer by default
@amol- amol- when no lib.app_globals.Globals is provided use the default Bunch bas…
…ed one
@amol- amol- Merge branch 'development' of into …
@amol- amol- Fix jinja test on Py3.2 aca5351
@amol- amol- Add test to check that setting up an app with package without app_glo…
…bals works
Commits on Mar 21, 2013
@amol- amol- remove info command, it was not implemented over gearbox e27ca14
@amol- amol- remove genshi trunk install as 0.7 got released 6da6959
Commits on May 04, 2013
@amol- amol- Make easy to enable or disable beaker usage 77754b4
Commits on May 10, 2013
@amol- amol- As caching is used internaly only permit to disable sessions for now 7589348
@amol- amol- repoze.tm2 now always returns contenst through a generator, so by def…
…ault we must use registry manager in streaming mode
Commits on May 15, 2013
@amol- amol- Replacing repoze.tm2 with a custom transaction manager to avoid gener…
…ator consumption issue caused by repoze.tm2 version 2.0
@amol- amol- fix comment 132608e
@amol- amol- Refactor response management and WSGI app forward
now only TGApp is in charge of calling start_response, also the TGController.__call__ is guaranteed to always return a WebOb Response object that can then be changed by application wrappers
Commits on May 19, 2013
@amol- amol- Add support for serializing to json paginated collections 1415675
@amol- amol- Add tests for json encoding of pagination Pages d297398
Commits on May 20, 2013
@amol- amol- Report widget key instead of widget id for TW2 form_errors, this is t…
…o cope with the case ids have been changed and don't match the value names anymore
@amol- amol- cope with the new jinja and markupsafe releases 21c1252
Commits on Jun 01, 2013
@amol- amol- Make lang a property which can be set from config file instead of onl…
…y from
@amol- amol- Remove language default value in TGApp
As it is now set by config defaults it can be removed from TGApp,
the testsuite needs to be updated to cope with the change and a
new test to check that is possible to set language from .ini files
is added
Commits on Jun 02, 2013
@amol- amol- Instead of falling to cache_type dbm, use the global beaker default t…
…ype for template caching
Commits on Jun 03, 2013
@amol- amol- finishing parts of controller __call__ refactoring and update TGApp d…
…ocstrings accordingly
Commits on Jun 14, 2013
@amol- amol- Make so that calling two time the AppConfig.add_auth_middleware leads…
… to the same result, also fix some tests that were working only due to previous tests setting up environment
@amol- amol- Remove stray print 61c8788
@amol- amol- PEP8 cleanup 02d7791
@amol- amol- Add test to avoid future regressions on authenticators thing 0577b69
Commits on Jul 01, 2013
@amol- amol- Provide warning when failing to run startup/shutdown hooks 02eafc4
@amol- amol- Make sure SessionRemover closes files and generators 9d0239e
@amol- amol- Preparing new beta release 6d088c0
Commits on Jul 16, 2013
@amol- amol- Configuration milestones support, enables expositions to be resolved …
…lazily when renderers are available
Commits on Jul 22, 2013
@amol- amol- Add tests for config milestones f2bdbe2
Commits on Jul 23, 2013
@amol- amol- Lazy resolution of application wrappers, so that ordering can be appl…
…ied when they are all available
@amol- amol- is not considered anymore 925749f
Commits on Jul 25, 2013
@amol- amol- Fix issue in handling SCRIPT_NAME during dispatch and provide tests t…
…o cover it
@amol- amol- Merge branch 'master' into development 2e58cd0
@amol- amol- Preparing new beta release due to dispatch bugfix 2231bfd
Commits on Aug 01, 2013
@amol- amol- Improve documentation for hooks, controller wrappers and application …
Commits on Aug 12, 2013
@simock85 simock85 Use wsgi.file_wrapper to serve static files, if available 3b6911e
@simock85 simock85 ops, fixed broken test on py 3.x baa4847
Commits on Aug 19, 2013
@amol- amol- Fix issue with SCRIPT_NAME handling and test to prevent regressions e7ca46e
Commits on Aug 20, 2013
@amol- amol- Merge pull request #44 from simock85/development
Use wsgi.file_wrapper to serve static files, if available
Commits on Aug 25, 2013
@amol- amol- Merge branch 'development' into next 0ca4e64
@amol- amol- Marking as 2.3.0 156af5c
Commits on Sep 01, 2013
@amol- amol- merge config_milestones feature branch into development 3b4c2db
Commits on Sep 03, 2013
@amol- amol- Refactoring TurboGears hooks and expose a public API to manage custom…
… hooks
Commits on Sep 04, 2013
@amol- amol- Fix docstring for AppConfig 9897251
Commits on Oct 03, 2013
@amol- amol- Refactor validation status reporting, tmpl_context.form_errors and tm…
…pl_context.form_values got removed in favor of request.validation which keeps more details
@amol- amol- remove wrong TODO 07b5995
Commits on Oct 08, 2013
@amol- amol- Put Decoration.register_hook in place again due to libraries using it…
… but add a deprecation warning
@amol- amol- A bit of move around of setup_tg_wsgi_app parts to cleanup roles of e…
…ach component
Commits on Oct 09, 2013
@amol- amol- Improve registry manager streaming to cope with WSGI server that read…
… the output like gevent-socketio
Commits on Oct 10, 2013
@amol- amol- Skip coverage of a deprecated function that only forwards call to new…
@amol- amol- Make _perform_validate a class method as it doesn't actually depend o…
…n the controller instance
@amol- amol- Keep track of method requirements in decoration 9bfb390
@amol- amol- Less usage of request local objects 9d8c127
@amol- amol- Also make error handling a class method as it is not bound to the con…
…troller instance
Commits on Nov 04, 2013
@amol- amol- Merge branch 'development' into next 8c1bc0e
@amol- amol- Preparing for 2.3.1 release bc24d5d
@amol- amol- Update ChangeLog d732992
Commits on Nov 09, 2013
@amol- amol- Improve backlash error reporters configuration, add support for Sentr…
…y too
@amol- amol- Add raven as a test dependency 27f5ef9
Commits on Nov 10, 2013
@amol- amol- Avoid circular reference between request and dispatch state to speed …
…up memory collection
@amol- amol- Calculate controller_url on-demand to speed up things 0a69cb0
@amol- amol- Some speedups in request dispatch 5c68df8
@amol- amol- Replacing README.txt with a prove github oriented README 47d18ac
@amol- amol- Fix travis badge and add pypi badges 5f66eef
@amol- amol- Enabling coveralls 2b7f19e
@amol- amol- Try to work-around crash of on travis 6ad3d5a
@amol- amol- Looks like pip 1.3 converted core-testing to core_testing when lookin…
…g for extras_require
@amol- amol- Using atexit._run_exitfuncs() causes mess with coverage on some systems da14297
@amol- amol- nosetests --with-coverage reports wrong coverage to coverall, use .co…
…veragerc to limit this
@amol- amol- fix omit declaration for test suite on coverage 9e92451
@amol- amol- add coverage badge 707c90d
Commits on Dec 07, 2013
@amol- amol- Add formencode test on PY3 and update variable_decode test to new for…
…mencode behavior
@amol- amol- Use new crank0.7 dispatching options d2cae73
Commits on Dec 09, 2013
@amol- amol- Make LazyURLS serializable as JSON 75b2524
Commits on Dec 13, 2013
@amol- amol- test for LazyUrl jsonification 50cac1f
@amol- amol- Trigger controller_wrappers resolution on environment_loaded mileston…
…e instead of config_ready so that they can be register on setup hook
@amol- amol- Move self.DBSession configuration assignment to setup_sqlalchemy inst…
…ead of running it on startup
@amol- amol- ming.orm is deprecated 40c1424
@amol- amol- To be coherent with add_ming_middleware rename the sqlalchemy related…
… middleware setup method to add_sqlalchemy_middleware
@amol- amol- This is not required anymore as renderers are not managed by a milestone a104cdb
Commits on Dec 23, 2013
@amol- amol- Expose Request and Response classes to build Responses and return the…
…m instead of relying on webob.Response
Commits on Dec 24, 2013
@amol- amol- Kajiki is not supported anymore on TW2, use genshi in such case 25fa3e5
@amol- amol- default to genshi engine only for kajiki a311446
Commits on Jan 09, 2014
@amol- amol- Improvements to i18n support
major feature is the ability to make get_lang() return only the languages supported by the application instead of returning all the languages requested by the user.
@amol- amol- Easier to use error reporting turn-on/off flag 4dfcccd
@amol- amol- Should actually enable email error reporting on error_email and not o…
…n email_to, also provide defaults for subject and message
Commits on Jan 13, 2014
@amol- amol- Call environment_loaded milestone even when load_environment is not p…
Commits on Jan 14, 2014
@amol- amol- FastForm should now forward also url GET parameters when redirecting c8d073d
Commits on Feb 11, 2014
@amol- amol- Fix issue with fallback of fallback c0e591b
@amol- amol- In case of crash inside the application, hide the outer middlewares 0b40464
Commits on Feb 17, 2014
@amol- amol- Fix for test suite on Py3.3 9943e81
@amol- amol- Enable testing of TW2 Forms validation on PY3 and fix issue with Form…
… validation on PY3
@amol- amol- Fix validation error reporting for TW2 with nested layouts 12c5a14
Commits on Feb 25, 2014
@amol- amol- Support simple custom templates for paginator 44e24cd
Commits on Feb 26, 2014
@amol- amol- Raise version 07bdfe2
Commits on Feb 27, 2014
@amol- amol- Resolve generators as lists when json encoding e81d221
@amol- amol- Test unit for generators JSON encoding e625582
Commits on Feb 28, 2014
@amol- amol- Improve error_handler support in validation, they can now keep decora…
…tion and wrappers
Commits on Mar 03, 2014
@amol- amol- Refactoring renderers support, chameleon_genshi moved to an external …
@amol- amol- Remove as a dependency to avoid circular dependencies 8b5de64
@amol- amol- Install chameleon after TG 4a0d88f
@amol- amol- Test unit for new errorware configuration options 234e4b3
@amol- amol- Improve TW2 engines detection and test units 3d7a7dd
@amol- amol- Improve rendering engines so that they can specify content_type b5f0406
@amol- amol- JSONP renderer 4bad6da
@amol- amol- callback_param is actually a better name than callback_name for JSONP…
… callback parameter
@amol- amol- Improve rendering engines documentation 09910d0
@amol- amol- Prevent third party modules from messing up with mimetypes for dispat…
…ch by extension
@amol- amol- rename setup_mimetypes to _configure_mimetypes as it is a configurati…
…on process and internal
@amol- amol- Rename plain configuration method to _configure_* convention 73887d4
Commits on Mar 04, 2014
@amol- amol- Improve coverage for renderering engine setup e0ba919
@amol- amol- Avoid coverage reporting for rendering engine configuration when engi…
…ne is not installed
Commits on Mar 06, 2014
@amol- amol- Remove PasteDeploy dependency from plain TG, it was used only for con…
@amol- amol- Tests for converters 51c7bba
Commits on Mar 08, 2014
@amol- amol- Update for release 4b40c82
@amol- amol- Update ChangeLog 2a20778
Commits on Mar 11, 2014
@amol- amol- Fix wrong ordering in exposition inheritance when renderers are not r…
…eady yet
Commits on Mar 12, 2014
@amol- amol- get_lang now always returns a list 3d05e87
Commits on Mar 21, 2014
@amol- amol- make possible to provide a context for @cached_property, useful to ma…
…ke it thread safe
@amol- amol- Last python raven breaks on Python3 b15b4f3
@amol- amol- Ooops, wrong raven version 584a196
@amol- amol- Stora validation context in a Bunch, so that it can be accessed with …
…dotted notation
@amol- amol- As we don't depend on repoze.what anymore, make @require use Decorati…
…on instead of behing a plain python decorator
@amol- amol- decorator not used anymore as @require is now a Decoration based deco…
@amol- amol- It is now possible to register multiple requirements per method, prov…
…ide API and tests
Commits on Mar 24, 2014
@amol- amol- @cached decorator which replaced @beaker_cache and decoupling control…
…ler wrappers from app configurator
@amol- amol- Refactor @beaker_cache to remove dependency on decorator module 63dbe87
Commits on Apr 03, 2014
@amol- amol- Support using LazyUrl as a location for HTTPFound ebbc566
@amol- amol- HTTPFound with lurl solution compatible with Python3, due to urlparse…
….urljoin checking that both parameters are instances of strings on Python3
@amol- amol- wrap and partial are built-in into python as we support only 2.6+ b74f04b
Commits on Apr 05, 2014
@amol- amol- Pass through abort and SmartDenial improvements to authorization 0bf79f8
@amol- amol- json.dumps returns unicode on py3 and bytes on py2 58b2d59
@amol- amol- _visit now available with _before and _after, makes possible to imple…
…ment custom behavior when the controller is visited for dispatching (before authorization)
Commits on Apr 06, 2014
@amol- amol- Pagination and JSON encoding of Ming query cursors 1a298ed
Commits on Apr 07, 2014
@amol- amol- this breaks when pylons compatibility is turned off 2866b62
Commits on May 03, 2014
@amol- amol- Add test suite for py3.4 35ab529
@amol- amol- Skip this caused issues with new nose 1f3e941
@amol- amol- Looks like routes wheel has issues with 3.3 travis env 351241b
Commits on May 24, 2014
@amol- amol- Fixes to docstring ba39b86
Commits on May 26, 2014
@amol- amol- Update classifiers and fix docstring 521f1af
@amol- amol- Add support for backlash slow requests reporting 91b14e1
Commits on May 27, 2014
@amol- amol- Fix deprecationwarning 885476f
@amol- amol- Improve docstring 97b08b7
@amol- amol- Merge branch 'development' of into …
@amol- amol- Fix deprecationwarning 21094d9
@amol- amol- Add support for escluding list of paths in slow requests reporting 5574f77
@amol- amol- Merge branch 'development' of into …
@amol- amol- Avoid unpredictable test due to dictionary ordering aa9aae2
Commits on May 28, 2014
@amol- amol- Skip broken kajiki on PyPy and raise backlash dependency on tests a2f8c1c
Commits on Jun 20, 2014
@amol- amol- Improving tg.render_template documentation 35b90b9
@amol- amol- Merge branch 'development' of into …
Commits on Jun 27, 2014
@amol- amol- Avoid Deprecation warnings on backlash aeee507
Commits on Jun 30, 2014
@amol- amol- Install MING from so that we test on last version f751a94
@amol- amol- Work around ming depending on unstable Formencode, let TG install the…
… right version and then upgrade it
Commits on Jul 06, 2014
@amol- amol- Backward compatibility, no requirements should return None, not Index…
Commits on Jul 07, 2014
@amol- amol- Preparing for release 0aadc0d
Commits on Jul 18, 2014
@amol- amol- get_partial_dict is used only in configuration context 41e80b7
@amol- amol- More tuning to utils, move away TemplateContext which is not meant to…
… be public
@amol- amol- Add tests for slow requests reporting configuration dac7703
Commits on Jul 20, 2014
@amol- amol- Avoid shadowing KeyError exceptions in hooks b6e60bc
@amol- amol- Improving JSON support, permit customization without need for simpleg…
…eneric and support ISO dates
Commits on Jul 21, 2014
@amol- amol- Improve documentation for JSONEncoder 12868b0
@amol- amol- Utilities to login/logout users 405de78
@amol- amol- Objects with a configurable default global instance, sets the foundat…
…ion for tg.flash customization support
Commits on Jul 22, 2014
@amol- amol- Minor cleanup 2e1be72
@amol- amol- Support for customizing Flash template 07fc5e2
@amol- amol- Yeah... print... 50263d5
Commits on Jul 25, 2014
@amol- amol- Added @json_params decorator 2ec0be1
@amol- amol- Cope with PY3.4 random dict ordering 4a0c2dc
Commits on Aug 05, 2014
@amol- amol- Ensure that when 'lang' option is set and i18n is enabled lang is use…
…d as fallback
Commits on Aug 06, 2014
@amol- amol- Add fake korean translation for test suite 8528fcf
@amol- amol- utilities for quick and dirt error_handling (abort as error_handler a…
…nd validation_errors_response)
Commits on Aug 07, 2014
@amol- amol- request.language is actually just a duplicate of tg.config['lang'] fb60ebc
@amol- amol- Fix issue with plain dates ca00208
@amol- amol- Import all controller utils in tg namespace da3a9ef
@amol- amol- Make sure we don't crash when validated values are complex type not s…
…upported by json
@amol- amol- Add pypy officially to tested environments 5a94e42
Commits on Aug 13, 2014
@Cito Cito Support the trace_slowreqs.enable config switch. 1457b10
Commits on Aug 14, 2014
@amol- amol- Merge pull request #54 from Cito/development
Support the trace_slowreqs.enable config switch.
Commits on Sep 29, 2014
@amol- amol- Update docstring of .configure methods to use them in documentation r…
…eference for options
@amol- amol- Merge branch 'development' of into …
Commits on Sep 30, 2014
@amol- amol- Preparing for release a292204
Commits on Oct 02, 2014
@amol- amol- Update Release date 9afd098
Commits on Oct 25, 2014
@nphilipp nphilipp let LazyString support all underlying instance methods
The methods __str__(), __unicode__() and __mod__() aren't looked up on
the instance, i.e. __getattr__() is bypassed for them, so leave them in
Commits on Jan 14, 2015
@amol- amol- Raise crank requirement for fix in empty parameters 15f1bf3
@amol- amol- Update setup.cfg by removing unused aliases and moving tests configur…
…ation to nosetests section
@amol- amol- Let /_test_vars work even when debug is False when in test mode f5a8a94
Commits on Jan 21, 2015
@amol- amol- Uncache request path, so that app wrappers can freely change it 9bf9fb3
@amol- amol- Migrate StatusCodeRedirect from middleare to Application Wrapper for …
…simplicity and performances
@amol- amol- Raise backlash dependency for tests 512f09a
Commits on Jan 23, 2015
@amol- amol- Test unit to ensure there are no regressions on mongodb replSet support e679a64
@amol- amol- Add test also for ming.connection.replicaSet and remove some SkipTest…
… on PY3
Commits on Feb 14, 2015
@amol- amol- Work-around for Genshi broken on Py3.4 f7f4947
@amol- amol- Improve test resilience on random ordering python dicts 59365cc
Commits on Feb 16, 2015
@amol- amol- Forgot assertion in test 967e98c
@amol- amol- Continue with AppConfig cleanups, Ming and Transaction are now app wr…
…apper with their own documentation
Commits on Feb 22, 2015
@amol- amol- Stricter definition of ApplicationWrappers b88f432
@amol- amol- fix indent 292a066
@amol- amol- Housekeeping, make controller callers definition idempotent e586505
@amol- amol- Backport Cache and Session Application Wrappers from 2.4 44fa9b5
Commits on Feb 23, 2015
@amol- amol- Switch setup_i18n to an app wrapper with its own options ba97528
@amol- amol- new configure_new_app hook that guarantees to always receive the unwr…
…apped TGApp
Commits on Mar 03, 2015
@amol- amol- renamed lang to i18n.lang and make _init_config clear the config when…
…ever a new configuration process is initialized
Commits on Mar 05, 2015
@amol- amol- Try to cleanup configuration process a bit, at least let .ini options…
… overwrite appconfig
Commits on Mar 07, 2015
@amol- amol- Upgrading version to 2.3.5 2536c14
@amol- amol- Fix memory leak in /_test_vars not clearing preserved objects due to …
…forced preservation
@amol- amol- Instead of updating existing config, push a new one as the global obj…
@amol- amol- Changes in tg.config behaviour showcased some missing coverage, some …
…code was executed unintentionally
Commits on Mar 19, 2015
@amol- amol- Refactor tg.hooks to be unbound to config and reusable by apps to imp…
…lement their own hooks
Commits on Apr 03, 2015
@amol- amol- Rename genshi.name_constant_patch to templating.genshi.name_constant_…
…patch for coherence
@amol- amol- Log exceptions in hooks only when they are swallowed 567a90d
Commits on Apr 11, 2015
@amol- amol- Fix docstring 121bde0
@amol- amol- Update ChangeLog d36ac78
Commits on Apr 24, 2015
Alessandro Molina Make repoze.what Identity unprintable, this also solves Pylons/webob#139
Commits on Apr 26, 2015
@Cito Cito Clarify and update explanation for the "reverse mime types hack". 0cd60be
Commits on Apr 28, 2015
@amol- amol- Version 2.3.5 - Update ChangeLog 38f4745
Commits on Apr 30, 2015
@amol- amol- corrigendum docstring, it's ming.autoflush not tm.autoflush 0add259
Commits on May 21, 2015
@amol- amol- pep8 space between classes 144b59a
@amol- amol- Identity Metadata provisioning performed by an application wrapper so…
… that it can rely on caching and other features
@amol- amol- This should actually keep the old behaviour of always relying on auth…
…metadata if available
@amol- amol- Turn on/off HTML escaping in flash messages 4e4bdea
Commits on Jun 12, 2015
@amol- amol- Support for multiple @validate decorators on same method 02fb49b
Commits on Jun 14, 2015
@amol- amol- Make test pass independently from the order of keys e8a6ff0
Commits on Jun 19, 2015
@amol- amol- let _get_tg_vars work even when no validation is in place 68e3e00
Commits on Jun 22, 2015
@amol- amol- Update contributing URL 56b41e6
@amol- amol- Merge pull request #56 from nphilipp/development--lazystring
let LazyString support all underlying instance methods
@amol- amol- Move util from a file to a package, allows to easily add features 042c7ce
Commits on Jun 26, 2015
@amol- amol- Beaker should no longer be required since 2.3.5 9e62d3e
@amol- amol- Some generic utilities which end up being often required 2cf1ce3
@amol- amol- Doesn't have to be unicode, are plain ascii 6cd62c4
@amol- amol- Forgot that dict comprehension was not available on 2.6 a19aefe
@amol- amol- 2.6 was also missing total_seconds 543d994
@amol- amol- 2.6 required args index for format ed065ee
Commits on Jul 01, 2015
@amol- amol- JSONencodable lazy strings, useful for i18n in JSON responses 5e5e695
@amol- amol- Convert utility function for simple validation that doesn't rely on f…
…ormencode or tw2
Commits on Jul 03, 2015
@amol- amol- test_context for easier unit testing of features that depend from a T…
…urboGears context
Commits on Jul 04, 2015
@amol- amol- Do not rely on app.get to cleanup the app context, just pop them, sho…
…uld be more reliable
@amol- amol- Beaker was actually options, but was forced in configuration phase, n…
…ow if it is now installed Session and Caching AppWrappers get disabled
Commits on Jul 15, 2015
@amol- amol- Turn on more tests on Python3 which depend on libraries now available 13e0d9d
Commits on Jul 22, 2015
@amol- amol- Improve Kajiki loader 9e9fbe9
@amol- amol- Improve check to replace properly replace template when was None 3168a91
@amol- amol- Add test unit to cover missing validation context proper behaviour in…
… tg_vars
@amol- amol- Test proper IOError on missing templates bff4544
Commits on Jul 25, 2015
@amol- amol- Kajiki i18n 2d34ebf
@amol- amol- Expose cdata_scripts option in kajiki renderer 9f87e04
@amol- amol- forgot template file for new kajiki tests b221145
@amol- amol- do not skip kajiki tests on pypy, kajiki seems to support pypy d8610f4
@amol- amol- Prepare changelog for release 08f16a9
@amol- amol- Version 2.3.6 b83f7af