412 Commits

Author SHA1 Message Date
mdipierro 529444cda7 fixed a test for Decimal serializer 2019-08-18 00:47:25 -07:00
mdipierro 89a4da0594 better scheduler logic to prevent deadlocks, thanks Paolo Pastori 2019-06-01 11:34:58 -07:00
mdipierro 94af61e732 better cron limits number of threads, thanks P.Pastori 2019-05-22 21:44:42 -07:00
mdipierro 3ed69380f2 one logger per app and fixed some threading issues with newcron, thanks Paolo Pastori 2019-05-11 13:21:40 -07:00
mdipierro c5ab91041d use testing app, not welcome for test_web, thanks Paolo 2019-05-07 20:51:48 -07:00
mdipierro fc256343a7 better setup and teardown in test_web, thanks Paolo 2019-05-05 20:53:20 -07:00
mdipierro 091f13df43 fixed logic for running tests and using welcome for testing, thanks Paolo 2019-05-05 20:34:28 -07:00
mdipierro 621d9e6d83 Merge pull request #2194 from leonelcamara/patch-31
Fixes #2182 possibly Fixes #2190
2019-05-05 20:30:40 -07:00
mdipierro ca0b72d7b1 fixed a few more typos and better testing, thanks Paolo 2019-05-03 20:03:41 -07:00
Leonel Câmara be81e69c2b fix tests for new json serializer 2019-05-02 16:21:34 +01:00
mdipierro 1c08c07a0f new command line options 2019-05-01 21:07:52 -07: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
Vinyl Darkscratch 1abdb0b5d8 Add new IS_FILE validator 2019-02-26 07:35:01 -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
mdipierro b58b7da18f validatos no longer depend on T 2019-02-24 01:51:18 -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 f06c60b963 space cleanup 2019-02-17 17:20:38 -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
Vinyl Darkscratch f434ebec8a Update Python 3 compatibility 2019-02-09 00:01:11 -08:00
Vinyl Darkscratch 62df950f50 Add aspect ratio validation tests 2018-11-03 21:17:13 -08:00
mdipierro 1715bccac4 Merge pull request #2019 from hrother/sqlform_factory_validators
Testcase for #2007
2018-09-23 10:44:37 -07:00
Holger Rother 70bb497b96 Simplify testcase 2018-09-22 09:55:26 +02:00
Holger Rother 398fc6de37 Testcase for #2007 2018-09-21 07:58:12 +02:00
Leonel Câmara 11b441b777 Make SameSite=Lax the default for all web2py apps 2018-09-20 13:02:09 +01:00
Leonel Câmara 928fd364cf Add SameSite support 2018-09-06 16:16:44 +01:00
mdipierro 09271bff5f simplfied a test, thanks Paolo 2018-06-15 05:07:28 +02:00
mdipierro 319490edc1 fixed one more test 2018-06-01 13:19:35 -05:00
mdipierro 7fce2d04af fixed tests for IS_LIST_OF 2018-06-01 12:56:45 -05:00
mdipierro 891348986c fixed test 2018-05-01 11:38:08 -05:00
mdipierro d2290eb3d5 better tests for languages.py, thanks Paolo 2018-05-01 11:10:08 -05:00
Richard Vézina ff44821f05 Close #1887 - remove Recaptcha V1 2018-03-26 16:21:21 -04:00
mdipierro f6d2f8a2a1 Merge pull request #1871 from masia5/drop_pg8000_tests
Drop pg8000 tests
2018-03-06 23:40:11 -06:00
Leonel Câmara dfa6703420 test IS_EMPTY_OR with a list and tuple 2018-02-26 19:59:21 +00:00
Leonel Câmara 32e17d4ab2 fix config for coverage 4.5 changes 2018-02-26 18:47:59 +00:00
masia5 8d2fa09ef7 Drop pg8000 tests, close #1742 2018-02-25 07:25:50 +01:00
mdipierro fa99620240 cannot promise forms will not changes, removed form tests 2018-02-24 13:23:09 -06:00
mdipierro 61b5343f66 Merge pull request #1852 from ilvalle/fix_languages_py3
fix py3 languages decode
2018-02-24 10:57:17 -06:00
ilvalle fa31a6b61b Added test for T used in HTML tags, fix language encode(), close #1856 2018-02-12 21:13:19 +01:00
ilvalle 44e27bf65f fix py3 languages decode added tests. close #1848, thanks @bjquinn 2018-02-09 20:46:00 +01:00
ilvalle 421aec162a fix py3 STYLE and SCRIPT tags, close #1835 2018-02-04 09:41:57 +01:00
mdipierro 20411ce45f create forms should not display default values for readonly fields 2017-12-02 13:37:42 -06:00