Commit Graph

3511 Commits (ca9293b3ee13390349521c83e9bb175d4c95009a)

Author SHA1 Message Date
Gerhard Killesreiter 0de876d095 #54186, Uploads still listed on upload form after validation errors, patch by timcn 2006-03-16 15:27:45 +00:00
Steven Wittens 729c464d00 #50987: book next link breaks with php 5.1 2006-03-14 15:43:49 +00:00
Steven Wittens e74aa7eeb6 #53956: Don't allow moving away top-level book pages if you cannot move them back. 2006-03-14 15:36:25 +00:00
Steven Wittens fe19714805 - theme_placeholder to theme('placeholder') 2006-03-14 15:15:46 +00:00
Gerhard Killesreiter 0e3f8f97eb #11206, Editing a top level book page inadvertently changes parent, patch by chx. 2006-03-14 09:21:49 +00:00
Gerhard Killesreiter b049f762c7 #53666, Invalid argument supplied for foreach() in upload_save, patch by Markus Petrux 2006-03-13 22:23:09 +00:00
Steven Wittens e4a27b8f34 - sa-2006-003: Session fixation issue 2006-03-13 21:48:55 +00:00
Steven Wittens 2fb572d002 - Rollback 2006-03-13 21:35:31 +00:00
Steven Wittens 0539f5483b - sa-2006-001: Custom menu items are accessible to anyone 2006-03-13 21:33:18 +00:00
Gerhard Killesreiter a4ae7a53f8 #53654, remove module reset button, patch by Zen. 2006-03-12 16:21:40 +00:00
Gerhard Killesreiter 80e53f26c6 #53628, reformatting of profile.module. Patch by Zen. 2006-03-12 14:08:55 +00:00
Steven Wittens 7d9217fc20 - #47841: Sort help items alphabetically (and prettify output) 2006-03-12 01:56:11 +00:00
Dries Buytaert 718b88e54f - Patch #53351 by Zen, tim et al: problem with unchecked taxonomy lists. 2006-03-11 13:47:51 +00:00
Dries Buytaert c54de86134 - Patch #42358 by dopry et al: fixed problem with attaching files. 2006-03-10 19:03:25 +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 d29d596674 - Reverting accidental commit 2006-03-10 15:13:21 +00:00
Steven Wittens 9c944c2d58 - Code cleanup 2006-03-10 15:11:07 +00:00
Neil Drumm 2b9d04d5c2 -bug #51522 by m3avrck, node teasers are empty 2006-03-09 22:38:40 +00:00
Gerhard Killesreiter 306a04e503 #43032, Can't move forum topics created by anonymous (Authored by not set), patch by Cvbge. 2006-03-09 22:10:57 +00:00
Gerhard Killesreiter f1962e8fb1 #52586, node preview broken with php5, patch by greggles 2006-03-09 21:59:43 +00:00
Gerhard Killesreiter 40e2a3b379 #51635, Moving forum post leaving shadow copy results in warning, patch by Zen/webchick 2006-03-08 22:11:54 +00:00
Gerhard Killesreiter 45092bdd5f #53012, make "Create new revision" respect node type settings, patch by Zen 2006-03-08 19:07:41 +00:00
Dries Buytaert efa8b042c9 - Patch #52157 by Zen: can't edit path aliases. 2006-03-08 15:43:36 +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 89b9c26e00 - Patch #52932 by Zen: fapi conversion + fixes
* fapi conversion.
   * Adds status messages, comments and language fixes.
   * Adds watchdog messages for category and feed additions and deletions.
   * Edit forms: checks for duplicates - title for category, title + url for feeds.
2006-03-08 09:52:13 +00:00
Dries Buytaert 8fe244ff6a - Patch #51522 by paddy: break at beginning doesn't work 2006-03-07 19:38:19 +00:00
Dries Buytaert d2865f2a99 - Patch #52850 by Zen: fapi conversion + minor fixes
* converts forum_admin to fapi.
    * handles invalid terms in hook_menu
    * adds comments, fixes typos etc.
    * reorganises functions a little bit - moves hook_menu to the top.. groups hooks together and forms together
2006-03-07 19:03:02 +00:00
Dries Buytaert bbca6b4828 - Patch #52418 by Zen: fapi conversion + bug fixes. 2006-03-07 11:36:49 +00:00
Dries Buytaert 6d9e5084d8 - Patch #52508 by TDobes: fixed theme system regressions. 2006-03-07 11:28:22 +00:00
Dries Buytaert f51bc544f2 - Patch #51142 by markus: hook_comment not called for all update operations. 2006-03-06 20:52:55 +00:00
Dries Buytaert 71b0e2ddb7 - Patch #52324 by chx: fixed warnings when inserting locale strings. 2006-03-06 20:50:39 +00:00
Dries Buytaert c54a0f575f - Patch #51543 by wtanaka: clicking on 'add new comment' takes you to the wrong place. 2006-03-06 18:09:17 +00:00
Neil Drumm 4b663a62af #52484 by chx: filter_form needs validation 2006-03-05 02:46:55 +00:00
Dries Buytaert 650f22bc7f - Patch #52265 by Zen: converted filter.module to file API:
* Converts filter.module to the fapi model (besides filter_admin_overview which has already been done.)
    * On the format edit screen, updates to the roles fieldset were being mangled with the previous code. The previous code relied on only checked checkboxes being returned. Fapi for some reason decides to insert non-checked items as well with values 0.
    * Makes the name field a UNIQUE field. DB and update patches included. Having a duplicate format name completely b0rks things.
    * Adds check_plain to the format name in admin_overview.
    * Removes unnecessary #type => 'markup'.
    * Moves hook_menu to below hook_help.
    * drupal_goto -> return.
2006-03-04 18:12:10 +00:00
Dries Buytaert 5de716f100 - Patch #50835 by markus: print message when replying to non-existing comment. 2006-03-04 18:01:54 +00:00
Dries Buytaert 189ad85bcd - Patch #52433 by Zen: removed redundant db_escape_string(). 2006-03-04 18:00:55 +00:00
Dries Buytaert a9ff6cd372 - Patch #52381 by Zen:
* Converts the block administration page to the fapi model.
    * Removes some 'type=markup' elements.
    * Adds a form_render($form['form_id']); in the theme function. Adding a form_render($form) just outputs an unthemed form. I suspect this is because of the heavy nesting of form elements and the rather dodgy array declaration, but I'm unsure.
    * Documentation/language fixes.
2006-03-04 17:54:58 +00:00
Dries Buytaert ff5f9c9ca3 - Patch #52341 by m3avrck: corrected phpdoc. 2006-03-04 17:51:34 +00:00
Dries Buytaert 9c7c23c87b - Patch #52431 by Zen: simplified some code. 2006-03-04 17:49:21 +00:00
Dries Buytaert 47cf9dd9fb - Patch #46746 by Matt: fixed inconsistent encoding of path aliases. Fixes broken URLs on profile pages. 2006-03-03 08:46:09 +00:00
Dries Buytaert d7e9371e94 - Removing whitespace 2006-03-03 08:37:47 +00:00
Dries Buytaert 1001b7079d - Patch #47267 by joshk: made aggregator categorization work. 2006-03-02 19:16:41 +00:00
Dries Buytaert edce458e2f - Patch #50821 by Zen/merlinofchaos: convert book.module to form API so the forms can be altered/themed. 2006-03-02 08:44:52 +00:00
Dries Buytaert 403bc4ab49 - Patch #51871 by merlinofchaos/zen: convert taxonomy.module to new form API so forms can be themed/altered properly. 2006-03-02 08:27:59 +00:00
Steven Wittens 514b12c427 - #47844: Book module doesn't delete table entry for nodes added to outline. 2006-03-01 19:19:05 +00:00
Dries Buytaert 725ce1dc16 - Bug 51905: decode_entities not available when a cached page is served.. 2006-03-01 15:20:43 +00:00
Dries Buytaert 26ba37823e - Patch #50982 by kuba: converted the admin filter overview page to the submit-model. 2006-03-01 09:01:34 +00:00
Dries Buytaert e3db356ad5 - Patch #51850 by webchick: work around a db_rewrite_sql() bug. 2006-03-01 08:47:17 +00:00
Dries Buytaert e19845cb17 - Patch #47842 by markus/webchick: help text improvement. 2006-02-28 21:32:51 +00:00
Steven Wittens fe77e77431 - #49405: Minor advanced search UI/code tweaks 2006-02-28 21:10:04 +00:00
Gerhard Killesreiter 1d865eb4c4 #51613, forum.module forms ignore proper form submission path, patch by merlinofchaos 2006-02-28 13:36:59 +00:00
Steven Wittens 03c8120c23 - #51110: Make search results page more flexible 2006-02-28 13:32:33 +00:00
Gerhard Killesreiter a1e932f733 #51127, hook_user submit passes incorrect values, patch by wtanaka 2006-02-27 22:51:31 +00:00
Gerhard Killesreiter 951ed45e27 #51602, Mis-typed user_access() in delete-confirm, patch by njivy 2006-02-27 19:27:20 +00:00
Gerhard Killesreiter b7e81dbc39 #48025, fix for installing new contrib modules, patch by hunmonk and grugnog 2006-02-27 19:01:42 +00:00
Dries Buytaert 76a104d472 - Patch #39135 by Zen: Contact module category update issue + _validate, _submit conversion. 2006-02-27 17:02:53 +00:00
Dries Buytaert 10dc538cf1 - Patch #51531 by Zen: renamed a link for clarity. 2006-02-27 17:01:37 +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 784202418f #50771, Wrong user name in admin/comment, patach by Markus Petrux 2006-02-27 14:54:24 +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 29170c88f2 #48025, System table not updated when moving modules, patch by grugnog, changed variable name to match conventions. 2006-02-27 14:32:38 +00:00
Gerhard Killesreiter 1091a2f059 #48710, incorrect list of roles that can use default input format, patch by RayZ 2006-02-27 14:24:54 +00:00
Gerhard Killesreiter 72a73fedbd #51125, _user_forms: change array_merge to array_merge_recursive, patch by wtanaka 2006-02-27 14:15:41 +00:00
Gerhard Killesreiter 8d8b816ca5 #44129, patch by Zen 2006-02-27 13:33:48 +00:00
Dries Buytaert 66576708a0 - Patch #51347 by eafarris: fixed typo: coment -> comment. 2006-02-26 19:52:09 +00:00
Dries Buytaert 3489651659 - Patch #46690 by Zen: 'user comments' -> 'comment settings'. 2006-02-26 19:47:55 +00:00
Dries Buytaert f63bb3a3f1 - Patch #38578 by Zen: field->id -> field->fid. 2006-02-26 19:46:13 +00:00
Dries Buytaert 58d9b02e3e - Patch #51189: fixed submit redirects. 2006-02-26 19:44:45 +00:00
Dries Buytaert 84d4e12ccc - Patch #50078 by merlinofchaos: made image toolkits work again. 2006-02-26 19:37:18 +00:00
Dries Buytaert 9e7ecfa1f9 - Patch #48313 by Tobias: added missing t() function. 2006-02-23 12:52:02 +00:00
Dries Buytaert 19afd2ceb7 - Patch #45850: it was impossible to create shadow topic. (Today's critical bugfix #2.) 2006-02-23 12:21:15 +00:00
Dries Buytaert f29e0405f4 - Patch #49799: fixed form goto problem (Today's critical bugfix #1.) 2006-02-23 10:30:03 +00:00
Steven Wittens 688197e8cd - #48997: Remove PHP notice from filter.module 2006-02-23 04:01:14 +00:00
Dries Buytaert c94a2dabb0 - Patch #50755 by markus: = -> ==. 2006-02-22 19:02:58 +00:00
Dries Buytaert c48278229b - Patch #42068 by mfb et al: fixed problem with aggregator destroying certain links. Moved filtering to on output. (Today's critical bugfix #2.) 2006-02-22 10:13:42 +00:00
Dries Buytaert 347a5bb5f6 - Patch #31354 by Junyor et al: move node revision information for files to a separate table. (Today's critical bugfix #1.) 2006-02-22 10:06:46 +00:00
Dries Buytaert cb05945caf - Patch #47699 by wtanaka: performance improvement. 2006-02-22 10:05:06 +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 8fcc64ee43 - Patch #48235 by markus: removed dead code. 2006-02-21 16:06:02 +00:00
Dries Buytaert 5298688d8d - Patch #24398: make password reset work in case someone does prefetching. (Today's critical bugfix #4.)) 2006-02-21 16:00:55 +00:00
Dries Buytaert 8b3bf4d005 - Patch #50106 by webchick: code clean-up. 2006-02-21 14:45:46 +00:00
Dries Buytaert 9d162755c7 - Patch #50045 by merlinofchaos: fixed previews getting lost. 2006-02-21 08:44:15 +00:00
Dries Buytaert cf5475a7e1 - Patch #41509 by munga: setting profile field to hidden does not remove it from the user edit form. (Today's critical bugfix #2.) 2006-02-21 08:41:42 +00:00
Dries Buytaert 890356a0b5 - Patch #50219 by pz: removed some redundant code. 2006-02-21 08:37:41 +00:00
Dries Buytaert 3698f85720 - Patch #50454 by DaveNotik: fixed syntax error. (Today's 1th critical bugfix) 2006-02-21 08:36:10 +00:00
Dries Buytaert c3a0311b04 - Patch #39672 by Morbus: fixed problem with help texts of taxonomy forms. 2006-02-20 16:48:46 +00:00
Dries Buytaert 68820e23df - Patch #49476 by Moshe: fixed incorrect access check. 2006-02-20 16:44:54 +00:00
Dries Buytaert 999d3dafd4 - Patch #50219 by pz: removed death code. 2006-02-20 16:41:25 +00:00
Dries Buytaert a94b87aa3a - Patch #46705 by killes: use += instead of array_merge(). 2006-02-20 16:39:23 +00:00
Dries Buytaert 864eab75aa - Patch #50105 by chx: simplified some code. 2006-02-19 21:47:50 +00:00
Dries Buytaert 7b71373701 - Patch #44298 by DriesK: prevent unaccessible links from being generated. 2006-02-19 21:46:04 +00:00
Dries Buytaert 62b610d8d9 - Patch #48918 by chx: remove POST from poll. 2006-02-17 10:51:57 +00:00
Dries Buytaert dca43564df - Patch #49198 by Ber: improved documentation of filter-roles setting. 2006-02-16 15:36:31 +00:00
Dries Buytaert eeae26b227 - Patch #49132 by Tobias and Zen: fixed problem with profile fields being mangled. 2006-02-16 15:29:46 +00:00
Dries Buytaert 73f1e093fa - Patch #49462 by Markus: blogapi doesn't output alternative link if frontpage is an alias. 2006-02-15 21:27:58 +00:00
Dries Buytaert 9dacf2f8d7 - Patch #47785 by chx: login block not w3 compatible (two id attributes) 2006-02-15 21:03:20 +00:00
Dries Buytaert f030164bcb - Patch #46743 by Morbus: fixed double encoding issue. 2006-02-15 20:47:35 +00:00
Steven Wittens 740dc97b5f - #35073: Admin/node category filter not working 2006-02-14 21:12:09 +00:00
Dries Buytaert 7f299b7a9b - Patch #49131 by puregin: refine book permissions. 2006-02-14 19:25:02 +00:00
Dries Buytaert 7489c87476 - Patch #43572 by Tobias: don't accept spaces. 2006-02-14 19:17:00 +00:00
Dries Buytaert 0ec174d59c - Patch #47329 by merlinofchaos: fixed blogapi module problem. 2006-02-14 19:14:23 +00:00
Dries Buytaert 25eef00f89 - Patch #48939 by Steve Ratcliffe: added missing {} to upgrade path. 2006-02-12 05:34:34 +00:00
Dries Buytaert 21eb666a9b - Patch #11031 by Zen:
* Makes the user login and password fields in the login _block_ required.
    * Uses just if ($form['name']) rather than if (isset($form['name']) && $form['name']). AFAIK, using both is unnecessary with the form API.
    * Changes maxlength for usernames to 60 which is the (rather odd) database value. The maxlength fields at present don't accomodate affiliate logins with extra long usernames/domains, but I've left that issue alone for now.
    * Removes all instances of maxlength for password. They were a)not being applied with any degree of consistency, and b)unnecessary as only the hash is stored.
    * Corrects an e-mail address maxlength from 55 to 64.
    * unset() accepts more than one variable.
2006-02-10 05:46:39 +00:00
Dries Buytaert 583d5a4ee9 - Patch #48622 by adrian: remove drupal_goto from _submit functions. 2006-02-10 05:25:57 +00:00
Dries Buytaert 91152ba7af - Patch #46743 by m3avrck: clean up forum topic navigation. Bring it in line with book.module. 2006-02-10 05:05:44 +00:00
Steven Wittens 1819de963f - #48518: Editing own comment broken under postgresl 2006-02-09 09:09:03 +00:00
Dries Buytaert 88490f6413 - Patch #47691 by Cvbge: quickfix postgresql 2006-02-09 08:52:03 +00:00
Dries Buytaert 51f8d2f33b - Patch #47406 by Zen: menu sorting shouldn't be case insensitive. 2006-02-09 08:36:54 +00:00
Steven Wittens c9a19e3084 - #48239: Comment thread coding inefficient 2006-02-09 08:33:36 +00:00
Steven Wittens 0d89f29a3f - #48616: check_plain() incorrectly applies to page titles in statistics 2006-02-09 08:28:53 +00:00
Dries Buytaert 9004bed664 - Patch #47899 by Zen: fixed weight issues with freetagging vocabulary. 2006-02-09 08:28:28 +00:00
Dries Buytaert c6328111a3 - Patch #48242 by markus: add/edit form in user access rules is broken. 2006-02-09 08:20:49 +00:00
Dries Buytaert b67cce5a8f - Patch #46422 by Neil: module installation hook. 2006-02-09 08:13:08 +00:00
Dries Buytaert a723204ee4 - Patch #47691 by wtanaka: performance improvement for _forum_topics_read. 2006-02-09 08:09:55 +00:00
Dries Buytaert df492f35ae - Patch #43622 / #46627 by markus: 'delete the selected posts' operation on admin/node doesn't work. 2006-02-09 07:46:04 +00:00
Dries Buytaert b28f48dc48 - Patch #44290 by Steve Dondley: fixed problem with user picture getting deleted after editing user account. 2006-02-09 07:43:43 +00:00
Dries Buytaert 3b27048623 - Patch #47098 by JonBob: fixed book navigation divs when book has no child pages. 2006-02-09 07:27:11 +00:00
Dries Buytaert 6b706b50b3 - Patch #48564 by JonBob: grammar fix. 2006-02-09 07:16:47 +00:00
Dries Buytaert ef6823d418 - Patch #47999 by chx: removed dead code. 2006-02-09 07:05:49 +00:00
Steven Wittens a0454264af - Node revisions 404/403 handling called drupal_not_found() twice. 2006-02-08 00:47:14 +00:00
Steven Wittens 24a598a912 - #48028: Better search form compatibility for lanky IE submission 2006-02-07 06:33:04 +00:00
Dries Buytaert dbdca484c1 - Patch #48021 by Zen: removed unused variable. 2006-02-06 05:54:17 +00:00
Dries Buytaert cce18287a6 - Patch #48042 by markus: removed unused variable. 2006-02-06 05:51:10 +00:00
Steven Wittens 9639b7dc56 - #44850: Allow search_box() to be used for non-node searches too 2006-02-05 19:17:00 +00:00
Steven Wittens d38429248e - #47510: Show JavaScript alert when PHP errors occur 2006-02-05 19:04:58 +00:00
Dries Buytaert 87f5947e51 - Patch #47868 by wtanaka: performance improvement: active topics block selects an unused column. 2006-02-04 09:56:04 +00:00
Dries Buytaert 91e152b8b8 - Patch #47705 by DriesK: comment moderation/approval wasn't working due to a bug with its forms. 2006-02-04 09:54:16 +00:00
Dries Buytaert d12fa41b27 - Patch #47584 by Kobus: improved throttle module help text. 2006-02-02 18:38:50 +00:00
Steven Wittens cebc884331 - #44133: User login block not fully themed 2006-02-02 01:51:54 +00:00
Dries Buytaert f76ff3d4b5 - Patch #47277 by markus: wrong URL in admin/logs/access/<item>. 2006-02-01 15:50:01 +00:00
Dries Buytaert 1db149b7d5 - Patch #46126 by killes: properly initialize the user roles array. 2006-02-01 15:43:11 +00:00
Dries Buytaert eb2bed2833 - Patch #46123 by markus: rebuild the menu after chaning settings. 2006-02-01 15:34:55 +00:00
Dries Buytaert a038201841 - Patch #47300 by kumo: fixed the re-index cancelation link. 2006-02-01 14:42:02 +00:00
Dries Buytaert 1f206ca2fe - Patch #47066 by Zen: removed dead code. 2006-02-01 14:40:20 +00:00
Dries Buytaert bfb535f63e - Patch #19444 by Gerhard: added missing initialization of array. 2006-02-01 14:28:48 +00:00
Dries Buytaert 31293d5a2e - Patch #46864 by stmind: fixed problem with node-level permissions and forums. 2006-02-01 14:19:44 +00:00
Dries Buytaert 71955d8c8a - Patch #45785 by Markus: Not enabled themes shouldn't appear in admin/themes/settings. 2006-02-01 14:14:04 +00:00
Dries Buytaert 514bef01f0 - Patch #46933 by Gerhard: moderated nodes are not indexed. 2006-02-01 14:11:53 +00:00
Dries Buytaert 93159ec416 - Patch #47056: improved the consistency of the help texts. 2006-02-01 14:09:53 +00:00
Dries Buytaert ece2aab4fd - Patch #47344 by gordon: fixed problem with anonymous user role not being properly initialized. 2006-02-01 14:08:26 +00:00
Dries Buytaert baa2ecc81c - Patch #47045 by Cvbge: fixed problem with deleting comments. 2006-02-01 14:04:50 +00:00
Dries Buytaert a6dac9d2ab - Modified patch #46227 by chx: comment token is broken. 2006-01-31 15:26:39 +00:00
Dries Buytaert 8b8a585ab2 - Patch #44724: fixed problem with profile.module. 2006-01-30 18:32:24 +00:00
Dries Buytaert 48b367c9d0 - Patch #46985 by merlinofchaos: fixed problem with blogapi checkboxes. 2006-01-30 18:30:44 +00:00
Dries Buytaert 52c0c18cad - Patch #46622 by Neil: more forgiving hook_user('view'). 2006-01-29 08:01:55 +00:00
Dries Buytaert 15ff8c8e32 - Patch #46827 by wulff: fixed incorrect links. 2006-01-29 07:50:45 +00:00
Dries Buytaert 2210b607b0 - Patch #46705 by killes: don't use array_merge. 2006-01-29 07:46:57 +00:00
Dries Buytaert 5229f329ac - Patch #46759 by chx: made it possible to change your password when using php5. 2006-01-29 07:28:52 +00:00
Dries Buytaert 30d59fd52c - Patch #46400 by m3avrck: clean up book navigation markup + UI improvements. (Hint: the forum module has previous and next links too.) 2006-01-27 18:57:13 +00:00
Dries Buytaert c046333610 - Patch #35499 by samo, m3avrck, et al: one-time login link does not provide adequate feedback to user errors. 2006-01-27 18:49:48 +00:00
Dries Buytaert d958fad0d6 - Patch #40200 by Ax, Drewish, Zen et al: user_view() isn't merging view items correctly + CSS cleanup + form handling cleanup. 2006-01-26 13:43:04 +00:00
Dries Buytaert e54db453e0 - Patch #36029 by asimmonds/dopry: fixed critical bug in block administration. 2006-01-26 09:06:23 +00:00
Dries Buytaert 6996292d52 - Patch #46262 by Neil: load the anonymous user on logout. 2006-01-26 08:52:24 +00:00
Dries Buytaert 794b53e195 - Patch #46137 by drumm/moshe: load anonymous user if authentication failed. 2006-01-26 08:51:10 +00:00
Dries Buytaert 20154df528 - Modified patch #45723 by wtanaka: creating a comment, editing a comment, or anything that validates a comment fails on PHP5. 2006-01-26 08:48:57 +00:00
Dries Buytaert 017cbf5e2b - Patch #46388 by m3avrck: removed some dead code. Yay. 2006-01-26 08:43:28 +00:00
Dries Buytaert a0c8a44228 - Patch #45076 by m3avrck: fix bad markup and title for some watchdog warnings. 2006-01-26 08:42:18 +00:00
Dries Buytaert 7946eca135 - Patch #35926 by asimmonds: make required vocabularies actually required. 2006-01-26 08:33:20 +00:00
Dries Buytaert 5d43619ca7 - Patch #40752 by moshe/wtanaka: login and regsiter links on each comment don't redirect back to the topic. 2006-01-26 08:27:58 +00:00
Steven Wittens 548e5d2b5f - #45742: XHTML slash fix. 2006-01-25 22:29:57 +00:00
Dries Buytaert f4f77fc851 - Patch #45742 by chx: fixed problem with closed tags being filtered out. 2006-01-25 19:20:28 +00:00
Dries Buytaert b8832d76a0 - Patch #40753 by wtanaka/killes: #comment-form has disappeared from comment.module 2006-01-25 08:54:40 +00:00
Dries Buytaert 53a2ca41b4 - Patch #23538 by Zen: mark required fields are being required. The new forms API will enforce this too. :) 2006-01-25 08:52:47 +00:00
Dries Buytaert d20ed7e3be - Patch #45665 by wtanaka/moshe: removed dead code! w00t! 2006-01-24 18:32:20 +00:00
Dries Buytaert 42c5683d41 - Patch #45845 by jaza/chx: set default value of weight-selectors to 0 for consistency with Drupal 4.6. 2006-01-24 18:27:29 +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 2fa3490ebf - Patch #46106 by markus: usability improvement: moved the block description textfield up. 2006-01-24 08:38:29 +00:00
Dries Buytaert 576399c1f4 - Modified patch #37754 by Thomas: made the status message show up. 2006-01-24 08:26:21 +00:00
Dries Buytaert 3c6066cffa - Patch #45706 by markus: keep up with CSS improvements. 2006-01-24 08:22:12 +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 bc9cbefa30 - Patch #45729 by markus, jvandyk, moshe: fixed problem with permission checking. 2006-01-23 08:06:43 +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 30acded344 - Patch #45697 by fgm: removed some useless global. 2006-01-22 07:43:19 +00:00
Dries Buytaert 542e6e0d22 - Patch #33102 by Kobus et al: show dates properly. 2006-01-22 07:37:17 +00:00
Dries Buytaert 4267ab5ea9 - Patch #45706 by markus: keeping up with CSS improvements. 2006-01-22 07:32:55 +00:00
Dries Buytaert b9240f63d7 - Patch #45684 by wtanaka: added missing ''s 2006-01-22 07:31:38 +00:00
Dries Buytaert b6b98bb60d - Patch #44101 by Cvbge: deleting a comment creates incorrect entry in node_comment_statistics. 2006-01-22 07:26:33 +00:00
Dries Buytaert 25f13a64c4 - Patch #45843 by markus: roles are no longer required. 2006-01-22 07:23:58 +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 0ff0c4beaa - Patch #42137 by Richard: deleting non existent user blocks the whole drupal site. 2006-01-20 09:37:00 +00:00
Dries Buytaert 4da1540a9f - Patch #45380 by Neil: usability improvement: disable anonymous commenting options when anonymous people can't comment. 2006-01-20 09:33:03 +00:00
Dries Buytaert 9c4d4fe7b2 - Patch #45228 and patch #45025 by m3avrck and Uwe: aggregator module HTML/CSS cleanups. 2006-01-20 09:09:18 +00:00
Dries Buytaert 8c02d4ec93 - Patch #45530 by Morbus: filter_form shouldn't default to #weight 0
When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight:

# Assign a decimal placeholder weight to preserve original array order
if (!isset($form[$key]['#weight'])) {
  $form[$key]['#weight'] = $count/1000;
}

The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002).

Consider the following pseudo example:

$form['game_title'] = array(
    '#type' => 'textfield',
    ...
    );
$form['game_description'] = array(
    '#type' => 'textarea',
    ...
    );
$form['game_format'] = filter_form(variable_get('game_format', NULL));
return $form;

Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001).

The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.
2006-01-20 09:04:34 +00:00
Dries Buytaert 4a7abb95b6 - Patch #45312 by Robin and Zen: made theme_user_list() more like theme_item_list(), made it robust for empty lists. 2006-01-20 08:58:09 +00:00
Dries Buytaert 10d7f7731b - Patch #45281 by chx: made categories with forum topics work again. 2006-01-19 17:55:54 +00:00
Dries Buytaert 4c1522e962 - Patch #45336 by Ber: bugfix: removed obsolete check_plain() check causing &amp; problems. 2006-01-19 09:26:15 +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
Steven Wittens ecd26ac8ae - #42277: Make node search indexing more robust against bad nodes and timeouts. 2006-01-18 21:31:40 +00:00
Dries Buytaert 52507806eb - Patch #45301 by Morbus: corrected the weight of form item titles of nodes. 2006-01-18 19:29:17 +00:00
Dries Buytaert 2220c03633 - Patch #45206 by markus: attempt at making the node filters somewhat translatable. 2006-01-18 19:09:46 +00:00
Dries Buytaert 47dd0142e6 - Patch #43325 by chx/drumm/merlinofchaos: critical bugfix: made editing comments work. 2006-01-18 15:09:39 +00:00
Dries Buytaert 46913a7efd - Patch #45259 by chx/drumm: cast to object required. 2006-01-18 14:30:42 +00:00
Dries Buytaert 186ebd18da - Patch #42072 by m3avrck: more improvements to the node revesion overview screen. 2006-01-17 21:19:43 +00:00
Dries Buytaert baaf319c59 - Patch #42072 by m3avrck: improved the revision overview screen. 2006-01-17 19:26:49 +00:00
Dries Buytaert df631e3c7f - Patch #45041 by markus: rand() -> mt_rand() + removed deprecated comments. 2006-01-17 18:32:33 +00:00
Dries Buytaert cb45cf58fb - Patch #40755 by wtanaka: make the comment block themable. 2006-01-17 18:02:23 +00:00
Dries Buytaert 51d2ac2b9e - Critical feature #40670: made the form array accessible. 2006-01-17 17:42:29 +00:00