Gautham Pai and GitHub
39dd86d6fb
Raise an error only if required is True and token is not present
2018-07-24 17:40:15 +05:30
Gautham
bc59d58a3e
Fixing a bug - the allows_jwt method does NOT throw any error if a token is not found at all.
...
This could cause potential security issues as developers decorate their methods with @allows_jwt and then not pass a token and the method allows the call.
Signed-off-by: Gautham <buzypi@gmail.com >
2018-07-24 15:12:20 +05:30
Mirko Galimberti
1aab089205
Fixes login_bare + register_bare w/ custom login_userfield
2018-07-19 17:13:38 +02:00
Daniel Libonati
ea1d9acfad
Fix #1959
2018-06-30 21:55:16 -03:00
mavignau@gmail.com
e6b7388758
Fix proposed to crash in linux on import markdown module
2018-06-19 21:18:33 -03:00
Lisandro and GitHub
911cf430a9
Catch KeyError in download function
...
This change is necessary to avoid an error ticket when you delete an upload field from a table (and also from the model definition). In those cases, requests to old URLs will throw a KeyError. With this fix, those requests return 404 as expected.
Also, catching AttributeError is still necessary for the situation when the table is removed entirely. If an old request come in, that sentence will throw an AttributeError, that will be catched properly, and request will return 404.
2018-06-15 08:30:44 -03:00
mdipierro
d7624b95f8
fixed a typo in validators, thanks Paolo
2018-06-15 05:08:12 +02:00
mdipierro
09271bff5f
simplfied a test, thanks Paolo
2018-06-15 05:07:28 +02:00
mdipierro
f239882d32
fxed various sqlhtml bugs, thanks Paolo
2018-06-15 05:06:49 +02:00
Carlos Costa
9076053f7e
correction to generate options also for fields generated with requires=IS_IN_SET or any field with options attribute
2018-06-12 19:55:25 -03:00
Leonel Câmara and GitHub
c97cac19f0
Import urllib stuff from _compat
2018-06-08 10:54:57 +01:00
Leonel Câmara and GitHub
b5e8cad672
Import urllib stuff from _compat
2018-06-08 10:45:36 +01:00
Leonel Câmara and GitHub
d502275fc8
PY3 compatibility
2018-06-08 10:41:13 +01:00
Leonel Câmara and GitHub
98c70d8a70
fixed XML import
2018-06-07 23:17:07 +01:00
mdipierro
c358d2a851
better validators and comments, thanks Paolo
2018-06-01 13:34:27 -05: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 and GitHub
e740451b69
Merge pull request #1923 from robinvandernoord/patch-1
...
Changed file to open
2018-06-01 12:41:40 -05:00
mdipierro and GitHub
dfd5752814
Merge pull request #1921 from leonelcamara/patch-13
...
Fixes #1918
2018-06-01 12:40:58 -05:00
mdipierro and GitHub
d2de59c05d
Merge pull request #1917 from cccaballero/NEWINSTALL_file_unlink
...
#1911 NEWINSTALL file unlink issue
2018-06-01 12:40:28 -05:00
mdipierro
8d865f1c5f
better error handing in IS_LIST_OF, thanks Paolo
2018-05-24 11:17:49 -05:00
Francisco Ribeiro and Francisco Ribeiro
32eb1bc27d
added task broadcasting for workers within a group
2018-05-09 04:45:08 +01:00
Robin and GitHub
16e3e7c35e
Changed file to open
...
file is deprecated in python 3, but open works on both. So for compatibility I would suggest to use open over file.
2018-05-08 11:00:35 +02:00
Leonel Câmara and GitHub
18414ab8c2
Fixes #1918
...
Took the chance to also update the syntax from the old style "except socket.error, e:" to "except socket.error as e"
2018-05-03 17:15:53 +01:00
mdipierro
fda67e1be5
request method
2018-05-01 15:58:14 -05:00
mdipierro
4130f87c62
fixed languages.py py3 bug
2018-05-01 15:53:19 -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
mdipierro
3170c360aa
improved docstring and comments in languages.py, thanks Paolo
2018-05-01 11:09:17 -05:00
mdipierro
38482d4846
better highlight.py, thanks Paolo
2018-05-01 11:06:36 -05:00
mdipierro
13ff0877fd
fixes #1596 , thanks Paolo Pastori
2018-05-01 10:51:42 -05:00
Carlos Cesar Caballero Díaz
f50380af73
#1911 NEWINSTALL file unlink issue
2018-04-30 14:17:44 -04:00
mdipierro and GitHub
a79ec41b3b
Merge pull request #1908 from leonelcamara/make_sure_to_unlock_redis
...
Release the lock even if function call fails
2018-04-29 19:50:33 -05:00
mdipierro and GitHub
9fb33e6b93
Merge pull request #1907 from leonelcamara/fix1905
...
Fixes #1905
2018-04-29 19:50:13 -05:00
mdipierro and GitHub
f0eb120bba
Merge pull request #1904 from n1k9/master
...
Modify dispacher for differente response element name
2018-04-29 19:49:10 -05:00
mdipierro
2f0f3075b0
allow web2py.py -S c/a/f?x=y
2018-04-24 17:40:47 -05:00
Leonel Câmara and GitHub
d6f426ed29
Update redis_cache.py
...
fix comment position
2018-04-20 17:00:13 +01:00
Leonel Câmara and GitHub
ea5ea6a307
Release the lock even if function call fails
2018-04-20 16:55:05 +01:00
Leonel Câmara and GitHub
be197e90e6
Fixes #1905
...
replace all e[0] with e.errno to fix for py3, this also works with python 2
2018-04-20 16:47:09 +01:00
Nicola Gramola
43e2ed2fc7
Modify dispacher for differente response element name
2018-04-19 08:57:25 +02:00
mdipierro
cf52195b44
Merge branch 'master' of github.com:web2py/web2py
2018-04-19 00:17:39 -05:00
mdipierro and GitHub
ddb2f0ebc3
Merge pull request #1897 from rif/master
...
Python3 fixes
2018-04-18 22:00:53 -05:00
mdipierro and GitHub
2d500d4cc8
Merge pull request #1896 from cccaballero/set_ldap_python_log_levels
...
Add support for Python logger logging levels in LDAP auth
2018-04-18 22:00:07 -05:00
mdipierro and GitHub
53c1f67195
Merge pull request #1895 from cccaballero/fix_ldap_bytes_error
...
Fixed Python 3.x LDAP bug on user firstname and lastname part
2018-04-18 21:59:44 -05:00
mdipierro and GitHub
1e450ed1d6
Merge pull request #1888 from BuhtigithuB/fix/recapchat-v1-deprecated
...
Close #1887 - remove Recaptcha V1
2018-04-18 21:59:13 -05:00
Radu Ioan Fericean
0900a3ddb9
discovered and use _compat to_bytes and to_native functions
2018-04-14 14:58:53 +03:00
Radu Ioan Fericean
086bfb5851
fix redis sessions and redis for python3
2018-04-14 14:33:37 +03:00
Radu Ioan Fericean
90288a0134
fix sessions in cookies for python3
2018-04-14 11:42:31 +03:00
Carlos Cesar Caballero Díaz
de0e63469c
Add support for Python logger logging levels in LDAP auth
2018-04-13 14:35:52 -04:00
Carlos Cesar Caballero Díaz
9b4b412239
Fixed Python 3.x LDAP bug on user fistname and lastname part
2018-04-12 12:25:30 -04:00