Commit Graph

1100 Commits (0b06c68b988410c49c9f4ffbf8c3160d4e9da2c7)

Author SHA1 Message Date
Dries Buytaert a94f76737a - Patch by catch, chx: if the user has access to one content type only, jump to that page. 2008-08-14 13:47:35 +00:00
Dries Buytaert bc3c290269 - Patch by cwgordon7 and webchick: killed some exceptions. 2008-08-03 19:02:06 +00:00
Dries Buytaert 4e4e2b4992 - Patch by AjK, Heine, Stefan Esser, hswong3i, dmitrig01: remove useless db_escape_string(). 2008-08-02 19:09:33 +00:00
Dries Buytaert ccf1af94fa - Patch by christefano and dmitrig01: code comment love. 2008-07-24 16:25:19 +00:00
Dries Buytaert 892d001d7a - Patch by zeta ζ: made it easier to translate the teaser settings. 2008-07-19 19:04:24 +00:00
Dries Buytaert 57fe5103da - Patch by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert 8d38010d8d - Patch by dropcube: corrected formatting of links. 2008-07-10 11:12:02 +00:00
Dries Buytaert 4ac9204355 - Patch by boombatower: rewrote the node revisioning tests to be more extensive and to fix some exceptions in the tests. 2008-06-26 11:40:07 +00:00
Dries Buytaert 6636c0cc99 - Patch by Gábor Hojtsy, webchick, stefgosselin: fixed E_NOTICE on block administration. 2008-06-25 09:52:41 +00:00
Dries Buytaert 6ecf55d319 - Patch by traxer: fixed E_NOTICE warning. 2008-06-25 09:18:48 +00:00
Dries Buytaert b5d491624e - Patch by catch: small usability improvements to taxonomy and content type overview pages. 2008-06-12 19:07:36 +00:00
Dries Buytaert c529e4afbe - Patch by webchick: document all constants. 2008-05-26 17:12:55 +00:00
Dries Buytaert 00084e0dd3 - Patch by Robert Douglas: set all the default scoring factors to zero. This patch is a usability improvement (better out-of-the-box search relevancy) and a performance improvement (greatly simplified search queries). 2008-05-15 21:40:31 +00:00
Dries Buytaert 11aeff6016 - Patch by douggreen et al: refactor node_rank to modules can add scoring factors. 2008-05-14 11:10:54 +00:00
Dries Buytaert 580729b029 - Patch by Robert Douglas: removing extra join from do_search(). 2008-05-13 17:40:43 +00:00
Dries Buytaert 2350fda4dc - Fixed broken URLs. 2008-05-13 17:37:58 +00:00
Dries Buytaert 003108639a - Patch by recidive: fixed broken links. 2008-05-10 13:19:50 +00:00
Dries Buytaert 2305812e8a - Patch by robert douglas and senpai: fixed a division by zero. 2008-05-10 07:52:52 +00:00
Dries Buytaert ccef07e59e - Patch by dropcube: fixed typo. 2008-05-10 07:05:40 +00:00
Dries Buytaert 2e18cb8924 - Patch 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 d1bc889242 - Patch by JohnAlbin: link attributes added to l() incorrectly. 2008-05-02 15:11:05 +00:00
Dries Buytaert a7f12c0326 - Patch by catch: fixing up many code style issues in the tests. 2008-04-25 18:26:02 +00:00
Dries Buytaert 21576021bf - Patch by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +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 88600018cf - Patch by Robert Douglass: made it possible to do language-aware searches. 2008-04-20 05:31:27 +00:00
Dries Buytaert 3ad38dbbbd - Patch by mfb: make sure RSS feeds validate. 2008-04-19 22:17:57 +00:00
Dries Buytaert 5e16a499ce - Patch by jpoesen and Garrett Albright: fixed two typos in the node module's install file. 2008-04-15 08:39:03 +00:00
Dries Buytaert 56d2664a90 - Patch 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 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 1dfd1717c1 - Patch by matt2000 et al: move 'content types' to 'site building' per the UMN usability study results. 2008-04-06 18:50:12 +00:00
Dries Buytaert c3d113aa90 - Patch by keith.smith: we forgot to remove a reference to the 'story' node type. It was renamed to 'article'. 2008-04-01 19:45:21 +00:00
Dries Buytaert a490884614 - Patch by jvandyk: fix negative percentage on search status page. 2008-03-27 07:32:00 +00:00
Dries Buytaert f5d4287cd5 - Patch by recidive: improved schema identation. 2008-03-15 12:31:29 +00:00
Dries Buytaert ef706b824e - Patch by keith.smith and flobruit: de-html selected interface strings. 2008-03-13 21:26:09 +00:00
Dries Buytaert 6aa7c385e3 - Patch by gpk: improved code comment. 2008-03-11 08:17:56 +00:00
Dries Buytaert 584f3e886a - Patch by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. 2008-02-20 13:46:43 +00:00
Dries Buytaert b05db1f176 - Patch by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert 4a96b2c52b - Patch by AjK: fixed some watchdog calls. 2008-02-18 17:48:05 +00:00
Dries Buytaert 01a4c0d827 - Patch by pwolanin: removed drupal_clone() hack in favor of the real PHP5 clone(). 2008-02-17 19:29:07 +00:00
Dries Buytaert b8a1eab1fb - Patch by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy a387aaee17 by Pancho: use UTF-8 aware string length counting in node_teaser() (minor) 2008-02-03 19:41:47 +00:00
Gábor Hojtsy 41e86f2ef4 by gdevlugt: node filtering theme function was not applied (minor) 2008-02-03 19:39:52 +00:00
Gábor Hojtsy ab7fb80056 by Eaton: nid was not set in node creation (programatic node creation regression) 2008-02-03 19:26:10 +00:00
Gábor Hojtsy a00792f9ef by gpk with documentation from myself: blog API clients do not pass on the teaser_include flag, so only act on that flag, if we have it 2008-02-03 19:07:32 +00:00
Gábor Hojtsy 1909326e1b by Pasqualle and Pancho: phpdoc improvements and code style fixes in node module 2008-01-29 11:08:17 +00:00
Gábor Hojtsy 0221e61258 by dopry and moshe weitzman: typo in rss feed build mode and better link handling 2008-01-28 15:51:29 +00:00
Gábor Hojtsy aa512439c8 suggestion by pp, patch by gdevlugt: use format_date() for RSS item dates instead of date() to honor site time zone settings 2008-01-27 18:13:04 +00:00
Gábor Hojtsy 9f99a903b8 by Lynn, traxer, pwolanin: migrate node type URLs to a path model based on menu paths, so conflicts between action and node type names are not a problem 2008-01-27 18:03:05 +00:00
Gábor Hojtsy b107f9d7f3 by Lynn: fix HTML validation problem with node term listings 2008-01-25 21:21:44 +00:00
Gábor Hojtsy a541e5fbfb follow up by gpk: minor code comment and whitespace cleanup 2008-01-10 15:57:10 +00:00
Gábor Hojtsy b4520177fb by soxofaan: fix notice on node/add page for anonymous users 2008-01-10 14:31:23 +00:00
Gábor Hojtsy 2669c24bd4 follow up by keith.smith: typo in code comment 2008-01-09 21:40:10 +00:00
Gábor Hojtsy db55c269da by theborg, quicksketch, gpk, catch: fix bugs with teaser splitter in JS and no-JS mode 2008-01-09 12:10:04 +00:00
Gábor Hojtsy ab036224bb by yched: fix contradictory messages after node access rebuild 2008-01-08 11:27:16 +00:00
Gábor Hojtsy b78a990270 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Gábor Hojtsy 1b5ce2b18f report by yojoe, patch by myself: user provided data in menu titles should be check_plain()-ed not t()-ed 2008-01-04 13:50:50 +00:00
Gábor Hojtsy 195fe364d2 by David_Rothstein: some core hook_access() implementations are not using the passed in account 2008-01-01 17:46:30 +00:00
Dries Buytaert 178c28535b - Patch 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 a88c178b91 - Patch by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 34afaf8f28 follow up by pwolanin: fix bad breadcrumbs and missing/wrong titles 2007-12-27 14:03:37 +00:00
Dries Buytaert 6f178ad61f - Patch by pwolanin, Rob Loach: fixed broken breadcrumbs. 2007-12-26 21:12:12 +00:00
Gábor Hojtsy ac4c8f7ab0 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy ed48af4c41 by hunmonk and Pasqualle: node type related variables were not properly renamed, when node type names changed 2007-12-22 23:21:54 +00:00
Gábor Hojtsy 152322daca by cwgordon7, theborg: fix node revision view page load argumnets 2007-12-21 11:55:23 +00:00
Gábor Hojtsy 1e63dd1ae6 by chx: centralizing permission checking code in node revision handling, removing lots of duplicate code 2007-12-20 09:20:41 +00:00
Gábor Hojtsy f761b8745c by yched, KarenS: move node batch operations to node.admin.inc for performance and fix a buggy message 2007-12-20 09:08:35 +00:00
Gábor Hojtsy 2ff7526e77 by O Govinda, gaele and keith.smith: reworked node help, removing mention of UI elements we don't have, and linking in other features, we do have; also easier on the translators with text broken up into shorter parts 2007-12-19 15:55:02 +00:00
Dries Buytaert c8b1ddf26a - Patch by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Dries Buytaert 02539ac3f8 - Patch by bjaspan and hunmonk: no 'char' data type in Schema API (and removed spaces). 2007-12-18 10:31:42 +00:00
Gábor Hojtsy 223744e8bb by Lynn, Pasqualle: fix notice in node_forms() when there are no node types defined 2007-12-17 12:41:20 +00:00
Gábor Hojtsy a0bea00402 by JirkaRybka: add body field wrapper in node form for easier themeing 2007-12-17 10:14:05 +00:00
Gábor Hojtsy 2e2f8dd8a9 by douggreen: fix content search in PostgreSQL 2007-12-14 19:19:46 +00:00
Gábor Hojtsy 5804090b5a by catch: AND was used in place of WHERE in search module reindex code 2007-12-14 18:40:32 +00:00
Gábor Hojtsy b6532a4fdb 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 86de9aade3 by theborg: fix node_make_unsticky_action() code comments and promote flag in node_unpromote_action() 2007-12-13 13:06:45 +00:00
Gábor Hojtsy 96668d576c (actually a fix to ) by bjaspan: do not rely on buggy MySQL behavior of assuming empty default value for NOT NULL columns, fixing poll submission on PostgreSQL 2007-12-11 14:31:12 +00:00
Gábor Hojtsy 8028bc2e76 by JirkaRybka: add target attribute to 'read more' links generated to RSS feed teasers for RSS reader usability 2007-12-11 12:42:37 +00:00
Gábor Hojtsy acea23e9fe by Pancho: (usability) standardize on '@type %title' usage in node feedback messages 2007-12-11 12:13:39 +00:00
Gábor Hojtsy 680b99fcba by mcarbone: resolve conflicts of n.uid and r.uid, so the node author uid takes precedence over the revision uid 2007-12-10 10:52:52 +00:00
Gábor Hojtsy 3355267c3b by JirkaRybka, documentation added: empty feeds resulted in feeds with all nodes instead 2007-12-10 10:29:19 +00:00
Gábor Hojtsy 5622bce2d5 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 d83289f857 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions 2007-12-06 09:58:34 +00:00
Gábor Hojtsy afe3f4318d security fixes forward ported from Drupal 5.2 - previously not committed parts of http://drupal.org/cvs?commit=74833 2007-12-05 19:12:59 +00:00
Gábor Hojtsy 5bb6927e18 report by daniel.soneira, patch by myself, tested by Freso: several fixes to url() generation and path aliasing, fixing path aliases for node paths and front page links in themes 2007-12-05 16:34:07 +00:00
Gábor Hojtsy 80f533d307 by chx and myself: confirm forms for node revision and delete forms (avoiding CSRF) 2007-12-03 07:45:15 +00:00
Gábor Hojtsy 259e2f5c7e by catch: standardise on Save and Preview button terminology (for comments) and button placement for comments and nodes, so Save is always the leftmost button, and there is no guessing to find it 2007-11-29 11:54:37 +00:00
Gábor Hojtsy 79792eeb6f by gpk and Bevan: only treat newlines teaser breakers, if the newline filter is present in the particular input format 2007-11-29 11:29:24 +00:00
Dries Buytaert 7a47bef514 - Patch by Heine et al: properly escape strings. 2007-11-28 10:29:21 +00:00
Gábor Hojtsy 172a35faf4 spin off coding style fixes to let the substance of the patch get reviewed 2007-11-27 13:31:04 +00:00
Gábor Hojtsy f77b60f291 by hass and yhager: CSS inherit was completely misused in RTL CSS files 2007-11-27 12:09:27 +00:00
Gábor Hojtsy 61f04c91c9 : remove misleading reference to node formats in node_teaser() phpdoc 2007-11-27 11:36:35 +00:00
Gábor Hojtsy a960d4d618 by blakehall, JirkaRybka, catch: improve usability of content editing permission names 2007-11-26 11:44:04 +00:00
Gábor Hojtsy 6383dcc725 by gpk: the PHP format was moved to php/0 instead of filter/2 and this was not updated in the node teaser building code 2007-11-24 21:02:24 +00:00
Gábor Hojtsy 5dcacebf26 rollback and additional comments by chx: developers can modify menu editing behavior with hook_form_alter(), no need for menu API hacks, which were half done anyway 2007-11-24 20:59:32 +00:00
Gábor Hojtsy c975b69d1c by hazexp, webernet, keith.smith: unify module/theme/translation download links and include more pointers to these locations 2007-11-24 20:35:37 +00:00
Gábor Hojtsy b501ff69c6 by Bevan, tested by gpk: teaser splitter PHP code was breaking too early, not taking break type precedence into account 2007-11-23 12:27:38 +00:00
Gábor Hojtsy 4c0a0006bd by bjaspan: null value in revision log field violated non-null constraint in PostgreSQL 2007-11-20 18:20:37 +00:00
Gábor Hojtsy 135f366c2b patch by myself: take node by reference, when revisionn is saved, so we get the vid property updated on PHP 4 too 2007-11-20 09:47:07 +00:00
Gábor Hojtsy c5f767073e follow up note by Steven Wittens: administrator entered text should be filtered with filter_xss_admin(), not the less permissive filter_xss() 2007-11-16 09:52:37 +00:00
Gábor Hojtsy 9c6e886368 by Arancaytar: use filter_xss() to filter content type descriptions, instead of printing them verbatim (on one occassion) and printing them with check_plain() erroneusly on another 2007-11-15 23:55:52 +00:00