Commit Graph

387 Commits (30059b1a5985fdfe1874e63f4bc5921080449151)

Author SHA1 Message Date
Steven Wittens 21bed11e66 - Add missing url()s around form actions (these would break without clean URLs) 2005-11-13 02:32:18 +00:00
Dries Buytaert aeed4cd8e4 - Patch #35644 by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Dries Buytaert 3d13a38502 - Patch #36727 by Goba: fixed incorrect use of drupal_goto(). 2005-11-08 20:57:41 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Steven Wittens 3fad92fc59 - #34645: Make $links in theme_comment consistent with theme_node (Stefan) 2005-10-20 09:27:36 +00:00
Steven Wittens e83b00d526 - Typo 2005-10-20 08:56:34 +00:00
Steven Wittens 8164ec2f49 - Code style 2005-10-20 08:53:59 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert 7863be5e82 - Patch #33433 by chx: fixed a number of form API problems.
* Default form value
    * Leftover debug function in form.inc
    * PHP5 issue with comment date (I got this patch from another issue)
    * Validation error fix (was calling legacy form validate)
    * Lots o' warnings on comment preview
    * Filter tips plus argument (gremlins. I swear this was not there.)
    * Message to clear what's going on with system settings
    * Non-freetagging taxonomies fixed
2005-10-08 12:21:47 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert 0200ccf4da - Patch by chx: fixed validation check. 2005-10-01 08:43:51 +00:00
Dries Buytaert 1d94bb4a87 - Add some extra options. 2005-09-29 08:04:51 +00:00
Dries Buytaert 45f4bcaa7d - Patch #26031 by leafish_dylan: fixed comment pager (broken SQL query). 2005-09-27 18:34:59 +00:00
Dries Buytaert dff2df4809 - Patch #28786 by Neil: moved pagers out of table. 2005-09-27 18:10:19 +00:00
Dries Buytaert 67e68fc679 - Patch #28786 by Neil: move pagers out of table. 2005-09-24 07:53:26 +00:00
Dries Buytaert 2b3126b2cc Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc. 2005-09-19 19:13:35 +00:00
Dries Buytaert 06af3e60e5 - Patch #29866 by Florian, Uwe: made the recent comments block only show comments on public nodes. 2005-09-19 15:11:05 +00:00
Dries Buytaert dec4ddd3a5 - Patch #28420 by Jeremy: provide a more generic interface that can be used
to validate other form submissions, not just comments. Two new functions
  are introduced, form_token() and form_validate(). The first function uses
  a private key and a public key to set a token in a hidden field. The second
  function validates the token. The comment and contect module are updated to
  use these functions.
2005-09-18 12:04:10 +00:00
Dries Buytaert 1dc53d9761 - Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place.
* adds a "feed settings" section to admin/settings where 2 new settings are introduced:
* number of items per feed
* default length of feed descriptions (title only, teaser, full)
* patches all of core to obey the above - including the new aggregator (out) feeds
* adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module)
* includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information.
2005-09-18 10:37:57 +00:00
Dries Buytaert 57a734a989 - Patch #16140 by Gerhard: cure array_merge() warning due to invalide menu callback. 2005-09-07 20:45:53 +00:00
Dries Buytaert d9d6a6e05c - Patch #7582 by Gerhard: improved node revisions!
All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node.  This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.

TODO:

1. Provide upgrade instructions for node module maintainers!
2. Upgrade modules that implement node types.
3. Provide an upgarde path for revisions.  Dependency on the upgrade system.
2005-08-30 15:22:29 +00:00
Dries Buytaert 494e5ab97c - Renamed 'user comments' to 'comment options' for consistency.' 2005-08-28 15:16:58 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 29d6660149 - Patch #23620 by Robin: don't hard code forms into comment.module. Will be
depricated by form API patch though.  Hopefully helps migration.
2005-08-17 20:07:35 +00:00
Dries Buytaert 7625a4e91a - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.

  TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Steven Wittens e4096e1418 - #27551: Rename check_output() to check_markup(). Needs contrib updates! 2005-07-29 21:06:33 +00:00
Steven Wittens aa2de74fa2 - #27624, #27614, #27627: dead code 2005-07-29 08:18:20 +00:00
Steven Wittens bd055961cd - #25285: Use correct permission for node form comment admin 2005-07-25 09:41:29 +00:00
Dries Buytaert 50dac6f671 - Fixed typo reported by Stefan: theem -> theme 2005-07-20 15:13:12 +00:00
Dries Buytaert 13954f90dd - Modified patch #18656 by Moshe: unifies the admin comment form and the usual comment form, similar to what we did for nodes. This resulted lots of duplicate code removal. Also gave administrators the ability to change the author and timestamp of a comment. Also removed comment links from the bottom of the comment preview box (as we did for nodes)
Modifications: fixed breadcrumbs, tidied up delete confirmation page to be consistent with node deletions..
2005-07-19 17:51:59 +00:00
Dries Buytaert 160a1e0ef8 - Patch #25634 by chx: simplified node_load(). 2005-07-17 18:29:32 +00:00
Dries Buytaert 02460ed9d8 - Removed tab. 2005-07-05 19:31:36 +00:00
Dries Buytaert 2c10ff4b5f - Fixed problems with filter formats and problem with XML-RPC server. 2005-06-29 19:53:14 +00:00
Dries Buytaert 58aee8cdad - Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert e550f84162 - Patch #16204 by Thox: committed the collapsible form elements patch.
NOTE: this patch works well, but the improved node edit form still has
        some rough edges.  It is important that we continue to improve
        usability.  Give it a try.
2005-06-21 09:45:45 +00:00
Steven Wittens 21274fbb94 - #23285: Allow theming of comment previews, like node previews. 2005-05-22 21:14:59 +00:00
Dries Buytaert e5ecab0797 - Patch #22804 by Cvbge: fixed typo in documentation. 2005-05-14 17:23:18 +00:00
Dries Buytaert 381853c6b9 - Patch #21221 by Robert: make status values in comment.module defined constants for readability. 2005-05-05 20:12:49 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 8f1e9cd720 - Modified patch #18215 by ankur: make sure the comment statistics update after approval in the moderation queue. 2005-04-08 13:34:10 +00:00
Dries Buytaert a21f084160 - Patch by Drumm: change the wording for clarity. 2005-04-08 13:06:37 +00:00
Dries Buytaert 961cf7af44 - By default, do not show comment controls. 2005-04-07 05:24:08 +00:00
Dries Buytaert 29f6541c5e - Patch #20103 by Neil: Removing another place where we have hard coded HTML instead of the form functions. The unpublish selection actually didn't seem to work, so I removed it since we have delete. It should be implemented as a link anyway. 2005-04-07 05:21:30 +00:00
Dries Buytaert a3e9b35afc - Patch #19451 by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook. 2005-04-01 15:55:02 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Dries Buytaert 5ad5f28cda - Patch #19009 by chx: fixed a bug with comment replies letting one access nodes. 2005-03-20 19:42:14 +00:00
Steven Wittens c3f1f7345e - #18939 (Stefan): Always use paragraph tags around page help text. 2005-03-18 07:07:04 +00:00
Dries Buytaert 332a56334d - Patch #17161 by Morbus: increase 40-character limit in URL field for comments. 2005-03-16 22:14:15 +00:00
Dries Buytaert 3b5589f436 - Patch #14109 by wulff/Morbus: added missing t() funciton 2005-03-16 19:31:47 +00:00
Dries Buytaert a16e5d2492 - Patch #18692 by Goba: old comments (comments for nodes having no entry in the history table anymore) are counted as new comments, since the timestamp retrieved from the history table is used to check for new comments (which is 0, if an entry was not found). This patch sets the timestamp used to check for new comments to the NODE_NEW_LIMIT value at least (which is when the history table was/should have been pruned). 2005-03-12 08:52:29 +00:00