Commit Graph
51 Commits
Author SHA1 Message Date
Jeremie Dokime 537dabb9c3 Inject restful method for LOAD()
Better solution than my last commit for the restful method by inject the real restful method.
We can now call LOAD() on a @request.restful() decorated action.
2014-05-14 09:52:44 +02:00
Jeremie Dokime f684769638 Fix LOAD() in restful context
When you call LOAD() on a controller who has some actions decorates with @request.restful(), it fail with:
@request.restful()
TypeError: 'NoneType' object is not callable
=> because LOAD use other_request variable who are a Request but without all methods and therefore without restful method.
I've just mock the restful method but I think that the real restful method will be better...
2014-05-12 17:41:19 +02:00
niphlod 41a4de081f more docstring fixes 2014-01-29 23:01:52 +01:00
niphlod 98ee81606b docstrings fixes 2014-01-27 22:56:58 +01:00
mdipierro 6bbafc5920 fixed 1843, commented functions should not appear as if they are exposed 2014-01-08 11:32:07 -06:00
mdipierro 257733e0cc fixed a bug in models_to_run, thanks Anthony 2013-12-20 15:09:50 -06:00
mdipierro 570564b0c4 fixed bug in compileapp models_to_run, thanks Anthony 2013-10-21 21:30:20 -05:00
mdipierro bf3d0bdd3d fixed problem with compileapp and compiled apps 2013-10-13 08:10:56 -05:00
mdipierro 8fb0b71be6 fixed compilerapp sorting issue, better 2013-10-09 11:31:33 -05:00
mdipierro ddc0fc9949 fixed compilerapp sorting issue, possibly 2013-10-09 11:15:07 -05:00
mdipierro 5428fdbd04 reverted error commit 2013-10-09 09:07:00 -05:00
mdipierro 6b0177979f fixed issue 1705, sorting of model, thanks Anthony 2013-10-04 14:39:32 -05:00
mdipierro ed9def985e R-2.6.1 2013-09-12 17:08:52 -05:00
Alfonso de la Guarda Reyes a51d087797 Fixing some typos inside tests and unneeded modules 2013-09-02 19:32:26 -05:00
niphlod 917d2087c5 fixed the collapse function, refactored LOAD() to use new web2py.js 2013-06-27 22:31:11 +02:00
mdipierro 0cdfe3d57b remporary reverting model sorting patch until better understanding 2012-12-21 00:22:51 -06:00
mdipierro 128ff10ade sorting importing models was broken, now fixed, thanks Joel Samuelsson 2012-12-11 08:25:48 -06:00
mdipierro e11aa24b7d typo in compileapp, issue 1149, thanks Corne 2012-11-08 10:02:46 -06:00
mdipierro 108aeb0ee1 portable languages 2012-10-22 22:21:11 -05:00
mdipierro 46610d59ce language changes 2012-10-22 22:14:40 -05:00
mdipierro 28084cf99a fixed issue 1109, thanks Niphlod 2012-10-20 10:11:08 -05: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 63a5e953ba fixed problem with renaming of the rewrite.thread to rewrite.THREAD_LOCAL 2012-10-12 12:19:08 -05:00
mdipierro aadde5a791 much better custom_import, smaller, faster, and finally works with shell 2012-10-11 22:03:20 -05:00
mdipierro 48d2ea7424 many improvements in cache 2012-10-10 11:01:09 -05:00
mdipierro a71cd3058a speedup in build-environment, thanks Michele 2012-10-01 12:01:35 -05:00
mdipierro 40d3ff40f6 apos entity fix, thanks Michele 2012-09-24 12:48:39 -05:00
mdipierro 148e099f58 CACHED_REGEXES_MAX_SIZE, thanks Anthony 2012-09-03 08:09:49 -05:00
mdipierro c292b896e3 conditional models with cached re.compile, thanks Anthony 2012-09-02 12:12:59 -05:00
mdipierro e27466b8a6 optional re.compile of generic_patterns 2012-09-02 11:05:19 -05:00
mdipierro a001a10bac lots of simplifications 2012-08-28 20:30:32 -05:00
mdipierro 632493f654 many speed improvements, thanks Michele 2012-08-28 08:28:36 -05:00
mdipierro dcce7fc39a fixed @//// in wiki and pep8 spacing 2012-08-25 11:29:11 -05:00
mdipierro e76bcf0ea9 removed unwanted whitespaces 2012-08-16 11:56:07 -05:00
mdipierro 80965dd5e3 yet another markmin improvement, thanks Vladyslav 2012-07-17 12:35:57 -05:00
mdipierro 0e8111a19e for some reason shell forgets settings, this works around temporarily fixes the problem, thanks Vladyslav Kozlovskyy 2012-06-30 11:54:36 -05:00
mdipierro 0e2b840837 better extension parsing, thanks Corne 2012-06-28 09:56:53 -05:00
Massimo Di Pierro 50fef94493 fixed major bug in LOAD, thanks otoan52 (issue 737) 2012-03-28 22:20:15 -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 54df20f543 fixed issue 721, xml not callable oddity, thanks psathvik 2012-03-19 15:55:49 -05:00
Massimo Di Pierro 1f8754155b reverted https://github.com/mdipierro/web2py/commit/36f3571590f84755103d1ce74868875dbd6f7d53 and fixed a backward compatibility issue 2012-03-03 00:00:05 -06:00
Massimo Di Pierro 36f3571590 compileapp patch, thanks Alan 2012-03-02 10:04:08 -06:00
Massimo DiPierro ced95854a9 web2py_component timeout, issue 576, thanks Alan 2012-02-28 15:09:12 -06:00
Massimo Di Pierro d281acb421 fixws and 'new' button in grid query 2011-12-05 11:39:42 -06:00
Massimo DiPierro eaa7b651eb fixed a problem with pypy detection 2011-12-03 01:04:18 -06:00
Massimo DiPierro ec2addf0ef http://code.google.com/p/web2py/issues/detail?id=464, thanks alwassoc 2011-12-03 00:35:16 -06:00
Massimo Di Pierro c1920c2352 no repeated import current in compileapp.py, thanks Anthony 2011-11-26 17:08:16 -06:00
Massimo Di Pierro c074209dcf from gluon import LOAD, thanks Anthony 2011-11-25 23:56:13 -06:00