Steven Wittens
16fd8c89a5
- sa-2006-002: XSS issues with username log and mission
2006-03-13 21:42:35 +00:00
Steven Wittens
0539f5483b
- sa-2006-001: Custom menu items are accessible to anyone
2006-03-13 21:33:18 +00:00
Dries Buytaert
2a3e3b2fed
- Patch #53480 by chx et al: clean and harden form_builder for various types of posted elements.
2006-03-12 09:28:12 +00:00
Dries Buytaert
28c0c6197a
- Patch #52092 by wtanaka, dopry and moshe: fixed regression with hook_file_download.
2006-03-10 19:02:06 +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
Neil Drumm
c828449991
#52292 by hunmonk, multipart node forms broken
...
Adds a new form attribute that lets form writers hook into a conveniant place when the form building requires knowledge of the validation results.
2006-03-09 22:55:01 +00:00
Gerhard Killesreiter
3fccc5b2eb
#42388 , Out of range value adjusted for column, patch by drumm
2006-03-09 22:12:53 +00:00
Dries Buytaert
9145ed128c
- Patch #49497 by damz and morbus: fixed encoding of feeds with PHP5.
2006-03-09 14:46:33 +00:00
Gerhard Killesreiter
c126bbaa21
#50234 , add documentation to file.inc methods, patch by drewish.
...
edited for some formatting issues.
2006-03-08 23:42:55 +00:00
Dries Buytaert
7add598ee2
- Patch #51850 by chx, webchick et al: fixed various problems with db_rewrite_sql, made db_rewrite_sql slightly more robust.
2006-03-08 15:13:20 +00:00
Dries Buytaert
dda131587f
- Patch #5961 by dopry et al: fixed problems with file api and open_basedir restrictions.
2006-03-07 19:14:30 +00:00
Dries Buytaert
b8d81c6a79
- Patch #52448 by Zen: simplified drupal_attributes.
2006-03-07 14:57:05 +00:00
Dries Buytaert
6d9e5084d8
- Patch #52508 by TDobes: fixed theme system regressions.
2006-03-07 11:28:22 +00:00
Dries Buytaert
21a3c24380
- Patch #52292 by hunmonk/chx: multipart node forms were broken.
2006-03-06 14:46:51 +00:00
Neil Drumm
4b663a62af
#52484 by chx: filter_form needs validation
2006-03-05 02:46:55 +00:00
Dries Buytaert
350b8b346e
- Patch #51516 by Steve Dondley: it should be possible to set errors on selection items.
2006-03-04 18:03:57 +00:00
Dries Buytaert
360ab25d22
- Patch #43220 by chx: removed the mime type magic until a better fix comes along.
2006-03-02 08:46:50 +00:00
Steven Wittens
9a014043a4
- #50747 : RSS channel description is not according to spec
2006-03-01 21:30:17 +00:00
Gerhard Killesreiter
bf8b6a531a
#46617 , Restore some module listings, partially applied, I've omitted places where I felt that sortign by weight would be wanted.
...
We can discuss those on the issue. Patch by chx.
2006-02-27 15:04:45 +00:00
Gerhard Killesreiter
aeead6cf9c
#48209 , Prevent system module forms (system/theme settings) from saving 'reset' to the variables table., patch by Markus Petrux
2006-02-27 14:57:54 +00:00
Gerhard Killesreiter
539994e29c
#43826 , no way to suppress form_id, patch by wtanaka
2006-02-27 14:46:49 +00:00
Gerhard Killesreiter
9bb285aafa
#21084 , Node module is not marked "required", but is required by other required modules, patch by Robert Douglass
2006-02-27 14:41:05 +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
Gerhard Killesreiter
8ea7cb3f48
#50181 , Timer counts not properly incremented, patch by puregin
2006-02-27 13:46:01 +00:00
Dries Buytaert
eda4d90645
- Patch #42390 by chx: Field 'translation' doesn't have a default value query
2006-02-27 13:22:29 +00:00
Dries Buytaert
4ce3d625f6
- Patch #48008 ny markus: removed some unused code.
2006-02-26 19:53:00 +00:00
Dries Buytaert
2823cec45e
- Patch #51392 by smsimms: fixed typo in help text.
2006-02-26 19:48:43 +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
f29e0405f4
- Patch #49799 : fixed form goto problem (Today's critical bugfix #1.)
2006-02-23 10:30:03 +00:00
Dries Buytaert
98834e15e3
- Patch #49675 by robert/killes: made replacing files work.
2006-02-22 19:16:37 +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
e172910dd3
- Patch #43953 by wtanaka: fixed problem with buttons on GET-forms.
2006-02-21 16:08:54 +00:00
Dries Buytaert
b1bdd4ac54
- Patch #41870 by fgm: improved debugging support.
2006-02-20 16:46:59 +00:00
Dries Buytaert
0c4e12aed8
- Patch #47919 by ma3vrck and Thomas: improved error handling/reporting.
2006-02-19 21:43:18 +00:00
Dries Buytaert
dd2109fcb9
- Pach #44947 by Moshe: fixed bug with session handling.
2006-02-17 11:10:49 +00:00
Dries Buytaert
62b610d8d9
- Patch #48918 by chx: remove POST from poll.
2006-02-17 10:51:57 +00:00
Dries Buytaert
ae470d6943
- Patch #49129 by markus: remove port from HTTP requests.
2006-02-16 13:00:18 +00:00
Dries Buytaert
eaa10cd724
- Patch #47919 by Thomas: fixed various glitches with MySQLi's error handling and non-standard port support..
2006-02-15 21:39:51 +00:00
Dries Buytaert
308d1f200f
- Patch #48993 by jvandyck: removed notices.
2006-02-14 19:19:34 +00:00
Dries Buytaert
37ec1bca84
- Patch #44947 by rkerr / Moshe: fixed race condition in session handling, reduced query overhead of session handling, reduced database overhead of session handling.
2006-02-10 05:42:11 +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
993f5a4865
- #41555 : truncate_utf8 infinite loop on invalid utf-8
2006-02-09 08:56:11 +00:00
Dries Buytaert
da1d11935d
- Patch #45821 by jvandyk: improved 'illegcal choice in .' messages
2006-02-09 07:34:16 +00:00
Steven Wittens
15590cdc06
- #48036 : Don't show search box in theme if you have no search permission
2006-02-05 19:08:11 +00:00
Steven Wittens
d38429248e
- #47510 : Show JavaScript alert when PHP errors occur
2006-02-05 19:04:58 +00:00
Dries Buytaert
afde65151c
- Patch #47420 by m3everck: put fieldset descriptions at top.
2006-02-05 15:45:09 +00:00
Dries Buytaert
941139bf2a
- Patch #47610 by Goba: reduced locale memory requirements
2006-02-05 15:42:56 +00:00
Dries Buytaert
035fc5c649
- Patch #47544 by Morbus: Element #name, not #id, were being passed to theme_form_element.
2006-02-04 09:50:28 +00:00
Dries Buytaert
048bec139e
- Patch #13148 by Morbus: less globals.
2006-02-02 12:44:57 +00:00
Steven Wittens
b005189398
- #42083 : Form API IP should be xhtml id of <form> tag
2006-02-02 02:10:31 +00:00
Steven Wittens
635cf5eb6d
- #39179 : Allow skipping of option validation for selects
2006-02-02 01:35:32 +00:00
Steven Wittens
d96be836c1
- #40515 : MySQL UTF-8 conversion fixes
2006-02-02 01:27:57 +00:00
Dries Buytaert
4ffb77baae
- Patch #13148 by Morbus: further base path fixes / clean-ups.
2006-01-30 21:32:09 +00:00
Dries Buytaert
5c75ee8947
- Patch #46184 by Jaza: breadcrumb gone for pages that use menu_set_location()
2006-01-29 07:43:22 +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
dbf0bb7e4c
- Patch #46255 by chx et al: don't save formapi data for user registrations.
2006-01-27 15:57:43 +00:00
Dries Buytaert
8e47cc95c5
- Patch #45845 by Jaza: Weight elements need default value of zero.
2006-01-26 13:39:48 +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
0293848199
- Patch by chx: made form tokens work.
2006-01-25 13:59:05 +00:00
Dries Buytaert
552b5e5e7a
- Patch #46227 by yogadex: fixed problem with form validation.
2006-01-25 08:40:53 +00:00
Dries Buytaert
4dd63e0385
- Patch #46183 by chx: made maintenance mode work again.
2006-01-24 18:18:41 +00:00
Dries Buytaert
6f978a04f9
- Patch #45793 by chx: fixed bug in user.module that results in storing plain text passwords.
2006-01-24 10:15:03 +00:00
Dries Buytaert
4c83a0347a
- Patch #36591 by chx: use session id to check form submissions, rather than the IP address.
2006-01-24 10:13:27 +00:00
Dries Buytaert
ba0219e403
- Patch #21719 by rkerr: made db passwords with special characters work.
2006-01-24 08:29:33 +00:00
Dries Buytaert
b9f6b72a58
- Patch #45834 by jvandyk: removed forms API warnings.
2006-01-24 08:20:45 +00:00
Dries Buytaert
af43886456
- Patch #33861 by Morbus et al: clean up the watchdog view.
2006-01-24 08:18:26 +00:00
Dries Buytaert
100db62511
- Patch #44828 by chx: fixed incorrect return value.
2006-01-23 11:15:54 +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
ca9f0fab45
- Patch #45854 by Jaza: fixed problem with menu_rebuild().
2006-01-23 07:27:18 +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
4da4f4c1af
- Patch #44379 by Moshe: code improvements: always grant the 'authenticated user' role to authenticated users. Fixed glitch with udpate path.
2006-01-21 08:28:55 +00:00
Steven Wittens
7914ad0f3f
- #40515 : Ensure UTF-8 character set on the database side (and include upgrade path for incorrectly set up databases)
2006-01-21 01:42:52 +00:00
Dries Buytaert
55c88ae09c
- Added .
2006-01-20 09:30:12 +00:00
Dries Buytaert
e38f0403a3
- Patch #45451 by wtanaka: added explanation for the red star.
2006-01-20 09:19:21 +00:00
Dries Buytaert
a177c29622
- Patch #40849 by wtanaka and Richard: killed some menu.inc warnings/notices.
2006-01-20 09:12:26 +00:00
Dries Buytaert
56d0d76f0f
- Patch #27884 by gordon: js addLoadEvent not working.
2006-01-20 08:54:07 +00:00
Dries Buytaert
616544667f
- Patch #45281 by flevour/chx: fixed problem with categories not being set properly validated.
2006-01-19 17:53:53 +00:00
Dries Buytaert
7b87ff1a6f
- Patch #45365 by chx: critical bugfix: Fix and simplify selection options.
2006-01-19 09:22:16 +00:00
Dries Buytaert
f828c0ade2
- Patch #39430 by Jaza and Richard: code improvements: improved separation between UI and logic.
2006-01-19 08:58:00 +00:00
Dries Buytaert
e84a98a22b
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
2006-01-19 08:54:41 +00:00
Dries Buytaert
9528c30037
- Patch #45281 by flevour/chx: fixed problem with categories not being set properly on editing.
2006-01-18 19:46:57 +00:00
Dries Buytaert
5f829187e6
- Patch #45209 by markus et al: added some missing t() functions.
2006-01-18 19:40:18 +00:00
Dries Buytaert
ffc7c5c3c6
- Patch #44011 by Souvent22 et al: critical bugfix: make private downloads work again.
2006-01-18 19:18:30 +00:00
Dries Buytaert
a35ca55bbf
- Patch #45224 by jvandyk: improved PHPdoc comments. Corrected spelling, improved grammar.
2006-01-18 19:04:12 +00:00
Dries Buytaert
6048d282cc
- Modified patch #45214 by markus: don't generate empty breadcrumb div.
2006-01-18 19:02:34 +00:00
Dries Buytaert
e41e8acda3
- Patch #45107 by chx: minor code speedups.
2006-01-17 15:39:07 +00:00
Steven Wittens
67fc0913ac
- #44992 : ./ prefix for conf file include (faster)
2006-01-17 06:17:29 +00:00
Steven Wittens
c5eeccb43d
Code style
2006-01-17 05:42:21 +00:00
Dries Buytaert
1d9b81d3b8
- Patch #44976 by m3avrck: cleaned up some CSS.
2006-01-16 20:57:53 +00:00
Dries Buytaert
b7a993639b
- Patch #9477 by Neil and Richard: fixed inconsistent behavior of user-specified paths.
2006-01-16 08:45:30 +00:00
Dries Buytaert
54b8ad6550
- Patch #22035 by Matt: fixed problem with alias table getting corrupted.
2006-01-16 08:34:45 +00:00
Dries Buytaert
84beb25884
- Patch #44771 by jvandyk: small performance improvement.
2006-01-15 16:55:35 +00:00
Steven Wittens
2e9bbda791
- #44772 : {} -> [] (in anticipation of PHP de-deprecation)
2006-01-15 07:14:14 +00:00
Steven Wittens
3329ad927c
- #44498 : Clean up pager / make more accessible
2006-01-15 00:04:20 +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
6ff8147a75
- Patch #44176 by Zen: performance improvement: split() -> explode().
2006-01-13 14:38:38 +00:00
Dries Buytaert
a3ae365057
- Patch by Zen/drumm: fixed glitch in form_select.
2006-01-13 07:44:59 +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
3607a2b059
- Patch #44373 by m3avrck: improved generated HTML/CSS.
2006-01-12 09:58:49 +00:00
Dries Buytaert
57447dc571
- Patch #42105 by chx / merlinofchaos: made form elements themable.
2006-01-10 19:37:27 +00:00
Dries Buytaert
6aae7ff747
- Patch #40927 by vhmauery: added attributes for files. Required for some contributed modules to work.
2006-01-09 10:22:12 +00:00
Dries Buytaert
df82a1edc4
- Patch #43835 by jakeg: critical bugfix: fixed admin/modules.
2006-01-08 16:04:58 +00:00
Dries Buytaert
4ec8c0428e
- Patch #41644 by chx: critical bug: db_rewrite_sql had a bad regex.
2006-01-08 12:51:37 +00:00
Dries Buytaert
7f87b19eeb
- Patch #42886 by chx: critical feature: allow modules to be reordered.
2006-01-08 12:49:51 +00:00
Dries Buytaert
7f083e0c2f
- Patch #35570 by ccourtne and Steve: forms API does not adhere #return_value for checkboxes.
2006-01-08 12:40:25 +00:00
Dries Buytaert
70c097f2be
- Modified patch #43082 by chx: return a 404 when a callback function does not exist.
2006-01-08 12:17:57 +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
Dries Buytaert
6c20d333d2
- Patch #35667 by Crell: bug fix: on ?q=admin/block style.css was imported twice.
2006-01-06 07:25:44 +00:00
Dries Buytaert
cade6b2bda
- Patch #39179 by chx; make optgroups work with choice checker.
2006-01-06 07:15:47 +00:00
Steven Wittens
c27b62b182
- #41940 : Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage)
...
- #43491 : Missing drupal_goto() after saving settings
2006-01-05 23:35:34 +00:00
Dries Buytaert
780d33c77b
- Patch #43429 by drumm: bug fix: made comparison of checkboxes more strict.
2006-01-05 11:05:14 +00:00
Dries Buytaert
399302a215
- Patch #40599 by Chris: minor code improvement: removed redundant isset().
2006-01-05 10:59:34 +00:00
Dries Buytaert
15299efc89
- Patch #43360 by Chris: minor code clean-up: renamed $op to $hook.
2006-01-05 10:51:47 +00:00
Dries Buytaert
9385794e23
- Patch #41548 by Neil: critical bugfix: theme didn't load when styles are used.
2006-01-04 09:32:28 +00:00
Dries Buytaert
83cb8d9e95
- Patch #40599 by Chris Johnson: file_download() checks module_invoke() return = -1.
2006-01-04 09:23:44 +00:00
Dries Buytaert
749284633f
- Patch #42057 by hunmonk and chx: made saving user accounts work again.
2006-01-02 08:35:59 +00:00
Dries Buytaert
45db74aa77
- Patch #37494 by darius / chx: fixed problem with dates.
2006-01-02 08:04:02 +00:00
Steven Wittens
ab468baa9e
- Removing trailing spaces
2005-12-31 14:32:23 +00:00
Dries Buytaert
89e89a3b9b
- Patch 42115 by Cvbge/ m3avrck: improved performance of session loading.
2005-12-31 11:50:47 +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
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
4c66ab52f3
- #31301 : Don't escape apostrophes in XML-RPC strings.
...
/me looks down
OH MY GOD... I'M MELLLLTTIIINNGG NOOOOOOO.... AAARGHHHHHH.
Oh well, don't the people inside the asylum say the outside world is insane, too?
2005-12-27 18:42:49 +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
Dries Buytaert
b362985de5
- Patch #41118 by Goba: various upgrade script fixes.
2005-12-26 17:20:23 +00:00
Dries Buytaert
6c2f3e7982
- Patch #39179 by chx et al: fix checkboxes #default_values.
2005-12-26 11:14:14 +00:00
Steven Wittens
b43fa0f9da
- #41744 : global urlencode() for menu paths
2005-12-22 22:58:12 +00:00
Dries Buytaert
4f13fbb709
- Patch #41023 by wtanaka: custom form elements can't cleanly set a value for themselves.
2005-12-19 14:43:42 +00:00
Dries Buytaert
eb412f7c7e
- Patch #39179 by chx: improved validation of forms.
2005-12-19 14:30:53 +00:00
Dries Buytaert
0dfc8e059f
- Patch #41437 by webchick: improved code comments.
2005-12-17 17:24:46 +00:00
Steven Wittens
db42745522
- Code style
2005-12-17 10:35:59 +00:00
Dries Buytaert
bd4fe6ede9
- Patch #40813 : Taxonomy forms should be in a fieldset.
2005-12-16 06:23:46 +00:00
Dries Buytaert
b6dba6fa8e
- Patch #40486 by chx/netbjarne: duplicate form id's breaks html validation.
2005-12-15 22:47:16 +00:00
Dries Buytaert
5accfa08f5
- Patch #41133 by DriesK: as of PHP 5.1.0, strtotime() returns FALSE on failure instead of -1.
...
Changed code to be compatible with all versions.
2005-12-15 16:02:50 +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
c4fc7f401f
- Patch #40886 by chx: fixed problem with recursive/nested node API calls manipulating the same array references.
2005-12-14 18:46:21 +00:00
Dries Buytaert
c0a43c50dc
- Patch #40765 by chx: fixed problem with form types.
2005-12-14 13:22:19 +00:00
Dries Buytaert
12e0151715
- Patch #40855 by Ber: fixed typo in watchdog message.
2005-12-12 11:36:56 +00:00
Dries Buytaert
b9f2b7e2a6
- Patch #40706 by chx: fixed warnings.
2005-12-11 12:31:17 +00:00
Dries Buytaert
b4552cd977
- Patch #40512 by Richard: fixed coding style + performance improvements.
2005-12-10 20:01:55 +00:00
Dries Buytaert
4758c8cd28
- Patch #40518 by drumm: upgrade system fixes.
2005-12-09 16:14:26 +00:00
Dries Buytaert
1d0fa04d33
- Patch #40518 by drumm: remove hook_versions.
2005-12-09 15:46:47 +00:00
Dries Buytaert
c54234d71a
- Patch #40341 by Neil: fixed problems with database schema versions.
...
- When user #1 creates an account (we can assume this happens only once), system.module's schema version is set to the latest availiable.
- system_get_files_database() now includes a 'schema_version' child of each file object.
- That new information is re-saved when Drupal re-populates the system table.
- An array of newly-enabled modules is built, module_list() is reloaded, and the schema versions of each newly-enabled module are set to the most recent availiable. If the schema version is already set (presumably from a previous installation) it is not changed.
2005-12-08 08:40:10 +00:00
Dries Buytaert
3342593eac
- Patch #38889 by rkerr: db_error and db_affected_rows did not work properly in presence of multiple database connections.
2005-12-07 15:17:27 +00:00
Dries Buytaert
a19acb219e
- Patch #35924 by Neil: improved the update system.
2005-12-06 09:25:22 +00:00
Dries Buytaert
0f80b09a4a
- Patch #39875 by chx: make form sorting work with PHP5.
2005-12-05 21:21:49 +00:00
Dries Buytaert
7ef324ec84
- Unrolled chx's form sort patch.
2005-12-05 09:48:54 +00:00
Dries Buytaert
a2d8174cd4
- Patch #39875 by chx: form_sort is broken with PHP5.
2005-12-05 08:47:24 +00:00
Dries Buytaert
77f55aa7f2
- Patch #39989 by hunmonk: can't pass args properly to #process callback.
2005-12-05 08:41:29 +00:00
Dries Buytaert
a806db88fa
- Patch #39085 by chx/angie: simplified #tree-#parent code.
2005-12-04 08:14:07 +00:00
Dries Buytaert
c7bce9efd4
- Patch #35768 by JonBob/Richard: separate callback handling from menu handling.
...
Moves callbacks and arguments to a separate data structure from the visible menu tree. As mentioned on drupal-devel, this change has little impact except to slightly improve code legibility and prepare the code base for future separation of these tasks, with an eye toward performance improvements of the menu system. Also changes array_key_exists() to isset() in several places, which is reported to perform better.
2005-12-03 14:50:27 +00:00
Dries Buytaert
75d2089fba
- Patch #39155 by Alex/chx: #validate, #submit, #process consistency
2005-12-03 09:44:50 +00:00
Dries Buytaert
26bd449860
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.
2005-12-02 15:21:01 +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
fe01762387
- Fixed bug with checking for .txt files.
2005-11-30 19:28:18 +00:00
Dries Buytaert
f8b90f6262
- Patch #39357 by m3vrck: fixed typo in mysqli backend.
2005-11-30 16:47:34 +00:00
Dries Buytaert
a74ebcc87a
- More fixes
2005-11-30 15:31:23 +00:00
Dries Buytaert
2917261693
- Removed valid_input_check().
2005-11-30 10:27:13 +00:00
Dries Buytaert
f4799d1ce9
- check_plain() missed its train.
2005-11-29 20:37:19 +00:00
Dries Buytaert
2d0df351d7
- Various fixes. Updated CHANGELOG.txt
2005-11-29 20:17:10 +00:00
Dries Buytaert
7a341583be
- Patch #39257 by merlinofchaos: node_access rewrite breaks with FROM_UNIXTIME.
2005-11-29 15:37:27 +00:00
Dries Buytaert
63a78a617b
- Patch #38038 : hook_elements override instead of merge.
2005-11-28 16:37:11 +00:00
Dries Buytaert
56f054c429
- Patch #33852 : remove legacy.inc.
2005-11-28 16:25:52 +00:00
Dries Buytaert
c1dbd83e40
- Patch #11758 by Richard Archer: fixed mbstring clash.
2005-11-28 15:45:04 +00:00
Dries Buytaert
244945365d
- Patch #10407 by Cvbge: fixed cache problems with PostgreSQL.
2005-11-27 11:52:08 +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
5cf74ccb72
#27582 : menu.inc doc update
2005-11-24 22:04:10 +00:00
Dries Buytaert
5f36738a11
- Patch #38279 by paddy_deburca: fixed theme_item_list() not to generate an empty <ul></ul> tag when $items is empty.
2005-11-24 20:08:54 +00:00
Dries Buytaert
50f148dab7
- Patch by chx: fixed form validation.
2005-11-23 16:21:12 +00:00
Dries Buytaert
a3f84c7782
- Patch #38349 by hunmonk:
...
1. hook_form_validate_alter and hook_form_execute_alter have been eliminated. there usage was limiting and a bit confusing. now, only hook_form_alter remains
2. replacing those hooks are the #validate and #execute attributes. these can be used either when building the form in a module, or via hook_form_alter. these attributes are built in array form, to allow for flexibility in how they are called. for example, a module could simply add an element to the #validate array via hook_form_alter if it wished to perform additional validation, or it could redeclare the entire #validate array if it wanted to override any existing validation
3. attributes #validation_arguments and #execution_arguments have been added to allow args to be used w/ custom validation and execution functions. this are also declared in array format
4. renamed #valid attribute to #validation. this doesn't cause any conflicts, and makes the naming convention more consistent
5. renamed the existing #execute attribute associated w/ submit buttons to #submit
2005-11-22 21:31:15 +00:00
Dries Buytaert
d52bcb63cc
- Patch #37766 by Thomas Ilsche: fixed date handling in XML-RPC backend.
2005-11-21 21:35:43 +00:00
Dries Buytaert
7a5c5b83a7
- Patch #35725 by drumm: improved conf_init() documentation.
2005-11-21 21:33:44 +00:00
Dries Buytaert
1b388b4653
- Patch #35863 by chx: add link to forms API documentation
2005-11-21 18:14:23 +00:00
Dries Buytaert
03dda45573
- Patch #37752 by chx and Richard: renamed #post_process to #after_build.
2005-11-21 18:10:26 +00:00
Steven Wittens
cbc92f59cf
#35725 : Make site.com:80 work like site.com
2005-11-21 16:24:41 +00:00
Dries Buytaert
463ffe24ec
- Patch #35724 by asimmonds: fixed handling of empty form fields.
2005-11-21 16:21:51 +00:00
Steven Wittens
17205b6e62
#36352 : Don't prefix temporary table names after all.
...
#36658 : Make search query pgsql compatible.
2005-11-21 15:55:17 +00:00
Dries Buytaert
61ebf7b56b
- Patch #37401 by webchick: fixed dependency of date selection form element on profile module.
2005-11-21 09:42:14 +00:00
Dries Buytaert
5b4ebcdb25
- Patch #36828 by m3avrck: some MySQLi fixes and some PHP5 fixes.
2005-11-18 14:03:55 +00:00
Dries Buytaert
f852db82dc
- Patch #37915 by chx: improved readability of forms API.
2005-11-18 13:48:09 +00:00
Dries Buytaert
3b7a6a4931
- Patch #37400 by vwX/chx: fixed problem with methodHelp
2005-11-13 08:18:12 +00:00
Steven Wittens
21bed11e66
- Add missing url()s around form actions (these would break without clean URLs)
2005-11-13 02:32:18 +00:00
Dries Buytaert
aeed4cd8e4
- Patch #35644 by webchick: forms API simplificiations.
2005-11-12 11:26:16 +00:00
Dries Buytaert
64a617c208
- Patch #26249 by Morbus: improved handling of temporary files/directory.
...
If your module uses variable_get('file_directory_temp', ...) or
variable_get('file_directory_path', ...) please update it to use the new
API.
A list of affected modules is available at http://drupal.org/node/26249#comment-54194 .
2005-11-12 09:23:50 +00:00
Dries Buytaert
7dd24bec5c
- SQL query maintenance: '%d' -> %d.
2005-11-12 09:14:30 +00:00
Steven Wittens
36b62d969d
#37078 : forms api does not respect form_id when populating from ['edit'] or validating
2005-11-12 03:45:57 +00:00
Dries Buytaert
dac42f83c8
- Patch #36079 by ax/chx: various blogapi.module fixes.
2005-11-09 19:03:35 +00:00
Dries Buytaert
3768616a65
- Patch #36829 by hunmonk: current form_id_form_alter will cause name collisions.
2005-11-08 20:17:42 +00:00
Dries Buytaert
d8425d23d2
- Patch #36606 by hunmonk: validation callback functions can't be overridden.
2005-11-08 20:02:24 +00:00
Dries Buytaert
7f0909ebfd
- Patch #36407 by DriesK: make sure the private key is set.
2005-11-06 11:38:56 +00:00
Dries Buytaert
745b7beda8
- Patch #10658 by Morbus: create new folders with the right permissions.
2005-11-04 20:19:14 +00:00
Steven Wittens
2ad97f0277
- #36255 : Fix db_query_temporary() in pgsql
...
- Prefix temporary table names (helps on restricted hosts)
2005-11-04 13:02:51 +00:00
Dries Buytaert
ea53aad7c8
- Patch #22215 by Richard Archer: refactored primary and secondary links.
...
Deprecates the primary_links module.
This patch was much needed. Thanks Richards!
NOTE: if some themers could investigate if there is room for improvement
with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert
cbcb85560a
- Patch #35816 by chx: fixed problem with checkbox handling in the form API.
2005-11-03 15:42:31 +00:00
Dries Buytaert
46abc88ee4
- Patch #26249 by crunchywelch, Junyor: use upload_tmp_dir as default temporary directory. Fixed file problems on Windows NT systems.
2005-11-01 16:31:09 +00:00
Dries Buytaert
5684831958
- Patch #35874 by asimmonds: added missing $Id$ tags.
2005-11-01 09:58:01 +00:00
Dries Buytaert
f2185037be
- Patch #35630 by adrian: fixed problem with how form trees are build.
2005-10-29 07:00:33 +00:00
Dries Buytaert
22cf0b4ef7
- Patch #35410 by kbahey: made site offline feature work.
2005-10-29 06:58:56 +00:00
Dries Buytaert
d01b4dbe10
- Patch #35354 by Moshe/chx: only update the last access time for authenticated users.
2005-10-28 13:35:49 +00:00
Dries Buytaert
699df6742b
- Patch #34214 by ax:
...
* xmlrpc_value_calculate_type() fails for empty arrays
* PHPDoc for xmlrpc_value_calculate_type()
* use is_*() instead of gettype() as advised in the PHP manual (and document this)
* coding style
2005-10-28 13:13:30 +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
f2675cfd3a
- Remove left over class from form api conversion
2005-10-26 01:25:01 +00:00
Steven Wittens
fbaede7ec0
- #35264 : More form api fixes
2005-10-26 01:24:09 +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
Steven Wittens
a9260fa2cd
- #32603 : Clean up theme_pager_link (drumm)
2005-10-21 10:58:15 +00:00
Steven Wittens
278e2dd309
- Add maintenance-page error screens when the php module for the dbtype is not loaded (just showed a blank screen before)
2005-10-20 21:30:50 +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
8d460b406d
- Patch #32573 by Moshe: added support for ordered lists to theme_item_list().
2005-10-18 14:45:09 +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
Dries Buytaert
d3211f014d
- Modified patch #13180/#29414: use mysql_real_escape_string() to escape
...
strings rather than addslashes(). mysql_real_escape_string() uses the
connections charset settings to properly escape.
2005-10-13 10:23:17 +00:00
Steven Wittens
5f0e0f3649
- #33433 : More form API fixes, and error handling improvements by Chx.
2005-10-13 10:02:31 +00:00
Dries Buytaert
75fe6b6c0a
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
2005-10-11 19:44:35 +00:00
Dries Buytaert
927d98d068
- Patch #33555 by leoburd: fixed typo in XML-RPC backend.
2005-10-10 09:03:11 +00:00
Dries Buytaert
59cb3c4568
- Patch #13224 by Richard Archer and Gerhard: improved gzip caching.
2005-10-09 21:51:43 +00:00
Dries Buytaert
fd96728f3c
- Second batch of form API fixes by chx.
2005-10-09 10:39:15 +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
7863be5e82
- Patch #33433 by chx: fixed a number of form API problems.
...
* Default form value
* Leftover debug function in form.inc
* PHP5 issue with comment date (I got this patch from another issue)
* Validation error fix (was calling legacy form validate)
* Lots o' warnings on comment preview
* Filter tips plus argument (gremlins. I swear this was not there.)
* Message to clear what's going on with system settings
* Non-freetagging taxonomies fixed
2005-10-08 12:21:47 +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
27b50ef542
- Revert. Was already committed.
2005-10-01 13:45:39 +00:00
Dries Buytaert
c8c2fedc7e
- Patch #32465 by Steven: mime decode for core.
2005-10-01 13:21:47 +00:00
Dries Buytaert
c4757dd807
- Patch #32465 by Steven/killes: mime decode function.
2005-09-29 12:37:58 +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
cec8db72dd
- add some space
2005-09-29 08:02:55 +00:00
Dries Buytaert
9f27e04470
- Patch by Ax: fixed links in documentation.
2005-09-27 15:06:14 +00:00
Dries Buytaert
67e68fc679
- Patch #28786 by Neil: move pagers out of table.
2005-09-24 07:53:26 +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
2b3126b2cc
Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc.
2005-09-19 19:13:35 +00:00
Dries Buytaert
f906d2dd50
- Patch #31306 by ax: fixed menu system warning.
2005-09-18 17:03:26 +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
5971f1e645
- Patch #28777 by Neil: use <thead> and <tbody> in theme_table().
2005-09-15 20:58:17 +00:00
Dries Buytaert
db1ef4bd2d
- Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers.
2005-09-13 19:05:34 +00:00
Dries Buytaert
87df276acb
- Patch #29910 by m3avrck, nsk, Thomas et al: added a mysqli database backend for use with PHP5 and MySQL 4.1 and above.
...
NOTE: I don't have MySQL 4.1 setup at the moment so I could _not_ test this patch. Luckily, various people reported that it works.
2005-09-12 20:13:04 +00:00
Dries Buytaert
013b73e6ec
- Patch #30122 by m3verick: changed include_once()'s to include "./$file"
...
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert
3b1e763d03
- Patch #30423 by Crell: added support for table <captions>.
...
TODO: look into http://drupal.org/node/28777 ?
2005-09-06 20:32:53 +00:00
Dries Buytaert
d7139b85db
- Bug #30390 : fixed parse error. Alternative fix.
2005-09-06 19:00:55 +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
75fad91cf5
- Patch #22911 by Cvgbe: fixed table locking in PostgreSQL. You'll have to
...
use db_lock_table() and db_unlock_tables() for your code to be compatible.
2005-08-29 19:32:55 +00:00