- May 31, 2005
-
-
Steven Wittens authored
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
-
- May 18, 2005
-
-
Steven Wittens authored
-
- May 07, 2005
-
-
Dries Buytaert authored
-
- Apr 23, 2005
-
-
Steven Wittens authored
-
- Apr 14, 2005
-
-
Dries Buytaert authored
-
- Mar 31, 2005
-
-
Steven Wittens authored
-
- Mar 18, 2005
-
-
Steven Wittens authored
-
- Feb 12, 2005
-
-
Dries Buytaert authored
- permissions menu link updates in a number of modules help - anchor link fix in distributed auth help - "my account" link fix in user help - spelling correction in tracker.module help - I also changed 'admin/access/perms' to 'admin/access/permissions'.
-
- Jan 23, 2005
-
-
Dries Buytaert authored
-
- Jan 19, 2005
-
-
Steven Wittens authored
-
Steven Wittens authored
- Fix tracker pager count query being wrong (it did not return a count but a set, and it counted nodes with more than 1 comment as multiple nodes). - Clean up various SQL queries: removing literally inserted data (db_escape_string is evil!), fixing single "%" which should be "%%", fixing integers being compared as strings.
-
- Dec 15, 2004
-
-
Dries Buytaert authored
* 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.
-
- Nov 29, 2004
-
-
Dries Buytaert authored
-
- Nov 28, 2004
-
-
Dries Buytaert authored
- Beautified the contents of the table. - Removed some dead code.
-
Dries Buytaert authored
- Made it possible to sort the referrers by last visit.
-
Dries Buytaert authored
-
Dries Buytaert authored
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.
-
- Nov 24, 2004
-
-
Dries Buytaert authored
- 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.
-
- Nov 23, 2004
-
-
Dries Buytaert authored
- 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().
-
- Nov 21, 2004
-
-
Dries Buytaert authored
- 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."
-
- Nov 15, 2004
-
-
Dries Buytaert authored
- Patch #12783 by Stefan: various small consistency/usability improvements.
-
- Nov 14, 2004
-
-
Dries Buytaert authored
+ 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
-
- Nov 02, 2004
-
-
Dries Buytaert authored
- Patch #12455 by Steven: optimized SQL query. This problem caused Drupal.org's cron runs to time out.
-
- Oct 31, 2004
-
-
Dries Buytaert authored
The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions. Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook. The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path. An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.
-
- Oct 23, 2004
-
-
Dries Buytaert authored
- Patch #11868 by Neil Drumm: fixed broken link in the help text and made the help text more accurate.
-
- Oct 12, 2004
-
-
Steven Wittens authored
-
- Oct 08, 2004
-
-
Dries Buytaert authored
- Bug #10530: added a missing period to a sentence in the help text.
-
- Sep 28, 2004
-
-
Steven Wittens authored
Modified version of #10230: Put placement of filter format selector in a module's hands, and move it below the relevant textarea.
-
- Sep 27, 2004
-
-
Dries Buytaert authored
- Patch #11083 by Allan Chandler: fixes PostgreSQL specific issue with the statistics pages.
-
- Sep 22, 2004
-
-
Dries Buytaert authored
- Fixed HTML typo in the documentation: <p> -> </p>. Fixes bug #10412.
-
- Sep 16, 2004
-
-
Dries Buytaert authored
- Patch #8179 by JonBob: reintroduced menu caching.
-
- Sep 11, 2004
-
-
Dries Buytaert authored
- Bugfix: fixed some incorrect colspan's.
-
- Aug 21, 2004
-
-
Dries Buytaert authored
- Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
-
- Aug 19, 2004
-
-
Dries Buytaert authored
- Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
-
- Aug 14, 2004
-
-
Dries Buytaert authored
- Patch #10044 by TDobes: fixed broken links in the statistics module. In the current statistics.module, clicking a page title should lead to the appropriate page within the local site. Instead, it leads to a 404 because the / character is turned into %2F... this is due to the paths being passed through urlencode(). The attached patch removes the problematic calls to urlencode.
-
- Aug 10, 2004
-
-
Steven Wittens authored
The Input formats - filter patch has landed. I still need to make update instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
-
- Aug 05, 2004
-
-
Dries Buytaert authored
- Patch by Jeremy: usability improvements for the statistics.module's GUI.
-
- Aug 03, 2004
-
-
Dries Buytaert authored
- Patch by Jeremy: statistics module improvements.
-
- Jun 30, 2004
-
-
Dries Buytaert authored
-
- Jun 22, 2004
-
-
Dries Buytaert authored
-