Dries Buytaert
0c6a18cb44
- Patch #5942 by TDobes: fixed theme stuff after multi-site configuration patch.
2004-11-25 06:17:03 +00:00
Dries Buytaert
5d0dfeb562
- Patch #13405 by Moshe:
...
+ Make bootstrap functionality work with HEAD.
+ Move functions into bootstrap.inc so that statistics_exit() works for cached pages. (Does this close any issues?)
2004-11-25 06:14:59 +00:00
Dries Buytaert
4726c93156
- Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
2004-11-24 22:56:21 +00:00
Dries Buytaert
4e4e2aa777
- Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
2004-11-24 22:50:25 +00:00
Dries Buytaert
5d759ccbb9
- Patch #5942 by jhriggs and Adrian:
...
+ added support for multi-site configurations.
+ tidied up some old cruft and added code comments.
2004-11-24 22:44:01 +00:00
Dries Buytaert
062a8abdea
- Patch #10990 by TDobes: adds a "create new blog entry" link at the top of each user's own blog page, similar to the "post new forum topic" link displayed at the top of forum pages. This adds consistency as well as convenience for users.
2004-11-24 20:06:10 +00:00
Dries Buytaert
30110a8770
- Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link().
...
TODO:
1. Update theme upgrade instructions in the handbook: node_link() is gone.
2. Remove page_link() just like we removed node_link().
2004-11-23 23:11:59 +00:00
Dries Buytaert
9574766ad8
- Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency.
2004-11-23 22:20:41 +00:00
Dries Buytaert
e19a3cf42d
- Patch #12363 : fixed glitch in user_access() as pointed out by TDobes.
2004-11-23 21:52:13 +00:00
Dries Buytaert
256a0466cb
- Patch #13334 by Axel: added a simple script to prefix a database scheme.
2004-11-23 06:43:21 +00:00
Dries Buytaert
b442fad027
- Patch #13263 and #13265 by arnab: added word-based truncation and made the comment module use it to extract subjects.
2004-11-21 20:17:44 +00:00
Dries Buytaert
5f29fc9d0d
- Removed hardcode font size from drupal.css as per #13095 .
2004-11-21 08:34:57 +00:00
Dries Buytaert
fa97839088
- Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
...
Read the manual for pg_escape_string: "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
2004-11-21 08:25:17 +00:00
Steven Wittens
dc32e54f31
Search.module:
...
- Caching index statistics
- Minor code cleanup
2004-11-18 21:28:34 +00:00
Steven Wittens
90e67a3acb
Search indexing bug: last updated timestamp needs to take last comment timestamp into account.
2004-11-18 21:16:30 +00:00
Dries Buytaert
41bd0e1234
- Fixed typo.
2004-11-18 21:00:32 +00:00
Dries Buytaert
aeaf6669e9
- Updated CHANGELOG.txt
2004-11-18 20:14:28 +00:00
Dries Buytaert
dba51ebbf0
- Patch #13121 by Goba: valid_url() should allow the use of '+' in URLs.
2004-11-18 19:57:39 +00:00
Dries Buytaert
38c91a8d95
- Patch #8506 by Gerhard: added basic node_load() caching.
2004-11-17 22:14:43 +00:00
Dries Buytaert
4dafd85f54
- Adding the missing flood tables. Sorry.
2004-11-16 18:46:48 +00:00
Dries Buytaert
9bf33e5ac8
- Added generic flood control mechanism to throttle certain operations per hostname (eg. posting comments, requesting passwords, sending e-mails). See flood_register_event() and flood_is_allowed() for details.
2004-11-15 21:17:25 +00:00
Dries Buytaert
f67c046d40
- Modified patch #8552 by Gerhard: added 'add child page' link to book pages you can edit.
2004-11-15 12:49:59 +00:00
Dries Buytaert
918d33f41f
- Modified patch #7235 : do a better job checking the OS and acting upon it.
2004-11-15 12:04:44 +00:00
Dries Buytaert
c0ea04814a
- Removed some cruft.
2004-11-15 12:00:32 +00:00
Dries Buytaert
a03579fcaf
- Patch #12795 by thorne: added documentation for overriding variables from
...
the configuration file.
2004-11-15 11:32:13 +00:00
Dries Buytaert
f37a65cab9
- Patch #12353 by Stefan: usability improvement: don't show 'throttle fields' unless the throttle module is enabled.
2004-11-15 11:26:04 +00:00
Dries Buytaert
9979aceab0
- Patch #12783 by Stefan: various small consistency/usability improvements.
2004-11-15 11:16:39 +00:00
Dries Buytaert
c13abe1655
- Patch #12885 by Ber: improved the Doxygen documentation of drupal_set_html_head().
2004-11-15 10:47:18 +00:00
Dries Buytaert
52d9dd1b01
- Patch #11977 by matteo: taxonomy_term_count() did not take node-level permissions into account and could return an incorrect number.
2004-11-15 10:00:50 +00:00
Dries Buytaert
40f6197c5b
- Patch #11940 by kps: if the user is not allowed to view a newly submitted node, redirect him to the main page.
2004-11-15 09:55:28 +00:00
Dries Buytaert
ef95773b1c
- Modified patch by Jeremy: throttle module improvements and fixes:
...
+ throttle module: flush cache when the throttle enables/disables
+ throttle module: prevent throttle being enabled by 0 users or guests when disabled
+ system module: remove requirement for statistics.module
+ block module: update help text to reflect access log is no longer required
+ statistics module: throttle is now enabled/disabled, not using levels 0-5
2004-11-14 20:20:09 +00:00
Dries Buytaert
9998d2a148
- Patch #12886 by thorne: fixed XHTML problem: the bluemarine theme used a border=0 attribute on the img tag for the site logo.
2004-11-14 19:34:09 +00:00
Dries Buytaert
63ee97f65d
- Patch #9292 by killes from Carl: fixed a PHP5 compatibility problem with file handling.
2004-11-08 22:31:18 +00:00
Dries Buytaert
05676eda20
- Patch #12713 by Goba: remove useless t() function from help module.
2004-11-08 22:27:34 +00:00
Dries Buytaert
bb0f78ecb5
oops
2004-11-08 08:50:23 +00:00
Dries Buytaert
b6172b6653
- Remove old variables from variable-table.
2004-11-08 08:27:42 +00:00
Dries Buytaert
3769665b33
- Refactored the throttle module. Patch by Jeremy and me.
...
* There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'. This makes it a _lot_ easier to predict when the throttle will kick in. However, if you maintain a module that is throttle-aware, it needs to be updated!
* The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in. This is a _lot_ more intuitive than the old throttle mechanism.
* The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings.
* Most of the documentation has been removed because it was deprecated.
* It's less code!
2004-11-07 22:47:00 +00:00
Dries Buytaert
f01bd675c0
- Performance improvement: made 'sid' the primary key of the sessions table.
...
That should improve performance of session handling as well improve
performance of the "Who's online"-block. Drupal.org's sessions table
contains appr. 40.000 sessions on a slow day and rendering the "Who's
online"-block became a performance bottleneck.
This change has yet to be tested on a busy site so things might go wrong.
2004-11-07 21:53:55 +00:00
Dries Buytaert
7a5884cd74
- Patch #11427 : added 'edit own forum topics' permission.
2004-11-07 19:28:24 +00:00
Dries Buytaert
a16be3495e
- Patch #12658 by menesis: when an administrator adds a user, the 'authenticated user' role was not assigned to the new user.
2004-11-07 07:54:35 +00:00
Dries Buytaert
1486dc8f92
- Make Drupal ping Yahoo.com.
2004-11-06 12:56:05 +00:00
Dries Buytaert
13f1d2edae
- Updated CHANGELOG
2004-11-06 12:50:32 +00:00
Dries Buytaert
c214cee319
- On popular demand, patch #10178 by jhriggs: made it possible to expand menu items.
2004-11-06 12:11:02 +00:00
Dries Buytaert
6f7aa2a095
- Patch #11871 by killes: forum topics could be displayed multiple times when node-level permission were used.
2004-11-06 11:59:48 +00:00
Dries Buytaert
1821eb13e6
- Removed some dead code.
2004-11-06 11:54:09 +00:00
Dries Buytaert
bb3df8a1a9
- Patch #10632 by Gerhard: the book permissions in today's cvs are not consistent with the rest of Drupal. We have a "maintain books" and a "edit own book pages" permission. All other modules have a "create foo" permission. Thus the existing "maintain books" permission should be renamed to "create book pages" and a new "maintain books" permission should be introduced that allows editors to update book pages they haven't created themselves even without having "administer nodes" permission.
2004-11-04 22:31:46 +00:00
Dries Buytaert
b3e3f8ae37
- Updated forum_block() to pass comment_count's to node_title_list(). This eliminates up to 10 SQL queries (sometimes less) for each non-cached page view on drupal.org. Derived from ccourtne's patch.
2004-11-04 21:05:06 +00:00
Dries Buytaert
14353d18ad
- Slightly modified the API of node_title_list(): it will no longer call comment_num_all() for each node. Instead, it checks for the availability of the node_comment field, available through the node_comment_statistics table. If updated the Doxygen comments accordingly.
...
People were using node_title_list() without realizing it would do numereous database queries. This change greatly reduces the number of database queries required to render the node statistics block as well as to render the forum block (coming up next).
If your module is using node_title_list() and you want the number of comments to be shown as title attributes, chances are you have to update your SQL query to join node_comment_statistics.
2004-11-04 21:02:30 +00:00
Dries Buytaert
7ad36e3f59
- Modifed patch by ccourtne: made the tracker module take advantage of the node_comment_statistics table. Improves performance of the tracker page by facter 10 because it eliminates up to 20 SQL queries.
2004-11-04 20:17:07 +00:00
Dries Buytaert
b6eee48c88
- Patch #12232 by Steven: more search improvements:
...
+ When a comment is posted, a node needs to be re-indexed. Luckily, we can use node_comment_statistics for this easily.
+ When a node is deleted, it should be deleted from the search index as well.
+ The search wipe didn't properly remove links to nodes from the index.
+ Section url was faulty in _help.
+ Minor code rearrangement.
2004-11-04 06:47:03 +00:00