Lisandro
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
c97cac19f0
Import urllib stuff from _compat
2018-06-08 10:54:57 +01:00
Leonel Câmara
b5e8cad672
Import urllib stuff from _compat
2018-06-08 10:45:36 +01:00
Leonel Câmara
d502275fc8
PY3 compatibility
2018-06-08 10:41:13 +01:00
Leonel Câmara
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
e740451b69
Merge pull request #1923 from robinvandernoord/patch-1
...
Changed file to open
2018-06-01 12:41:40 -05:00
mdipierro
dfd5752814
Merge pull request #1921 from leonelcamara/patch-13
...
Fixes #1918
2018-06-01 12:40:58 -05:00
mdipierro
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
32eb1bc27d
added task broadcasting for workers within a group
2018-05-09 04:45:08 +01:00
Robin
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
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
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
9fb33e6b93
Merge pull request #1907 from leonelcamara/fix1905
...
Fixes #1905
2018-04-29 19:50:13 -05:00
mdipierro
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
d6f426ed29
Update redis_cache.py
...
fix comment position
2018-04-20 17:00:13 +01:00
Leonel Câmara
ea5ea6a307
Release the lock even if function call fails
2018-04-20 16:55:05 +01:00
Leonel Câmara
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
ddb2f0ebc3
Merge pull request #1897 from rif/master
...
Python3 fixes
2018-04-18 22:00:53 -05:00
mdipierro
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
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
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
mdipierro
5de8cb4da5
fixed syntax for attachemnts, thanks Paolo Pastori
2018-04-03 11:24:32 -05:00
mdipierro
8d4dc1b373
fixed logging issue when invalid user_id
2018-04-03 00:22:19 -05:00
mdipierro
cec14c741a
fixed no-email edit in profile
2018-04-02 23:53:05 -05:00
Richard Vézina
ff44821f05
Close #1887 - remove Recaptcha V1
2018-03-26 16:21:21 -04:00
mdipierro
2237076a5a
Merge pull request #1884 from tyrbonit/master
...
Fix UnicodeDecodeError
2018-03-20 16:55:34 -05:00