Commit Graph

62 Commits

Author SHA1 Message Date
mdipierro 35eaba1096 removed duplicated code, using pydal's _compat.py 2016-08-01 03:39:22 -05:00
mdipierro 7aa617a68f fixed regex (test) 2016-07-17 15:12:04 -05:00
mdipierro 4a3ccfdeab fixed issue #1362, == in args 2016-07-11 03:20:38 -05:00
ilvalle 92374741ff fix rewrite, enabled test_router & test_routes 2016-06-04 17:42:36 +02:00
ilvalle 707330accd Enabled 3.5 on travis 2016-06-02 16:06:49 +02:00
ilvalle a1fd92b7f8 updated imports in tests 2016-06-02 14:28:21 +02:00
ilvalle 48e10a3793 running libfuturize.fixes.fix_print_with_import 2016-05-30 21:23:40 +02:00
ilvalle 35900da19b running lib2to3.fixes.fix_except 2016-05-29 08:31:19 +02:00
mdipierro 507c3d6c33 fixed typo 2016-03-14 15:20:08 -05:00
mdipierro e62069c8b7 another error due to removing global settings from request 2016-03-14 15:13:10 -05:00
Hardirc af62288832 Improve PEP8 gluon/rewrite.py 2015-03-06 22:19:09 -05:00
Tim Nyborg 23ee6bd2cf Update rewrite.py 2014-12-16 12:00:23 +00:00
Tim Nyborg c0536d3b74 Allow map_hyphen to work for application names
1. Handle hyphen -> underscore replacement of the app name early in map_app(), so the application can be identified and its routing rules used (if they exist).  Without this, the rewriter fails to find the application with the hyphen in place, and reverts to the default.

2. Disable underscore -> hyphen mapping of app name when creating static URLs, as they will be invalid paths
2014-12-16 11:47:33 +00:00
niphlod e209dcc8d3 sphinx-compatible docstrings 2014-03-12 22:03:42 +01:00
mdipierro 34bbb376be allow URL(...,language=...) with parametric router, thanks Jonathan 2014-01-14 22:17:28 -06:00
mdipierro fc72cdf3d0 change in way args are parsed and less test_routes.py 2013-11-01 20:11:46 -05:00
mdipierro b619bd3db7 minor rewrite in rewrite.py 2013-11-01 18:49:38 -05:00
mdipierro 6c1cc6fc96 tabs -> spaces 2013-09-13 15:39:39 -05:00
mdipierro ed9def985e R-2.6.1 2013-09-12 17:08:52 -05:00
mdipierro 3407cf6584 made the WSGI compatibility layer lazy, nobody uses it anyway and it may be broken, probably should be removed 2013-06-30 09:19:26 -05:00
mdipierro 1509559e78 avoid recursion in rewrite, thanks Jonathan 2013-06-21 01:47:34 -05:00
mdipierro bb0be8a523 attempt to fix issue 1296, ipv6 header parsing 2013-01-20 14:51:53 -06:00
mdipierro fdf7d5661d fixed problem with raw_args 2012-12-03 14:04:17 -06:00
mdipierro cabe9603c2 fixed cronjobs broken in 4278, fixed issue 1190 2012-12-03 13:16:14 -06:00
mdipierro fabc3a5db1 new router patch fixes runaway vulnerability, thanks Jonathan 2012-11-27 11:29:36 -06:00
mdipierro 2f06fe4d2a fixed router regex runaway, thanks Jonathan 2012-11-23 11:58:36 -06:00
mdipierro 18ca3bb1c1 fixed broken HTT_HOST in routes_in 2012-11-17 08:59:55 -06:00
mdipierro 6aa5edc7ff many pep8 improvements 2012-10-19 12:33:53 -05:00
mdipierro 71ec15190b some pep8 changes (fixed spacing at end) 2012-10-19 10:37:07 -05:00
mdipierro 3a66f5e330 fixed some pep8 stuff 2012-10-19 09:40:17 -05:00
Massimo 3ea3d1a5f8 inlined sluggify 2012-10-16 11:47:16 -05:00
Massimo 0f725d0d68 some minor simplifications in rewrite.py 2012-10-12 11:48:25 -05:00
Massimo d61a4529f3 improved speed of regex_url_in 2012-10-12 11:33:02 -05:00
mdipierro 3841025ffc fixed url_in(request, environ)[1]['PATH_INFO'] 2012-10-04 20:39:00 -05:00
mdipierro 828aa493a6 static asset management, thanks Niphlod 2012-09-28 17:06:11 -05:00
mdipierro afbbfd7e46 fixed issue 1021, thanks Edouard and Jonathan 2012-09-20 11:16:51 -05:00
mdipierro 8f267a19c4 fixed grid layout again 2012-09-13 14:06:58 -05:00
mdipierro fc3efaed3d better handling of cross-domain urls in parametric router, thanks Jonathan 2012-09-11 09:55:58 -05:00
mdipierro 97bcdfd73a fixed issue 964, thanks Jonathan 2012-09-09 09:20:45 -05:00
mdipierro 7265736ce2 possibly fixed issue 964 2012-09-08 19:02:19 -05:00
mdipierro 2b030a5e87 routes_in = (regex, value, custom_env) 2012-09-02 15:03:25 -05:00
mdipierro 8eb15627bf allow navbar without define_tables, thanks Anthony 2012-09-02 14:52:52 -05:00
mdipierro d93a8d41d2 removed one re.compile in rewrite filter_url 2012-09-02 11:12:46 -05:00
mdipierro 2df3282840 fixed issue 964, thanks Michael and Jonathan 2012-08-30 17:04:07 -05:00
mdipierro 266208c13d many iteritems optimizations 2012-08-28 09:35:36 -05:00
mdipierro dcce7fc39a fixed @//// in wiki and pep8 spacing 2012-08-25 11:29:11 -05:00
mdipierro b9fd6e5c68 simplied router logic, thanks Jonathan 2012-08-22 08:40:55 -05:00
mdipierro ecc6de6a02 scgi friendly patch, thanks Michele 2012-08-21 21:53:59 -05:00
mdipierro e76bcf0ea9 removed unwanted whitespaces 2012-08-16 11:56:07 -05:00
mdipierro b27a976712 router map_static, thanks Jonathan 2012-08-07 19:39:45 -05:00