Commit Graph

499 Commits

Author SHA1 Message Date
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
mdipierro
ee19a48521 Merge pull request #1858 from daniellibonati/dlibonati-bootstrap4_inline_fix
Added row class to form-group so form becomes inline in Bootstrap v4
2018-02-24 12:58:47 -06:00
mdipierro
9c6df11459 font-awesome 2018-02-24 12:31:33 -06:00
mdipierro
ee4eb3f15a Merge branch 'master' of github.com:web2py/web2py 2018-02-24 11:56:57 -06:00
Daniel Libonati
79ba8cb6e4 Added row class to form-group so form becomes inline in Bootstrap v4 2018-02-10 22:07:01 -03:00
ilvalle
ad3c69155b fix few urllib.urlencode, close #1841 2018-02-04 09:58:16 +01:00
mdipierro
4697e0e45b ignore computed fields 2017-12-04 23:45:03 -06:00
mdipierro
79b877f6b4 create forms should not display default values for readonly fields (third attempt) 2017-12-02 13:52:20 -06:00
mdipierro
553b7cf51a create forms should not display default values for readonly fields 2017-12-02 13:46:22 -06:00
mdipierro
44c3c3b0e4 Merge branch 'master' of github.com:web2py/web2py 2017-12-02 13:03:13 -06:00
mdipierro
4a2a02d1fe fixed display of computed fields 2017-12-02 12:52:15 -06:00
Tim Nyborg
b732ab6d53 Update SQLFORM deleted = False if readonly
fixes the following syntax:

form = SQLFORM(table, record, readonly=readonly, deletable=True)

form.process()

if form.deleted:
   pass
elif form.accepted:
   pass
2017-11-17 16:53:27 +00:00
mdipierro
65b3e6dda9 support for bootstrap4 2017-11-13 23:29:34 -06:00
mdipierro
14e58276cf form handling of f.options, f.regex, f.listable, f.rearchable 2017-11-10 18:41:41 -06: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
mdipierro
2f5eb409b6 show computed fields in readonly mode in appadmin 2017-11-08 00:40:47 -06:00
Tim Nyborg
2e6f529dfd Fix setting 'ac' in request.vars 2017-10-12 17:18:06 +01:00
abastardi
a605e43fa6 Fix grid TSV export bug 2017-09-14 18:49:31 -04:00
mdipierro
b7270df9c3 fixed issue topic/web2py/UnN6AyOh2Lg thanks Paul 2017-08-04 09:58:05 -05:00
mdipierro
213c4ee7d1 fixed use of whitespaces 2017-08-01 10:26:33 -05:00
mdipierro
56e6d682d6 Merge pull request #1702 from leonelcamara/i1699
Fix autocomplete called after user_signature chk
2017-08-01 09:46:00 -05:00
mdipierro
cc2cae5de4 Merge pull request #1692 from timnyborg/master
Fix #1691: Passing tables to SQLFORM.factory() fails
2017-08-01 09:45:21 -05:00
mdipierro
cd2ec98a26 grid.dbset 2017-07-29 01:31:25 -05: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
Tim Nyborg
d43604c3ff List comprehension rather than loop
I've now learned this is quicker
2017-07-24 10:15:12 +01:00
Tim Nyborg
ec21f72ce3 Fixes #1691
Clone fields, but leave tables untouched in factory()
2017-07-21 10:20:08 +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