Commit Graph

1187 Commits (06dbf309b64fda1b963160dae3a160009c6c5491)

Author SHA1 Message Date
Dries Buytaert 11aeff6016 - Patch #145242 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 #257279 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 #240387 by recidive: fixed broken links. 2008-05-10 13:19:50 +00:00
Dries Buytaert 2305812e8a - Patch #252580 by robert douglas and senpai: fixed a division by zero. 2008-05-10 07:52:52 +00:00
Dries Buytaert ccef07e59e - Patch #256841 by dropcube: fixed typo. 2008-05-10 07:05:40 +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 d1bc889242 - Patch #227830 by JohnAlbin: link attributes added to l() incorrectly. 2008-05-02 15:11:05 +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 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 #154151 by Robert Douglass: made it possible to do language-aware searches. 2008-04-20 05:31:27 +00:00
Dries Buytaert 3ad38dbbbd - Patch #232433 by mfb: make sure RSS feeds validate. 2008-04-19 22:17:57 +00:00
Dries Buytaert 5e16a499ce - Patch #236242 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 #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 1dfd1717c1 - Patch #240387 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 #241021 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 #239196 by jvandyk: fix negative percentage on search status page. 2008-03-27 07:32:00 +00:00
Dries Buytaert f5d4287cd5 - Patch #214271 by recidive: improved schema identation. 2008-03-15 12:31:29 +00:00
Dries Buytaert ef706b824e - Patch #229517 by keith.smith and flobruit: de-html selected interface strings. 2008-03-13 21:26:09 +00:00
Dries Buytaert 6aa7c385e3 - Patch #226480 by gpk: improved code comment. 2008-03-11 08:17:56 +00:00
Dries Buytaert 584f3e886a - Patch #30984 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 #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert 4a96b2c52b - Patch #220893 by AjK: fixed some watchdog calls. 2008-02-18 17:48:05 +00:00
Dries Buytaert 01a4c0d827 - Patch #222385 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 #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy a387aaee17 #204071 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 #197833 by gdevlugt: node filtering theme function was not applied (minor) 2008-02-03 19:39:52 +00:00
Gábor Hojtsy ab7fb80056 #216061 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 #216890 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 #202382 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 #213657 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 #212864 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 #204415 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 #213150 by Lynn: fix HTML validation problem with node term listings 2008-01-25 21:21:44 +00:00
Gábor Hojtsy a541e5fbfb #201667 follow up by gpk: minor code comment and whitespace cleanup 2008-01-10 15:57:10 +00:00
Gábor Hojtsy b4520177fb #207990 by soxofaan: fix notice on node/add page for anonymous users 2008-01-10 14:31:23 +00:00
Gábor Hojtsy 2669c24bd4 #201667 follow up by keith.smith: typo in code comment 2008-01-09 21:40:10 +00:00
Gábor Hojtsy db55c269da #201667 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 #205792 by yched: fix contradictory messages after node access rebuild 2008-01-08 11:27:16 +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
Gábor Hojtsy 1b5ce2b18f #206272 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 #203582 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 #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 a88c178b91 - Patch #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 34afaf8f28 #176748 follow up by pwolanin: fix bad breadcrumbs and missing/wrong titles 2007-12-27 14:03:37 +00:00
Dries Buytaert 6f178ad61f - Patch #176748 by pwolanin, Rob Loach: fixed broken breadcrumbs. 2007-12-26 21:12:12 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy ed48af4c41 #181195 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 #202895 by cwgordon7, theborg: fix node revision view page load argumnets 2007-12-21 11:55:23 +00:00
Gábor Hojtsy 1e63dd1ae6 #201536 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 #164510 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 #103041 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 #164532 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 #195496 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 #201534 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 #200763 by JirkaRybka: add body field wrapper in node form for easier themeing 2007-12-17 10:14:05 +00:00
Gábor Hojtsy 2e2f8dd8a9 #199439 by douggreen: fix content search in PostgreSQL 2007-12-14 19:19:46 +00:00
Gábor Hojtsy 5804090b5a #199158 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 #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 86de9aade3 #200540 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 #195169 (actually a fix to #199161) 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 #196953 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 #116726 by Pancho: (usability) standardize on '@type %title' usage in node feedback messages 2007-12-11 12:13:39 +00:00
Gábor Hojtsy 680b99fcba #198187 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 #188908 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 #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 d83289f857 #196667 (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 #196410 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 #184968 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 #195678 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 #155337 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 #162381 by Heine et al: properly escape strings. 2007-11-28 10:29:21 +00:00
Gábor Hojtsy 172a35faf4 #184968 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 #195543 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 #115912: remove misleading reference to node formats in node_teaser() phpdoc 2007-11-27 11:36:35 +00:00
Gábor Hojtsy a960d4d618 #120960 by blakehall, JirkaRybka, catch: improve usability of content editing permission names 2007-11-26 11:44:04 +00:00
Gábor Hojtsy 6383dcc725 #194994 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 #194166 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 #175876 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 #180425 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 #188462 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 #193064 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 #189409 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 #189409 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
Gábor Hojtsy 0afce23ce8 #191931 by webchick: user avatars were not displayed on nodes 2007-11-14 12:43:13 +00:00
Dries Buytaert 8d01757e5d - Patch #187799 by greggles et al: fixed problem with revisions being associated with the wrong user. 2007-11-13 14:56:14 +00:00
Dries Buytaert 17d1527e3d - Patch #146466 by douggreen, Steven et al: Remove temporary table usage from search module 2007-11-13 14:04:08 +00:00
Gábor Hojtsy c856eac135 #191104 by keith.smith: (usability) change occurances of node to 'post' and 'content' as appropriate 2007-11-12 19:06:33 +00:00
Gábor Hojtsy 2eeb8862a1 #188914 by Pasqualle: type and language filtering on node admin page was broken due to missing breaks in switch 2007-11-12 17:26:16 +00:00
Dries Buytaert 073eb45833 - Patch #191073 by Keith: another good string cleanup by Keith. (Also removed some trailing whitespace.) 2007-11-11 06:56:44 +00:00
Gábor Hojtsy bad54847fa #180191 by chx: fix notice in teaser handling 2007-11-05 15:14:54 +00:00
Gábor Hojtsy 91e980a271 #187881 by mooffie: fix misnamed database table names in schema documentation 2007-11-04 14:33:07 +00:00
Dries Buytaert 8abed2820c - Patch #186718 by bdragon: removed redundant query. 2007-10-28 11:43:04 +00:00
Gábor Hojtsy de552d33b5 #40934 by catch and fajerstarter: remove admin search page as it was broken and the same as the usual search page anyway 2007-10-24 14:38:38 +00:00
Gábor Hojtsy c5fb69fb08 #156144 by lyricnz: do not show 'select all' checbox when there are no rows in the node admin table 2007-10-24 09:15:04 +00:00
Gábor Hojtsy 9db0fca72f #184694 by andremolnar: (regression) allow themes to override *_node_form forms by node type, not just generically 2007-10-22 10:37:14 +00:00
Gábor Hojtsy b64adf07c8 #182645 by scor: clean up concatenations to be in line with core coding standards 2007-10-19 10:19:03 +00:00
Dries Buytaert b274bf87f3 - Patch #182950: fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy 0ada4f136a #72487 by chx, pwolanin and moshe weitzman: let node_access() work on arbitrary users, so independent user access checks can be done in a request 2007-10-11 16:37:43 +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
Gábor Hojtsy afff4edd2e #116200 by njivy: initilize node type data before trying to delete a node type, so we have data about what do we delete 2007-10-08 13:04:32 +00:00
Dries Buytaert 5a752dc507 - Added missing .install files. Forgot to commit those. 2007-10-05 16:07:22 +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 0e04fbd43d #170514 by pwolanin: block and page cache should be cleaned when a menu item is changed (saved, deleted) or the menu router is rebuilt 2007-10-05 13:17:09 +00:00
Gábor Hojtsy 00c8725480 #89376 by Eaton: add the preview build mode flag prior to hook_form() being called 2007-10-05 13:14:04 +00:00
Dries Buytaert 5686eea147 - Patch #164510 by yched et al: node.changed not updated on mass operations. 2007-10-03 17:35:22 +00:00
Dries Buytaert 4bb5080ebe - Patch #169982 by moshe, eaton, bjaspan, nedjo, yched, et al: missing feature from schema API: load/save records based upon schema. 2007-10-02 16:15:56 +00:00
Gábor Hojtsy 74def328c8 #167284 by Heine and pwolanin: proper field type placeholders in IN() queries, setting a best practice to avoid vulnerabilities 2007-09-27 16:52:00 +00:00
Gábor Hojtsy 5d5b285dde #174220 by webernet: fix noticed in node module when a user has no adminiter nodes permission 2007-09-27 12:56:04 +00:00
Dries Buytaert 9a0cbf62e1 - Patch #135926 by mooffie: hook_link is called by the wrong parameters. Fixed disconnect between node_view() and hook_link(). 2007-09-26 18:22:34 +00:00
Gábor Hojtsy 5d1c888949 #177182 by hswong3i: the range query in node_update_index() used more arguments the placeholders 2007-09-25 15:05:01 +00:00
Gábor Hojtsy 6cf4f6b1ce #177829 by jjeff: search indexing did not invoke the nodeapi alter hook, so what the user seen and what was indexed was different 2007-09-25 15:02:11 +00:00
Gábor Hojtsy de1c51958c #176367 by chx: not all node type have body labels, so this might not be set 2007-09-25 12:07:14 +00:00
Gábor Hojtsy a8d2453b17 #177654 by chx: admin/content has items with comment, feed, etc management, so a node admin permission should not be required to visit it 2007-09-25 11:49:37 +00:00
Gábor Hojtsy 6583ac5aee #175743 by Desbeers: fix numerous issues around node submission dates and content editing 2007-09-19 18:11:08 +00:00
Gábor Hojtsy c3ef96b8b0 #174993 by peterx, webchick and Freso@freso.dk: WAI AA comformant title for read more links, ie. we are not repeating the same text but include meaningful information 2007-09-14 09:37:29 +00:00
Gábor Hojtsy 21ac9f1917 #174708 by multiple contributors: update jQuery to 1.2 2007-09-12 18:29:32 +00:00
Gábor Hojtsy ac7637bc9b #172773 by numerous contributors: Make the actions interface usable by mere mortals (including rename of actions.module to trigger, but keeping the actions themselfs).
Complete previous history of actions module:
 - #148410 by jvandyk: added rewrite of the actions module!
 - #155986 by Uwe: fixed typos.
 - #155828 by Eaton, pwolanin and jvandyk: let actions live even if actions.module is not turned on
2007-09-11 14:50:05 +00:00
Gábor Hojtsy bfe2229b53 #172977 by pwolanin: fix E_ALL NOTICEs with some taxonomy module queries 2007-09-09 20:16:09 +00:00
Gábor Hojtsy e1022123bb #173995 by Desbeers: when creating a new node, default values are inserted into the object on preview, overwriting existing user provided values 2007-09-09 19:52:29 +00:00
Dries Buytaert ab1715750a - Patch #172961 by webernet: code style cleanup. 2007-09-05 08:42:02 +00:00
Dries Buytaert 72f9a97681 - Patch #172860 by chx: node search does not support revisioned terms. 2007-09-05 08:35:14 +00:00
Gábor Hojtsy 1b658ae850 #144337 by yched: batch support for node access table rebuilding 2007-09-02 14:42:30 +00:00
Gábor Hojtsy 94c4e03548 #115689 by chx: new content types should not overwrite old ones 2007-09-02 12:36:14 +00:00
Gábor Hojtsy 4e0071fb8a #111127 rollback by chx, slightly extended: roll back node_load cache, it needs more thought and discussion, so postponed until at least Drupal 7 2007-08-30 15:31:46 +00:00
Gábor Hojtsy 82fe475b60 #163679 by AjK and ChrisKennedy: fix node_configure_rebuild_confirm_submit() parameters 2007-08-29 19:56:09 +00:00
Gábor Hojtsy 43d73f81c9 #166071 by jjeff and dvessel: move default template preprocess code to template_preprocess, and add *lots* of documentation to template files and functions 2007-08-28 11:35:34 +00:00
Gábor Hojtsy f0c0447e78 #111127 follow up patchby myself: document the node_load internal cache and external cache, and how they interoperate 2007-08-26 14:15:51 +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
Gábor Hojtsy 801756e7e6 #111127 by chx: cache node_load(), so heavy operations loading data from external sources and only invoked once (note that you should do everything dynamic in the view op, not the load op) 2007-08-25 09:25:49 +00:00
Dries Buytaert f8526cb55f - Patch #167109 by pwolanin and Crell: split node.module. 2007-08-20 07:03:08 +00:00
Dries Buytaert 74292cd062 - Patch #80951 by killes, yched et al: block caching. 2007-08-19 08:08:45 +00:00
Dries Buytaert c17499b6fe - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. (Correct version this time.) 2007-08-12 16:12:00 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Gábor Hojtsy 36cf322479 #165766 by hswong3i: node SQL fixes - primary keys have indexes themselfs, unique columns should not allow NULL 2007-08-10 11:14:22 +00:00
Dries Buytaert cf83099de1 - Patch #153425 by pwolanin: fix use of raw in node module. 2007-08-10 06:29:01 +00:00
Gábor Hojtsy 509d570bbd #160039 by prakashp, chx and pwolanin: fix node saving:
- centralize/reuse some node form saving code
 - fix uploads without JS
 - fix reappearing teasers on node save
2007-08-09 11:01:00 +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 c70b19a91b - Patch #163723 by Eaton and Frando: fix default page.tpl markup (and removed some whitespace). 2007-08-02 20:08:53 +00:00
Dries Buytaert e7f195bbee - Patch #146425 by pwolanin et al:
* Removes the hard-coded 'book' type and perform all node actions
      equally on any node type via hook_nodeapi.
    * Achieves 100% integration with the menu system.  Improves
      performance of book rendering.
    * All the algorithms have been changed to use the tree data structure
      returned by the menu system.
    * Added support for 'multiple books'.
    * Some UI improvements.

  This is a momumental patch that took 69 iterations. Although there is
  room for improvement, this is a big step forward.  Thanks for the
  persistence, pwolanin.
2007-07-30 18:20:21 +00:00
Dries Buytaert 49ca29d1b2 - Patch #157353 by tangent: fix site slogan in RSS feeds. 2007-07-27 13:07:06 +00:00
Gábor Hojtsy 55f2a1cfd2 #157942 by drumm: only acquire node grants if node loaded successfuly, otherwise there are nasty permission problems 2007-07-26 07:49:40 +00:00
Gábor Hojtsy c7c88bbf3f #161963 by Gurpartap Singh: proper links to Drupal.org module and theme download pages 2007-07-25 14:31:48 +00:00
Gábor Hojtsy e3fa6893c2 #124485 by Wesley Tanaka: move some remaining node.css comment styles to the actual comment.css 2007-07-24 21:33:53 +00:00
Dries Buytaert b1285bb979 - Patch #147061 by yched, dvessel, pwoladin: properly delete node types. (These guys are becoming a dream team. Good job.) 2007-07-21 09:55:18 +00:00
Dries Buytaert 1cd02d7ec1 - Patch #160579 by pwolanin: removed some dead code from node_form_submit(). 2007-07-20 08:45:07 +00:00
Gábor Hojtsy 64def7cb3e #100641 by kkaefer, ChrisKennedy and RobRoy: change 'Submit' buttons to 'Save' to compliy with the desktop metaphor and actually tell what the button does ('we know it submits the form, but what it does?') 2007-07-16 12:43:06 +00:00
Gábor Hojtsy 4a65afa132 #100636 by kkaefer, webchick and Arancaytar: more specific page titles for node creation and editing 2007-07-16 12:34:32 +00:00
Dries Buytaert 0eb9eb2f14 - Patch #157709 by tangent: avoid namespace collisions. 2007-07-16 07:40:27 +00:00
Dries Buytaert cd8690fb85 - Patch #158790 by kkaefer: usability improvement: automatically select proper radio button. 2007-07-14 15:28:02 +00:00
Gábor Hojtsy 51b789c0d3 #156778 by asimmonds: revert node and comment deletions to the pre-deletion API state 2007-07-13 20:04:47 +00:00
Gábor Hojtsy 806d0a3dee #156910 by asimmonds: fix code indentation problems introduced with new code in this development cycle; only whitespace changes 2007-07-05 08:48:58 +00:00
Dries Buytaert 11c3b79776 - Patch #155747 by merlinofchaos: node.tpl.php theme definition in the wrong place 2007-07-03 20:31:15 +00:00
Dries Buytaert 3f03b04291 - Patch #126229 by ChrisKennedy, asimmonds et al: increase node title maxlength to 255 so people can use it to enter publictions with really long titles. ;) 2007-07-03 19:42:14 +00:00
Dries Buytaert b6c069ad7d - Patch #20295 by pyromanfo, webchick, Gurpartap Singh et al: allow forum topics to be custom node types. 2007-07-02 17:08:36 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 3409019929 #146386 by kbahey: refactor 'submitted by user - date' themeing and make it more verbose to translate 2007-07-01 23:15:41 +00:00
Gábor Hojtsy ef29077044 #108456 by RobRoy: optional custom teaser lengths and much needed documentation on how node_teaser works 2007-07-01 21:52:43 +00:00
Gábor Hojtsy b33070d176 #152493 by yched, freeman and pwolanin: Minimalistic approach to node rendering styles for D6 2007-07-01 21:16:09 +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
Dries Buytaert 2348e7de6f - Patch #148410 by jvandyk: added rewrite of the actions module!
This is a very important patch, but one that is merely an enabler.
  Hopefully we'll see more people submitting "action patches" in the
  near future.

  Thanks for the hard work and persistence, John.  *If* you decide
  to update the Drupal Pro Development book to Drupal 6, make sure
  to add a chapter on actions. ;)
2007-06-29 18:06:51 +00:00
Dries Buytaert 2bf7c1c0e3 - Patch #147662 by Gordon et al: add new #pre_render callback to drupal_render(). 2007-06-28 07:48:41 +00:00
Gábor Hojtsy 03d5ff739e #136585 by hunmonk and pwolanin: fix too tight permissions on admin/content 2007-06-28 00:48:26 +00:00
Gábor Hojtsy c362ae539a #153998 by pwolanin: separate edit a delete permissions, so people who can edit a node cannot delete it too automatically 2007-06-26 22:27:25 +00:00
Gábor Hojtsy a9749f8b72 #154224 by hunmonk: add destination argument to _drupal_delete(), instead of using drupal_goto() directly, so the callback cycle can complete 2007-06-26 20:30:49 +00:00
Steven Wittens 7093495f7c #154046: Optimize confirm_form syntax for common usage (and fix some $form_state bugs). 2007-06-24 10:09:53 +00:00
Steven Wittens 028c8e6050 #148678: Fix notices/warnings on invalid paths like 'node/zzz'. (chx/pwolanin/webernet) 2007-06-24 00:38:40 +00:00
Gábor Hojtsy 6082539532 #133028 by alienbrain and Moshe Weitzman: allow positioned submit buttons in node forms via form_alter by not hard-coding the button order 2007-06-23 13:04:29 +00:00
Steven Wittens fe8b35f527 #153781: Convert all remaining confirm_forms() to deletion api. 2007-06-22 08:32:28 +00:00
Steven Wittens 38a1300df2 #147723: Deletion API (by hunmonk). Woop woop. 2007-06-22 05:44:21 +00:00
Dries Buytaert aa308028aa - Patch #131026 by James et al: OpenID client support for Drupal!
Let this be the day where we help revolutionize the online society, and the
  way websites and web services interoperate.  Or something.
2007-06-18 16:09:39 +00:00
Gábor Hojtsy 8b8d7e6a4d #152490 by Keymone: missing {} around node table name 2007-06-17 14:37:33 +00:00
Dries Buytaert 931a4f32dc - Patch #152171 by yched: added missing validation routines for settings. 2007-06-15 22:00:30 +00:00
Gábor Hojtsy 85805096f7 #142280 by Jose A Reyero, yched and myself: Content translation support built on the existing node language feature 2007-06-15 18:40:14 +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 546719769b - Patch #101319 by pwolanin: make sure that node->revision can be altered. 2007-06-07 03:45:57 +00:00
Dries Buytaert 27388f6655 - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). 2007-06-05 12:13:23 +00:00
Dries Buytaert 20b0af0b53 - Patch #101319 by forngren: add access check to revision log. 2007-06-04 16:46:48 +00:00
Dries Buytaert e629deb94d - Patch #146667 by Jeff Eaton: form API fixes. 2007-06-04 15:56:34 +00:00
Dries Buytaert 5c09cfabb9 - Patch #101319 by webchick and forngren: put log message in collapsible fieldset if revisions not enabled. 2007-06-04 07:46:33 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Gábor Hojtsy 9f45292d77 #114938 by mistknight, but simplified: wrap ndoe admin query in db_rewrite_sql() 2007-06-01 11:17:44 +00:00
Dries Buytaert 41542ef053 - Patch #101268 by webernet et al: improve the usability of feed icons. 2007-05-31 12:14:04 +00:00
Gábor Hojtsy fd9dc74c9d Some RTL CSS files had wrong CVS Id comments, fix that 2007-05-30 18:28:14 +00:00
Dries Buytaert d675c01f97 - Patch #147880 by hswong3i: improved copmatibility of SQL query. 2007-05-30 06:24:06 +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
Gábor Hojtsy 860947d3c8 #145737 by yhager, documentation cleaned up by myself: add support for RTL CSS overrides and default RTL CSS override files for modules
Note: properties, which are different in the RTL display are marked with /* LTR */ in default CSS files now,
so maintainers remember that changing them should also have an effect on RTL CSS files.

This should open the way for better RTL (right-to-left written) language (such as Arabic and Hebrew) support.
2007-05-27 17:57:48 +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 a91168dc19 - Patch #140218 by pwolanin: fixed problem with callbakcs. 2007-05-23 07:55:08 +00:00
Dries Buytaert 5094312d3b - Patch #140218 by Crell et al: make it possible to move page callbacks to their own include files. 2007-05-22 05:52:17 +00:00
Dries Buytaert 72e43b4f22 - Patch #145390 by Eaton: fix for node forms that implement submit hooks. 2007-05-20 16:46:03 +00:00
Dries Buytaert be3dea205f - Patch #145390 by eaton: node form broken for modules that implement submit hooks 2007-05-20 07:28:05 +00:00
Gábor Hojtsy bb812c1a9e #144874 by riccardoR: the language filter field is not removed when already filtering by a language 2007-05-19 13:31:51 +00:00
Dries Buytaert a243145d3f - Patch #137767 by chx and pwolanin: multiple menu support. 2007-05-16 13:45:17 +00:00
Dries Buytaert 75897e8000 - Patch #138706 by Eaton: 2 form API fixes. 2007-05-15 05:43:16 +00:00