Commit Graph
5419 Commits
Author SHA1 Message Date
mdipierro 077eb4263d Merge pull request #1946 from leonelcamara/patch-17
Import urllib stuff from _compat
2018-08-05 17:14:43 -07:00
mdipierro 2904dae2c3 Merge pull request #1945 from leonelcamara/patch-16
Import urllib stuff from _compat
2018-08-05 17:14:29 -07:00
mdipierro 225380d00b Merge pull request #1944 from leonelcamara/patch-15
PY3 compatibility
2018-08-05 17:14:16 -07:00
mdipierro fc295bb617 Merge pull request #1943 from leonelcamara/patch-14
fixed XML import
2018-08-05 17:14:03 -07:00
jvanbraekel 68284be7b0 Fix pdf export , make it python3 compatible, Fix markmin2latex import 2018-08-02 11:04:14 +02:00
jvanbraekel 0d8dc294e9 Fix tsv ext, add tsv hidden exporter , use csv exporter for tsv export 2018-08-02 10:59:51 +02:00
jvanbraekel cfe9c74eb1 Merge pull request #1 from web2py/master
web2py origin changes
2018-08-01 11:12:32 +02:00
jvanbraekel e73029ce37 fix markmin2latex import
Add full path name in markmin2latex import
2018-07-31 10:13:21 +02:00
Mirko Galimberti a053df7b75 Adds type error for handling NoneType exceptions 2018-07-27 12:03:39 +02:00
Mirko Galimberti a22aac1e65 Fixes ipython console listindex error 2018-07-27 11:18:24 +02:00
Michele Comitini 6f2be48e25 generate HTTP error code also if jwt token parameter is missing in request 2018-07-26 20:01:38 +02:00
Gautham Pai 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 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