summaryrefslogtreecommitdiff
path: root/modules/statistics.module
Commit message (Collapse)AuthorAge
* - Bugfix: fixed the CREATE FUNCTION in database.mssql as it needs to be ↵Dries Buytaert2003-06-11
| | | | | | | | | | | | | | | | | | | | | | | | prefixed with GO for some obscure reason. Patch by Kjartan. - Bugfix: fixed the defaults for blocks in database.mssql so the NOT NULL fields get values. Patch by Kjartan. - Bugfix: changed check_form() to use htmlspecialchars() instead of drupal_specialchars() as this caused Drupal to emit incorrect form items in presence of quotes. Example: <input type="submit" class="form-submit" name="op" value="Submit "top nodes" block changes" /> IMO, drupal_specialchars() is better called xmlspecialchars() to avoid confusion. - Bugfix: when an anonymous user visits a site, they shouldn't see any content (except the login block, if it is enabled) unless they have the "access content" permissions. Patch by Matt Westgate. - Improvement: improved the error checking and the error messages in the profile module. Updated the code to match the Drupal coding conventions. Modified patch from Matt Westgate. - Improvement: don't generate the <base href=""> tag in the base theme; it is already emitted by theme_head(). Patch by Kristjan. - Improvement: don't execute any SQL queries when checking the permissions of user #1. Patch by Kjartan. - Improvement: made a scalable layout form that works in IE and that behaves better with narrow themes. Part of patch #51 by Al. - Improvement: removed some redundant print statements from the comment module. Modified patch from Craig Courtney.
* - Dropped check_input(); use check_query() instead.Dries Buytaert2003-06-06
| | | | - Made the statistics module use referer_uri() for security's sake.
* - Bugfix: made request_uri() rewrite ( and ) with their entity equivalentsDries Buytaert2003-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid XSS attacks! Patch by Al, Moshe, Marco, Kjartan and me. - Bugfix: the admin module does now import drupal.css prior to admin.css. Patch by me. - Bugfix: the admin module was still emitting a <base href=""> tag. I removed this as it is been taken care of by theme_head(); Patch by me. - Bugfix: made the tracker module's pager only consider published pages. Patch by Moshe. - Bugfix: cured some typos in the comment module's help function. Patch by Marco. - Bugfix: fixed a typo in the pager_display() that caused optional attributes to be discarded. - Bugfix: made the Xtemplate emit empty boxes like any other theme does. Patch by Al. - Bugfix: fixed broken link on the statistics module's log page. Reported by Kjartan. - CSS improvements: made the HTML output emitted by the tracker module look nicer. Patch by Moshe and Al. - CSS improvements: added CSS classes for form elements. Patch by Al. - CSS improvements: added a vertical gap between the last form item and the submit button. Patch by Al. Note that Opera 6 is not picking up this CSS but apparently others browsers such as Konqueror do. - Xtemplate improvements: changed the color of the selected day in the archive module's calendar. Patch by Al. - Usability improvements: made the "birthday" field of the profile module look nicer. Patch by Al. ------ - TODO: it might be a good idea to emit the following meta tag in the theme_head() function: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> Currently, some themes (and modules!) emit this while others don't. This would also make it possible to change the charset site-wide. - TODO: now we added support for td.dark and td.light to drupal.css, maybe it can be removed from admin.css as well as xtemplate.css?
* - Michael Frankowski's excellent help text improvements!Dries Buytaert2003-05-29
|
* - Fixed 3 PostgreSQL problems!Dries Buytaert2003-05-18
| | | | | | - Fixed some locale problems; made it easier to translate some strings. - Removed some dead wood.
* - Only export the "who is online" block when the access log is enabled.Dries Buytaert2003-05-17
| | | | | | Patch by Al. Fixed bug #1692. - Only export the "top nodes" block when the node counters are enabled.
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
* - Applied Michael Caerwyn's "%s -> %d" patch.Dries Buytaert2003-05-07
| | | | - Changed all occurences of '%d' to %d as suggested on the mailing list.
* - Fixed the grammer of the Who's online block. Patch by Al. Fixes bug #1541.Dries Buytaert2003-04-28
|
* - Drop some unneeded table-name qualifiers. Patch by Gary.Dries Buytaert2003-04-22
|
* - Fixed type: whos -> who'sDries Buytaert2003-04-22
|
* - Added some missing quotes.Dries Buytaert2003-04-21
|
* - Fixed broken query in the statistics module. Fix by Gary Lawrence Murphy.Dries Buytaert2003-04-19
|
* - Small fix.Dries Buytaert2003-04-16
|
* A batch of changes:Dries Buytaert2003-04-14
| | | | | | | | | | | | | | | | | - Renamed '---' to '<!--break-->'. - Removed hard-coded call to the statistics module from the node module. Patch by Gerhard. - Removed tables from poll module. Modified patch by Al. Changes to Al's patch are: "polltext" -> "poll-text" "pollfg" -> "poll-foreground" "pollbg" -> "poll-background" - Changed some 'statistics.foo's to 's.foo's. Patch by Gary. [If this closes any bug reports, please update them on drupal.org.]
* - Fixed the broken access log pages.Dries Buytaert2003-03-28
| | | | | | - Changed some '%s's to '%d's - there are more of these left to fix. - Added pager support to the access log pages. - Tried to improve the usability of the access log pages.
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
* - Ported Neil Ernst's patch to CVS: prefix a columname with a qualificationDries Buytaert2003-03-11
| | | | | | to make things work using PostgreSQL. NOTE: Neil's "&&"-patch will be part of Moshe's MSSQL patch.
* - Fixed log views so that the menu doesn't dissapear. (Note: don't use exit()Kjartan Mannes2003-03-09
| | | | in Drupal unless you really need to!)
* - Fixed some typos spotted by Al Maw.Dries Buytaert2003-02-25
|
* - New menu houskeeping. Prototyped by Zbynek.Dries Buytaert2003-02-20
| | | | | | | | | | | | | | | | The following modules need updating: * glossary module * feed module (Breyten's version) * mailhandler module * notify module * project module * smileys module * admin module * style module * taxonomy_dhtml module To avoid unexpected problems menu_add() is deprecated (it will print an error message when used) and menu() should be used instead.
* - Everything is using theme("function") now instead of $theme->function().Dries Buytaert2003-02-15
|
* - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.Dries Buytaert2003-02-11
|
* - Changed '%s' into '%d' such that an empty $user->uid is converted to 0. RequiDries Buytaert2003-02-09
| | | | red for Drupal to work on new versions of PostgreSQL. Patch by James, backported to CVS by me.
* - Applied Moshe's _exit patch (slightly modified).Dries Buytaert2003-01-26
| | | | - Fixed bug in system.module.
* - Tidied up XHTML. Patch by Ulf.Dries Buytaert2003-01-23
| | | | - Added missing t() function. Patch by Stefan.
* - Applied Ori's format_plural() patch; see mailing list for details.Dries Buytaert2003-01-21
| | | | NOTE: some modules in the contributions repository might need to be updated.
* - Bugfix: statistics.module can't give referrer statistics other than theDries Buytaert2003-01-16
| | | | external ones with clean URLs. Patch by Ulf Rompe.
* - Ported David's taxonomy patch to Drupal CVS.Dries Buytaert2003-01-09
|
* - Fixed access log update bug introduced during clean URL commit. Patch byDries Buytaert2003-01-07
| | | | Moshe.
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - Made a database query ASNI compliant. Patch by Ax.Dries Buytaert2003-01-05
|
* - The statistics module would sometimes mistake a non-node ID with thatDries Buytaert2003-01-04
| | | | of a node. Thanks David and Jeremy.
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* - Small improvement to the links.Dries Buytaert2002-12-30
|
* - Usability improvement: made the access log, referrer logs and popular postDries Buytaert2002-12-29
| | | | | | tables use the new table rendering functions. - Usability improvement: a couple of strings could not be translated.
* - Some small cosmetic changes.Dries Buytaert2002-12-26
|
* - Refactored the administration pages.Dries Buytaert2002-12-24
|
* - The statistics module's blocks showed unpublished nodes. Patch by Ax.Dries Buytaert2002-12-10
|
* * Applied slightly modified version of Marco's taxonomy patch:Dries Buytaert2002-12-02
| | | | | | | | | | | | | | | | | - Fixed a bug with get_tree and multiple parents. - Fixed 3 wrong caches (this will avoid some queries). - Extension to taxonomy_term_count_nodes() (feature #159): "currently calling taxonomy_term_count_nodes() returns the amount of nodes in each term, would it be possible to extend this function so that it would only return the amount of nodes of a certain type under each term. - Confirm deleting a vocabulary or a term (requested by Moshe). - Use form_weight() in vocabulary and term forms. - After submitting a term, we end up at the term page (requested by Moshe). - Added status messages when adding, editing and deleting vocabularies and terms - Minor clean ups * Made sure all modules use the same link delimiter; "|" for now.
* - Patch by Jeremy to fix a module loading bug:Dries Buytaert2002-11-29
| | | | | | | | | - module.inc: + added call to _init for all modules - statistics.module: + added statistics_init() + moved all global actions into statistics_init()
* - Applied Jeremy's statistics module patch: made most (if not all) of theDries Buytaert2002-11-28
| | | | strings translatable.
* - Fixed the statistics block titles such that the username is displayed ↵Dries Buytaert2002-11-26
| | | | | | correctly. Reported by Jeremy.
* - Applied Jeremy's statistics module patches:Dries Buytaert2002-11-26
| | | | | | | | | + Fixed "recent users" title/timestamps. + Added statistics_node_delete() function. - Applied Jeremy's node module patches: + Added call to statistics_node_delete(). + Fixed call to taxonomy_node_delete().
* Applied Moshe's patches:Dries Buytaert2002-11-11
| | | | | | | | | | | | - Adds more title info to each line in the block: now showing author and number of comments in a unified way accross all modules. - Added pager support to blog module. - Blog module now uses standard node view, not its own hack which is more theme friendly (http://www.drupal.org/node.php?id=133). - Blog module now uses node_feed() function for making RSS feeds. since all feeds are now consolidated, a couple tweaks to node_feed() and format_rss_* would lead us to support new RSS formats easily. - Fixed bugs where unpublished entries were displayed.
* - Made sure $content is initialized. Patch by James.Dries Buytaert2002-11-09
|
* * Added Jeremy's pager:Dries Buytaert2002-11-09
| | | | | | | | | | | | | | | | | | | | | | | "This is a simple, generic pager for Drupal-CVS. It is designed to be easily themeable and expandable. The code is highly-commented to enhance readability." "Pagers are constructed by combining the provided pieces (all of which can be easily modified to display the text or image you prefer) into your custom pager." * Statistics module fixes by Jeremy: - removed superfluous check for existence of watchdog() - saving changes in admin page displays status and returns same page - no longer return 1971/01/01 in "view statistics" table - switched from "!=" to "<>" in SQL queries for ANSI-SQL compliance - switched from "MAX(timestamp) as timestamp" to "MAX(timestamp) as max_timestamp" moving towards ANSI-SQL compliance. * Added a "theme_item_list" function to format itemized lists. Also changed a couple of modules to take advantage of it. Makes for a more consistent UI.
* Patch by Jeremy:Dries Buytaert2002-11-06
| | | | | | | | | | | | - addressed one of Ax's issues: > = there are quite some "$output .= " which should be "$output > = " > (whenever $output hasn't been initialized before) - combined a few lines that could be accomplished in one step - changed "!" to "." in comment "This site is currently sustaining..." as if a low number, it looks silly.
* - Applied Stefan's locale patches.Dries Buytaert2002-10-29
|
* - Made sure we switching using $delta. Thanks Marco and Gerhard.Dries Buytaert2002-10-29
|