Commit Graph

474 Commits

Author SHA1 Message Date
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 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
mdipierro 9ded289924 fixed minor pylint -E errors 2017-07-02 01:55:51 -05:00
mdipierro 3d0b81cbe6 reverted backward imcompatible change 2017-06-30 08:22:26 -05:00
mdipierro 159dd0d022 fixed #1542, thanks RekGRpth 2017-06-20 14:49:54 -05:00
Tim Richardson f30c31a8a2 fix to #1636: sqlgrid left= (left outer join) fails because db._adapter.tables() now returns dict (previously a table) 2017-06-01 16:53:04 +10:00
mdipierro 0e1831bcc7 Merge pull request #1581 from nextghost/pydal-17.01
Update SQLTABLE for API changes in PyDAL 17.01
2017-03-21 12:06:00 -05:00
mdipierro 975ab7b923 SQLFORM.grid(showblobs=True) 2017-03-20 16:15:18 -05:00
Martin Doucha 6954988851 Update SQLTABLE for API changes in PyDAL 17.01 2017-02-28 22:12:54 +01:00
niphlod 9978e63621 fixes #1069, untangles the js, modernizes the approach
plus, avoids hitting the backend for each and every keypress...
2016-09-23 23:45:00 +02:00
niphlod 4f0a2eb80b fixes #1190 2016-09-22 01:55:53 +02:00
ilvalle 1623328678 fix missing to_unicode import, close #1442 2016-09-09 21:13:27 +02:00
Giovanni Barillari 0528a347b3 Updated pyDAL to 16.08 2016-08-13 15:38:55 +02:00
mdipierro 35eaba1096 removed duplicated code, using pydal's _compat.py 2016-08-01 03:39:22 -05:00
mdipierro ab93b74b85 Merge branch 'master' of github.com:web2py/web2py 2016-07-29 08:50:53 -05:00
mdipierro 6be3977fa7 fixed issue #1409, py2 vs py3 2016-07-29 08:50:28 -05:00
mdipierro fe7a049a0f Merge pull request #1359 from oscarfonts/grid-HTMLExporter-maxtextlength
Don't truncate texts on SQLFORM.grid HTML Export
2016-07-29 08:33:25 -05:00
mdipierro 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 64df136e69 minor import fix 2016-07-11 03:15:31 -05:00
Oscar Fonts 11fec25927 Don't truncate texts on SQLFORM.grid HTML Export 2016-06-14 11:06:14 +02:00
ilvalle a27f6f88ef fix serializers, websocket_messaging 2016-06-13 20:20:49 +02:00
ilvalle 7259516627 fix tools 2016-06-13 20:20:44 +02:00
Oscar Fonts 8fdedb7018 Add maxtextlenth option to SQLFORM.grid HTML exporter 2016-06-13 12:17:45 +02:00
mdipierro f4a353960b merged conflicts 2016-06-12 19:59:58 -05:00
zvolsky 876508a227 grid: custom representation of None value, in view 2016-06-06 12:43:11 +02:00
zvolsky 0c52f2a561 grid: custom representation of None value 2016-06-06 12:25:06 +02:00
ilvalle db8306b5c4 fix iteritems, enabled test_cache & test_dal for 3.5 2016-06-02 17:21:36 +02:00
ilvalle a1fd92b7f8 updated imports in tests 2016-06-02 14:28:21 +02:00
ilvalle 01bab81432 manually adapt few imports 2016-06-01 20:16:30 +02:00
ilvalle a5599f3eab running lib2to3.fixes.fix_idioms 2016-05-29 08:31:20 +02:00
ilvalle 9b9ed0ad0f running lib2to3.fixes.fix_funcattrs 2016-05-29 08:31:20 +02:00
ilvalle 35900da19b running lib2to3.fixes.fix_except 2016-05-29 08:31:19 +02:00
ilvalle d22222ebea running lib2to3.fixes.fix_reduce 2016-05-29 08:31:19 +02:00
mdipierro cbd8c63b26 Merge pull request #1335 from zvolsky/_breadcrumb_divider
better breadcrumb divider for smartgrid
2016-05-23 22:20:57 -05:00
Carlos Cesar Caballero Díaz 47b1bf7323 fixing dictionary changed size error on SQLFORM using extra_fields
When uses the extra_fields keyword argument in SQLFORM rises an
"RuntimeError: dictionary changed size during iteration" exception
because is trying to remove a dictionary element while is iterating the
dict
2016-05-23 14:36:10 -04:00
zvolsky a70e966f0c breadcrumb divider, finished 2016-05-20 19:04:07 +02:00
Giovanni Barillari 625c7ae82e Fix #1324 2016-05-09 23:38:52 +02:00
Leonel Câmara ee8b11db2c closes #1188 2016-04-10 12:08:25 +01:00
mdipierro 46ffaa6aea improved search form 2016-04-02 14:48:03 -05:00
Jack Kuan 6d68a40ddf Fix to work in cases, in which the query for the grid is not a join. 2016-03-24 10:25:37 -04:00
Jack Kuan 51bf802978 When deriving the value for a virtual field in a sqlform grid,
avoid issuing a separate sql query for each row found in the search
results.
2016-03-24 10:25:37 -04:00
mdipierro a22f56ca0c removed unwanted print statements 2016-03-22 17:55:29 -05:00
Hardirc 3a265e3111 a space between grid button icon and text is much more beautiful 2016-03-20 14:05:40 -04:00
mdipierro dbbbd44642 fixed space in bootstrap forms 2016-03-19 17:10:44 -05:00
mdipierro df55f52d8f fixed #1187 Field(.)Virtual typo, thanks RekGRpth 2016-03-14 12:45:01 -05:00
mdipierro 4b81f721ac Merge branch 'master' of github.com:web2py/web2py 2016-03-08 16:44:05 -06:00
mdipierro dc5cac07e1 fixed bs3 form alignment 2016-03-01 23:39:08 -06:00