Dries Buytaert
e2c84d01af
- Patch #280631 by pwolanin et al: rethink numeric data-type for db_placeholders().
2008-07-19 12:31:14 +00:00
Dries Buytaert
bb232c728a
- Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line.
2008-07-01 20:36:40 +00:00
Dries Buytaert
af474609e3
- Added a test framework to Drupal along with a first batch of tests for
...
Drupal core! This is an important milestone for the project so enable
the module and check it out ... :)
Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
Lal, Moshe Weitzman, and the many other people that helped with testing
over the past years and that drove this home.
It all works but it is still rough around the edges (i.e. documentation
is still being written, the coding style is not 100% yet, a number of
tests still fail) but we spent the entire weekend working on it in Paris
and made a ton of progress. The best way to help and to get up to speed,
is to start writing and contributing some tests ... as well as fixing
some of the failures.
For those willing to help with improving the test framework, here are
some next steps and issues to resolve:
- How to best approach unit tests and mock functions?
- How to test drupal_mail() and drupal_http_request()?
- How to improve the admin UI so we have a nice progress bar?
- How best to do code coverage?
- See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert
56d2664a90
- Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators.
2008-04-14 17:48:46 +00:00
Gábor Hojtsy
1ac7418865
#151910 by chx: support subqueries in db_rewrite_sql() - now that we use subqueries even in core, this was critical
2008-01-08 16:03:31 +00:00
Gábor Hojtsy
b78a990270
#207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks
2008-01-08 10:35:43 +00:00
Gábor Hojtsy
89be29505b
#198856 by hswong3i: Fix some incorrect use of %s for table name escaping, implement better security checks
2008-01-04 09:31:49 +00:00
Gábor Hojtsy
aecd316184
#168315 by schuyler1d: previous active database name was not consistently returned in db_set_active()
2008-01-02 19:15:34 +00:00
Gábor Hojtsy
58bf1c7927
#178523 by scor, JirkaRybka, keith.smith: user facing errors should contain text for users, not text for developers; still keeping some debug information, if display_errors is turned on on the server
2007-12-19 13:03:16 +00:00
Dries Buytaert
02539ac3f8
- Patch #195496 by bjaspan and hunmonk: no 'char' data type in Schema API (and removed spaces).
2007-12-18 10:31:42 +00:00
Gábor Hojtsy
adb03ebe78
#182728 by gpk: more accurante phpdoc for db_rewrite_sql() and _db_rewrite_sql(), mentioning table aliases used
2007-12-14 19:15:47 +00:00
Gábor Hojtsy
e9f52b4248
#141727 by merlinofchaos, dvessel, sun: restore themeability support for maintenance pages (regression)
2007-11-30 12:19:10 +00:00
Dries Buytaert
47095ffb3c
- Patch #182728 by Darren Oh: improved PHPdoc of db_rewrite_sql().
2007-10-12 14:19:44 +00:00
Dries Buytaert
39706e3c51
- Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes.
2007-10-05 14:43:26 +00:00
Dries Buytaert
4bb5080ebe
- Patch #169982 by moshe, eaton, bjaspan, nedjo, yched, et al: missing feature from schema API: load/save records based upon schema.
2007-10-02 16:15:56 +00:00
Gábor Hojtsy
74def328c8
#167284 by Heine and pwolanin: proper field type placeholders in IN() queries, setting a best practice to avoid vulnerabilities
2007-09-27 16:52:00 +00:00
Gábor Hojtsy
45c784d5ca
#175524 by bjaspan: document the exisance of the description fields in schema API
2007-09-14 10:43:26 +00:00
Dries Buytaert
2db2c039fb
- Patch #172950 by webernet: code style fixes.
2007-09-04 21:10:45 +00:00
Dries Buytaert
00181ecb39
- Removing whitespace.
2007-08-30 19:54:22 +00:00
Gábor Hojtsy
005a583f32
#168812 by webchick and pwolanin: in case we have a database error, trace it back to the original database function call, so we can provide a more accurate error message for DB errors
2007-08-29 18:38:55 +00:00
Gábor Hojtsy
39d776faa9
#157682 by bjaspan, chx and JirkaRybka: update.php for Drupal 6, to allow near flowless updates
2007-08-26 08:27:09 +00:00
Gábor Hojtsy
c35b832b82
#164759 by oadaeh: adding missing phpdoc @code tag
2007-08-06 10:25:56 +00:00
Gábor Hojtsy
638e39ced6
#158133 by killes: do not break HAVING SQL constructs in SQL rewrites
2007-07-12 09:21:30 +00:00
Dries Buytaert
ee701b3336
- Patch #155986 by Uwe: fixed typos.
2007-07-02 14:41:37 +00:00
Gábor Hojtsy
a1a556b8c1
#155282 by Jose A Reyero: apply db_rewrite_sql() to the block listing query to allow for multilingual blocks
2007-07-01 21:39:07 +00:00
Gábor Hojtsy
2598d31ef8
#150210 by bjaspan and Frando: explicit table names for create table statements and fixing a schema referencing bug
2007-06-26 20:24:19 +00:00
Dries Buytaert
86e09fa401
- Patch #147692 by hswong3i: gives SQL backends more control over db_query().
2007-05-30 09:11:21 +00:00
Dries Buytaert
3cafffe63f
- Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave.
2007-05-25 12:46:46 +00:00
Dries Buytaert
a309ea2be2
- Patch #99011 by merlinofchaos: remove sites/default/settings.php and ship with sites/default/default.settings.php.
2007-05-08 16:36:55 +00:00
Dries Buytaert
e675979091
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
2007-04-13 08:56:59 +00:00
Steven Wittens
f3cd2da113
#130991 : Custom menu items, part 1
2007-04-06 04:39:51 +00:00
Steven Wittens
cbf8b1f65e
#126867 : Reverting bad db_prefix_tables change.
2007-03-15 15:23:38 +00:00
Dries Buytaert
23e36f7bbe
- Patch #126867 by dmitrig01: fixed caching in presence of database prefixes.
2007-03-14 19:24:51 +00:00
Dries Buytaert
4d83f2d0e1
- Patch #32833 by fgm: fixed documentation error.
2007-02-27 12:01:37 +00:00
Dries Buytaert
c3c8d7f13d
- Patch #106370 by naquah and chx: fixed query rewriting in presence of OR-clause.
2007-01-03 10:59:02 +00:00
Steven Wittens
5d6ff1db64
#102611 : Document database regexp (webchick)
2006-12-11 22:58:17 +00:00
Neil Drumm
1a7bac90e7
#76819 by smsimms and sammys. Move part of the sql rewriting down into the database abstraction layer and add extra rewriting needed only for Postgres.
2006-10-23 18:38:45 +00:00
Neil Drumm
8bad7516c5
#42476 by Bèr Kessels. db_queryd() belongs in devel module.
2006-09-08 20:48:30 +00:00
Neil Drumm
d7e0b132ee
#79904 by chx. More strict db_rewrite_sql() regexp.
2006-08-24 06:36:51 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Steven Wittens
ca9293b3ee
#54981 : calls to db_lock_table in bootstrap.inc do not use db_prefix
2006-04-27 20:38:49 +00:00
Gerhard Killesreiter
c706d11a0d
#16542 , add db rewriting for menus, patch by chx
...
fixes 57406 too
2006-04-07 11:28:20 +00:00
Gerhard Killesreiter
e01c325d4f
#42000 , misssing underscore, found by rump
2006-03-26 18:19:04 +00:00
Gerhard Killesreiter
a6d62c1b62
#42000 , docs update, by me
2006-03-26 14:46:51 +00:00
Gerhard Killesreiter
53d16d7da0
#42000 , Watchdog can't log errors when using db_set_active(non-default), patch by Chris Johnson and myself
2006-03-26 14:11:38 +00:00
Dries Buytaert
7add598ee2
- Patch #51850 by chx, webchick et al: fixed various problems with db_rewrite_sql, made db_rewrite_sql slightly more robust.
2006-03-08 15:13:20 +00:00
Dries Buytaert
4ec8c0428e
- Patch #41644 by chx: critical bug: db_rewrite_sql had a bad regex.
2006-01-08 12:51:37 +00:00
Dries Buytaert
764f1177ef
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
2005-12-14 20:10:45 +00:00
Dries Buytaert
7a341583be
- Patch #39257 by merlinofchaos: node_access rewrite breaks with FROM_UNIXTIME.
2005-11-29 15:37:27 +00:00
Dries Buytaert
244945365d
- Patch #10407 by Cvbge: fixed cache problems with PostgreSQL.
2005-11-27 11:52:08 +00:00