Commit Graph
100 Commits
Author SHA1 Message Date
Leonel Câmara 800bd53870 Use export columns as is supposed instead of selectable ones
Fixes #2014
2018-10-04 12:43:49 +01:00
Leonel Câmara 4c87932f06 Show readable fields with a default in create form
Fixes #2006 
This is a backwards compatibility fix.
2018-10-03 12:53:58 +01:00
Leonel Câmara 19c41b308d Update languages.py 2018-09-27 17:57:24 +01:00
Leonel Câmara f5638c8f6b Python 3 has no cmp function in sorted 2018-09-27 16:22:48 +01:00
Leonel Câmara 904ca403a2 Python 3 compatibility
Fixes #2024
2018-09-27 01:53:08 +01:00
Leonel Câmara d244c34282 Fixes #2020 2018-09-24 22:04:04 +01:00
Leonel Câmara 50692a4fd3 Fixes #726 2018-09-20 18:59:41 +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 62f5372876 Fixes #2007 2018-09-20 12:47:05 +01:00
Leonel Câmara 928fd364cf Add SameSite support 2018-09-06 16:16:44 +01: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
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
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
Leonel Câmara b4673384e5 Update bootstrap from a v4-alpha version to the latest release
Fixed welcome to work with the new release
Fixed checkboxes and radiobuttons in bs4 formstyle
2018-03-07 14:07:09 +00:00
Leonel Câmara dfa6703420 test IS_EMPTY_OR with a list and tuple 2018-02-26 19:59:21 +00:00
Leonel Câmara f40c041611 remove pg8000 2018-02-26 19:12:12 +00:00
Leonel Câmara 32e17d4ab2 fix config for coverage 4.5 changes 2018-02-26 18:47:59 +00:00
Leonel Câmara 521d5bce97 fix print statements in a couple of scripts 2018-02-06 19:48:11 +00:00
Leonel Câmara fd0f169a55 Update list of TLDs 2017-11-14 18:20:13 +00:00
Leonel Câmara e44a12eaf8 Update supported python versions 2017-11-13 22:40:37 +00:00
Leonel Câmara 12253ab757 Fix #1715 2017-11-13 15:31:05 +00:00
Leonel Câmara 4bfa9c1686 Fix a problem with Expressions in SQLTABLE possibly fixes #1735 and fixes web2py/pydal#487 2017-11-08 22:21:51 +00:00
Leonel Câmara 925f928843 Copy all CRYPT attributes thanks @abastardi 2017-11-08 11:53:29 +00:00
Leonel Câmara 228d3c41b6 Fixes #1800 2017-11-07 23:34:35 +00:00
Leonel Câmara 3ecdd1c11b Fix #1757 2017-09-07 10:18:41 +01:00
Leonel Câmara 912c22d593 Don't use gluon.utf8.Utf8 with py3 there's no need for it and it breaks stuff 2017-09-06 16:22:50 +01:00
Leonel Câmara 4b38186b51 simplify condition if you ain't got decode you ain't bytes 2017-09-06 15:37:51 +01:00
Leonel Câmara 83f9016528 fix in py3 too 2017-09-06 15:33:47 +01:00
Leonel Câmara a6044068cd Fixes #1751 2017-09-06 15:31:30 +01:00
Leonel Câmara 4aefb93ab4 Fixes #1752 2017-09-06 15:28:39 +01:00
Leonel Câmara 2861dc4215 Fixes #1753 2017-09-05 15:46:31 +01:00
Leonel Câmara f22e3a7624 execfile shim for python 3 compatibility
Fixes #1739
2017-08-16 16:35:46 +01:00
Leonel Câmara bd7ee209ea Fixes #1737
getproxies is in urllib.request for python 3
2017-08-15 15:34:35 +01:00
Leonel Câmara 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
Leonel Câmara 6e5c8b62cc Make test_include_files demand the same order 2017-08-09 01:05:37 +01: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âmara 3eea1f68f4 Make sure you return bytes when you str(body) 2017-08-07 00:20:29 +01:00
Leonel Câmara 10b6b93cb2 minor py3 compatibility change 2017-08-07 00:17:43 +01:00
Leonel Câmara 0b41ed36f9 mobilize is back
Fixes #1721
2017-08-06 19:20:01 +01:00
Leonel Câmara 90e20a4f39 Fix BEAUTIFY trying to display uploaded file contents
Fixes #1717
2017-08-06 17:01:27 +01:00
Leonel Câmara a744835f21 Fix response.download with nonasccii filenames
Fixes #1718
2017-08-05 13:27:44 +01:00
Leonel Câmara 561828fa60 Fix autocomplete called after user_signature chk
Fixes #1699 which was caused by the autocomplete widget only being called after a user_signature check and the signature not being there.  

The default values for user_signature and hash_vars make this work with the grid when it has the user_signature=True option without any problem when that isn't the case. Users can disable it if they want or change it according to what they're verifying in their controllers.   
  
The autocomplete widget will still fail with the default kwargs in a situation where it is called in a controller function that first verifies the URL signature with hash_vars=True.  
  
For users having that problem, there's no way around this without inserting a security flaw, so they must sadly change their application code to give the autocomplete widget the needed user_signature and hash_vars argument.
2017-07-28 02:20:54 +01:00
Leonel Câmara ce0b255747 Fixes #1672 2017-07-16 17:59:52 +01:00
Leonel Câmara 05d2ced779 remove print that was left from debugging 2017-07-16 14:27:11 +01:00
Leonel Câmara d144ff7d65 Fixes #1687 2017-07-16 14:06:03 +01:00
Leonel Câmara 780510dc32 Fixes #1684 2017-07-15 09:52:58 +01:00
Leonel Câmara 7a5f611e76 Fixes #1571 2017-07-14 20:23:13 +01:00
Leonel Câmara b7b8a009f2 Fixes #1680 2017-07-14 20:17:30 +01:00
Leonel Câmara 113df51ef9 Fixes #1685 2017-07-14 18:52:36 +01:00
Leonel Câmara b3a7c20f3f Fixes #1635 2017-07-10 00:17:15 +01:00
Leonel Câmara 2fc4115718 update heroku.py to the new pydal 2017-07-09 15:35:48 +01:00
Leonel Câmara c6c027dbec Fixes #1675 dropdown not working in the "manage" button 2017-07-07 18:10:31 +01:00
Leonel Câmara 7c9653ae23 Merge branch 'master' into test_is_url_py3 2017-06-14 15:41:07 +01:00
Leonel Câmara 2a33c0faff Changed URL validation to use urlparse instead of regex for spliting the URL
Enabled test_is_url in Python 3 since it is now passing
This might be one of the last fixes to #1353
Fixes #1598
2017-06-07 04:59:03 +01: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
Leonel Câmara 617ca4a98d Fixes #1639 2017-06-05 23:52:25 +01:00
Leonel Câmara 376c12a225 Fixes #1628 2017-06-05 23:35:41 +01:00
Leonel Câmara fe0f506efc Create a CookieJar on __init__ instead of creating a new one each post
Fixes #1505
2017-04-03 19:54:06 +01:00
Leonel Câmara 140023e920 Make web2pyDialog Python 3 compatible
checks "port web2pyDialog" in #1353
2017-03-31 12:04:55 +01:00
Leonel Câmara a23b264a37 make sudo false again 2016-11-21 19:48:41 +00:00
Leonel Câmara 79e256b1d7 require sudo 2016-11-21 15:53:10 +00:00
Leonel Câmara 920ab72415 fixed _update_session_user not really updating the session 2016-11-20 20:11:45 +00:00
Leonel Câmara 757d46274e fix bug with new login_user 2016-11-20 20:00:51 +00:00
Leonel Câmara 7b66ec0ae3 Fixes #1506 2016-11-20 19:51:51 +00:00
Leonel Câmara bf5ec0d7cf Fixed a long standing bug in login_user which was using 'password' instead of settings.password_field
Fixes #636
2016-11-20 19:38:21 +00:00
Leonel Câmara 85c68e6876 typo 2016-11-05 16:52:42 +00:00
Leonel Câmara d1dfc4a06a use _compat's long 2016-11-05 16:51:54 +00:00
Leonel Câmara 02f0bdb8d3 Auth refactor, extracted many methods into a base class for more generic auth mechanisms.
Partially addresses #1526
Includes a solution for IS_LOWER and IS_UPPER validator problems I mentioned in #1353
2016-11-05 16:37:22 +00:00
Leonel Câmara 180ebcd7f1 Removed unnecessary version checks
Fixed 2 memory leaks in restricted.py
2016-05-19 19:03:54 +01:00
Leonel Câmara 1029a70d10 more tests for languages module
removed 2.5/2.6 compatibility in test_validators.py
2016-05-12 02:00:14 +01:00
Leonel Câmara 261da3e346 fix setup.py 2016-05-11 01:12:00 +01:00
Leonel Câmara 87a3de22d7 remove ordereddict 2016-05-11 01:03:04 +01:00
Leonel Câmara a9ee9a6b58 remove simplejson 2016-05-11 00:47:23 +01:00
Leonel Câmara 713fe8e2bc remove 2.6 from CI configs 2016-05-10 23:35:15 +01:00
Leonel Câmara 944d8bd8f3 Check if host is denied before verifying password 2016-05-04 19:02:53 +01:00
Leonel Câmara 1b42fe6547 Fixes #1316 2016-05-03 19:17:58 +01:00
Leonel Câmara 810520b3f0 more tests for validators 2016-05-03 02:38:50 +01:00
Leonel Câmara b8b63302f4 add test_appadmin to tests/__init__.py 2016-04-26 17:17:19 +01:00
Leonel Câmara fa1af36adf partial tests for appadmin, testing a bunch of other stuff in the process 2016-04-26 04:31:22 +01:00
Leonel Câmara c7bb69a0b0 consistent naming 2016-04-21 20:12:00 +01:00
Leonel Câmara 8b402b491c 100% coverage for recfile 2016-04-21 20:01:23 +01:00
Leonel Câmara 59cbe99347 pep8 and force travis to rebuild 2016-04-14 04:13:18 +01:00
Leonel Câmara bdbc053285 fixes #1274 2016-04-14 03:57:20 +01:00
Leonel Câmara d746d43be5 pep8 and make travis run again 2016-04-14 01:21:23 +01:00
Leonel Câmara 9a3e73031b fixes #1266 and adds tests to make sure it doesn't happen again 2016-04-14 01:02:25 +01:00
Leonel Câmara 4bbfe70927 install a more modern pypy version 2016-04-13 14:17:30 +01:00
Leonel Câmara 02a0d1c9b0 minor reorder 2016-04-13 14:01:36 +01:00
Leonel Câmara 2bf0ad9268 test emails with alternative text and html 2016-04-13 14:00:33 +01:00
Leonel Câmara 9552d9d6d0 fixed sort=True test 2016-04-12 16:28:33 +01:00
Leonel Câmara 9ead66b6db test IS_IN_DB label is a Field and self.sort = True 2016-04-12 16:00:33 +01:00
Leonel Câmara 00c65ad160 Complete coverage for Mail.Attachment 2016-04-12 15:28:48 +01:00
Leonel Câmara b5c8b3ad25 closes #1286 2016-04-12 15:10:14 +01:00
Leonel Câmara ee8b11db2c closes #1188 2016-04-10 12:08:25 +01:00
Leonel Câmara ad4b0eee54 delete unused reserved_sql_keywords.py because the DAL uses this one pydal/contrib/reserved_sql_keywords.py 2016-04-06 23:06:57 +01:00
Leonel Câmara 0629df71ef Test Mail.Attachment sending test_tools.py itself 2016-04-06 20:04:21 +01:00