Commit Graph

7801 Commits

Author SHA1 Message Date
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
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
mdipierro
cf278d3741 validators now tested in pydal and code moved there 2019-02-10 21:32:31 -08:00
mdipierro
21b0bac625 Merge branch 'master' of github.com:web2py/web2py 2019-02-10 21:10:38 -08:00
mdipierro
e1cbaf1cb3 made template independent of everything else (ready to bedome its own package) and other minor fixes 2019-02-10 21:10:25 -08:00
mdipierro
b3175d092e Merge pull request #2088 from vinyldarkscratch/python-3
Introduce better Python 3 compatibility across all files
2019-02-10 20:09:27 -08:00
mdipierro
d8bdc47542 Merge pull request #2084 from vinyldarkscratch/fix-2083
Fix login form clearing after failed login
2019-02-10 20:09:14 -08:00
mdipierro
d16b90c04f pydal 19.02 2019-02-10 20:08:32 -08:00
Vinyl Darkscratch
f4ffac58ae Convert to print function 2019-02-09 10:03:49 -08:00
Vinyl Darkscratch
c856c2b0e2 Fix tabs + indents mix 2019-02-09 10:03:41 -08:00
Vinyl Darkscratch
405527672c Update Python version in setup scripts 2019-02-09 09:41:54 -08:00
Vinyl Darkscratch
f434ebec8a Update Python 3 compatibility 2019-02-09 00:01:11 -08:00
Vinyl Darkscratch
8852df7a7a Delete password rather than simply clearing it 2019-02-04 09:56:58 -08:00
mdipierro
fcea326855 using _compat.py from pydal 2019-02-03 21:36:26 -08:00
mdipierro
5e1527a8e2 many improvements to grid, thanks Paolo 2019-02-03 21:24:52 -08:00
mdipierro
7c515f48f6 Merge pull request #2090 from vinyldarkscratch/appveyor/add-python-3.7
Add Python 3.7 to AppVeyor
2019-02-03 21:17:20 -08:00
mdipierro
0bf55f18d6 Merge pull request #2086 from vinyldarkscratch/patch-5
Fix tools.py _get_login_settings()
2019-02-03 21:15:01 -08:00
mdipierro
2fb3a78d75 Merge pull request #2076 from ilvalle/ci_updates
updated travis env
2019-02-03 21:13:01 -08:00
mdipierro
3f56a0ad70 Merge pull request #2075 from benlawraus/benlawraus
unicode() is not a standard python 3 function so using str() if pytho…
2019-02-03 21:10:43 -08:00
mdipierro
b501d77903 Merge pull request #2072 from vinyldarkscratch/admin-debug-interact-patch
Fix translation strings to use Markmin
2019-02-03 21:10:13 -08:00
mdipierro
252835d8e7 Merge pull request #2071 from vinyldarkscratch/translations/de
Update German translations
2019-02-03 21:09:48 -08:00