mdipierro
fa05c01c7d
fixed a problem with extra fields and better validation errors
2014-08-21 17:22:03 -05:00
mdipierro
3f65b8bfc8
fixed an issue with lack of validators in 'double' type
2014-08-11 00:02:08 -05:00
mdipierro
2a2800bc25
Merge pull request #476 from leonelcamara/master
...
Small Refactoring of BaseAdapter.delete
2014-08-10 12:39:30 -05:00
mdipierro
bb13d6b729
fixed some bugs and another bs2->bs3 attempt
2014-08-09 01:52:09 -05:00
mdipierro
5cbbcd3685
fixed postgresql bug introduced in recent commit?
2014-08-08 00:13:31 -05:00
mdipierro
6db3b0621c
Fixed issue 1962, postgres INSERT ... RETURING id, thanks perakojotgenije
2014-08-07 23:43:22 -05:00
mdipierro
63529e5ad8
not sure what happened but fixing local commit
2014-08-06 14:50:51 -05:00
Leonel Câmara
5c0693b175
Further refactored SQLiteAdapter calling the super method instead of duplicating the code
2014-08-05 10:53:40 +01:00
Leonel Câmara
b788e8b493
minor - Slight optimization use tablename directly instead of table._tablename
2014-08-02 10:57:02 +01:00
Leonel Câmara
444a09b0b2
Refactored BaseAdapter delete method - Special case code for sqlite and spatialite should not be in the BaseAdapter it should be in SQLiteAdapter, this should also provide a negligible performance boost in delete operations for most adapters including SQLiteAdapter.
2014-08-02 10:52:47 +01:00
Leonel Câmara
f0691a64ea
typo in a comment
2014-08-02 10:38:48 +01:00
Leonel Câmara
c73cc084ad
Merge branch 'master' of git://github.com/web2py/web2py
...
Conflicts:
applications/admin/languages/pt.py
gluon/dal.py
2014-07-29 20:19:26 +01:00
Leonel Câmara
8d8095b1f5
Added fix - you cannot concatenate lists with tuples and sets and it was possible that this would happen
2014-07-29 19:39:14 +01:00
Leonel Câmara
757fb934d5
Fixed a bug where as_list was setting the compact value for the rows permanently instead of only temporarily while processing the rows.
2014-07-29 18:56:45 +01:00
Leonel Câmara
1ee8d3cb97
Added an optional render argument to as_trees that if true causes it to render the rows before building the tree
2014-07-29 18:01:11 +01:00
mdipierro
29303488ab
support for Oracle REGEXP_LIKE, thanks Alexander Rasin
2014-07-28 00:21:45 -05:00
mdipierro
7b2b8155f9
Merge pull request #469 from abastardi/issue/unique_validator
...
Fix default validator when unique=True
2014-07-10 02:07:46 -05:00
abastardi
d2563c434b
Fix default validator when unique=True
...
Append the IS_NOT_IN_DB validator so it is applied to the final value after any previous validators may have altered the original value.
2014-07-09 13:51:26 -04:00
ilvalle
609a931f91
always appends IS_NOT_IN_DB
2014-07-09 17:05:36 +02:00
ilvalle
e7208c6569
fix unique validator with date/time fields
2014-07-08 23:14:28 +02:00
mdipierro
1606c938a7
better handling of uploads in hypermedia.py
2014-07-03 11:56:15 -05:00
mdipierro
eec39aeeec
smarter upload of binary data
2014-07-02 07:26:16 -05:00
mdipierro
1ca5e5524e
fixed possible bug in dal
2014-06-19 17:17:29 -05:00
mdipierro
e42b835687
Merge branch 'master' of github.com:web2py/web2py
2014-06-13 22:16:43 -05:00
mdipierro
3266c541b6
fixed CAST LONGTEXT issue with mysql
2014-06-13 11:46:50 -05:00
niphlod
b6f9bdef95
fix like behaviour
2014-06-10 22:37:55 +02:00
niphlod
01fb85c693
mssql4 adapter enhancements
...
Given that mssql4 requires MSSQL2012, we can use newer types for data
without worrying about compatibility with older MSSQL versions
2014-06-03 23:36:08 +02:00
mdipierro
ece00a8f52
fixed 1933:MongoDB adapter passes incorrect query, thanks Alan
2014-05-26 23:43:19 -05:00
mdipierro
e66f201191
db(db.person).select().column('name'), thanks Anthony
2014-05-26 22:26:59 -05:00
Jeremie Dokime
84f88ed9db
Fix IS_STRONG used with validate_and_update
...
Fix no error return with IS_STRONG validator because it returns a gluon.html.XML instead of str, so when pushed to response.errors that is a Row, it isn't display because Row object filters his output and doesn't support XML objects.
2014-05-16 16:14:14 +02:00
mdipierro
993cc16a25
syncing
2014-05-07 17:09:03 -05:00
BuhtigithuB
4ab3631f1c
Fix wrong space insert in patch
2014-05-04 12:17:31 -04:00
BuhtigithuB
32ef767ed0
ley -> key
2014-05-04 12:12:18 -04:00
BuhtigithuB
377a69ced9
PEP8 improvements white space here and there
...
I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
2014-05-04 12:02:08 -04:00
mdipierro
8d648f6137
restore beahvior in gae that if no limitby, returns iterator
2014-03-31 00:19:04 -05:00
mdipierro
52b55889dd
fixed the proble with count on GAE
2014-03-31 00:07:31 -05:00
mdipierro
0caae1f8d4
better support for google datastore
2014-03-30 23:36:51 -05:00
mdipierro
49f4e38658
db.define_table(...table_hash=...) to override hash in .table file, thanks dmvieira
2014-03-29 17:19:12 -05:00
mdipierro
338a4256ca
Merge pull request #415 from niphlod/docs/dal
...
sphinx-compatible docstrings (and we're finished!!!!!)
2014-03-29 17:08:53 -05:00
mdipierro
267cd08af6
gae search not fecthed by key to ensure consistency, thanks Luca
2014-03-28 23:51:27 -05:00
niphlod
874abf67ae
sphinx-compatible docstrings (and we're finished!!!!!)
2014-03-27 22:50:27 +01:00
mdipierro
f8831b0bf3
Merge pull request #409 from ctdegroot/uploadfs
...
Modify Table class so that uploadfs is respected when uploads_in_blob is set to True
2014-03-20 18:00:43 -05:00
mdipierro
2b60a1cd49
support for geography types, thanks sunny
2014-03-20 11:14:25 -05:00
Chris DeGroot
9a92318d75
Modify Table class so that uploadfs is respected when uploads_in_blob is set to True
2014-03-19 23:43:58 -04:00
mdipierro
733fa01b7e
fixed issue 1894:represent requires 2 arguments in dal.py, thanks mweissen
2014-03-09 17:22:39 -05:00
mdipierro
8a54001e11
Merge pull request #390 from dokime7/master
...
Fix DAL ADD method
2014-03-08 14:30:42 -06:00
Oscar Rodriguez
d4d91fd003
dal.py: Table class: validate_and_update_or_insert method created
2014-03-07 16:22:09 +01:00
Jeremie Dokime
89c4efbac3
Fix DAL ADD method
...
Fix regression of ADD method:
NameError: global name 'gluon' is not defined
2014-03-06 17:56:11 +01:00
Oscar Rodriguez
3a5a34da0a
dal.py: Table class: validate_and_update_or_insert method created, and minor changes in validate_and_update
2014-03-06 12:06:57 +01:00
Oscar Rodriguez
0b7f663d43
dal.py: Table class: validate_and_update_or_insert method created, and minor changes in validate_and_update
2014-03-05 19:46:19 +01:00