summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* - Patch #14614 by Neil: made the archive module respect the node-level ↵Dries Buytaert2004-12-20
| | | | permissions.
* #12793: Remove dependency of node.module on search.module.Steven Wittens2004-12-20
|
* Making comment moderation query PGSQL/ANSI compatible.Steven Wittens2004-12-20
|
* - Bugfix: the book module incorrectly assumed that there is an active ↵Dries Buytaert2004-12-18
| | | | revision if n.moderate = 0. We can (and need) to rewrite this when the revision changes hit core. In essence, we need an efficient query to retrieve the 'last puslished revision that is not in the moderation queue'.
* - Patch #14532 by andre molnar: tidied up some block.module code.Dries Buytaert2004-12-18
|
* - Patch #14262 by Richard: help text improvements for the tracker module.Dries Buytaert2004-12-16
|
* - Patch #13907 by Neil: less ways to set the page title.Dries Buytaert2004-12-15
| | | | | | | * Less logic in theme code. * Encourages use of the menu system. * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them. * Very slightly more efficient.
* - Patch #14288 by Goba: "the archive module calendar indexes the array used ↵Dries Buytaert2004-12-14
| | | | to build up the header cells by the short names of the days. In Hungary, we have both Wednesday and Sunday start with the same two letters, so if I translate the short versions with the same two letters, the second associative array index will overwrite the first. The obvious soluion was to swap the array, and index by the full day name, which is expected to be unique in all languages."
* - Patch #14241 by fungy: fixed brokeness in the PostgreSQL database scheme.Dries Buytaert2004-12-12
|
* - Removed some cruft: left-over xxx_help_page() functions.Dries Buytaert2004-12-11
|
* - Patch #14209 by nysus: improved the clarity and readability for a group of ↵Dries Buytaert2004-12-11
| | | | radio buttons for a block's visibility settings.
* - Fixed typo: db_queryd() -> db_query()Dries Buytaert2004-12-11
|
* - Bugfix: make sure to update the node_comment_statistics table when a node ↵Dries Buytaert2004-12-11
| | | | is updated.
* - Modified patch by Goba: don't save user roles in the serialized data field ↵Dries Buytaert2004-12-08
| | | | of the user table.
* - Patch #14035 by Goba: fixed problem with UTF-8 conversion when mixing ↵Dries Buytaert2004-12-07
| | | | LOWER() and strtolower().
* - Added a simple contact module to core.Dries Buytaert2004-12-07
|
* - Refactored the queue module: removed the queue module's field from the ↵Dries Buytaert2004-12-07
| | | | | | | | | | node table. With help from Gerhard. - Slight addition to INSTALL.txt with regard to PHP versions. - Updated/reworded some node type descriptions as per Boris' suggestions. - Adding missing {} around a table name in update.php.
* - Patch #14006 by Neil:Dries Buytaert2004-12-07
| | | | | | * user/view/$n has been replaced with user/$n. * More blank lines in the right places. * Prevent unwanted case fallthrough.
* - Patch #14005 by Richard: rewrote the ping module's built-in documentation.Dries Buytaert2004-12-07
|
* - Fixed colspan bug reported by Steven.Dries Buytaert2004-12-06
|
* Pager_query's count query was broken if no query arguments were given.Steven Wittens2004-12-06
|
* - Updated the changelogDries Buytaert2004-12-05
|
* - Patch by Steven: fixed bug in pager_query().Dries Buytaert2004-12-04
|
* - Added a special category for throttle messages.Dries Buytaert2004-12-04
|
* - Some aggegrator improvements:Dries Buytaert2004-12-04
| | | | | + Moved the block configuration settings to the block administration pages like we did with the other modules (also, administrators had to enable the aggregator blocks twice). + Small UI changes to the 'add news feed' page.
* - Patch #13828 by Moshe: tidied up the story module.Dries Buytaert2004-12-04
| | | | - Updated the help text a bit.
* - Patch #7058 by Neil: format_date does not properly handle escaped characters.Dries Buytaert2004-12-03
|
* Bluemarine header margins got changed incorrectly after a recent fix.Steven Wittens2004-12-03
|
* - Patch #13816 by Neil: tidied up the comment module code a bit.Dries Buytaert2004-12-02
|
* - Patch #13786 by drumm: fixed handling of HTTP 301 response codes.Dries Buytaert2004-12-02
|
* Fix for pager_query() after #13581 (array of query arguments).Steven Wittens2004-12-02
|
* Search: wrong parameter order on search_wipe().Steven Wittens2004-12-02
|
* Search: indexing should invoke nodeapi to catch all user-visible data (e.g. ↵Steven Wittens2004-12-02
| | | | file attachment names).
* - Patch 13738 by TDobes: there was a major theming issue I missed in my ↵Dries Buytaert2004-12-01
| | | | bug-testing after the multi-site patch landed. Styles now seem to have their description field filled with the filename of their parent theme/template rather than the theme_key of the parent. This is a problem because init_theme still expected to see the theme_key and therefore dropped back to the base theme (no theme at all).
* - Patch #13405 by Moshe: make you actually do something useful with the init ↵Dries Buytaert2004-12-01
| | | | hook. A recent patch to 4.5 and HEAD made this patch run too early in the request (for non-cached pages).
* - Fixed #13643: increased the maxlength of the 'path to custom logo'-setting.Dries Buytaert2004-11-30
|
* - Modified patch #6475 by Killes: sites -> drupalsites -> drupal-sitesDries Buytaert2004-11-30
|
* - Patch #13647 by Goba:Dries Buytaert2004-11-29
| | | | | 1. Fixed broken watchdog calls: two watchdog calls omitted the type parameter, and thus injected logs into the type field, instead of the message field. 2. Removed t() functions from user contributed content.
* - Patch #13581 by Steven: Db_query() allows a variable amount of parameters ↵Dries Buytaert2004-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so you can pass the query arguments in. There is however an alternative syntax: instead of passing the query arguments as function arguments, you can also pass a single array with the query arguments in it. For example the following two statements are equivalent: db_query($query, $a, $b, $c); db_query($query, array($a, $b, $c)); This usage is particularly interesting when the query is constructed dynamically, and the amount of arguments to pass varies. In that case we use the second method to avoid using call_user_func_array(). This behaviour is not documented explicitly, but it is used in several places. However, db_query_range() and pager_query() do not support this syntax properly, which means there are several pieces of code which still revert to the ugly call_user_func_array() call. This patch updates db_query_range() and pager_query() so they support the array-passing method. I also added documentation about this method to each of the db functions. I also cleaned up the code for db_query (it was weird and hard to understand) and moved db_query() and db_queryd() from database.xxxxx.inc to database.inc: it was the same between both mysql and pgsql, as it doesn't do anything database specific. It just prefixes the tables and inserts the arguments. The actual db query is performed in _db_query(), which is still in database.xxxxx.inc. Finally, I updated several places with the new syntax, and the code is a lot cleaner. For example: - array_unshift($params, "SELECT u.* FROM {users} u WHERE $query u.status < 3"); - $params[] = 0; - $params[] = 1; - $result = call_user_func_array('db_query_range', $params); + $result = db_query_range("SELECT u.* FROM {users} u WHERE $query u.status < 3", $params, 0, 1); and - return call_user_func_array('db_query_range', array_merge(array($query), $args, array((int)$pager_from_array[$element], (int)$limit))); + return db_query_range($query, $args, (int)$pager_from_array[$element], (int)$limit); I've tested it on mysql. I didn't alter the actual db behaviour, so pgsql should be okay too. This patch is important because many people avoid the call_user_func_array() method and put data directly into the db query. This is very, very bad because the database prefix will be applied to it, and strip out braces. It's also generally bad form as you have to call check_query() yourself. With the new, documented syntax, there is no more excuse to put data directly in the query.
* - Patch #12555 by svemir: fixed problem with the 'Preview comment' button ↵Dries Buytaert2004-11-29
| | | | not being present when previews are optional.
* - Patch #11977 by matteo: added extra DISTINCT()s to two SQL queries to make ↵Dries Buytaert2004-11-29
| | | | them work with node-level permissions.
* - Patch #10697 by matteo: avoid that administrators can create nodes with ↵Dries Buytaert2004-11-29
| | | | the wrong node type.
* - Small code improvements.Dries Buytaert2004-11-29
|
* - Fixed typo and reworded the filter.Dries Buytaert2004-11-28
|
* - Beautified the contents of the table.Dries Buytaert2004-11-28
| | | | - Removed some dead code.
* - Made it possible to sort the referrers by last visit.Dries Buytaert2004-11-28
|
* - Changed aid from tinyint to int.Dries Buytaert2004-11-28
|
* - Fixed typo.Dries Buytaert2004-11-28
|
* - Refactored the statistics and watchdog module (views). The most importantDries Buytaert2004-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes are: 1. Simplified the statistics pages: there are less pages and on the remaining pages there is a lot less visual clutter (less columns and better presentation). 2. Reorganized the 'administer - logs' menu: flattened the menu structure and removed a number of links. 3. Improved performance. Most statistics pages used about 160 slow SQL queries which made the statistics pages fairly unusable on my system. The new pages use at least 10 times less SQL queries and render much faster. They are actually usable. 4. There is now a 'track'-tab on node pages, and a second subtrab on the user accounts 'track'-tab for people with the 'access statistics' permission. They can be used to resp. track the node and the user. This makes the statistics more accessible. 5. Changed the way watchdog messages are filtered. This makes it easier to introduce new watchdog types. 6. Reworked the statistics module's permissions. 7. Less code: 223 insertions(+), 343 deletions(-). 8. Fixed several glitches: for example, the statistics pages sorted the 'Name' column by user ID instead of by name. Unfortunately, it is too difficult to backport these to DRUPAL-4-5. TODO: 1. Review the statistics modules help pages. 2. Help fine-tune the interfaces/views. NOTES: 1. You'll want to run update.php.
* - Usability improvement: only display subtabs if there is more than one ↵Dries Buytaert2004-11-28
| | | | subtab. If there is only one, make sure it is the set to be the default subtab and all is well.