mdipierro
eda8277fbd
removed unwanted import that breaks python3.8
2019-11-02 20:09:47 -07:00
Lisandro
2989beae02
Added followlinks=True when calling listdir
...
In order to solve the issue #2221 , I've added followlinks=True when calling listdir() from functions compile_views(), compile_models() and compile_controllers()
2019-06-07 19:24:59 -03:00
dlage
30a0ac6a1b
Refactor methods from gluon/admin to gluon/fileutils
2019-05-16 18:51:26 +01:00
mdipierro
caf3010408
better regex and improvements in compileapp, thank you Paolo Pastori
2019-05-09 23:30:07 -07:00
Leonel Câmara
39b965be7b
Revert "don't use a regex to find exposed functions"
2019-04-01 15:24:46 +01:00
Leonel Câmara
cc235d3142
don't use a regex to find exposed functions
2019-03-12 11:33:41 +00:00
Leonel Câmara
ef6eb2cb04
Change the way Validator.translator is assigned so Validators can use self.translator
2019-02-26 11:43:58 +00:00
mdipierro
b58b7da18f
validatos no longer depend on T
2019-02-24 01:51:18 -08:00
mdipierro
f06c60b963
space cleanup
2019-02-17 17:20:38 -08:00
Vinyl Darkscratch
f434ebec8a
Update Python 3 compatibility
2019-02-09 00:01:11 -08:00
Donald McClymont
9364aa2036
Support for compiled apps on python 3.7 and above - marshal_header_size increased to 16 for those cases - tested by compiling and running welcome app on py 2.7,3.6 and 3.7
2018-09-05 23:34:05 +01:00
mdipierro
999e7b7512
fixed layout in lack of configuration
2017-11-14 00:47:40 -06:00
Дим Щ
dd14d1c8c9
Add reload
2017-10-28 19:28:51 +03:00
mdipierro
1800304ade
Merge pull request #1763 from abastardi/compiled_views
...
Fix bug with compiled views in compiled-only apps
2017-09-21 00:22:53 -05:00
abastardi
8eda21ca86
Fix bug with compiled views in compiled-only apps
...
Compiled views were not being executed in apps containing only compiled
files (i.e., generated via the admin "Pack compiled" functionality),
resulting in "Invalid view" errors for all pages.
2017-09-13 11:48:25 -04:00
Leonel Câmara
2861dc4215
Fixes #1753
2017-09-05 15:46:31 +01:00
ilvalle
9694c66703
Fix view file name in ticket traceback, fix #1740 , fix #1676
2017-08-19 10:07:52 +02:00
mdipierro
2c84b88466
Merge pull request #1668 from ilvalle/fix_compile_views
...
fix performance regression with compiled views
2017-07-10 14:17:04 -05:00
ilvalle
054320820c
fix performance regression with compiled views
2017-06-24 07:21:23 +02:00
Richard Vézina
7f5fc798c5
Enhance compileapp.py PEP8
2017-06-21 13:30:02 -04:00
ilvalle
f76437703b
fix web debugger, close #1629
2017-05-13 08:26:09 +02:00
Kristján Valur Jónsson
b6e5e16526
Update compileapp.py
...
The "current" may have been altered by the controller. This is the case for admin/controllers/shell.py, in callback(), where a new shell environment is created (from gluon/shell)
If this happens, the incorrect "response" is being referenced and the output of the controller is lost.
2017-01-25 20:10:03 +00:00
mdipierro
92ca527426
Merge pull request #1481 from ilvalle/compileapp_refactor
...
minor compileapp refactor
2016-09-30 17:15:18 -05:00
mdipierro
b19c3419ec
do not cache normal views because of dependencies
2016-09-30 13:54:37 -05:00
mdipierro
d03337a737
compile views with . separator anot _ seperator
2016-09-30 11:24:55 -05:00
mdipierro
a1154a6f42
reverted 28db54d0e8 changes to compileapp.py
2016-09-30 09:59:08 -05:00
ilvalle
a31cf09dd3
minor compileapp refactor
2016-09-28 21:49:24 +02:00
ilvalle
b4acfd0724
removed unnecessary env clone for _view_environment
2016-09-25 10:11:47 +02:00
ilvalle
576aaf668d
cache (and compile) parse_template in run_view_in, fix #1474
2016-09-25 10:08:26 +02:00
niphlod
e5dcdb074f
fixes #1310 and improves upon ideas shared on #1450
2016-09-22 00:01:22 +02:00
ilvalle
352c93bc86
added getcfs for run_view_in
2016-09-16 20:19:38 +02:00
ilvalle
897e2ab95d
caching read_pyc for controllers and models
2016-09-16 16:28:20 +02:00
Giovanni Barillari
0528a347b3
Updated pyDAL to 16.08
2016-08-13 15:38:55 +02:00
mdipierro
35eaba1096
removed duplicated code, using pydal's _compat.py
2016-08-01 03:39:22 -05:00
ilvalle
abf8d9fb27
fix compiled app in py3
2016-06-25 13:27:35 +02:00
ilvalle
8aecaf4514
PY3 fixes and added tests for gluon/admin.py
2016-06-24 22:54:56 +02:00
ilvalle
3270d39596
py3 fixed http.to
2016-06-21 22:24:33 +02:00
ilvalle
2aeb063890
enabled test_appadmin, fix markmin2html, fix main.py
2016-06-15 20:17:58 +02:00
ilvalle
48209f5bdf
fix compileapp
2016-06-13 20:20:49 +02:00
ilvalle
71ba0e515f
updated portalocker, few py3 syntax/import fix
2016-06-04 14:07:42 +02:00
ilvalle
01bab81432
manually adapt few imports
2016-06-01 20:16:30 +02:00
ilvalle
d74413bc16
running lib2to3.fixes.fix_methodattrs
2016-05-30 18:03:48 +02:00
ilvalle
35900da19b
running lib2to3.fixes.fix_except
2016-05-29 08:31:19 +02:00
ilvalle
d22222ebea
running lib2to3.fixes.fix_reduce
2016-05-29 08:31:19 +02:00
Chen Rotem Levy
07d764f3c6
issue#1310
...
undo PR#1194
2016-04-30 13:41:11 +03:00
Chen Levy
d494ec9c88
fix invalid view for purly complied app
...
When packing a compiled app, and distributing it without the non-compiled view views, run_view_in searches only the old style compiled view file: e.g. views_default_index.html.pyc and not in views.default.index.html.pyc, resulting in "invalid view (default/index.html)" 404 Exception.
2016-02-22 14:13:02 +02:00
mdipierro
b67edb083e
fixed compileapp problem in appveyor test (2nd attempt)
2015-12-18 04:44:03 -06:00
mdipierro
4125a97ce1
fixed compileapp problem in appveyor test
2015-12-18 04:39:51 -06:00
mdipierro
22c89d8dcc
version 2.13.1
2015-12-17 21:19:08 -06:00
mdipierro
4c039574df
skip failed views, thanks Anthony
2015-12-04 12:06:46 -06:00