5608 Commits

Author SHA1 Message Date
81a052f94a Merge remote-tracking branch 'remotes/oficial/master' into patch-2 2019-12-18 16:13:59 +00:00
mdipierro
c44c2b06d3 Merge branch 'master' of github.com:web2py/web2py 2019-11-02 23:09:04 -07:00
mdipierro
eda8277fbd removed unwanted import that breaks python3.8 2019-11-02 20:09:47 -07:00
mdipierro
21afb0933e Merge pull request #2270 from tomodachi/freeipa_auth
Add support for freeIPA ldap auth
2019-10-27 21:27:40 -07:00
Mateusz Mojsiejuk
a0eac8fce7 Add support for freeIPA ldap auth 2019-10-25 15:52:11 +02:00
Bernhard Miklautz
7038758960 new [scheduler]: add parameter use_spawn
Add a new parameter to Scheduler to allow it to use spawn
multiprocessing method.

This is only available with python3 therefore the parameter is
ignored with python2.
2019-10-25 11:31:54 +02:00
mdipierro
8f98994423 fixed validate for good 2019-10-20 22:04:11 -07:00
mdipierro
cf91145db0 made validators compliant with new dal 2019-10-20 21:48:49 -07:00
mdipierro
dce5fbb472 fixed validate maybe 2019-10-20 21:43:01 -07:00
mdipierro
1ce316609a Merge branch 'master' of github.com:web2py/web2py 2019-09-30 20:47:15 -07:00
mdipierro
c95b4e43d7 isostring->isoformat 2019-09-30 20:47:06 -07:00
Tim Nyborg
2b30157cce Update redis_cache.py
moving logging as well
2019-09-25 11:06:23 +01:00
Tim Nyborg
89c392d224 correcting indentation 2019-09-17 14:48:15 +01:00
mdipierro
91fd094790 Merge branch 'master' of github.com:web2py/web2py 2019-09-09 21:13:20 -07:00
mdipierro
0f638f9cdf possibly fixed the Redis problem, thanks Rastafarian 2019-09-09 21:13:01 -07:00
mdipierro
6af98ac7bc Merge pull request #2252 from misl6/fix-user-registration-key-error
Fix user registration key error
2019-09-09 20:51:24 -07:00
Mirko Galimberti
1dec1b4358 Checks for user availability before accessing the registration key 2019-09-02 13:50:39 +02:00
Tim Nyborg
75491fb273 python3 compatibility for JSONRPCError
Trying this again, now that I learned about gluon._compat
2019-08-23 12:25:11 +01:00
mdipierro
529444cda7 fixed a test for Decimal serializer 2019-08-18 00:47:25 -07:00
mdipierro
af151783c6 test 2019-08-18 00:20:24 -07:00
mdipierro
4a838c2c14 biopic web2py tests 2019-08-17 23:43:25 -07:00
mdipierro
42181ca263 Merge branch 'master' of github.com:web2py/web2py 2019-08-17 22:46:56 -07:00
mdipierro
8b55025cb3 serializing decimal as float, thanks villas 2019-08-17 22:46:31 -07:00
mdipierro
e0fc657b8e Merge pull request #2237 from dlage/fake_migrate
Fake migrate
2019-08-17 21:59:28 -07:00
mdipierro
619af453a6 Merge pull request #2234 from jvanbraekel/Fix-encoding-of-pdflatex-log-file
Fix encoding of pdflatex log file
2019-08-17 21:58:30 -07:00
179edb659a Load all models when using --force_migrate (same behaviour as appadmin). 2019-08-13 18:04:30 +01:00
mdipierro
019295e1d1 reverting 2c364c2079 which incorrecly assumes the scheme can only be http or https 2019-08-11 10:58:22 -07:00
b4c2ee8304 Allow easily switching fake_migrate on to allow easier fixes of the database migrations 2019-07-25 17:15:19 +01:00
Dinis
3741fe4c66 initialize env with abspath
When running scripts, the path used is relative to the web2py root instead of the full path. This causes differences in migrations when using InDBMigrator - this causes pydal to try to repeat migrations already done.
2019-07-25 17:03:01 +01:00
jvanbraekel
37d1fca32c Enable greek symbols support
Pakage was missing form the template, leading to errors when greeks characters were used
2019-07-25 11:28:37 +02:00
jvanbraekel
251314ceb8 Only return get_vars after a failing login
Since the redirect is a GET action, there is no reason to return post vars from the failing attempt.
2019-07-24 09:43:03 +02:00
jvanbraekel
a23a068d40 Add utf-8 encoding in latex log opening
By default, open use ascii encoding leading to crash when non ascii caracters are present . Fix it by enforcing UTF-8  encoding
2019-07-23 15:52:21 +02:00
Ray Luo
8faa5e2a82 Better https detection
Switch to request.is_https which provides better https detection
2019-07-22 23:41:23 -07:00
mdipierro
0557fe9c58 sync 2019-07-15 22:02:57 -07:00
mdipierro
5945edebfd Merge pull request #2230 from bjones1/master
Allow specification of server's encoding in webclient.
2019-07-15 22:00:33 -07:00
mdipierro
558afd886c Merge pull request #2229 from leonelcamara/patch-32
__lt__ and __gt__ for lazyT
2019-07-15 22:00:13 -07:00
mdipierro
1bc8ea6838 Merge pull request #2227 from nicozanf/bookfix
fix for py 3.6+ compatibility
2019-07-15 21:59:56 -07:00
mdipierro
24d970a943 Merge pull request #2223 from gonguinguen/patch-6
Added followlinks=True when calling listdir
2019-07-15 21:58:06 -07:00
mdipierro
e66dda8641 Merge pull request #2222 from gonguinguen/patch-5
Added followlinks argument to listdir
2019-07-15 21:57:36 -07:00
mdipierro
320a28d564 Merge pull request #2216 from web-py/patch-3
Update fa.py
2019-07-15 21:57:12 -07:00
Bryan A. Jones
9db1c6b0b0 Allow specification of server's encoding in webclient. 2019-07-12 10:23:53 -05:00
Leonel Câmara
f307fe7d56 __lt__ and __gt__ for lazyT
Fixes #2228
2019-07-10 12:25:40 +01:00
Nico Zanferrari
f845497479 fix for py 3.6+ compatibility
py 3.6+ gives errors and need more escapes - I've tested the patch on the full web2py book's latex output and it's backward compatible with 2.7. For technical details see https://bugs.python.org/issue28450 :
"Deprecated since version 3.5, will be removed in version 3.6: Unknown escapes consist of '\' and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6"
2019-07-07 00:55:39 +02: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
Lisandro
2a7b16d61f Added followlinks argument to listdir
The followlinks argument is then used by the function when it calls os.walk(path...
Notice the "followlinks" argument of os.walk() is False by default, so this change won't make any difference. Every actual call to listdir() function won't need to be changed.
This change is needed to resolve issue #2221
2019-06-07 19:21:10 -03:00
mdipierro
8823cde350 simpler populate 2019-06-06 21:52:20 -07:00
mdipierro
7385904f97 --force_migrate and --cron_threads, thanks Paolo Pastori 2019-06-06 21:23:31 -07:00
web-py
c82f0ba619 Update fa.py
edit plural-forms for persian agian
2019-06-02 16:07:58 +04:30
mdipierro
0fe9d0aa34 Merge pull request #2213 from web-py/patch-2
create fa.py
2019-06-01 11:36:06 -07:00
mdipierro
89a4da0594 better scheduler logic to prevent deadlocks, thanks Paolo Pastori 2019-06-01 11:34:58 -07:00