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
Steven Wittens
23bccfd1c8
- #4166 : Respect 'access userlist' permission for profile data.
2005-04-11 22:48:27 +00:00
Steven Wittens
230db1039a
- Missing check_url() in form().
2005-04-10 10:22:40 +00:00
Steven Wittens
0f41706acc
- #19874 : Fix aggregator escaping after check_plain bug
...
- Fix bug in decode_entities() with double-escaped entities.
2005-04-07 22:46:55 +00:00
Dries Buytaert
97bfa01725
- Patch #18828 by me, jbond and TDobes: moves the textarea hook for 'pre' between the title and the textarea. This makes it easier for simply textarea enhancements like quicktags to add a toolbar just above the textarea.
2005-04-06 07:43:10 +00:00
Steven Wittens
be14203534
- #18817 : Clean up plain-text checking (see drupal-devel!)
2005-03-31 09:25:33 +00:00
Dries Buytaert
99233a9c99
- Patch #19590 by Moshe: lazy initialization of the theme system. Improves
...
performance of pages that don't need the theme system (such as RSS feeds)
and makes it easier to set a custom theme.
2005-03-29 21:01:47 +00:00
Dries Buytaert
6957d7863d
- Patch #19212 by chx: removed unused variables, and fixed the error reporting
...
in form_file().
2005-03-21 19:26:47 +00:00
Steven Wittens
0a984f2c2b
- #18597 : Resolve conflict in column name between queue.module and poll.module.
2005-03-18 07:34:07 +00:00
Dries Buytaert
42a085c8ad
- Patch #18437 by Mathias: Drupal doesn't allow URL aliases that map to Userland Manila posts since they usually contain the '$' and are considered an invalid URL. This patch allows '$' in an URL and thus an alias. It also resolves a disparity between the 'allowable characters' of absolute and relative URLs. As far as I can tell, those parts of the regexp should be the same.
2005-03-06 06:57:58 +00:00
Dries Buytaert
f7b8f53577
- Ignore PHP5's strict warnings for now. The real solution is to rewrite both xmlrpc.inc and xtemplate.inc.
2005-03-03 20:13:20 +00:00
Steven Wittens
36aaecd27e
- Moving comment
2005-03-03 20:08:02 +00:00
Steven Wittens
e68280064e
- #18319 : Move encoding conversion out of drupal_xml_parser_create() so it can be used by modules.
2005-03-03 20:06:42 +00:00
Steven Wittens
a5b8a0a8fb
- Removing dead variable
2005-02-09 17:33:53 +00:00
Steven Wittens
7fe195a07e
- PHP5 fix due object references: node previewing should not put node output into form.
2005-02-04 20:14:05 +00:00
Dries Buytaert
fbec279e4c
- Patch #16246 by Moshe: added mechanism to direct the user back to the referring page after completing a form.
...
(Moshe: the patch against node.module failed to apply.)
2005-02-01 19:45:58 +00:00
Dries Buytaert
7ccc5a6b1b
- Patch #16358 by James: added toolkit to enable better image handling. The avatar code and the upload module have been updated to take advantage of the new image API.
...
There are 5 main functions that modules may now utilize to handle images:
* image_get_info() - this function checks a file. If it exists and is a valid image file, it will return an array containing things like the pixel dimensions of the image, plus the 'type' and common extension.
* image_scale - resizes a given image to fit within a given width / height dimensions, while maintaining aspect ratio (not distorting the image). This function can be used to generate thumbnails, or ensure a maximum resolution, etc.
* image_resize - similar to image_scale (but will not respect aspect ratio - may well distort the image).
* image_rotate - rotate an image by X degrees
* image_crop - crops an image to a given rectangle (defined as top-left x/y coordinates plus a width & height of the rectangle).
Contribution modules will now be able to rely on these base manipulation functions to offer additional functionality (such as image nodes, photo galleries, advanced image manipulation, etc).
2005-02-01 16:27:43 +00:00
Dries Buytaert
7931c778d7
- Patch #16513 by James (slightly modified): export categories and enclosures to RSS feeds (and made RSS feeds extensible).
...
NOTE: this needs to be documented.
2005-02-01 14:09:31 +00:00
Dries Buytaert
7988f875a9
- Fixed PHP5 warning: the $result object in drupal_http_request() needed to be properly initialized using 'new StdClass'.
...
(I just installed PHP 5.0.3, no less. Why don't you?)
2005-01-22 11:15:24 +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
e7777956f9
- Watchdog improvement: added a 'view' link for 'access denied' messages.
2005-01-10 20:25:34 +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
Dries Buytaert
828be2ad61
- Patch #13020 by chx: let Drupal handle multiple database layers.
...
- Removed the PEAR database backend. It's no longer being used/maintained.
2004-12-30 13:13:22 +00:00