niphlod
7d59bcab72
first steps to a cleaner DAL and rname integration
2014-01-13 23:35:42 +01:00
niphlod
09c0069b43
fix mssql quoting issue, disabled some tests
...
Tests now pass on mssql. I think we need to agree on what's going on
with DAL, or we risk shipping a module with lots of changes that are
breaking backward compatibility. I'll start a thread on
web2py-developers
2013-12-15 15:06:42 +01:00
Michele Comitini
14bcad629e
quoting of tablenames and field names
...
fix for wrong sequence name quoting
fix for wrong sequence name quoting 2
reverted test to quoted rname
rname passed asis. freedom in table names and field names. Case sensitivity in field and table names
removed test of allowed char sequence in table and field names, there is no limit anymore
fixed some troubles with postgresql drop(). Better Row.__getitem__(): should not be much slower. Added a ignore_field_case parameter to allow Field('F')!=Field('f') on databases supporting case sesitivity.
different mysql drivers handled in quoting test.
improved handling of foreing keys
fix with quoted names in SQLTABLE. fix for ORDER BY
handle references on non "id" fields
check reference expression against table list first
2013-12-03 12:29:30 +01:00
mdipierro
fc72cdf3d0
change in way args are parsed and less test_routes.py
2013-11-01 20:11:46 -05:00
niphlod
0f2b2daeab
fixed issue with ordereddict in python < 2.7, added rname support also for fields
2013-10-27 14:36:38 +01:00
niphlod
9f846dbe3c
fix for references, DAL tests pass also on MSSQL now
2013-10-21 12:09:47 -07:00
mdipierro
25148d06fe
reverted to rname
2013-10-20 16:48:22 -05:00
mdipierro
4870b197de
revering rname
2013-10-20 16:42:52 -05:00
niphlod
c9b0c4547a
add support for rname (meaning "real name") for table names
2013-10-18 00:09:32 +02:00
niphlod
78a0fe0769
removed unmaintained test.sh, ported validators doctests to unittests, fixed an issue with IS_MATCH() that never worked
2013-10-13 17:48:07 +02:00
mdipierro
6c1cc6fc96
tabs -> spaces
2013-09-13 15:39:39 -05:00
mdipierro
ed9def985e
R-2.6.1
2013-09-12 17:08:52 -05:00
mdipierro
31a5e28f9a
some cleanup
2013-09-06 16:29:20 -05:00
spametki
b5039a5a6e
Switched table definition order at test_dal.py
2013-09-01 19:16:45 -03:00
spametki
a634ff7954
Applied patch for issue 1639
2013-09-01 18:13:51 -03:00
niphlod
bf6cf86987
send session cookie always. Please test it carefully with session data stored in cookies.
2013-08-29 00:43:34 +02:00
mdipierro
b9d681295f
new attempt at fixing session but commented test which fails
2013-08-27 22:26:04 -05:00
niphlod
f5f6f365f9
added boilerplate to be able to run tests from anywhere. Added test for validate_and_insert too.
2013-08-25 18:35:29 +02:00
mdipierro
f0bcef14b0
reverted issue 1639:DAL, define_table and Field unpacked serialized attributes
2013-08-21 17:23:11 -05:00
mdipierro
f9940825a1
fixed issue 1639:DAL, define_table and Field unpacked serialized attributes, thanks Alan
2013-08-21 02:37:31 -05:00
Michele Comitini
a208e8cc9f
changed way to detect missing key since None is already a possible value
2013-07-21 16:42:14 +02:00
mdipierro
6566b2d2ed
html patch, thanks Jonathan, but TRHEAD commented
2013-07-11 11:28:12 -05:00
mdipierro
cdf8ee8d85
web2py.js with no inline code, thanks Niphlod (this upgrade required upgrading web2py.js
2013-06-26 05:12:47 -05:00
Tim Richardson
c3be2e5f8a
test case for the changes allowing a compute field to refer to an
...
earlier defined compute field
2013-06-21 11:20:17 +10:00
mdipierro
0afc18fd24
reverted HTTP(status_message) because redundant
2013-05-19 22:14:43 -05:00
mdipierro
0c8ccaac9a
Merge pull request #87 from michele-comitini/master
...
fix oauth issues if redirecting in a form | http custom status error message
2013-05-03 20:22:20 -07:00
mdipierro
1383d13334
@db.table.add_method.name, thanks Vinicius
2013-05-03 22:15:01 -05:00
Michele Comitini
ded9e5886d
fix left over docstring after copying.
2013-05-03 17:35:03 +02:00
Michele Comitini
d2757294af
added support for custom state messages in HTTP
2013-05-03 17:30:25 +02:00
niphlod
6594e7a607
add doctest hook for markmin. It wasn't run previously.
2013-04-17 23:55:11 +02:00
niphlod
ad4870e338
windows-friendly coverage.ini, better handling for custom coverage settings, typo on contenttype.py
2013-04-16 22:47:12 +02:00
mdipierro
887d4cc136
enabled doctests (python 2.7 only)
2013-04-15 18:05:59 -05:00
mdipierro
7341988b01
hooking old doctests into unittests, thanks Niphlod
2013-04-15 17:19:11 -05:00
mdipierro
44eb880108
added test coverage link
2013-04-15 15:59:40 -05:00
niphlod
c01f860009
added .coveragerc
2013-04-15 21:54:30 +02:00
Michele Comitini
9bda793d46
orderby disabled where not needed
2013-04-13 00:03:43 +02:00
mdipierro
e2191175da
smarter CONTAINS and REPLACE
2013-04-03 09:50:28 -05:00
mdipierro
fcfa8aa917
added common_filter tests
2013-03-29 02:08:41 -05:00
Massimo
0fce3655d5
enabling test_web tests in travis, thanks Niphlod
2013-03-21 15:10:32 -05:00
Massimo
91504fbc2c
better test_web.py, thanks Niphlod
2013-03-21 12:04:39 -05:00
mdipierro
87a593845c
added a test, thanks Jonathan
2013-03-18 22:03:39 -05:00
Massimo
a8d1d5cfcf
upgraded fpdf, better tests, passes travis.ci tests, thanks Niphlod
2013-03-18 16:52:47 -05:00
mdipierro
c9a63a8524
fixed issue 1393, cast_keys in dict for python 2.5 support, thanks Alan and Niphlod
2013-03-17 12:11:10 -05:00
mdipierro
bfd385f969
travis badge in README, thanks niphlod
2013-03-15 15:12:01 -05:00
mdipierro
892471d8e5
fixed issue 1340, bugs in as_dict, thanks Alan
2013-02-17 09:49:44 -06:00
Massimo
50193471d6
better IS_NOT_IN_DB, new scheduler API, after_connection dal callback, thanks Niphlod
2013-02-14 14:15:27 -06:00
mdipierro
7ef19ecf47
allow a dict as uri, issue 1316, thanks Alan
2013-02-13 09:36:07 -06:00
Massimo
980aedf314
some cleanup patches, thanks Alan
2013-01-08 15:31:17 -06:00
Massimo
2d606e6836
actions='#', fixed issue 1253, thanks yaribaud
2013-01-08 14:38:05 -06:00
mdipierro
fdf7d5661d
fixed problem with raw_args
2012-12-03 14:04:17 -06:00