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