Commit Graph

420 Commits

Author SHA1 Message Date
dlage 2efa54a2d7 remove useless imports. 2019-12-12 18:03:10 +00:00
dlage f5cdf17c48 fix wrong redis server host. 2019-12-12 15:07:23 +00:00
dlage 3272755fea better structure in the redis test class. 2019-12-12 15:00:37 +00:00
dlage 022ddd49c4 fixed convertions for compatibility with Python3. Add further testing of redis sessions functions. 2019-12-12 14:37:41 +00:00
dlage 981254ec61 add test_redis to gluon init. 2019-12-11 18:55:14 +00:00
dlage ce917feb7e Fix redis_session types for new redis client. Add testing in travis and appveyor.yml 2019-12-11 18:31:44 +00:00
dlage bad0d0b26b Start new testing of redis_session and save redis session table information so we can recover data from redis in the native format. 2019-12-05 19:53:20 +00:00
dlage 517f88891f Add a test that simulates redis session usage. 2019-12-05 19:26:40 +00:00
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