mdipierro
4b59b289de
Merge branch 'master' of github.com:web2py/web2py
2019-03-04 21:46:35 -08:00
mdipierro
d3a41f3a65
syncing pydal
2019-03-04 21:46:22 -08:00
mdipierro
910754c5c7
Merge pull request #2127 from leonelcamara/patch-24
...
Fix b' in session.flash when storing a LazyT
2019-03-04 19:54:26 -08:00
Leonel Câmara
701b6e1ebd
Fix b' in session.flash when storing a LazyT
...
probably Fixes #2110 as putting T('foo') in the session was the only way I could reproduce it
2019-03-04 17:11:04 +00:00
mdipierro
0fc807e5cf
syncing pydal
2019-03-04 01:03:23 -08:00
mdipierro
63ad7fb4ec
new pydal
2019-03-04 00:59:02 -08:00
mdipierro
e97c458fff
reinstated commented tests
2019-03-04 00:27:41 -08:00
mdipierro
bfc3169239
validators moved into pydal
2019-03-04 00:26:17 -08:00
mdipierro
ca3fd90acc
new validators pass all tests
2019-03-04 00:08:13 -08:00
mdipierro
26f1b8c84b
new validators and adapted tests
2019-03-03 23:54:49 -08:00
mdipierro
6128d03d4b
R-2.18.3
R-2.18.3
2019-03-03 15:08:28 -08:00
mdipierro
dd27abc770
Merge pull request #2125 from nicozanf/master
...
fix for building python 3 windows binaries
2019-03-03 15:03:59 -08:00
mdipierro
9e7b2b0b0b
R-2.18.3
2019-03-03 15:02:35 -08:00
mdipierro
e09655b112
fixed translator
2019-03-03 14:27:12 -08:00
mdipierro
399b57d13e
fixed import of local packages
2019-03-03 14:14:19 -08:00
mdipierro
2941aa13da
fixed admin save
2019-03-03 13:53:12 -08:00
Nico Zanferrari
c1e5571de8
fix for building python 3 windows binaries
2019-03-03 22:26:46 +01:00
mdipierro
a828cb2124
Merge pull request #2115 from leonelcamara/patch-23
...
py3 compat don't use keys()[0]
2019-03-02 23:08:04 -08:00
mdipierro
5a848e51a3
Merge pull request #2107 from vinyldarkscratch/validators/is_file
...
Add new IS_FILE validator
2019-03-02 23:07:22 -08:00
mdipierro
8477b77c56
Merge pull request #2104 from leonelcamara/valbcompat
...
Validators backwards compatibility fix
2019-03-02 23:06:00 -08:00
mdipierro
9bee5906d9
Merge pull request #2103 from erbalito/patch-3
...
resolves #1729
2019-03-02 23:04:38 -08:00
mdipierro
70ccecb1ab
Merge pull request #2100 from erbalito/patch-1
...
Update redis_cache.py
2019-03-02 23:03:18 -08:00
mdipierro
f2b8cdf684
Merge pull request #2099 from erbalito/patch-2
...
resolves #2098
2019-03-02 23:02:25 -08:00
Leonel Câmara
ef6814d452
py3 compat
...
Fixes #2114
2019-03-01 15:05:26 +00:00
Vinyl Darkscratch
1abdb0b5d8
Add new IS_FILE validator
2019-02-26 07:35:01 -08: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
Leonel Câmara
be3343e4af
backwards compatibility translator -> translate
2019-02-26 11:41:45 +00:00
mdipierro
8dcb4326c6
R-2.18.2
R-2.18.2
2019-02-25 22:08:20 -08:00
mdipierro
d5d2cf55de
removed teritem which breaks py3
2019-02-25 21:44:53 -08:00
mdipierro
818494d0f3
fixed problems with byte escaping in py3
2019-02-25 21:30:04 -08:00
erbalito
1779cf1a64
resolves #1729
...
A fix to avoid an error when time_expire=0 and set the proper cache_control instead.
2019-02-24 21:37:03 -03:00
mdipierro
c439355c1a
removed duplicate function local_html_escape
2019-02-24 02:12:22 -08:00
mdipierro
b58b7da18f
validatos no longer depend on T
2019-02-24 01:51:18 -08:00
mdipierro
afaf57f6da
R-2.18.1
2019-02-23 21:46:01 -08:00
mdipierro
7a8b5695bc
syncing dal
2019-02-23 19:07:28 -08:00
mdipierro
2d62c6ce88
updated pydal
2019-02-23 17:56:01 -08:00
mdipierro
263b1d0156
removed gluon/tests/test_template because moved to yatl
2019-02-23 16:38:31 -08:00
mdipierro
e199d0b495
added yatl to submodules
2019-02-23 16:28:29 -08:00
mdipierro
632946ac79
Merge branch 'master' of github.com:web2py/web2py
2019-02-23 16:25:39 -08:00
mdipierro
0663088d7f
added yatl
2019-02-23 16:24:33 -08:00
mdipierro
943e3b4de8
Merge pull request #2101 from jvanbraekel/patch-1
...
Fix redirect url when login failed (invalid login)
2019-02-23 15:55:54 -08:00
jvanbraekel
b21cfb53f3
Fix redirect url when login failed (invalid login)
...
Hello,
This is broken since 1457e12f70 . 'self.url' does'nt have any get_vars,post_vars, only one parameter called vars. I suggest to pass all variables instead with request.vars that will encompass both get and post vars... Another possibility would be to change the self.url signature but I don't see the purpose of making the distinction between post and get vars in this case.
2019-02-21 15:17:40 +01:00
erbalito
df2d09706c
resolves #2098
2019-02-21 08:39:41 -03:00
erbalito
118e57dd15
Update redis_cache.py
...
Small fix to make proper use of current.request.application when application is not provided
2019-02-21 08:12:07 -03:00
mdipierro
f06c60b963
space cleanup
2019-02-17 17:20:38 -08:00
mdipierro
bf23e7bb0e
better support of virtual fields in grid by accessing new sqlrows.colnames_fields, thanks Paolo
2019-02-17 17:02:24 -08:00
mdipierro
001b77b5f3
better regex escaping
2019-02-17 16:45:45 -08:00
mdipierro
23bcfe4239
Merge pull request #2094 from sethkinast/is-strong
...
gluon.validators: update IS_STRONG to behave as it did in web2py < 2.15
2019-02-17 16:19:26 -08:00
Seth Kinast
0077f29d71
gluon.validators: update IS_STRONG to behave as it did in web2py < 2.15
...
We used to compare `type(self.upper) == int` but the check was changed
to `isinstance(self.upper, int)`. Because bool is an instance of int but is not
the type int, the meaning of the checks changed to treat False as 0.
This patch specifically differentiates between False and 0.
- False means "no requirements for this character class".
- 0 means "exactly 0 of this character class".
Fixes #2093
2019-02-13 21:14:05 -08:00
mdipierro
ddc99b3552
validators are back in web2py for now
2019-02-10 22:15:12 -08:00