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
mdipierro
039f5c25c5
improved router, thanks Jonathan
2012-07-29 16:21:45 -05:00
mdipierro
6bbd0c2736
router patch, thanks Jonathan
2012-07-29 13:57:01 -05:00
mdipierro
96c4d07c0d
rewrite patch, thanks Vladyslav (and Jonathan for checking it)
2012-07-14 23:27:06 -05:00
mdipierro
4334488891
routes_in=[('/path','303->http://..')]
2012-07-01 22:44:03 -05:00
mdipierro
5e0dddffce
fixed quote in url rewrite, thanks Michael
2012-06-25 14:21:18 -05:00
Massimo DiPierro
4fd95881dc
fixed router bug and new test, thanks Jonathan
2012-06-05 17:15:17 -05:00
Massimo DiPierro
1f265ee370
fixed logging issue (807), thanks Marc
2012-05-19 10:07:56 -05:00
Massimo Di Pierro
ba93692ed4
fixed issue 728, bug in languages, thanks pgergo
2012-03-26 11:17:20 -05:00
Massimo Di Pierro
f032cf0df5
issue 605, https and routes_in bug fixed, thanks Jonathan
2012-01-12 13:22:47 -06:00
Massimo Di Pierro
d281acb421
fixws and 'new' button in grid query
2011-12-05 11:39:42 -06:00