Commit Graph

342 Commits (aca54cc198f64e9ef5df8bd5e75aacd1d2669c0b)

Author SHA1 Message Date
Dries Buytaert 574a2e47ee - Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block(). 2008-12-16 23:57:33 +00:00
Dries Buytaert 0b06c68b98 - Patch #288039 by sun, ff1, agentrickard, fgm, ultimateboy: improved usability of the aliased URL admin page. 2008-12-05 12:50:28 +00:00
Dries Buytaert b4534e89a5 - Patch #263445 by Dave Reid, merlinofchaos: replace improper use of drupal_to_js() with drupal_json(). 2008-11-26 13:52:13 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Dries Buytaert ad41b6dd93 - Patch #326607 by Ozeuss: fixed undefined property. 2008-11-02 16:11:31 +00:00
Dries Buytaert 5371104a2d - Patch #316225 by sun et al: allow behaviors to detach from AHAH/AJAX. 2008-10-29 10:01:28 +00:00
Dries Buytaert 12393a4d12 - Patch #320000 by lilou: unify doxygen @file documentation in tpl. 2008-10-13 12:31:43 +00:00
Angie Byron 8292bdd40a Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default. 2008-10-13 00:33:05 +00:00
Angie Byron a3a420c3e6 Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations. 2008-10-12 06:27:06 +00:00
Angie Byron f76acb2d9d #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron ecf7ad41d0 #242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default. 2008-10-11 21:11:02 +00:00
Angie Byron 7e02f2f782 #318984 by Xano and Dave Reid: Change 'Core - optional' to 'Core' in modules UI. 2008-10-11 02:33:14 +00:00
Angie Byron 6828096e7e #284887 by Dave Reid and dww: Disable autocomplete if user does not have access to the callback. 2008-10-10 07:49:49 +00:00
Angie Byron 464be0b8bd #318892 by justinrandell and chx: Add .install files to the list of files added to .info files. 2008-10-09 22:51:41 +00:00
Dries Buytaert 026af5df34 - Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens. 2008-10-06 11:30:12 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Dries Buytaert 2b07665033 - Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support. 2008-09-05 09:25:52 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert ccf1af94fa - Patch #245329 by christefano and dmitrig01: code comment love. 2008-07-24 16:25:19 +00:00
Dries Buytaert 57fe5103da - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert b87b7c2d01 - Patch #265040 by flobruit: Remove drupalModuleEnable() from simpletest. 2008-06-05 21:55:45 +00:00
Dries Buytaert c6c26b5e23 - Patch #247423 by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert 4efe4313a2 - Patch #252920 by flobruit and pwoladin: split profile module tests in smaller tests, and improved performance of tests. 2008-05-04 19:22:58 +00:00
Dries Buytaert 592a5d9f9a - Patch #252920 by flobruit: fixed broken profile module tests by rewriten them -- and added some more tests. 2008-05-02 15:24:47 +00:00
Dries Buytaert c14ac959c4 - Patch #225859 by webchick: fixed warning in author information block. 2008-04-28 09:11:58 +00:00
Dries Buytaert a7f12c0326 - Patch #251263 by catch: fixing up many code style issues in the tests. 2008-04-25 18:26:02 +00:00
Dries Buytaert 21576021bf - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert e19dfc75c9 - Patch #67523 by ricabrantes: fixed theme issue with avatars on account listings. 2008-04-23 18:25:08 +00:00
Dries Buytaert af474609e3 - Added a test framework to Drupal along with a first batch of tests for
Drupal core!  This is an important milestone for the project so enable
  the module and check it out ... :)

  Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
  Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
  Lal, Moshe Weitzman, and the many other people that helped with testing
  over the past years and that drove this home.

  It all works but it is still rough around the edges (i.e. documentation
  is still being written, the coding style is not 100% yet, a number of
  tests still fail) but we spent the entire weekend working on it in Paris
  and made a ton of progress.  The best way to help and to get up to speed,
  is to start writing and contributing some tests ... as well as fixing
  some of the failures.

  For those willing to help with improving the test framework, here are
  some next steps and issues to resolve:

    - How to best approach unit tests and mock functions?
    - How to test drupal_mail() and drupal_http_request()?
    - How to improve the admin UI so we have a nice progress bar?
    - How best to do code coverage?
    - See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 79b016d915 - Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php.  The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:

    block-user-0.tpl.php --> block-user-navigation.tpl.php
    block-user-1.tpl.php --> block-user-login.tpl.php

  You get the picture.
2008-04-10 10:28:23 +00:00
Dries Buytaert f5d4287cd5 - Patch #214271 by recidive: improved schema identation. 2008-03-15 12:31:29 +00:00
Dries Buytaert b05db1f176 - Patch #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert 60688d68db - Patch #181411 by Moshe: use schema API for saving and updating user records. 2008-02-18 16:53:37 +00:00
Gábor Hojtsy 1851421634 #172597 by Rob Loach: minor double escaping in profile module 2008-02-03 19:36:46 +00:00
Gábor Hojtsy 6644f59244 #211876 by hass: typo in profile module docs 2008-01-21 15:20:43 +00:00
Gábor Hojtsy b78a990270 #207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Dries Buytaert 178c28535b - Patch #204900 by webernet: code style fixes. Likely my last patch of the year. Fiew. Thanks all, and see you on the other side. :) 2007-12-31 08:54:37 +00:00
Dries Buytaert 2a1e980cdd - Patch #203509 by pwolanin, chx, cwgordon7 et al: fixed menu inheritenace. 2007-12-26 19:02:24 +00:00
Gábor Hojtsy e08abdd252 #194946 by dmitrig01, Pasqualle: christmas cleanup (some code style issues fixed) 2007-12-23 13:17:20 +00:00
Gábor Hojtsy fd7e7eb55e #202397 by keith.smith: document profile module drag and drop in help text and add info on how categories come to life / can be edited 2007-12-19 18:31:29 +00:00
Dries Buytaert c8b1ddf26a - Patch #164532 by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Gábor Hojtsy b6532a4fdb #200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy c6d841c096 #197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc 2007-12-13 09:34:40 +00:00
Gábor Hojtsy ad397fc1e4 #198231 by Alex UA and JirkaRybka: profile module had a parse error in PHP 4 and there was a weighting error with form elements 2007-12-09 13:03:01 +00:00
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy bad47cbf85 #193998 by Rob Loach and quicksketch: profile fields drag and drop 2007-11-30 09:02:51 +00:00
Dries Buytaert 7a47bef514 - Patch #162381 by Heine et al: properly escape strings. 2007-11-28 10:29:21 +00:00
Gábor Hojtsy 1a5f3010e3 #188498 by Rob Loach: user profile category names are stored and compared case insensitively, but the reserved category name check was not case insensitive 2007-11-26 08:30:19 +00:00
Gábor Hojtsy 1c02e47e69 #192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output 2007-11-20 11:39:48 +00:00
Gábor Hojtsy b0676c8f27 #192692 by jrbeeman and mfer: (security) protect profile category page menu items with the visibility settings already available 2007-11-19 11:24:11 +00:00
Dries Buytaert ce9c92ef4f - Patch #191544 by Crell: split up profile module. Tested by catch. 2007-11-13 12:28:36 +00:00
Gábor Hojtsy a0c920badf #140377 by tostinni: provide a default weight to new profile fields, so they will not be saved with -5 2007-10-24 13:27:12 +00:00
Gábor Hojtsy ed1a53698a #180897 by sun and dvessel: fix various XHTML validity issues in Drupal by closing unclosed tags, avoiding empty table containers, and so on 2007-10-11 09:51:29 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Dries Buytaert 39706e3c51 - Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes. 2007-10-05 14:43:26 +00:00
Gábor Hojtsy 25465ee76e #176503 by chx and bennybobw: hidden profile fields cannot be required and cannot be put on the registration form, so we needed warnings on the editing form to not let admins save forms set with these combinations. 2007-10-05 13:26:53 +00:00
Dries Buytaert b0493c003c - Patch #173303 by dvessel: fixed E_NOTICE. 2007-09-05 18:11:27 +00:00
Gábor Hojtsy 4072667666 #170546 by ChrisKennedy: fix 7 E_ALL notices in profile module 2007-09-01 06:15:33 +00:00
Dries Buytaert 5e73b66f3a - Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches. 2007-08-26 07:46:11 +00:00
Dries Buytaert 74292cd062 - Patch #80951 by killes, yched et al: block caching. 2007-08-19 08:08:45 +00:00
Gábor Hojtsy 626b757308 #165775 by hswong3i: profile name field has a unique key, so it should not allow NULL as a value 2007-08-09 11:05:40 +00:00
Gábor Hojtsy f23c24c8a3 #164935 by Ralf Stamm: standardize CVS Id tags in files:
- always include CVS Id tags in all files
 - add a new line after the CVS Id, if more code or phpdoc follows in the same code block
 - fix bogus Id tags previously added
2007-08-07 08:39:36 +00:00
Dries Buytaert 99276849da - Patch #162134 by dvessel: tplify profile module. 2007-08-02 10:36:42 +00:00
Gábor Hojtsy 0d86b33282 #161142 by dvessel: kill notice on profile page when there are less then three components in the path 2007-07-26 08:49:11 +00:00
Gábor Hojtsy b9c40a5237 #114103 by adixon and webchick, slightly modified: custom profile fields show above built-in account fields 2007-07-05 08:38:58 +00:00
Dries Buytaert e59852d336 - Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API.  We all support the
  features this patch added, yet not its actual design and implementation.
  After some talk, we decided that it would be better for Drupal -- in the
  long term -- not to go with a solution that isn't 100%. We also recognize
  that in the short term, this patch would have been useful addition. So
  let's figure out how we can implement this properly in D7.
2007-07-01 17:41:16 +00:00
Gábor Hojtsy 9e6ef53c2c #154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array 2007-06-30 19:46:58 +00:00
Gábor Hojtsy 2da0d41ac2 #123577 by spatz4000 (originally by tostinni for Drupal 5): do not allow hidden profile fields to be browsed by non-admins 2007-06-28 00:29:05 +00:00
Steven Wittens 569ede574f #115139: Add centralized json handler (and send text/javascript content-type header). 2007-06-22 08:46:16 +00:00
Steven Wittens fe8b35f527 #153781: Convert all remaining confirm_forms() to deletion api. 2007-06-22 08:32:28 +00:00
Steven Wittens e7d31327cf #144397: Use drupal_render for user profiles and convert to themer-friendly .tpl.php files. 2007-06-21 04:38:41 +00:00
Dries Buytaert 50197a8abc - Patch #145647 by spatz4000: unneeded fields in profile SQL query. 2007-06-15 21:48:02 +00:00
Dries Buytaert b0f759516a - Patch #150344 by webernet: language fixup. 2007-06-09 07:25:15 +00:00
Dries Buytaert 29eb5a6284 - Patch #146910 by dww: only allow enabling modules with the same Drupal core compatibility version. 2007-06-08 05:50:58 +00:00
Dries Buytaert e629deb94d - Patch #146667 by Jeff Eaton: form API fixes. 2007-06-04 15:56:34 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Dries Buytaert 3cafffe63f - Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave. 2007-05-25 12:46:46 +00:00
Dries Buytaert ac65ff9074 - Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :) 2007-05-14 13:43:38 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert 2127487be3 - Patch #121425 by Chris Bray: fixed capitalization glitch. 2007-04-23 17:02:17 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Dries Buytaert dd30a14208 - Patch #119114 by edkwh: profile fields incorrectly saved. 2007-03-30 09:38:13 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert a1e6728a46 - Patch #113603 by chx: first crack at re-implementing tabs. 2007-02-11 09:30:51 +00:00
Dries Buytaert 4980327172 - Patch #115315 by kkaefer: fixed autocomplete for users. 2007-02-02 15:25:25 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Dries Buytaert 35fa510657 - Patch #108731 by add1sun: code cleanup. 2007-01-23 19:09:46 +00:00
Steven Wittens 7f2a4fbfc5 #108379: Faster profile field validation (eregi to preg_match) 2007-01-11 03:31:18 +00:00
Steven Wittens 8bd8a97282 #108366: Fix type on profile help. 2007-01-11 03:16:50 +00:00
Dries Buytaert 74e3c74b81 - Always check the username. 2007-01-10 15:17:51 +00:00
Dries Buytaert 58de01883a - Patch #105216 by dww: profiles where no longer being themed due to missing CSS. 2006-12-27 12:55:52 +00:00
Steven Wittens 212a038129 #102871: Fix profile.module fields that appear on registration page 2006-12-13 23:50:26 +00:00
Steven Wittens b86f45b1e6 #100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads. 2006-12-10 09:54:35 +00:00
Dries Buytaert 039453164e - Patch #101546 by webchick: added PHPdoc comments. 2006-12-07 16:53:56 +00:00