Commit Graph

1702 Commits (c6deda88ef55952036d00dd847f36830faebfe0b)

Author SHA1 Message Date
Dries Buytaert 02090ae2ed - Removed the 'enable/disable' setting from the throttle module. To disable
a module, disable it from the modules configuration page.
2004-01-17 11:19:10 +00:00
Dries Buytaert bc2348efbb - Comment setting improvements: updated the form descriptions, reorganized the
settings in groups, fixed a warning, rewrote the comments per page settings,
  etc.
2004-01-17 10:32:52 +00:00
Dries Buytaert 860a5cc388 - Removed the $help parameter from the _form hook. The help, typically
submission guidelines, should be emmitted using the _help hook.
2004-01-17 09:07:00 +00:00
Dries Buytaert ce42eb41a2 - Small cleanups 2004-01-15 20:25:50 +00:00
Dries Buytaert 36c0e4d745 - Bugfix: display the correct author. Patch by Nick. 2004-01-15 19:12:14 +00:00
Dries Buytaert 6fc8d944d8 - Small bugfix 2004-01-15 09:10:16 +00:00
Dries Buytaert 6fc2070a22 Patch 5114 by Kjartan:
- Adds drupal_set_header() and drupal_get_headers().
 - Cache now stores custom headers.
 - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head().
 - Added RSS autodiscover links to node, blog and taxonomy pages.
2004-01-14 22:30:09 +00:00
Dries Buytaert 01e9b5a0f0 - Fixed 5218: book page "administer" removes original author. 2004-01-14 22:17:45 +00:00
Dries Buytaert 59925ef983 - Usability improvement: added a book navigation block. 2004-01-14 19:26:41 +00:00
Dries Buytaert eee72bfa95 - Patch 4859: new drupal_unpack() consolidates duplicate code and makes it
easy to show avatars next to nodes and comments.  Patch by Moshe.  As a
  showcase, maybe Xtemplate should have an option to enable/disable avatars?
2004-01-13 19:25:37 +00:00
Dries Buytaert a8b8c247db - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. 2004-01-11 20:31:26 +00:00
Dries Buytaert 5ac59aacd2 - Applied patch #4949: node_prepare() wastes resources. Patch by Goba. 2004-01-11 20:16:26 +00:00
Dries Buytaert 6ec582fd9c - Fixed bug #5074: standarized the user log messages. 2004-01-11 19:44:15 +00:00
Dries Buytaert f2b984fcd4 - Removed some debug info. 2004-01-11 15:10:27 +00:00
Dries Buytaert ee305ae144 Round 3 of aggregator improvements:
- Added support for new tags:
   + Optinal feed image: <image> tag.
   + Dublin core dates: <dc:date> <dcterms:created>, <dcterms:issued>,
     <dcterms:modified>.
 - Usability improvements:
   + On the administration page, made the feed/bundle titles link
     to the feeds/bundles' pages.  On the feed/bundle's page, made
     the 'Last updated' field link to the administration page.
   + Moved the 'syndication' menu one level down.
 - Updated some content sensitive help.
 - Further improved themeability.
 - Fixed some invalid HTML.
2004-01-11 15:05:21 +00:00
Dries Buytaert 86f8a25059 Aggregator module improvements:
+ Added some a new theme fucntions to the aggregator to make it possible to
   theme the aggregator page.
 + Removed the <table> and much hardcoded CSS as well as theme("box")-es.
 + Added the aggregator's theme functions to Doxygen's themeable group.
 + Added breadcrumb trails to the aggregator pages.
 + Updated the core themes to take advantages of the improved themeability.

Screenshot:

 http://buytaert.net/temporary/aggregator-makeover.jpg
2004-01-10 15:31:26 +00:00
Kjartan Mannes 94c1c06d8a - Report XML parse errors. 2004-01-08 19:29:10 +00:00
Dries Buytaert 94f6e94ffd - Many excellent news aggregator improvements by Kjartan:
+ Added drupal_http_request().
    + Replaced rssfeeds with OPML feed subscription list.
    + Added support for pubDate.
    + Added support for conditional gets using ETag and Last-Modified.
2004-01-07 19:52:10 +00:00
Dries Buytaert bd9064a6ca - Fixed bug #4965: typo in the help text. 2004-01-06 18:35:12 +00:00
Dries Buytaert b5607181a8 - Fixed bug #4989: archive calendar cached too aggressively. 2004-01-06 18:30:10 +00:00
Kjartan Mannes 9478f33c26 - Renamed import to aggregator.
- Added proper access checking to block and menu items.
2004-01-06 13:32:59 +00:00
Steven Wittens b817bdb302 - Improved XML encoding fix. There is now a function drupal_xml_parser_create():
/**
 * Wrapper around xml_parser_create() which extracts the encoding from the XML
 * data first and sets the output encoding to UTF-8. This function should be
 * used instead of xml_parser_create(), because PHP's XML parser doesn't check
 * the input encoding itself.
 *
 * This is also where unsupported encodings should be converted.
 * Callers should take this into account: $data might have been changed after
 * the call.
 *
 * @param $data The XML data which will be parsed later.
 */
2004-01-06 12:09:42 +00:00
Dries Buytaert 7cf848279c - Implemented feature request/bug #4973: removed the throttle module's dependence
on cron to make adjusting the throttle level more responsive (when configured
  to).
2004-01-05 22:39:42 +00:00
Dries Buytaert 82d45931ac - Fixed bug 4972: an incorrect permission name prevented the throttle block
from being shown to users.
2004-01-05 22:18:48 +00:00
Steven Wittens 553da40335 Added checks to the drupal directory option to display an error when the site name, email, slogan or statement aren't filled in. 2004-01-05 20:45:54 +00:00
Steven Wittens 0158c920ad Committed filter separation patch: all filter-related things are now in filter.module (which is a required module).
To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage.

(based on the patch by Goba)
2004-01-05 19:50:43 +00:00
Dries Buytaert 30fb23451f - Changed some boxes to fieldsets/lengeds. 2004-01-05 19:33:58 +00:00
Steven Wittens c2151b5248 Committed filter separation patch: all filter-related things are now in filter.module (which is a required module).
To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage.

(based on the patch by Goba)
2004-01-05 19:19:05 +00:00
Dries Buytaert 3176e66905 - Patch 4948 by Goba: the poll module uses check_output() on the poll options. 2004-01-04 21:54:13 +00:00
Dries Buytaert 51ee09cc2e - Patch #4924: made the comment form themeable. Patch by Goba. 2004-01-03 12:32:21 +00:00
Dries Buytaert 1d5a29a357 - Log the search terms in a new watchdog category. 2004-01-02 16:44:11 +00:00
Dries Buytaert a9ef18266e - Patch 4916: improved preparation of $node->teaser and $node->body. Patch by
Goba.
2004-01-02 16:30:09 +00:00
Dries Buytaert b63747fd30 - Removed the hard-coded list of watchdog types. The list is compiled
dynamically and can be extended through the watchdog() call.  (Chris
  could use it to move the cron message to their own category.)
2004-01-02 16:28:45 +00:00
Dries Buytaert 01d17d4aca - Patch #4093: only invoke check_output() once for performance's sake. Patch
by Goba.
2004-01-02 09:50:12 +00:00
Dries Buytaert cfc0a5d175 - Fixed typo: comment_delete_thread() -> _comment_delete_thread(). 2003-12-30 14:19:57 +00:00
Steven Wittens 51208885de General filtering improvements
- Re-added STYLE/ON*= filtering (this got lost a while ago due to reorganisation)
- Added form_group's to node.module's filter options
- Fixed incorrect filter usage in poll.module
2003-12-30 14:02:36 +00:00
Steven Wittens f6cae09439 - Specify default XML encoding for not-so-well-formed files
(sorry last commit, I promise :P)
2003-12-30 06:41:24 +00:00
Steven Wittens 205aa25e9b - Improved regexp for encoding extraction 2003-12-30 06:28:01 +00:00
Steven Wittens 7ba70547c2 - Improved regexp for encoding extraction 2003-12-30 06:24:28 +00:00
Steven Wittens e8265f0759 - Bugfix: the XML parser in PHP4 requires you to specify the input encoding explicitly.
Added a short piece of code that does this.
(see drupal.org's Drupal Talk to see this bug in action)
2003-12-30 05:58:17 +00:00
Dries Buytaert 21a0e8b904 - Updated code to use new semantics of url() and l(). 2003-12-29 19:49:11 +00:00
Kjartan Mannes 286f618878 - Fixing temp directory check. 2003-12-29 18:08:33 +00:00
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert 90a5a6cf6e - Updated the user login block to validate as XHTML strict: the
<div class="user-login-block"> is now inside the <form> instead of the
  other way around.

- Simplified the user login block by removing some CSS that was no longer
  needed.  The block module already emits block-related classes and an id.
2003-12-29 13:51:59 +00:00
Dries Buytaert 7ca4dd608d - Fixed bug 4832: only list nodes for the specified day. Patch by Goba. 2003-12-29 12:41:58 +00:00
Dries Buytaert c2292d224b - Removed some dead code and improved the link emission. Patch by Kjartan. 2003-12-29 10:58:01 +00:00
Dries Buytaert baaa21e131 - Tidied up some inconsistencies in the code: scripts/code-style.sh is your friend. 2003-12-28 10:47:33 +00:00
Dries Buytaert 7e67d99178 - Locale module improvements: better performance, reduce memory footprint.
Patch by Bart.
2003-12-28 09:40:49 +00:00
Dries Buytaert 26e5362cf9 Fixed bug #4551: missing {} for prefix support 2003-12-28 00:05:49 +00:00
Kjartan Mannes 41d2b2a349 - Fixed fileuploads for nodes failing without preview. 2003-12-27 19:21:48 +00:00
Kjartan Mannes 46f8f14322 - Fixed switch in file_create_url().
- Fixed profile module not extracting mime type.
- Improved file matching in profile module.
2003-12-27 14:28:23 +00:00
Dries Buytaert 15f289a8f0 - Added file handling. Work by Kjartan. 2003-12-26 23:03:21 +00:00
Dries Buytaert c18984562a - Removed the import module's custom menu. Added a 'news aggregator' menu to
the navigation block.
2003-12-26 19:01:11 +00:00
Dries Buytaert 097f6209e5 - First take at improving the user module's code: replaced the custom error
printing with calls to drupal_set_message().
2003-12-26 13:44:18 +00:00
Dries Buytaert cb7c2e09ed - Fixed the breadcrumb trail of nested forums. Patch by Goba. 2003-12-24 15:09:43 +00:00
Dries Buytaert 4c06410d18 - Fixed bug 4710: comment module should use drupal_set_message() correctly.
- Fixed the title and breadcrumb trail of the comment delete page, added
missing cache flush, improved usability and made it so that when you delete
a comment replies are deleted as well.

- Added 'delete comment' links to the comments on node pages.  Hopefully
this will make it easier to maintain old threads such as those attached to
the book pages on drupal.org.

- Comment module maintenance: added missing t() functions and improved
consistency of the calls to drupal_set_message(), used radio buttons instead
of a selection box.
2003-12-24 13:13:07 +00:00
Dries Buytaert de19dc5129 - Tiny change for sake of consistency: Blocked -> blocked, Active -> active. 2003-12-24 10:56:47 +00:00
Dries Buytaert 6cde7fd99a - Translation fixes: fixed three usages of format_interval(). Patch by Goba. 2003-12-22 21:55:40 +00:00
Dries Buytaert 0529e79acb Patch by Goba:
- put text directly into t(), which also means that multipart help text becomes
   a multiline string
 - use modern XHTML tagging, no <b> and <i>
 - put links and URLs out of the translated text where appropriate
 - let referred menu items and form elements get the same name as in the menu /
   form, so only one translation would be needed
 - use %variable instead of $variable when variables need to go into the string
 - add translation to form items previously untranslated
 - use example.com in example URLs
2003-12-22 21:34:55 +00:00
Dries Buytaert 770174b299 - Updated documentation, small bug fix and small improvements to the <label>
tags.

  To be discussed and investigated: when a form element has no title an empty
  <label> tag will be emitted (eg. "remember me" checkbox).  This doesn't make
  sense but is our best option for now.
2003-12-22 15:38:07 +00:00
Dries Buytaert 0439e3495c - Fixed password field. 2003-12-22 15:06:46 +00:00
Dries Buytaert bf51896e85 - The introduction of the $page parameter for the node _view() hooks and
the theme functions left the poll module's poll_view() function in a
  state where it does not display the poll results or vote forms on their
  own pages, since it uses another (proprietary) $block parameter to
  handle the case when the poll is rendered to be displayed in a block.
  Patch by Goba.
2003-12-22 12:05:07 +00:00
Dries Buytaert 6ab859555c - Usability improvements to the 'create content' section. Patch by Goba. 2003-12-22 11:55:49 +00:00
Dries Buytaert 1080e6c04b - Fixed bug 4722. Patch by James. 2003-12-22 11:28:07 +00:00
Kjartan Mannes 77a0d99c86 - Fixed bug #4722: blogger.newPost not working. Patch by James Walker. 2003-12-20 11:57:40 +00:00
Dries Buytaert e06cdc577e - Fixed bug 4667: users with the deleted role are put back in the authenticated
users pool.
2003-12-18 21:33:04 +00:00
Dries Buytaert 7bbf844073 - Fixed bug 4652: node loses its terms after getting promoted, declined or expired. 2003-12-18 21:05:02 +00:00
Dries Buytaert d5c8026454 - Updated the calls to menu() to use MENU_HIDE instead of 1 2003-12-17 22:27:23 +00:00
Dries Buytaert 928c113b82 Patch by Kjartan:
- Adds possibility to hide menu item when it has no children. (Fixes the
    node/add problem when user doesn't have access to create any node
    types.)
  - More doxygen comments.
2003-12-17 22:15:35 +00:00
Dries Buytaert 670a292277 - Reworked 404 (page not found) handling. Patch by walkah. You can specify a
custom 404 page in the administration page.  As a result, error.php could be
  removed.
2003-12-16 21:06:34 +00:00
Dries Buytaert cc80cdf215 - Replaced the tables used to structure the threaded comment view by div's.
Patch by Goba.
2003-12-15 19:41:24 +00:00
Dries Buytaert 451bc9482f - Fixed capitalization. 2003-12-14 19:23:11 +00:00
Dries Buytaert 56c1521743 - Excessive CSS tags were generated for feeds and bundles. 2003-12-14 13:02:11 +00:00
Dries Buytaert e728cfbabd - The 'my account' link is already part of the navigation block. 2003-12-13 17:59:49 +00:00
Dries Buytaert d33f3973f7 - Committed Gerhard's user hook patch. Patch 143. 2003-12-13 15:22:29 +00:00
Dries Buytaert ee92242333 - Bugfix: got rid of the double titles on the import module pages.
TODO: get rid of the custom import specific navigation menu.
2003-12-11 21:35:52 +00:00
Dries Buytaert c096d42568 - Patch 187: made taxonomy module take advantage of breadcrumb navigation.
Modified patch by Moshe.
2003-12-11 21:21:16 +00:00
Dries Buytaert 35fb889776 - Show the top nodes on admin/statistics. Patch by James Walker. 2003-12-10 06:43:32 +00:00
Kjartan Mannes 84c7e91a2d - Fixed <title> extraction deleting body.
- Fixed metaWeblog/Blogger incompatibilities in blogger.editPost and
  blogger.getRecentPosts.
- Fixed coding style deviations.
- Fixed access checks, now requires maintain personal blog.
- Fixed taxonomy integration.
- Fixed blogger.getUserInfo
- Improved user login/access error messages.
2003-12-09 23:38:32 +00:00
Dries Buytaert 9bd9540856 - Bugfix: the location of comment submission form was incorrect. Patch by
Bart.
2003-12-09 20:15:18 +00:00
Dries Buytaert d79d01f363 - Path module documentation updates. 2003-12-09 20:13:48 +00:00
Dries Buytaert 62aa06872c - Bugfix: don't show any links in case of a container. Patch by Bart. 2003-12-09 18:57:05 +00:00
Kjartan Mannes d8d2d69b82 - Fixed missing pager_display -> theme('pager'). 2003-12-08 19:32:06 +00:00
Dries Buytaert 712a30b520 - Improvements by Goba:
+ removes the lots of pagers and indirect pager themeing
  + add the theme_pager() function, which should be called as
    theme("pager", ...) to get a pager.
2003-12-08 18:30:20 +00:00
Dries Buytaert ea1acde1d5 - Usability improvement: just print a status message after a node
submission/update instead of using a separate page.  Patch 186 by Moshe.
2003-12-08 18:01:41 +00:00
Dries Buytaert 427364a5f5 - Fixed visual glitch in "Who's online" block. Patch by Jeremy. 2003-12-08 17:46:21 +00:00
Dries Buytaert 3904790e03 - Tidied up the DoxyGen comments. Patch by Kjartan. 2003-12-08 06:32:19 +00:00
Dries Buytaert bea3dbb775 - Patch 0185 by Jeremy: made it possible to automatically disable modules when
under heave load.
2003-12-07 18:25:09 +00:00
Dries Buytaert 71eac6dddc - Made the who's online block adhere better to the max user setting. 2003-12-07 18:09:28 +00:00
Dries Buytaert 2ea6ad44a5 - Fixed the taxonomy title of taxonomy pages. Patch by Moshe. 2003-12-07 10:29:43 +00:00
Dries Buytaert 223d1bad9b - Fixed title problem with title module. Patch by Moshe. 2003-12-07 10:28:20 +00:00
Kjartan Mannes 0c80c55e91 - Fixed node_form() so it doesn't re-run node_validate() when there are no
errors and it has already been checked.
2003-12-06 19:15:38 +00:00
Dries Buytaert 02f436b6cb - Improved the way the "Who's online" block is visualized when the list of
online users is truncated by to maximum user list length setting.
2003-12-06 16:36:17 +00:00
Dries Buytaert 8e476307e8 - Fixed typo. 2003-12-06 15:08:16 +00:00
Dries Buytaert 32fc8d74a0 - Corrected the context-sensitive help of the error messages. 2003-12-06 15:06:20 +00:00
Dries Buytaert 237124c814 - Fixed bug #4416: added status checks to user_pass() to prevent mailing
new passwords to blocked user accounts.
2003-12-05 08:20:28 +00:00
Dries Buytaert c91fff3dd3 - Fixed broken status message. Patch by Gerhard. 2003-12-05 06:32:48 +00:00
Dries Buytaert dcc3e24188 - Fixed bug #4457: make sure to cut of the teaser after the </p> tag, not
before the </p> tag.
2003-12-04 22:48:06 +00:00
Dries Buytaert 451a90645b - Fixed throttle block problem. Patch by Jeremy. 2003-12-04 22:42:19 +00:00
Dries Buytaert d45bf0f1e7 - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc. 2003-12-04 20:53:19 +00:00