mdipierro
4168002a58
allow imports form gluon/dal.py
2015-03-03 11:05:13 -06:00
niphlod
3fed961c20
adjusted docs to newer structure
2015-02-15 23:13:57 +01:00
niphlod
d7a0e6c4d7
this somehow got merged wrongly (came from #762 )
2015-02-06 21:28:47 +01:00
mdipierro
4984892fe0
merged
2015-02-05 18:08:35 -06:00
ilvalle
7bbeb669b9
updated pg8000 imports
2015-02-01 17:56:30 +01:00
niphlod
7e07ff8b39
we should always avoid importing "optionals" without a try:except.
...
one clear case of "should never happen"... that happened.
in this case docs were failing builds on readthedocs because of
pypyodbc not being able to load any odbc library.
2015-01-27 00:13:45 +01:00
gi0baro
8ff22d81a1
Use contrib drivers on pyDAL
2015-01-25 14:03:43 +01:00
Giovanni Barillari
ff43ab7a20
Fix uuid attribute of DAL
...
It's a bound method: requires instance as first parameter
2015-01-22 12:51:56 +01:00
gi0baro
2277f65f66
Fix import in dal.py
2015-01-18 18:14:53 +01:00
gi0baro
ea14c5b83b
DAL.validators_method become a bound method, requires dal instance as first parameter
2014-12-24 15:19:34 +01:00
gi0baro
76fa952be8
Avoid circular imports on latest sqlhtml_validators changes
2014-12-24 14:56:31 +01:00
gi0baro
dd73678601
Moved sqlhtml_validators method back into web2py
2014-12-24 14:44:59 +01:00
gi0baro
f60c1dff93
Fixing imports for new pydal
2014-12-15 22:24:04 +01:00
gi0baro
dcadcf0ffb
Added pyDAL from repository, adapted web2py code
2014-12-15 20:13:40 +01:00
gi0baro
5e5e649c28
Added modular DAL, updated gluon imports to new structure
2014-09-03 12:48:03 +02:00
mdipierro
d73c668f2d
Key.from_path -> self.keyfunc, thanks Quint
2014-09-02 10:10:14 -05:00
mdipierro
5eabe15b9e
improvement to dal for GAE but still problem with key IN set
2014-09-01 20:36:39 -05:00
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