Commit Graph

362 Commits (e8fdcb2c3b5bd12accdee05cc6af404de27f3eb7)

Author SHA1 Message Date
Steven Wittens b01d96aed5 #88202: Adding Garland theme to core. 2006-10-29 13:21:46 +00:00
Steven Wittens 5ec06d3ee4 #89556: Upgrade to jQuery SVN to fix radio buttons in fieldsets 2006-10-23 19:51:35 +00:00
Steven Wittens 5ac7267827 - #88439: Update jQuery in core to 1.0.2
- #88642: Change drupal.js function separators to semi-colons.
2006-10-14 02:39:48 +00:00
Neil Drumm 1f9b94dc55 #82762 by Uwe Hermann. Add a CVS id. 2006-09-08 23:16:14 +00:00
Dries Buytaert 4ea672bfd1 - Removing stray whitspaces. 2006-09-07 08:05:31 +00:00
Steven Wittens 883e563196 Pretty up the status report 2006-09-01 09:23:45 +00:00
Steven Wittens 693ee74145 #69786: jQuery JavaScript Library in Drupal core 2006-08-31 23:43:15 +00:00
Steven Wittens 7fd9aa5c8a #69786: jQuery JavaScript Library in Drupal core 2006-08-31 23:31:25 +00:00
Steven Wittens 6bbc4d7bf1 - Fix upload.js after edit[] patch (note: uploading is still broken, with or without JS) 2006-08-30 18:56:31 +00:00
Neil Drumm 4fdc90e1d2 #76637 by timcn. Adding some documentation to drupal.js. 2006-08-23 04:59:17 +00:00
Dries Buytaert a8de1e92d7 - Patch #76637 by timnc: streamline JavaScript addition and add settings storage. 2006-08-22 09:00:31 +00:00
Dries Buytaert 3646f8914f - Patch #49993 by Sid_M: fixed two minor problems with HTTPGet().
1) There is a race condition created by calling send() before setting the callback function. Admittedly, this race shouldn't be lost, but it's not good practice to bet on winning races in code.

2) Line 55 is redundant. Since the value of bAsync is based on the non/existence of callbackFunction, there is no need to check both variables later.
2006-08-20 06:22:35 +00:00
Neil Drumm 3cc2b1e3d7 #77183 by m3avrck and timcn, split up drupal.css by module. 2006-08-14 07:14:50 +00:00
Dries Buytaert 3c0ad23f7d - Patch #77714 by Goba: remove archive module CSS 2006-08-08 20:31:29 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Dries Buytaert 1c75a210bd - Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core. 2006-07-13 13:14:25 +00:00
Steven Wittens dd0fbaea0e - Don't overwrite background-color for ajax throbber 2006-06-30 00:13:32 +00:00
Dries Buytaert 7bacdb4353 - Patch #59038 by nedjo: drupal.js parseJson() should allow valid [ first character 2006-06-07 09:34:11 +00:00
Dries Buytaert c3324b9a50 - Patch #58956 by timcn: prevent multiple class names from being glued together. 2006-05-29 14:22:31 +00:00
Neil Drumm f2837eed28 #60453 by Flanker, CSS cleanup. 2006-05-23 02:11:17 +00:00
Neil Drumm ae5e50883c #63630 by Zen, Remove hardcoded statements from the acdb prototype. 2006-05-20 07:23:47 +00:00
Neil Drumm efe07dadf3 #60453 by leafish_paul, remove units on '0' values in drupal.css. 2006-05-07 04:18:02 +00:00
Neil Drumm dcc64e37f0 #61954 by nedjo, Remove unneeded lines in upload.js 2006-05-05 10:47:20 +00:00
Dries Buytaert 62320df60e - Added missing CSS. 2006-05-01 10:43:38 +00:00
Steven Wittens 23bd2c005a #60532: multiple file upload broken in some browsers 2006-04-27 18:12:25 +00:00
Dries Buytaert d071f99172 - Removing trailing whitespace. 2006-04-17 20:48:26 +00:00
Steven Wittens 8b04c7f0db #51002: Admins could not see unpublished comments (plus minor usability enhancements for previewing/unpublished) 2006-04-15 04:07:18 +00:00
Gerhard Killesreiter a4fd2d666c #57750, fixing leftovers, patch by tenrapid 2006-04-14 13:48:56 +00:00
Steven Wittens 1cd46e64ce #57750: Tweaks for textareas inside collapsed fieldsets 2006-04-14 02:01:02 +00:00
Steven Wittens 39c261909f #57750: Resizable textareas in collapsible fieldsets 2006-04-12 16:07:39 +00:00
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Steven Wittens 4821200689 #57415: Replace drupal_implode_autocomplete() by drupal_to_js() 2006-04-06 02:41:48 +00:00
Steven Wittens a81547d5b3 #57255: Cancel autocomplete requests when the user tabs out of the field 2006-04-05 00:53:16 +00:00
Steven Wittens 02f6a3ee2d #56709: Expose hidden 'toggle_logo' variable and rearrange theme toggles. 2006-04-04 23:36:18 +00:00
Steven Wittens d498d4c119 #53405, prevent accidental checkbox/radiobutton clicks 2006-03-30 17:56:46 +00:00
Gerhard Killesreiter cb49e19e9e #54003, Watchdog not logging update errors, patch by Steven 2006-03-28 09:29:23 +00:00
Gerhard Killesreiter 776a2217a6 #47557, autocomplete broken by Prototype library, patch by yched. 2006-03-26 15:07:54 +00:00
Gerhard Killesreiter 2d1aeff2d1 #53314, upload.module JavaScript broken on Firefox 1.0.x, patch by tenrapid 2006-03-24 13:17:17 +00:00
Steven Wittens 7d9217fc20 - #47841: Sort help items alphabetically (and prettify output) 2006-03-12 01:56:11 +00:00
Steven Wittens 86f4ef1e99 - Adding missing cvs tags to .js files 2006-03-09 23:20:24 +00:00
Dries Buytaert bbca6b4828 - Patch #52418 by Zen: fapi conversion + bug fixes. 2006-03-07 11:36:49 +00:00
Steven Wittens 3f2b287d7c - #49501: Improve error reporting in the update system 2006-03-01 22:19:24 +00:00
Steven Wittens fe77e77431 - #49405: Minor advanced search UI/code tweaks 2006-02-28 21:10:04 +00:00
Steven Wittens d2f5f7cf78 - #46797: Resizable textarea grippie mispositioned sometimes in Opera 2006-02-24 11:38:14 +00:00
Dries Buytaert 3be4f176c7 - Patch #50995 by ma3vrck: fixed indentation of messages on IE6. 2006-02-23 19:49:42 +00:00
Dries Buytaert 594391b838 - Patch #50416 by tangent: made progress.gif smaller, and made it work on (some) Firefox browsers. 2006-02-21 08:34:01 +00:00
Dries Buytaert 583d5a4ee9 - Patch #48622 by adrian: remove drupal_goto from _submit functions. 2006-02-10 05:25:57 +00:00
Steven Wittens 69339c71a3 - #48567: Busy bullets 2006-02-09 08:36:01 +00:00
Steven Wittens d67a050347 - #39674: Scroll fieldsets into view when expanding them 2006-02-07 02:29:06 +00:00
Steven Wittens d38429248e - #47510: Show JavaScript alert when PHP errors occur 2006-02-05 19:04:58 +00:00
Dries Buytaert f0e6aa0506 - Patch #47853 by drewisch: removed single quotes from urls in CSS files. 2006-02-04 19:42:45 +00:00
Dries Buytaert 30d59fd52c - Patch #46400 by m3avrck: clean up book navigation markup + UI improvements. (Hint: the forum module has previous and next links too.) 2006-01-27 18:57:13 +00:00
Dries Buytaert d958fad0d6 - Patch #40200 by Ax, Drewish, Zen et al: user_view() isn't merging view items correctly + CSS cleanup + form handling cleanup. 2006-01-26 13:43:04 +00:00
Dries Buytaert af43886456 - Patch #33861 by Morbus et al: clean up the watchdog view. 2006-01-24 08:18:26 +00:00
Steven Wittens a1e4655bbc - #44939: Fix Unicode autocomplete in IE 2006-01-22 17:37:41 +00:00
Dries Buytaert 4be34db2c1 - Patch #45228 by m3avrck: fixed aggregator CSS. 2006-01-21 08:29:28 +00:00
Dries Buytaert 9c4d4fe7b2 - Patch #45228 and patch #45025 by m3avrck and Uwe: aggregator module HTML/CSS cleanups. 2006-01-20 09:09:18 +00:00
Dries Buytaert 186ebd18da - Patch #42072 by m3avrck: more improvements to the node revesion overview screen. 2006-01-17 21:19:43 +00:00
Steven Wittens efd634ac15 - Fix Safari alert when no autocomplete matches are returned. 2006-01-16 16:31:49 +00:00
Dries Buytaert 1a866d14f4 - Patch #44498 by m3vrck: improved HTML generated code for pagers. 2006-01-14 09:40:22 +00:00
Dries Buytaert 2f59320ca5 - Patch #44512 by Ber: cleaned up some CSS. 2006-01-13 07:55:46 +00:00
Steven Wittens d4ad3657e4 - #44299: Avoid possible race condition with 0-delay progressbar monitoring 2006-01-12 22:52:49 +00:00
Dries Buytaert 3607a2b059 - Patch #44373 by m3avrck: improved generated HTML/CSS. 2006-01-12 09:58:49 +00:00
Dries Buytaert 303720fb62 - Patch #15609 by m3avrck: get rid of forced <br />-tag after <label>-tags. Makes it easier to theme forms. 2006-01-06 07:32:54 +00:00
Steven Wittens 45439f71d0 - #42913: Avoid resizable textarea drag handler loop
- #42911: Remove left-over event handling code
2006-01-04 22:20:59 +00:00
Steven Wittens 7a2d7d0937 - #42910: Use CSS2 s-resize instead of CSS3 ns-resize. 2006-01-04 20:44:04 +00:00
Dries Buytaert ea2d791095 - Patch 41169 by Chris: got rid of expensvie object 2 array casts. 2005-12-31 10:48:56 +00:00
Steven Wittens 682892ad90 - #42446: Disable resizable textareas inside collapsed fieldsets. 2005-12-30 16:12:46 +00:00
Steven Wittens fa321c22b2 Missing grippie.png 2005-12-30 15:49:33 +00:00
Steven Wittens 79a193a2d2 - #42234: Use standardized feed icon for RSS 2005-12-29 04:46:40 +00:00
Steven Wittens 5e49dd2a68 - #42446: Resizable textareas. 2005-12-29 03:59:30 +00:00
Steven Wittens 69bcdef531 - JS Updater: stop monitoring progress when 100% is reached (can lead to infinite refresh loops in Safari) 2005-12-21 23:44:08 +00:00
Steven Wittens 5a37a75966 Fix JS in:
- #31968: IE
- #41743: Safari
2005-12-21 17:29:08 +00:00
Steven Wittens 4b0067ee16 - Oopsie, faulty rcsmerge 2005-12-21 15:04:23 +00:00
Steven Wittens 42f5ddd347 - Clarifying Opera bug to Opera 8 2005-12-21 15:03:32 +00:00
Dries Buytaert 4ceb499c0a - Patch #41751 by Neil: don't fiddle with button margins. 2005-12-20 18:20:26 +00:00
Dries Buytaert 0212f66ff1 - Patch #40677 by Steven: make the updater work again. 2005-12-19 14:27:28 +00:00
Dries Buytaert 5c29f5cc9a - Patch #40677 by Thox: make the upgrade path work in Opera. 2005-12-16 13:21:24 +00:00
Dries Buytaert f7042c955c - Patch #41385 by Thox: made the upload.module work again. 2005-12-16 12:50:38 +00:00
Dries Buytaert a19acb219e - Patch #35924 by Neil: improved the update system. 2005-12-06 09:25:22 +00:00
Dries Buytaert eaad4aa2f7 - Patch #39725 by Goba: improvements to the code comments. 2005-12-02 21:28:18 +00:00
Dries Buytaert fa771b971b - Patch by Neil: removed left-over css. 2005-11-23 08:19:46 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Steven Wittens 909d6928ac - #28159: Advanced search features (hello from DrupalCon)
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf
2005-10-18 14:41:27 +00:00
Steven Wittens e4f597b0bc - Remove left-over debug css from form api patch 2005-10-11 19:52:34 +00:00
Dries Buytaert ecf5ed57d6 - Patch #33587 by Richard Archer: make table headers wrap by default. Cleaner default, less prone for table-less themes. 2005-10-11 11:56:45 +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 16262e03d5 - Patch #28320 by Neil: improved the HTML/CSS of the user login block. 2005-09-07 20:56:00 +00:00
Dries Buytaert a73d5744c3 - Patch #30629 by Neil: fixed scrollbar height. 2005-09-07 20:50:01 +00:00
Steven Wittens 7f73c2bfb2 Fixes for AJAX/JS stuff in Konqueror:
- Fix collapsible fieldsets (broken since to 'IE5 icons alignment' fix)
- Fix JS upload (broken due to mysterious form submission abortion bug)

Thanks Bèr for letting me use VNC :).
2005-09-07 13:49:39 +00:00
Dries Buytaert c13025d232 - Patch #30222, #30219 by Uwe: cosmetic changes to the aggregator pages. 2005-09-02 19:18:14 +00:00
Steven Wittens 74e7bcdf7f - Bugfix: throbber styles should not apply without JS 2005-08-31 21:17:26 +00:00
Steven Wittens dee28658af - Reversing animation 2005-08-31 19:00:13 +00:00
Dries Buytaert e03ce2f996 - Patch #28483 by Steven: JavaScript enabled uploading.
Comment from Steven: It does this by redirecting the submission of the form to a hidden <iframe> when you click "Attach" (we cannot submit data through Ajax directly because you cannot read file contents from JS for security reasons).  Once the file is submitted, the upload-section of the form is updated.  Things to note:

    * The feature degrades back to the current behaviour without JS.
    * If there are errors with the uploaded file (disallowed type, too big, ...), they are displayed at the top of the file attachments fieldset.
    * Though the hidden-iframe method sounds dirty, it's quite compact and is 100% implemented in .js files. The drupal.js api makes it a snap to use.
    * I included some minor improvements to the Drupal JS API and code.
    * I added an API drupal_call_js() to bridge the PHP/JS gap: it takes a function name and arguments, and outputs a <script> tag. The kicker is that it preserves the structure and type of arguments, so e.g. PHP associative arrays end up as objects in JS.
    * I also included a progressbar widget that I wrote for drumm's ongoing update.php work. It includes Ajax status updating/monitoring, but it is only used as a pure throbber in this patch. But as the code was already written and is going to be used in the near future, I left that part in. It's pretty small ;). If PHP supports ad-hoc upload info in the future like Ruby on Rails, we can implement that in 5 minutes.
2005-08-31 18:37:30 +00:00
Dries Buytaert 22a98528b7 - Patch #29075 by fago: made the collapsible fieldset icons work in IE 5. 2005-08-22 20:29:00 +00:00
Dries Buytaert e3a92d2914 - Patch #26311 by Ber: no more floating node admin groups.
TODO: simplify the node admin HTML code.
2005-08-22 11:48:58 +00:00
Dries Buytaert aa39f5c787 - Patch #29095 by Moshe: fixed parse error in drupal.js. 2005-08-18 05:14:06 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert 72f9229a39 - Patch by Uwe: tidied up CVS IDs. 2005-08-11 13:00:17 +00:00
Steven Wittens e5353cc4fe - Druplicon-small.png no longer used. 2005-08-02 21:41:25 +00:00
Steven Wittens e5ad13e3f8 - #27635: Style update.php 2005-07-29 20:31:05 +00:00
Steven Wittens 746b242326 - #27668: Replace deprecated tags/attributes with XHTML/CSS in locale.
- (#15121) Improve string cut-off for locale table
2005-07-29 06:59:29 +00:00
Steven Wittens d9d4b9bdab - #27231: Friendly DB error screens. 2005-07-27 01:58:43 +00:00
Dries Buytaert 5fe4dd3221 - Patch #27283 by Neil: remove a style for filter tips. 2005-07-23 05:55:11 +00:00
Steven Wittens 20d9cae641 - Replace that icky druplicon-small.png with a nicer one. 2005-07-19 01:24:14 +00:00
Dries Buytaert 9f67ddf986 - Patch #23746 by Thox: added support for Ajax HTTPPost functionality. 2005-07-18 12:56:45 +00:00
Dries Buytaert 338a135bfb - Patch #25354 by Thox: fixed Javascript caching. Faster response and less server traffic for matches previously found. 2005-07-03 16:12:55 +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
Dries Buytaert abc16b1d6d - Patch #25067 by Thox: renamed 'light' and 'dark' to 'odd' and 'even'.
TODO: update the "Migrating themes from Drupal 4.6 to Drupal HEAD"-page in
        the Drupal handbook!
  TODO: update the themes in the contributions repository.
2005-06-19 08:50:46 +00:00
Steven Wittens 5cb153e335 - Replacing ugly old "powered by" buttons with better ones. 2005-06-18 16:33:30 +00:00
Steven Wittens cb5b2f332c - #24068: Fix "undefined is undefined" error in IE5 with drupal.js 2005-06-01 17:43:33 +00:00
Steven Wittens cec393d9df - Fix node form fieldsets being broken in IE after Safari/Konqueror fix. 2005-05-31 23:23:48 +00:00
Steven Wittens 6be2c61896 - #20809: User-configurable, per-theme, optional favicons. 2005-05-25 06:03:18 +00:00
Steven Wittens 10e37b8957 - Remove left-over CSS 2005-05-25 01:12:15 +00:00
Steven Wittens 91f666b522 - #23506: Fix autocomplete throbber firing on wrong events.
- Add simple throbber to drupal.css
2005-05-25 00:14:42 +00:00
Steven Wittens 58bddf8abc * cue Star Wars theme tune *
Return of the JavaScript!

- #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
2005-05-24 06:00:22 +00:00
Dries Buytaert fafa11aff0 - Patch #16729: fixed CSS problems in konquerer. 2005-05-21 11:53:01 +00:00
Dries Buytaert bf9d98d664 - Patch #19697 by Morbus: FOLKSONOMY.
This patch adds folksonomy support to Drupal (named internally as "Free tagging"). In a nutshell, the core difference is the input method: unlike normal taxonomies which are administratively controlled, a "free tagging" vocabulary allows tag creation when the node is submitted. It does this through an text input box, as opposed to a dropdown or selectbox. This patch:

    * Removes the useless "Preview form" of a vocabulary.
    * Alters the vocabulary table to include a new "tags" column.
    * Adds a new "Free tagging" preference on vocabulary creation/editing.
    * Modifies the vocabulary overview to support pagers for free tagging vocabs.

The new code integrates tightly with the existing taxonomy code. The only additional processing occurs on node save and edit, where we parse through the tags associated with a node. All other display (and thus, code) remains the same.
2005-04-08 14:59:14 +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
Steven Wittens befa26b071 - Pngcrushed. 2005-03-27 23:04:20 +00:00
Steven Wittens bf312dfe66 - Typo in drupal.css 2005-03-27 21:28:25 +00:00
Steven Wittens d8fad6e24f - #17343: Fix safari CSS issues with node admin. 2005-03-27 15:54:44 +00:00
Dries Buytaert 11dd94bde5 - Patch #18382 by Neil: usability improvement: organized the blocks on the block administration page by region. (I wanted to do that myself!) 2005-03-05 09:09:07 +00:00
Dries Buytaert 5c4fb7a845 - Patch #18380 by Neil: putting margins on paragraph tags seems like something that Drupal.css shouldn't be doing. 2005-03-05 09:03:57 +00:00
Steven Wittens ca1330ae7c - Fixing Safari issue with node admin
(hello from the code sprint)
2005-02-24 13:07:47 +00:00
Dries Buytaert 2592755434 - Removing this file: we'll maintain it in contrib. 2005-02-14 20:23:30 +00:00
Steven Wittens d56cf2b59c #10296: Clean up admin - content:
- Mass-delete functionality (with confirmation)
- Flexible filtering for the overview table based on status, type and taxonomy.
- Missing drupal_goto's
- Clean up watchdog messages
- Remove some dead code
2005-02-02 00:55:59 +00:00
Dries Buytaert 59c2208ea6 - Patch #16253 by Goba: incremental improvements to the new content markers.
Goba: it would be nice if one of the core themes would showcase this functionality. ;-)
2005-01-30 09:53:19 +00:00
Dries Buytaert 7f4be97763 - Patch #16176 by Drumm based on mockup from Kika: improve access rules UI. 2005-01-25 20:27:09 +00:00
Dries Buytaert 1f54afa528 - Patch #15655 by Goba: allow blank days in the calendar to be styled using CSS, and tidied up the calendar's CSS. 2005-01-23 15:36:07 +00:00
Steven Wittens a1579a3aee - Reversing bad commit, sorry everyone. 2005-01-17 18:56:11 +00:00
Steven Wittens b45bd13d44 - Various code style fixes 2005-01-17 00:41:35 +00:00
Dries Buytaert e92ed71379 - Patch #15328 by Goba: add error marker border for textareas 2005-01-09 10:00:22 +00:00
Dries Buytaert 8365459b45 - The watchdog icons. 2005-01-09 09:50:19 +00:00
Dries Buytaert 64b100d19a - Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
    watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);

    * Specify a severity in case you are reporting a warning or error.
    * The $link-parameter is now the fourth parameter instead of the third.

  TODO: document this in the upgrade guide.
2005-01-09 09:22:40 +00:00
Steven Wittens 0bda8f4700 #14548: Add optional HTML help to filter.module's HTML filter. 2005-01-03 01:09:02 +00:00
Dries Buytaert 5f29fc9d0d - Removed hardcode font size from drupal.css as per #13095. 2004-11-21 08:34:57 +00:00
Dries Buytaert 8daed9cbf3 - Patch #12232 by Steven/UnConed: search module improvements.
1) Clean up the text analyser: make it handle UTF-8 and all sorts of characters. The word splitter now does intelligent splitting into words and supports all Unicode characters. It has smart handling of acronyms, URLs, dates, ...

2) It now indexes the filtered output, which means it can take advantage of HTML tags. Meaningful tags (headers, strong, em, ...) are analysed and used to boost certain words scores. This has the side-effect of allowing the indexing of PHP nodes.

3) Link analyser for node links. The HTML analyser also checks for links. If they point to a node on the current site (handles path aliases) then the link's words are counted as part of the target node. This helps bring out commonly linked FAQs and answers to the top of the results.

4) Index comments along with the node. This means that the search can make a difference between a single node/comment about 'X' and a whole thread about 'X'. It also makes the search results much shorter and more relevant (before this patch, comments were even shown first).

5) We now keep track of total counts as well as a per item count for a word. This allows us to divide the word score by the total before adding up the scores for different words, and automatically makes noisewords have less influence than rare words. This dramatically improves the relevancy of multiword searches. This also makes the disadvantage of now using OR searching instead of AND searching less problematic.

6) Includes support for text preprocessors through a hook. This is required to index Chinese and Japanese, because these languages do not use spaces between words. An external utility can be used to split these into words through a simple wrapper module. Other uses could be spell checking (although it would have no UI).

7) Indexing is now regulated: only a certain amount of items will be indexed per cron run. This prevents PHP from running out of memory or timing out. This also makes the reindexing required for this patch automatic. I also added an index coverage estimate to the search admin screen.

8) Code cleanup! Moved all the search stuff from common.inc into search.module, rewired some hooks and simplified the functions used. The search form and results now also use valid XHTML and form_ functions. The search admin was moved from search/configure to admin/search for consistency.

9) Improved search output: we also show much more info per item: date, author, node type, amount of comments and a cool dynamic excerpt à la Google. The search form is now much more simpler and the help is only displayed as tips when no search results are found.

10) By moving all search logic to SQL, I was able to add a pager to the search results. This improves usability and performance dramatically.
2004-10-31 03:03:27 +00:00
Steven Wittens fc1884d5e1 Changing div.more-link from float: right; back to text-align: right; as it was a while ago. Floats do not advance the document vertically, which meant the more link hovered over whatever was below it. 2004-09-21 01:35:40 +00:00
Steven Wittens 30b69380af - #10689: Group permissions by module in UI + minor code cleanups.
- Adding a drupal_goto to the block admin.
2004-09-17 22:07:17 +00:00
Steven Wittens 9c9905d9a0 #10648: Fix watchdog-related tablesort coloring bug in IE, add support for <tr> attributes to theme_table() and reduce specificy of watchdog coloring CSS rules. 2004-09-14 20:01:00 +00:00
Dries Buytaert 054a3e044f - Patch #10736 by killes: in drupal.css was still a CSS rule to lowercase strings. 2004-09-11 13:57:02 +00:00
Dries Buytaert a4f9fe89f2 - Removed the CSS capitalization: it breaks on browsers like Konqueror. 2004-08-20 08:14:38 +00:00
Dries Buytaert 6ea5c56ded - Theme system changes. Please consult http://drupal.org/node/view/9576 for details. 2004-08-20 07:51:27 +00:00
Dries Buytaert 78b052a6af - The upload (filehandler) module has landed! 2004-08-17 21:35:26 +00:00
Steven Wittens 660f99287d 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.
2004-08-10 18:34:29 +00:00
Dries Buytaert f99830a498 - Patch by Al: improved the admin/help pages (first step). 2004-08-10 05:44:17 +00:00
Dries Buytaert 9bbdb71ee4 - Patch #9330: ucfirst() gives problem when used with multibyte charset.
Replaced the use of ucfirst() with a CSS-based solution.
2004-08-06 20:15:32 +00:00
Steven Wittens ad5e3ebb75 CSS improvements:
- Restoring background coloring for the watchdog logs (was broken)
- Making watchdog backgrounds lighter, makes it easier on the eyes and improves readability.
- Adjusted the spacing between items on the frontpage a bit to be clearer.
- Fixed the vertical stretching of table rows with form controls in them.
2004-07-25 22:18:32 +00:00
Dries Buytaert bddcee534f - I'm removing these files from core: they belong in contrib/docs/marketing
now (if they are not already there).
2004-07-07 20:15:41 +00:00