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 and GitHub
fd0f169a55
Update list of TLDs
2017-11-14 18:20:13 +00:00
Leonel Câmara and GitHub
e44a12eaf8
Update supported python versions
2017-11-13 22:40:37 +00:00
Leonel Câmara and GitHub
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 and GitHub
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 and GitHub
f22e3a7624
execfile shim for python 3 compatibility
...
Fixes #1739
2017-08-16 16:35:46 +01:00
Leonel Câmara and GitHub
bd7ee209ea
Fixes #1737
...
getproxies is in urllib.request for python 3
2017-08-15 15:34:35 +01:00
Leonel Câmara and GitHub
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 and GitHub
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 and GitHub
3eea1f68f4
Make sure you return bytes when you str(body)
2017-08-07 00:20:29 +01:00
Leonel Câmara and GitHub
10b6b93cb2
minor py3 compatibility change
2017-08-07 00:17:43 +01:00
Leonel Câmara and GitHub
0b41ed36f9
mobilize is back
...
Fixes #1721
2017-08-06 19:20:01 +01:00
Leonel Câmara and GitHub
90e20a4f39
Fix BEAUTIFY trying to display uploaded file contents
...
Fixes #1717
2017-08-06 17:01:27 +01:00
Leonel Câmara and GitHub
a744835f21
Fix response.download with nonasccii filenames
...
Fixes #1718
2017-08-05 13:27:44 +01:00
Leonel Câmara and GitHub
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 and GitHub
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
Leonel Câmara
d0f6ef4783
made stuff prettier
...
added myself to the contributor list :P
2016-03-31 00:29:28 +01:00
Leonel Câmara
ad57c3c613
test block extend, super, delimiters, etc.
2016-03-30 02:33:29 +01:00
Leonel Câmara
5c292640ba
Complete coverage for IS_IN_SET
...
Removed unreachable code in IS_IN_SET
if failures and self.theset:
if self.multiple and (value is None or value == '')
It's impossible to have *failures* and have value be None or '' at the same time
2016-03-28 14:47:58 +01:00
Leonel Câmara
5cbf381a2c
More test coverage for validators.py
...
Fixed a bug in IS_EMAIL throwing exceptions when asked to validate anything other than a string which was problematic for ANY_OF
Fixed a bug in ANY_OF.formatter where it was trying to format with a validator that didn't validate
2016-03-27 14:23:24 +01:00
Leonel Câmara
778cc3902b
Update imageutils.py
...
missing comma
2016-03-25 12:45:33 +00:00
Leonel Câmara
78fc14df81
minor - pep8 and naming consistency
2016-03-20 12:46:26 +00:00
Leonel Câmara
4311820494
tests for basic Mail functionality
2016-03-20 12:33:38 +00:00
Leonel Câmara
8683b0680d
add test for something that is NOT an image
2016-03-19 14:55:16 +00:00
Leonel Câmara
fbb5776432
test_IS_IMAGE
...
Removed unused and undocumented IS_IN_SUBSET
Fixed _options IS_EMPTY_OR not passing arguments to the other options method
Some tests for formatters
2016-03-19 12:52:48 +00:00
Leonel Câmara
98d33bdded
Tests for IS_IN_DB, IS_NOT_IN_DB, IS_URL (also tests IS_HTTP_URL IS_GENERIC_URL)
2016-03-14 23:59:08 +00:00
Leonel Câmara
b99fb7dedf
Fixes #721
...
Fixes a bug where auth.wiki was not respecting the extra keyword argument
2015-09-29 00:21:01 +01:00
Leonel Câmara
36db9719ef
Deal with the corner case of already created accounts
...
Polished everything a bit
2015-09-15 17:24:57 +01:00
Leonel Câmara
125cbd93a0
Allow deploying to pythonanywhere from the web2py admin that you're running locally.
2015-09-08 00:51:09 +01:00
Leonel Câmara
032af7c04d
Moved pack as exe functionality to the pack_custom.html form
2015-06-30 19:19:38 +01:00
Leonel Câmara
5d2e5dded3
Allow packing an application with the windows executable
2015-06-30 17:51:39 +01:00
Leonel Câmara
5cdd7c1215
Fixes issue with locked files during cleanup
2015-04-01 18:27:05 +01:00
Leonel Câmara
3e46e985bf
Fix thundering herd problem due to the lock for a key being released too early
2015-03-28 00:56:53 +00:00
Leonel Câmara
9050840962
Changed CacheOnDisk to use fine grained locking instead of atomic replacement
2015-03-27 01:49:48 +00:00