Commit Graph
220 Commits
Author SHA1 Message Date
Fran BoonandGitHub 5490480906 Workaround Python 3.x CGI bug which causes #2262
Obviously the client also needs to send a Content-Disposition header for this to work
2020-04-13 16:57:36 +01:00
mdipierro 4882890a3c reverting 88ed162dae 2020-03-21 12:50:11 -07:00
mdipierro 88ed162dae fixes #2262, body decode on py3, thanks liuyigh 2020-03-21 12:18:15 -07:00
mdipierro 31422cffcd deal with corrupted sessions in cookies, thanks Luca 2020-03-08 21:55:34 -07:00
mdipierro c95b4e43d7 isostring->isoformat 2019-09-30 20:47:06 -07:00
mdipierro 0f638f9cdf possibly fixed the Redis problem, thanks Rastafarian 2019-09-09 21:13:01 -07:00
mdipierro 148e9e8629 removed cicrular dependency in copystream, thanks Paolo 2019-05-13 20:41:27 -07:00
mdipierro 1c08c07a0f new command line options 2019-05-01 21:07:52 -07:00
mdipierro 2f35117282 better options and regexp, thanks Paolo 2019-04-18 21:32:46 -07:00
mdipierro 83ca7f20b8 no need for Field import, thanks Paolo 2019-03-23 21:53:30 -07:00
mdipierro f06c60b963 space cleanup 2019-02-17 17:20:38 -08:00
Koen van Zuijlen ec41d49454 'unique_key' shouldn't be saved as bytes 2018-10-29 13:47:35 +01: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
Koen van Zuijlen 5c626c6d95 Fixed KeyError that occured when trying to retrieve column 'session_data' 2018-08-10 16:06:40 +02:00
LisandroandGitHub 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 fda67e1be5 request method 2018-05-01 15:58:14 -05:00
mdipierro cf52195b44 Merge branch 'master' of github.com:web2py/web2py 2018-04-19 00:17:39 -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
mdipierro 5de8cb4da5 fixed syntax for attachemnts, thanks Paolo Pastori 2018-04-03 11:24:32 -05:00
mdipierroandGitHub e9dcac4ecd Merge pull request #1818 from ilvalle/py3.6dev
fix include_meta for py35, added tests
2017-12-02 13:01:12 -06:00
ilvalle 622b29366a fix include_meta for py35, added tests. close #1816 2017-12-02 11:03:46 +01:00
Leonel CâmaraandGitHub 12253ab757 Fix #1715 2017-11-13 15:31:05 +00:00
Leonel CâmaraandGitHub 3ecdd1c11b Fix #1757 2017-09-07 10:18:41 +01:00
Leonel CâmaraandGitHub 892fba9e54 fix unordered include_files result
Now only concats adjacent internal to the application stuff, this also Fixes #1673
2017-08-09 01:08:28 +01:00
mdipierroandGitHub de8b2a477b Merge pull request #1722 from leonelcamara/patch-5
mobilize is back
2017-08-07 23:29:06 -05:00
Leonel Câmara 8533fa0d00 put is_mobile and is_tablet in the result of user_agent() 2017-08-08 00:50:55 +01:00
Leonel CâmaraandGitHub a744835f21 Fix response.download with nonasccii filenames
Fixes #1718
2017-08-05 13:27:44 +01:00
mdipierro 047ed786ac fixed some error in hashlib_md5 2017-07-10 16:02:15 -05:00
mdipierro ca1e5156ba fixed hashlib_md5 again, thanks Paolo 2017-07-10 15:10:16 -05:00
mdipierro e3ec4d4075 merged hashlib conflict 2017-07-10 14:20:39 -05:00
mdipierroandGitHub 2396cad2d1 Merge pull request #1658 from ilvalle/fix_minify
fix minify, added tests
2017-07-10 14:09:53 -05:00
Richard Vézina 88790dcaee Enhance globals.py PEP8 2017-06-21 14:49:10 -04:00
ilvalle 9f79dccb05 fix minify, added tests 2017-06-20 22:12:43 +02:00
mdipierroandGitHub 566feb79d4 Merge pull request #1649 from ilvalle/fix_globals
fix Pickler.dispatch_table
2017-06-15 04:01:14 -05:00
ilvalle 2ea5939640 fix Pickler.dispatch_table 2017-06-14 21:45:18 +02:00
Leonel Câmara ac67beb280 Fixes #1634 by adding a parameter "ignore_extension" to Request.restful which allows you to leave the args untouched if you set it to True. 2017-06-06 01:53:42 +01:00
ilvalle a31cf09dd3 minor compileapp refactor 2016-09-28 21:49:24 +02:00
niphlod 25e8f4aef1 fixes #1449
codename "he who late imports by default makes everybody's life a misery
for no speedup at all"
2016-09-19 21:33:01 +02:00
Giovanni Barillari 0528a347b3 Updated pyDAL to 16.08 2016-08-13 15:38:55 +02:00
mdipierro eebf406d97 fixed import error 2016-08-01 04:13:32 -05:00
mdipierro cc1ff02079 only one portalocker 2016-08-01 03:46:51 -05:00
mdipierro 35eaba1096 removed duplicated code, using pydal's _compat.py 2016-08-01 03:39:22 -05:00
mdipierro 665e14186e fixed issue with sessions in db on GAE 2016-07-17 04:18:56 -05:00
mdipierroandGitHub fe04923d28 Merge pull request #1392 from ilvalle/py3_fixes_7
Py3 fixes
2016-07-16 03:01:16 -05:00
ilvalle 73399fdee6 fix py3 html 2016-07-15 20:35:54 +02:00
mdipierro d067897cef json(indent=...) parameter 2016-07-07 01:47:59 -05:00
mdipierroandGitHub 338ca6ba5c Merge pull request #1361 from ilvalle/py3_fixes_step2
few py3 fixes
2016-06-18 07:48:39 -05:00