Commit Graph

1816 Commits (7e017fce0f0bb407455f1823479da510517c10e6)

Author SHA1 Message Date
Dries Buytaert 10917b1213 - Patch #6470 by Brian: fixed XHTML error with multiple selection boxes. 2004-03-14 20:07:00 +00:00
Dries Buytaert 73ab05f4e6 - Added a CVS Id 2004-03-13 06:10:20 +00:00
Dries Buytaert 70c484c077 - Patch #6391 by jik: after deleting a user, return to the user list, not the edit user form. 2004-03-12 18:42:08 +00:00
Dries Buytaert 6e217dd641 - Bugfix: mark new comments when show as 'folded' 2004-03-12 08:09:09 +00:00
Dries Buytaert 2101f6c454 - Rewrote the profile module:
+ Added a 'created' field to the users table and renamed the 'timestamp'
     fied to 'changed' (cfr. node table).  Update.php will try to determine
     a 'created' timestamp for existing users.

   + The profile module no longer uses serialized data but has its own set
     of tables.  Known existing profile data is migrated by these new tables.
       TODO: migrate the birthday field.

   + The profile fields can be grouped, and within each group, profile fields
     can be sorted using weights.

   + The profile pages can be themed.

   + The profiles can be browsed based on certain properties/settings.

   + Change the _user hook: (i) 'private_view' and 'public_view' are merged
     into 'view' as there are no private fields and (ii) 'edit_form' has
     been renamed to 'edit'.

   + Avatar handling has been refactored and is now part of the user module.
     The users table has a dedicted 'picture' field.

   + Simplified the way themes should use display/visualize pictures or
     avatars.

   + Made it possible for administrators to replace or delete avatars.

   + ...

  I hope this make for a good base to build on collectively.
2004-03-11 20:33:59 +00:00
Dries Buytaert 42461ed578 Patch 6270 by mathias: misc. fixes 2004-03-10 09:32:46 +00:00
Dries Buytaert 36a0b17f63 - Patch #3786 by Gerhard: removed last instance of <none> 2004-03-09 21:34:24 +00:00
Dries Buytaert ccc9276f45 - Patch #4902 by Goba: fix URLs in RSS feeds.
+ Make all channel links absolute.
   + Always set the $base_url as xml:base, thus providing a solid base for
     relative URLs.
2004-03-06 16:17:48 +00:00
Dries Buytaert 744405e316 - Patch 6140 by Goba: fix the 'read more'-link behavior. 2004-03-06 10:57:53 +00:00
Dries Buytaert 76192f667d - Modified patch by TheLibrarian: add a summary attribute to the calendar. 2004-03-05 20:57:05 +00:00
Dries Buytaert 3d5f11e004 - Restored the old block path behavior. 2004-03-05 20:33:02 +00:00
Dries Buytaert 0f980c24bc - Removed broken throttle. 2004-03-01 19:45:33 +00:00
Dries Buytaert c73305f6d6 - Patch #6129 by Goba: fixed dependencies on search module. 2004-02-29 17:16:27 +00:00
Dries Buytaert 7d0eb5376d - Patch #6110 by Goba: stop cheating in the Drupal site list. 2004-02-28 17:55:50 +00:00
Dries Buytaert df2c033729 - Patch 6066 by Adrian: PostgreSQL does not return 'affected rows' when doing
a select statement.  Even though PEAR supports this functionality, it fails
  silently when using PostgreSQL.  We use the db_num_rows() function instead
  to return the amount of rows returned.  (According to Killes, the MySQL
  manual also states that it should not return affected rows on a 'select'
  statement.)
2004-02-26 17:55:14 +00:00
Dries Buytaert a283a3b7b8 - Patch by Gerhard: move the updates to database/updates.inc so packaging
systems can by-pass update.php.
2004-02-25 22:20:09 +00:00
Steven Wittens e3bedc47d7 Fixed an apparently old bug which always defaulted user-togglable blocks to off, and clarified the explanation a bit. 2004-02-25 21:19:31 +00:00
Steven Wittens 939a816e8f Poll.module cleanup:
* Code cleaning: simpler structures, removed some old leftovers, ...
* Clean URLs everywhere (the old mechanism was broken anyway). Had to get rid of 'inline voting' (i.e. voting with the sideblock and ending up on the same page), but that was a bit confusing anyway.
* Simplified submission form with form_group and streamlined choice mechanism.
* Improved bar rendering in pollresults for themes with avatars, like xtemplate.
2004-02-24 23:34:31 +00:00
Dries Buytaert 4a8571bfdb - Patch #6000 by Goba: makes the short tip list a HTML list (as it is semantically
expected) and gives proper class names to the long and short tip list, so if
  someone would like to reproduce the 'br' tagged version, he can do that with
  some CSS styles easily.  Assigned a dedicated class to the more-tips link, so it
  can be differently stlyed (with a different bullet, different link color or
  anyhow, as the theme designer desires).
2004-02-23 13:17:17 +00:00
Dries Buytaert 65b124bdf0 - Usability improvement: made the throttle message fit in the watchdog message. 2004-02-23 10:35:38 +00:00
Dries Buytaert 5c415f739b - Slightly improved the throttle watchdog messages. 2004-02-22 06:18:21 +00:00
Kjartan Mannes 18160f02e8 - Sanatize title before doing LIKE matches. 2004-02-21 23:52:11 +00:00
Kjartan Mannes 2d7d796d9b - Fix implode() errors. 2004-02-21 23:43:07 +00:00
Kjartan Mannes 2c2b0904dc - Coding style fixes.
- Extended tracker comments to handle project issues.
2004-02-21 22:20:21 +00:00
Dries Buytaert cfd7751653 - Patch 5969 by Chris: improved the profile module's context sensitive help text 2004-02-21 21:26:57 +00:00
Dries Buytaert 4cb7279721 - Patch by Gerhard: fixed incorrect regex in the taxonomy module. 2004-02-21 19:16:07 +00:00
Kjartan Mannes 32e46a375d - Fixing help text. The filters DO NOT removed unclosed valid tags. 2004-02-21 16:00:24 +00:00
Steven Wittens fb6e4564d8 - Aggregator: fix for http://drupal.org/node/view/5733
- System: the 404 setting instructions advise using 'node', this should be '' (redirecting the user to the front page without any message whatsoever is confusing)
2004-02-19 12:27:33 +00:00
Steven Wittens b109518bc1 - Added a short note about the node-trim-length setting. Many people seem to expect that changing it updates existing teasers too. 2004-02-19 11:57:54 +00:00
Dries Buytaert 7abb76e1d1 - Patch 5897 by Moshe: don't consider the 'U' tag to be a block level tag. 2004-02-17 05:57:13 +00:00
Dries Buytaert 634893f298 - Patch 5683 by JonBob: changes the multiple type delimiter from / to -. 2004-02-16 18:33:37 +00:00
Dries Buytaert b4f628c1de - Fixed forum module typo. 2004-02-16 18:32:01 +00:00
Dries Buytaert 8a78d0d512 - Bugfix: the forum block was showing posts that are not 'published' yet. 2004-02-16 06:39:29 +00:00
Dries Buytaert 36721f4692 - Fixed a problem editing nodes. Spotted by Steven. 2004-02-15 20:16:24 +00:00
Dries Buytaert 4b0b2d02ee - Patch by Steven: removed redundant permission checks. These are no longer
required thanks to the new 404 handling.
2004-02-15 20:09:46 +00:00
Dries Buytaert ae5136e51b - Patch #5111 by Bart: fixed inconsistent default values. 2004-02-15 16:33:33 +00:00
Dries Buytaert 350cbdd3cc - Patch #4861 by Moshe/TDobes: made the comment module use the _link hook. 2004-02-15 16:28:33 +00:00
Dries Buytaert bd78422715 - Patch 5592 by Goba: let drupal_map_assoc() rule. :-)
- Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
2004-02-15 15:19:36 +00:00
Dries Buytaert 6dcb3c4614 - Code improvements by Mathias: made the path module use drupal_set_message(). 2004-02-14 10:19:45 +00:00
Dries Buytaert b5c18e8a17 - Patch 5592 by Goba: introduced a new function, drupal_map_assoc(). 2004-02-12 19:37:04 +00:00
Dries Buytaert 14b84fa299 - Fixed bug #5831: added validation for posting to forum containers. Patch
by UnConeD.
2004-02-12 19:04:20 +00:00
Dries Buytaert f137b26979 - Patch 4902 by Goba:
+ only adds an optional parameter to url() and l(), so individual links
    can be set to be absolute
  + modifies drupal_goto() to accept the parameters of url() without the
    $absolute parameter, so cleaner invocations can be used
  + rework of some code in node_feed, making it much better to look at
    (the current code uses foreach with an immediate brake to get the first
    key of the associative array, geeeeez)
  + added xml:base to the rss tag generated by node_feed()
  + set all user mail URLs to be absolute
  + fix a small fragmented URL in user.module
2004-02-11 19:21:14 +00:00
Dries Buytaert a333c05d74 - Patch by Gerhard: fixed instance of format_plural 2004-02-11 05:58:54 +00:00
Dries Buytaert b880405421 - Usability improvement: print a message if you are (not) allowed to print
forum topics.
2004-02-10 22:50:04 +00:00
Dries Buytaert 254ca4b900 - Patch 5729 by Goba: removed dead code from page.module. 2004-02-10 21:36:37 +00:00
Dries Buytaert 6c99c2d86f - Patch #5766 by Moshe: replace getenv() with $_SERVER. 2004-02-10 19:41:57 +00:00
Dries Buytaert 0d0d72767b - Avoid SQL queries if possible. 2004-02-10 19:24:47 +00:00
Steven Wittens fda228a172 Fix bad default timezone format for timezone display. Would cause a bug on sites that haven't been configured completely yet. 2004-02-10 18:10:08 +00:00
Steven Wittens 1c5a3947d1 Bugfix: new user registration was broken.
See: http://drupal.org/node/view/5741
2004-02-09 05:38:32 +00:00
Steven Wittens 5abbc3971f - Improved welcome message 2004-02-09 00:56:23 +00:00
Steven Wittens 8a5961ce5b - Fixed possible issue with preg_replace with /e 2004-02-09 00:43:58 +00:00
Kjartan Mannes 97c2aa2bda - Modified format_date() to handle timezones properly. 2004-02-08 21:42:59 +00:00
Dries Buytaert 325f9891b2 - Added a welcome message written by Steven. 2004-02-08 21:16:03 +00:00
Kjartan Mannes 3528f79e39 - Readding queue message on node add removed in rev 1.86.
Uses drupal_set_message() so the message doesn't interfeer with non-HTML
  formats (posting using blog API etc).
2004-02-08 20:56:24 +00:00
Kjartan Mannes 016a8f6830 - Removing timezone fix that crept in. 2004-02-08 20:38:53 +00:00
Kjartan Mannes bc407492e8 - Fixed codying style, typos, osbolete help. 2004-02-08 20:36:13 +00:00
Dries Buytaert 991cb5c982 Patch 5554 by Goba (slightly modified):
- Modifies _user_mail_text() to automatically override the default
    strings when needed and apply t() on the strings. This lets Drupal translators
    include default messages in translations, and also removes a lot of repeated code.
    Modified the internal $messageid of the approval message from
    welcome_approval_body/subject to approval_body/subject, so automatic variable
    name computation can be done. This does not affect any variable table keys, since
    the change was especially done to keep the variable names...

  - Adds %login_uri and %edit_uri to move away from the concatenation approach used in
    the default messages, thus making those messages visible for the .po extractor

  - Uses direct return in help text generation when no more action need to be taken
    on the help string (the '$output .=' approach was just plain silly looking and
    misleading, since there was no preceding or appended string in $output)
2004-02-08 18:38:15 +00:00
Dries Buytaert 6450c7122e - Fixed typo introduced by last archive module patch. 2004-02-08 17:09:17 +00:00
Dries Buytaert bc8057df38 - Patch #5613 by Goba: fixed translation issue with archive module and removed
some locale module code that is now part of extractor.php.
2004-02-08 17:07:07 +00:00
Dries Buytaert d0ffb4794a - Refined the regex to validate the input. 2004-02-08 11:08:28 +00:00
Dries Buytaert 229ac8dec4 - Small bugfix. 2004-02-07 17:24:38 +00:00
Dries Buytaert e28bbf6739 - Batch two with profile module improvements:
+ Reworked the 'account administration' page.
   + Fixed bug in the 'edit account' page.
   + Removed some dead code from the system.module.
2004-02-07 16:59:34 +00:00
Dries Buytaert 5a8129e0fb - First batch of profile module improvements:
+ Tidied up the profile configuration page: grouped form elements.

   + Tidied up the block configuration settings: removed hard-coded
     table.

   + Changed the profile API to return the preferred group name, and
     changed the user module to group settings.  Modules implementing
     the _user hook will need to be udpated.

   + Removed register_form and register_validate for now.
2004-02-07 16:18:46 +00:00
Dries Buytaert 8c909397d7 - Patch #5501: fixed invalid HTML in the comment and tracker module. 2004-02-07 10:57:27 +00:00
Dries Buytaert c6deda88ef - Patch #5048 by flevour: added missing t() function. 2004-02-07 10:46:46 +00:00
Dries Buytaert 26ee414578 - Usability improvement: changed 'messages' to 'logs'. 2004-02-07 10:42:09 +00:00
Dries Buytaert 06b25311b4 - Bug 4853: fixed invalid taxonomy query. 2004-02-07 10:39:54 +00:00
Dries Buytaert fd64c56ec1 - Removed the 'remember me' feature. It has been broken for many months.
When an elegant fix is found, it will reappear.
2004-02-06 22:58:03 +00:00
Steven Wittens 0a8535eeef - Fix: do not call prepare hook when the admin has chosen to escape everything
- Code style: use constants to prevent confusing configuration options
2004-02-06 19:41:00 +00:00
Dries Buytaert 3e5d749838 - Fixed problem with multiple node types. Patch by JonBob. 2004-02-06 19:11:59 +00:00
Dries Buytaert bfba335376 - Added the possibility to reorder filters. Patch by UnConeD. 2004-02-06 19:07:56 +00:00
Steven Wittens 653733a84c - Throttle: fixed incorrect watchdog message (seems a leftover from before). 2004-02-05 17:32:36 +00:00
Dries Buytaert abf27dde48 - Fixed bug #5628: wrong timestamp in aggregator. Patch by BartJ. 2004-02-04 21:23:07 +00:00
Steven Wittens d3d8839764 Rolling back a couple of incorrect replacements in Dries' double-to-single-quotes patch. 2004-02-02 02:05:20 +00:00
Steven Wittens 0664586554 Typo 2004-02-02 01:55:08 +00:00
Dries Buytaert c1559f66b5 - Changed 1100+ double quotes to single quotes. 2004-02-01 22:13:59 +00:00
Dries Buytaert eec20988bf - Patch #5575 by Stefan: fixed invalid XHTML code in the node and taxonomy module. 2004-02-01 21:51:28 +00:00
Dries Buytaert 010c419a21 - Replaced a bunch of double quotes by single quotes. 2004-02-01 21:32:01 +00:00
Dries Buytaert dc938c533b - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
fixed translation issues in taxonomy module, etc.
2004-02-01 21:04:42 +00:00
Steven Wittens 4cef0f12c8 Fixed bug in query: if "%" is used in an SQL query, it needs to be escaped as %% because otherwise it can get parsed by the sprintf() in db_query().
See: http://drupal.org/node/view/5531

(present in HEAD as well)
2004-02-01 17:55:11 +00:00
Dries Buytaert 7ce34a1c64 - Fixes by Goba: updated help text of mass URL aliasing and fixed escaping problem. 2004-02-01 10:52:25 +00:00
Dries Buytaert fb1195258f - Fixed tracker bug: tracker module has a line of faulty code which tries
to get the node name in the old way.  Patch by JonBob.
2004-01-31 21:32:06 +00:00
Dries Buytaert 48a4dff897 - Patch by Goba: added form descriptions where appropriate and removed some
duplicated code from the comment module.
2004-01-31 21:16:42 +00:00
Dries Buytaert 252cf676ae - Patch #5526 by Kjartan: cleaned up node_page(), show a 404 when the node
could not be found.
2004-01-31 10:39:35 +00:00
Dries Buytaert fcb9011d88 - Modified filter patch by Ax. 2004-01-31 10:18:51 +00:00
Dries Buytaert 384ae54cf6 - Cleanup: modified some context-sensitive help, changed "s to 's, added
<legend> and <fieldset> tags, used drupal_set_message() to print a
  status message and removed some dead code.
2004-01-31 09:50:39 +00:00
Kjartan Mannes 8c547ca53c - Removed obsolete head hook. 2004-01-30 13:13:21 +00:00
Kjartan Mannes 63eccc5ebb - Modified node and comments to not be marked as new when they are 30 days old. 2004-01-29 22:00:31 +00:00
Dries Buytaert 43d49576da - Fixed bug #5434: added missing "/" in link to be XHTML compliant. Patch by pz. 2004-01-29 20:57:59 +00:00
Kjartan Mannes df062323b2 - Fixed bug #5479: Default comments per page setting broken. (walkah) 2004-01-29 19:51:39 +00:00
Dries Buytaert b1fe1c941e - Replaced the 'active post' and 'recent post' by better integrated and
easier to understand 'new' links.   The 'new' links are clickable both
  at the forum overview (to get to the new forum topics) and at the topic
  overview (to get to the new comments).
2004-01-28 22:10:34 +00:00
Dries Buytaert 02c622dea1 - Patch 4332 by Goba: eliminate compose tips module. 2004-01-27 22:10:47 +00:00
Dries Buytaert 1687dd07c9 - Patch 5049 by JonBob: allow a module to define multiple node types. 2004-01-27 18:47:07 +00:00
Dries Buytaert 10e8da6937 - Patch 5246 by Stefan: usability improvements for the locale module. 2004-01-26 19:47:58 +00:00
Dries Buytaert 66190b1787 - Patch #5393 by Goba: changes the search hook return value, and requires an array
containing two elements, the first being the requested title, and the second being
  the result list. Advantages:
    * Cleaner search code in common.inc
    * Po extraction is possible and works fine
    * No hardcoded exceptions for node and comment modules, since any module can
      return results in order of relevance (or another order)
2004-01-26 19:22:22 +00:00
Dries Buytaert a2055ae9d9 - Patch 5395 by Goba: no need to have an 'enable' setting. 2004-01-26 18:59:42 +00:00
Dries Buytaert f4b58e8900 - Made it possible to assing taxonomy terms to forum nodes. Tidied up the
forum module code a bit.
2004-01-25 21:11:01 +00:00
Dries Buytaert 8a913ffe7c - Removed the 'Page not found' message after the initial install and removed
some old user module logic to install the initial role IDs.
2004-01-24 16:54:22 +00:00
Dries Buytaert 2aa8036057 - Fixed bug in image parsing: caused 'Array' to be printed on the screen. 2004-01-24 15:47:44 +00:00
Dries Buytaert b85eb11e11 Patch 5287 by Stefan: multiline help texts should become inside a single $output. 2004-01-23 18:42:43 +00:00