Commit Graph

787 Commits (a355254e331490b0186a23a599f6bea42770833d)

Author SHA1 Message Date
Dries Buytaert 2a65f86bf0 - Patch #135931 by EclipseGc: semantic update for core pager. 2007-05-01 06:53:03 +00:00
Dries Buytaert 38d22252b9 - Patch #67893 by kbahey, dww, alienbrain, asimmonds et al: made it possible to filter log messages in the database log. 2007-04-30 11:12:35 +00:00
Dries Buytaert 29055d34d6 - Patch #137236 by merlinofchaos: provide a way to secure the theme variables system. 2007-04-27 07:42:54 +00:00
Dries Buytaert 3e9d5f9d3c - Patch #133789 by pwolanin: fixed parse error. 2007-04-25 05:02:41 +00:00
Dries Buytaert 91da5f05e4 - Patch #133789 by John Albin: Drupal-generated email can look like spam. 2007-04-24 19:49:01 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert 318ac983e2 - Patch #137138 by jvandyk: fixed problem with drupal_http_request() not setting the proper error code when a network effect occurs. Causes the XML-RPC backend to fail. 2007-04-18 20:35:45 +00:00
Steven Wittens bcfc0e651c Fix formatting of doxygen for drupal_parse_info_file() (for api.drupal.org). 2007-04-18 02:49:33 +00:00
Dries Buytaert 03b4b58e9a - Patch #132018 by Steven et al: add .info files to themes. 2007-04-17 07:19:39 +00:00
Dries Buytaert f4cbd7c63d - Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions. 2007-04-15 15:36:10 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Steven Wittens f3cd2da113 #130991: Custom menu items, part 1 2007-04-06 04:39:51 +00:00
Dries Buytaert f3c839634d - Patch #131419 by Chris Johnson: renamed the error handler to avoid conflicts with third-party applications. 2007-03-29 23:17:15 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert eb0caa354e - Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem. 2007-03-26 01:32:22 +00:00
Dries Buytaert 5739c24c14 - Small fix for drupal_alter() 2007-03-26 01:11:23 +00:00
Steven Wittens 41147eb70d #110888: Typos 2007-03-26 00:45:51 +00:00
Dries Buytaert eb6b848de6 - Patch #110888 by Eaton: unify hook _alter() 2007-03-26 00:35:59 +00:00
Dries Buytaert d9ece0d575 - Patch #121876 by Darren, Nedjo et al: drupal_to_js converts empty arrays to objects. 2007-03-08 19:33:55 +00:00
Dries Buytaert ae093d1386 - Patch #115047 by mindless: token replacement with format_plural. 2007-03-07 13:08:04 +00:00
Dries Buytaert dc5843bd30 - Patch #111347 by Steven: refactor url() and l(). 2007-02-15 11:40:19 +00:00
Dries Buytaert 35ce6daa28 - Patch #118041 by kkaefer: fixed small braino in url(). 2007-02-12 17:42:25 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 4c9fc80fc4 - Patch #113829 by m3avrck: improved code comments. 2007-01-29 20:30:53 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Dries Buytaert 77c2632be6 - Patch #99625: enable E_ALL mode. 2007-01-23 19:21:50 +00:00
Steven Wittens eb28074aa3 #108320: Form API optimization, don't call element_sort unless needed. 2007-01-10 23:30:07 +00:00
Dries Buytaert 3e8a9d1905 - Cleanup form attributes. 2007-01-09 08:30:31 +00:00
Steven Wittens 365439ffdf #107015: Code consistency, capitalization of class names. 2007-01-05 05:32:23 +00:00
Steven Wittens 4026afab01 #100563: Clarify documentation for CSS preprocessor. 2007-01-05 04:35:07 +00:00
Dries Buytaert 5190678d73 - Patch #100563 by m3avrck: improved phpDoc of drupal_add_css. 2007-01-04 09:58:55 +00:00
Dries Buytaert fbae0db63f - Patch #104693 by Chris: switch back to HTTP/1.0 headers. 2007-01-04 09:49:16 +00:00
Neil Drumm dfd86399c0 #106232 by chx. Add spaces for code style. 2007-01-02 05:05:38 +00:00
Neil Drumm f1c8692881 #101757 by ChrisKennedy. 1 byte instead of 1 bytes. 2006-12-30 21:33:04 +00:00
Dries Buytaert 983eda44ac - Patch #104693 by ChrisKennedy: send proper HTTP headers: HTTP/1.0 -> HTTP/1.1. 2006-12-21 22:20:19 +00:00
Steven Wittens 72f4e5d6e6 #102877: Don't let the css preprocessor mess up @import in some themes. 2006-12-15 07:47:08 +00:00
Steven Wittens e5027541c4 #78377: Use real path instead of alias in destination 2006-12-12 06:13:34 +00:00
Steven Wittens dd4b959ad2 #102597: Fix overzealous CSS compressor. 2006-12-12 04:44:46 +00:00
Dries Buytaert 97d0a3fe6b - Patch #100787 by chx: having a #theme for an element changes the meaning of prefix from 'prefix of this element' to 'prefix of the children elements'. 2006-12-11 17:47:36 +00:00
Dries Buytaert bdf5dc9d1d - Patch #102413 by yched: path node/add/[poll|forum|blog] defined twice. 2006-12-10 20:34:03 +00:00
Steven Wittens b86f45b1e6 #100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads. 2006-12-10 09:54:35 +00:00
Dries Buytaert f28aa5f3ec - Patch #92059 by Steven et al: added a memory check to garland/color.module. 2006-12-07 17:02:25 +00:00
Dries Buytaert 38f3050777 - Patch #101236 by Uwe Herman: fixed typos in the documentation. 2006-12-05 05:47:37 +00:00
Dries Buytaert a8e11de3d0 - Patch #101289 by webernet: corrected the PHPdoc. 2006-12-05 05:45:05 +00:00
Steven Wittens 1c7f089dea #75803: Allow other HTTP status codes in drupal_goto() 2006-11-30 08:13:31 +00:00
Neil Drumm f0093445ff #100232 by yched. Fix a typo. 2006-11-29 06:03:56 +00:00
Neil Drumm 91158a97d2 #79407 by webchick. Improved documentation for t(). 2006-11-28 07:03:33 +00:00
Neil Drumm 205f8ff01b #97941 by webchick. Consistent defaults for 'site_name' variable. 2006-11-25 09:04:22 +00:00
Dries Buytaert b3dae71697 - Patch #98293 by Steven: remove restrictions on path aliases. 2006-11-21 19:40:09 +00:00
Dries Buytaert e8e97f2bbd - Patch #98688 by greggles: string cleanup. Follow RFC2606 and use example.com for domain name examples. Core uses that consistently so make sure your contributed modules do too. 2006-11-21 19:12:01 +00:00
Neil Drumm b4faaa3cad #93882 by skeen. sites/all/* was being scanned instead of sites/all/module/*. 2006-11-16 09:18:22 +00:00
Neil Drumm 1d95dcbf28 #91624 by chx and RobRoy. PHP has an inconsistentcy about magic quoting which we have to work around. 2006-11-16 08:54:04 +00:00
Neil Drumm 12df72255c #89059 by jvandervort, andeeeb, and Shakur. Decode destination path. 2006-10-31 16:42:52 +00:00
Neil Drumm 0accf8fe1e #90508 by Heine and the security team. Every form gets a token. 2006-10-31 08:06:18 +00:00
Dries Buytaert af5402ad2a - Patch #88287 by asimmonds, dww et al: installer doesn't support modules outside root/modules directory. Critical bugfix. 2006-10-23 06:45:17 +00:00
Neil Drumm b87692a901 #84188 by plumbley, pwolanin, and nickl. Fix some PHP notices. 2006-10-17 08:42:24 +00:00
Steven Wittens 6baece1e1b - Clarify utf-7 exploit in drupal_set_header() 2006-10-17 04:45:29 +00:00
Dries Buytaert d692d438a3 - Patch #82741 by Wesley: fixed incorrect comparison in url(). 2006-10-15 20:00:19 +00:00
Dries Buytaert e8ee0bcd2a - Patch #40209 by pascal and jvandyk: added missing semicolon to URL validation. 2006-10-09 06:47:22 +00:00
Dries Buytaert 90f9bffbc0 - Patch #82045 by chx, eaton et al: fixed nodeapi. 2006-10-05 15:26:17 +00:00
Steven Wittens aae945c369 #70995: Prevent cron re-runs 2006-10-03 00:24:19 +00:00
Neil Drumm d54ccd4f84 #70742 yched and beginner. Fix magic quotes on files. 2006-09-27 07:21:55 +00:00
Neil Drumm a2d546e3c0 #82524 by Heine and AjK. Remove use of array_walk(), which was causing segfaults in this case. 2006-09-07 08:23:54 +00:00
Dries Buytaert 4ea672bfd1 - Removing stray whitspaces. 2006-09-07 08:05:31 +00:00
Neil Drumm 2310bd9723 #54238 by gopherspidey and fago. Don't cache pages with messages. 2006-09-07 07:11:15 +00:00
Steven Wittens 246334f30d Don't include drupal.js if there is no JS on the page 2006-09-01 08:44:25 +00:00
Neil Drumm 9cf7158058 Didn't mean to commit that yet. 2006-09-01 06:24:10 +00:00
Neil Drumm 06c9841480 That help text was in the 40x messages. 2006-09-01 06:12:47 +00:00
Steven Wittens 7fd9aa5c8a #69786: jQuery JavaScript Library in Drupal core 2006-08-31 23:31:25 +00:00
Dries Buytaert 8fdf7a8750 - Patch #72290 by killes: split up the cache table. 2006-08-30 08:46:17 +00:00
Dries Buytaert 78ee75f1a2 - Patch #79622 by Dries: added views to see the most popular search terms,
the most important 404s and 403s.  This makes the watchdog data easier to
  use.  Improved consistency of the 'amdminister > logs' section.
2006-08-29 09:51:50 +00:00
Neil Drumm 1fab8db486 #80739 by chx. Correct drupal_goto() documentation. 2006-08-26 00:23:12 +00:00
Dries Buytaert 427604dfb6 - Patch #80201: don't show blocks when serving a 404. Saves CPU and bandwidth. 2006-08-23 18:32:39 +00:00
Dries Buytaert 7270a08ef0 - Patch #76637 by timcn: fixed incorrect variable name. 2006-08-23 13:35:44 +00:00
Neil Drumm 647d91aaef #79733 by Darren Oh. Fix a call to an undefined function. 2006-08-23 08:04:29 +00:00
Dries Buytaert 2d05938082 - Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls. 2006-08-23 07:23:09 +00:00
Neil Drumm a58d877108 #66569 by m3avrck. Put all the feed icons in the same place. 2006-08-23 05:55:38 +00:00
Dries Buytaert c4f1e4ba13 - Patch #76444 by chx, moshe, eaton, angie et al: make it possible to control access to form elements. 2006-08-22 11:13:04 +00:00
Dries Buytaert a8de1e92d7 - Patch #76637 by timnc: streamline JavaScript addition and add settings storage. 2006-08-22 09:00:31 +00:00
Neil Drumm a4bbb1b909 #50025 by doq. Use aliased urls for the destination parameter. 2006-08-21 07:16:21 +00:00
Steven Wittens e2f42cf3d5 - Fixing t() patch mess up 2006-08-18 18:34:23 +00:00
Steven Wittens 81938a3cdc #76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +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 ce85b7c7f8 - Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing.
Once again, we're paving the path for CCK in core ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert 37469a8df4 - Patch #76958 by forngren, dww et al: make it a tad easier to run cron manually. 2006-08-09 07:42:55 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Dries Buytaert 2c0571b894 - Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal. 2006-08-03 07:06:36 +00:00
Dries Buytaert 3a7b64ae03 - Patch #61893 by timnc: remove message_na(). 2006-07-29 17:56:41 +00:00
Neil Drumm 479bd2fe28 #73615 by chx, Eaton, and Steven, Provide the full range of Drupal functions to .install files 2006-07-19 07:45:35 +00:00
Steven Wittens dafb146b27 #74070: urlencode to drupal_urlencode() 2006-07-18 10:44:45 +00:00
Steven Wittens 0fef150227 #74109: format_rss_channel() does not allow attributes (+ clean up code) 2006-07-17 15:42:55 +00:00
Dries Buytaert af976d339f - Patch #71194 by Goba: introducing hook_mail_alter(), chaning user_mail() to drupal_mail(). 2006-07-10 08:12:31 +00:00
Dries Buytaert e93f8be871 - Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants. 2006-07-05 11:45:51 +00:00
Dries Buytaert ea0ccd13cc - Patch #71389 by agentrickard, sime, me et al: removed limitations of number of access control rules and boxes. 2006-07-02 19:53:39 +00:00
Neil Drumm bd61d17db4 #68886 by myself and Steven, Handle ampersands in search queries and other URLs when clean URLs are on 2006-07-02 01:20:19 +00:00
Dries Buytaert cf14d26cff - Patch #65801 by Moshe et al: fixed locale initialization slowness. 2006-06-08 21:23:40 +00:00
Neil Drumm 5edfedf890 Arbitrary spacing cleanup I found in my development checkout. 2006-05-22 20:41:16 +00:00
Dries Buytaert f5ec45f26f - Patch #63724 by zoo33: fixed documentation glitch. 2006-05-15 20:52:47 +00:00
Dries Buytaert b28ce3b0b1 - Patch #62419 by Ber: improved and corrected the PHPdoc of l(). 2006-05-09 14:19:03 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Dries Buytaert bd08cb5e9c - Patch #59222 by Zen: make the front page check reliable. 2006-04-27 08:44:45 +00:00
Steven Wittens 027f9836bc #5371 tweaks (drupal_query_string_encode) 2006-04-13 13:15:29 +00:00
Gerhard Killesreiter d6a164c400 #5371, drupal_get_destination, pager and tablesort array handling, patch by Steven 2006-04-13 08:25:27 +00:00
Steven Wittens 69726b0d7b #56634: Resolve issues with varying $base_url
- Fix locations links in watchdog
- Fix repeated subdirectory in page cache CIDs
2006-04-12 08:42:47 +00:00
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Steven Wittens 9794b5538e - #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/...
- Clean up some raw output
2006-04-07 15:32:17 +00:00
Steven Wittens 4821200689 #57415: Replace drupal_implode_autocomplete() by drupal_to_js() 2006-04-06 02:41:48 +00:00
Steven Wittens 3e9948e529 #55869: Redirect back to requested page after log-in 2006-04-04 07:46:02 +00:00
Gerhard Killesreiter cb49e19e9e #54003, Watchdog not logging update errors, patch by Steven 2006-03-28 09:29:23 +00:00
Gerhard Killesreiter 4b84de9a0c #14591, User.module links for blocked/non-existant accounts + menu 403/404 issue, patch by Steven and merlinofchaos 2006-03-17 18:56:25 +00:00
Gerhard Killesreiter 05c20c7781 #54002, Cached JS files break new drupal js error reporting behavior. Improved patch by chx 2006-03-15 08:46:57 +00:00
Steven Wittens e4a6ff4270 - #53368: Output stricter (IE5-compatible) JSON 2006-03-10 17:06:48 +00:00
Steven Wittens 3ead560368 - #49211: Fix bug with linking to absolute URLs through l() 2006-03-10 16:53:09 +00:00
Steven Wittens 9fd6dc5818 - #52771: drupal_to_js() improperly dealing with booleans 2006-03-10 13:08:05 +00:00
Dries Buytaert b8d81c6a79 - Patch #52448 by Zen: simplified drupal_attributes. 2006-03-07 14:57:05 +00:00
Steven Wittens 9a014043a4 - #50747: RSS channel description is not according to spec 2006-03-01 21:30:17 +00:00
Gerhard Killesreiter 2173ef13fd #50772, Getting destination from $_REQUEST, patch by rmiotke 2006-02-27 14:19:07 +00:00
Gerhard Killesreiter 68432ae641 #49375, 'drupal_goto' / 'drupal_get_destination' broken with query params, patch by eberts 2006-02-27 14:06:09 +00:00
Dries Buytaert 4ce3d625f6 - Patch #48008 ny markus: removed some unused code. 2006-02-26 19:53:00 +00:00
Dries Buytaert 18aaf1120d - Patch #50912 by eberts: HTTP request overrides headers and data on redirect. 2006-02-23 15:19:10 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert ae470d6943 - Patch #49129 by markus: remove port from HTTP requests. 2006-02-16 13:00:18 +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 d38429248e - #47510: Show JavaScript alert when PHP errors occur 2006-02-05 19:04:58 +00:00
Dries Buytaert 048bec139e - Patch #13148 by Morbus: less globals. 2006-02-02 12:44:57 +00:00
Dries Buytaert 81660bc662 - Patch #13148: fix problems with using relative path names! (Please document this change.) 2006-01-29 07:36:29 +00:00
Dries Buytaert 1171cd2846 - Patch #46366 by rkell: fixed infinite loop problem with 404 and 403 handlers. 2006-01-26 08:59:00 +00:00
Dries Buytaert 1766d40093 - Patch #44828 by chx/Crell: make sure the url/path is properly initialized in statistics_exit(). 2006-01-23 07:54:08 +00:00
Dries Buytaert 14ae238973 - Patch #45320 by Zen: improved usability of off-line mode. 2006-01-22 07:51:06 +00:00
Dries Buytaert e41e8acda3 - Patch #45107 by chx: minor code speedups. 2006-01-17 15:39:07 +00:00
Steven Wittens 2e9bbda791 - #44772: {} -> [] (in anticipation of PHP de-deprecation) 2006-01-15 07:14:14 +00:00
Dries Buytaert 11b9259db0 - Patch #44507 by DriesK: consistency: email -> e-mail. 2006-01-13 07:33:13 +00:00
Dries Buytaert cccca3b17e - Patch #44261 by Kobus/Zen: drupal -> Drupal. 2006-01-12 19:29:36 +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 c243918eb1 - #32785: Allow external URLs in menus (and make url() more flexible) 2005-12-29 05:28:53 +00:00
Dries Buytaert 34a5d46022 - Patch #36465 by chx / Richard: made it possible to link to the front page. 2005-12-27 10:36:16 +00:00
Steven Wittens b43fa0f9da - #41744: global urlencode() for menu paths 2005-12-22 22:58:12 +00:00
Steven Wittens db42745522 - Code style 2005-12-17 10:35:59 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert b9f2b7e2a6 - Patch #40706 by chx: fixed warnings. 2005-12-11 12:31:17 +00:00
Dries Buytaert b1a648b371 - Patch #39566 by chx: fixed incorrect encoding in URLs. 2005-12-02 10:31:21 +00:00
Dries Buytaert 9c02757477 - Patch #39566 by chx: fixed incorrect encoding in URLs. 2005-12-02 10:29:45 +00:00
Dries Buytaert 2917261693 - Removed valid_input_check(). 2005-11-30 10:27:13 +00:00
Dries Buytaert 2d0df351d7 - Various fixes. Updated CHANGELOG.txt 2005-11-29 20:17:10 +00:00
Dries Buytaert 229fa7dea8 - Patch #38787 by Jaza: print PHP errors using drupal_set_message(). 2005-11-27 09:14:52 +00:00
Steven Wittens a3e47f1e44 - #33852: remove legacy.inc (in anticipation of the bridge stuff) 2005-10-28 01:06:36 +00:00
Steven Wittens 0cac6939b7 - Fix usage of header() to drupal_set_header()
- Emit charset for blogapi RSD
2005-10-25 03:43:57 +00:00
Dries Buytaert 7f01d4f02b - Patch #34907 by gtcaz: "Array" printed in each region. 2005-10-23 09:47:53 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Steven Wittens f31db8d70f - #22850: Search query containing / results in 404 on clean URLs. 2005-10-21 11:14:55 +00:00
Dries Buytaert 76000f1d44 - Reverse last patch. 2005-10-18 14:54:54 +00:00
Dries Buytaert 13473ddc51 - Patch #33852 by Gerhard: make legacy.inc optional. 2005-10-18 14:52:50 +00:00
Dries Buytaert 709b9005f5 - Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.
(Untested because the admin/settings page doesn't work yet.)
2005-10-08 12:38:20 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +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 eafcfa1564 - Patch #4109: some URLs get ?PHPSESSID added to them. 2005-10-06 08:51:05 +00:00
Dries Buytaert bf08ab83b6 - Patch #32440 by ax: drupal_http_request() doesn't send proper Host: header. 2005-09-29 12:33:34 +00:00
Dries Buytaert eedb392c76 - Patch #28420 by Jeremy: add the poster's IP/hostname to the /mix/. 2005-09-19 19:14:54 +00:00
Dries Buytaert 2ef6b52c83 - 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 11:50:22 +00:00
Dries Buytaert ceb9859d70 - Patch #29030 by Goba, chx, Jose, et al: reworked the URL rewrite hook so URLs can be rewritten dynamically. 2005-09-18 10:32:05 +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 34544d4dc0 - Unrolled patch #29103: always encode apostrophes. 2005-08-28 16:19:24 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 405cb49a0b - Patch #25084 by Uwe: fixed code comments of error_handler(). 2005-08-23 05:19:44 +00:00
Dries Buytaert 6a4e6df36f - Patch #17592 by killes: improved access denied messages. 2005-08-22 20:39:43 +00:00
Dries Buytaert 7d9f29aca7 - Patch #28629 by chx: fixed handling of cookies in drupal_http_request(). 2005-08-22 20:24:53 +00:00
Dries Buytaert a33b922fcc - Patch #29103 by chx: do not encode apostrophes. 2005-08-19 11:10:35 +00:00
Dries Buytaert b14ae54d62 - Patch #7458 by chx: fixed spaces. 2005-08-17 19:14:08 +00:00
Dries Buytaert d6bcdafeed - Patch #7458 by chx: merged the XML-RPC multicall support into xmlrpc() and use lazy-loading for the XML-RPC libraries.(performance improvement). 2005-08-17 15:01:14 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert b69b43d1ec - Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s.
Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
2005-08-11 12:57:41 +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 c81bbf4aa1 - #24673: Fix deprecated usage of implode 2005-07-30 12:52:54 +00:00
Steven Wittens ab8377f02b - Fix braino in doxygen. 2005-07-29 19:07:17 +00:00
Steven Wittens 39aaf29d5c - Fix braino in doxygen. 2005-07-29 19:05:03 +00:00
Steven Wittens d9d4b9bdab - #27231: Friendly DB error screens. 2005-07-27 01:58:43 +00:00
Steven Wittens 11a4aba9a6 - #26688: Add mbstring support to Drupal and clear up string handling fuzzies. 2005-07-25 20:40:35 +00:00
Steven Wittens dd2c576599 - #26688: Add mbstring support to Drupal and clear up string handling fuzzies. 2005-07-25 20:38:30 +00:00
Dries Buytaert 31387c5a77 - Patch #26467 by drumm: make the destination persist across multiple pages
and fixed the node delete form to use a return destination.
2005-07-20 10:48:20 +00:00
Dries Buytaert 2c2d981e86 - Optionally show dots after truncation. TODO: update user.module to take advantage of this. 2005-07-06 14:20:11 +00:00
Dries Buytaert 5c8843704c - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little.

  chx: can you double-check whether the global $conf variable is secure?
       (That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +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 2f28cc0bcc - #24278: Emit correct XHTML <link> tag. 2005-06-05 19:10:53 +00:00
Dries Buytaert 12ea785baf - Patch #24141: fix XML UTF-8 bom issue with PHP5.
Workaround for the fact that PHP5 cannot parse UTF-8 encoded XML feeds
  that start with the so-called "byte order mark".
2005-06-04 14:13:43 +00:00
Steven Wittens a597354bcb - Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags. 2005-05-31 21:14:27 +00:00
Steven Wittens 025bca28aa - Forgot about tablesort dependency on pager. 2005-05-31 19:54:31 +00:00
Steven Wittens b5ece96886 - Fixing charset in mime_header_encode() 2005-05-30 18:08:49 +00:00
Steven Wittens 82e606f7ab - #23700: Fix some broken t()'s in common.inc 2005-05-26 23:39:25 +00:00
Steven Wittens 67ebcfd084 - Mime_header_encode() was buggy. Each chunk of encoded text must be
a valid UTF-8 string, beginning and ending on a character boundary.
2005-05-25 06:28:59 +00:00
Steven Wittens 7ecb1b7c9c - #23387: form() should respect block-level elements 2005-05-25 04:18:54 +00:00
Steven Wittens a52bb9b1dd - #23516: Remove ][ from form item id's. 2005-05-25 03:50:25 +00:00
Dries Buytaert 8aba3a430b - Patch #23530 by Thox/Robin: removed the wrap="virtual" attribute from textareas. According to Thox this is no longer neccessary. Makes textareas validate as XHTML. 2005-05-24 20:38:00 +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 a7bced320e - Patch #18663 by chx: fix empty form elements. 2005-05-21 18:33:59 +00:00
Dries Buytaert d77cf05823 - Patch #23211 by Neil: better formatting of sizes in format_size(). 2005-05-20 11:31:16 +00:00
Dries Buytaert 139ef4027c - Patch #22035 by mathias/mikeryan: improved performance of path aliases. 2005-05-14 09:23:47 +00:00
Steven Wittens 89ae34de47 - #19621: More sensible status messages for forum admin ("created forum" instead of "created term"). 2005-05-07 01:48:06 +00:00
Dries Buytaert 77f6f233f8 - Modified patch #21980 by willmoy: made form_group() accept HTML attributes. 2005-05-05 09:07:08 +00:00
Steven Wittens ea36711d11 - #20910: Centralize print theme page fixes 2005-04-28 19:23:19 +00:00