Commit Graph

505 Commits (3329ad927c93b86587ec6ef3b7804ddcf1948384)

Author SHA1 Message Date
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