Commit Graph

3147 Commits (cccca3b17e3bd409c6325029c650294c8722c7d1)

Author SHA1 Message Date
Dries Buytaert 30059b1a59 - Patch #34514 by darius: fixed forms API glitches. 2005-11-13 08:33:44 +00:00
Dries Buytaert c8f6a2421b - Patch #35524 by asimmonds / drewish: converted the custom block forms code to the forms API's execute model. 2005-11-13 08:26:01 +00:00
Dries Buytaert e6e3492029 - Patch #35575 by Richard, chx and Ber: system module no longer saves the files and tmp dir.: 2005-11-13 07:57:11 +00:00
Dries Buytaert 534805718a - Rollback an accidentical commit. 2005-11-13 07:52:14 +00:00
Steven Wittens fd6104cf4d #37390: Make welcome text link to admin/settings 2005-11-13 02:43:33 +00:00
Steven Wittens e43ea3f955 #36936 / #36937: PgSQL fixes for statistics 2005-11-13 02:40:18 +00:00
Steven Wittens 21bed11e66 - Add missing url()s around form actions (these would break without clean URLs) 2005-11-13 02:32:18 +00:00
Steven Wittens daca20e034 #37378: Missing for _form_builder() in js upload 2005-11-13 02:00:37 +00:00
Dries Buytaert aeed4cd8e4 - Patch #35644 by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Dries Buytaert 64a617c208 - Patch #26249 by Morbus: improved handling of temporary files/directory.
If your module uses variable_get('file_directory_temp', ...) or
  variable_get('file_directory_path', ...) please update it to use the new
  API.

  A list of affected modules is available at http://drupal.org/node/26249#comment-54194.
2005-11-12 09:23:50 +00:00
Dries Buytaert 7dd24bec5c - SQL query maintenance: '%d' -> %d. 2005-11-12 09:14:30 +00:00
Steven Wittens c2fcb6d519 #30993: Make taxonomy selector widget themable 2005-11-12 04:31:56 +00:00
Steven Wittens 85492ae9a5 #36791: node_validate was called twice 2005-11-12 02:54:13 +00:00
Steven Wittens 76226df867 #36242: Array merge problems with module_invoke 2005-11-10 20:36:13 +00:00
Dries Buytaert c19a04e6f8 - Partial patch #34920 by tangent: improved placement of filter settings. 2005-11-09 19:25:11 +00:00
Dries Buytaert dac42f83c8 - Patch #36079 by ax/chx: various blogapi.module fixes. 2005-11-09 19:03:35 +00:00
Dries Buytaert 3d13a38502 - Patch #36727 by Goba: fixed incorrect use of drupal_goto(). 2005-11-08 20:57:41 +00:00
Dries Buytaert 42e2eb0d2a - Patch #35178 by Robert Douglas: add title attribute to taxonomy links - use term description as text. 2005-11-08 15:17:34 +00:00
Dries Buytaert 54e13b5fb4 - Patch #27140 by m3averck/souvent22: can't delete contact module subjects with '&' in title. 2005-11-05 08:00:20 +00:00
Dries Buytaert b4644f8e66 - Patch #36250 by hunmonk: admin batch delete broken, node_delete needs reworked.
This commit changes the node_delete() API.  A list of affected modules is available at http://drupal.org/node/36250#comment-52963.
2005-11-04 19:40:28 +00:00
Steven Wittens 2ad97f0277 - #36255: Fix db_query_temporary() in pgsql
- Prefix temporary table names (helps on restricted hosts)
2005-11-04 13:02:51 +00:00
Dries Buytaert ea53aad7c8 - Patch #22215 by Richard Archer: refactored primary and secondary links.
Deprecates the primary_links module.

  This patch was much needed.  Thanks Richards!

  NOTE: if some themers could investigate if there is room for improvement
        with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert 7bd728ef4a - Patch #36029 by asimmonds: fixed typo that prevents 'admin - block - configure' from working. 2005-11-03 15:39:37 +00:00
Dries Buytaert 76012bc70a - Patch #35481 by javanaut: make the 'more choices' option for polls work. 2005-11-02 08:58:27 +00:00
Dries Buytaert 46abc88ee4 - Patch #26249 by crunchywelch, Junyor: use upload_tmp_dir as default temporary directory. Fixed file problems on Windows NT systems. 2005-11-01 16:31:09 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Dries Buytaert 3f4d18fafc - Patch #35621 by asimmonds: URL path settings on node/add/* did not work. 2005-11-01 10:11:36 +00:00
Dries Buytaert f3d0fed0e6 - Patch #35759 by mikeryan: fixed typo in file_directory_temp fieldname. 2005-11-01 10:03:25 +00:00
Dries Buytaert 8ba2d2bf41 - Patch #35086 by stefan: improved themeability of the poll results. 2005-10-31 14:28:17 +00:00
Dries Buytaert 6938e6cbe8 - Patch #35320 by asimmonds: couldn't save roles in admin/filters/... 2005-10-31 13:57:17 +00:00
Dries Buytaert 98d1979699 - Patch #35596 by ccourtne: form API change introduced input format fieldset even when only 1 input format 2005-10-31 13:40:13 +00:00
Dries Buytaert 4af960646d - Patch #35648 by asimmonds: fixed permissions page. 2005-10-31 13:37:38 +00:00
Dries Buytaert ef7d2c8a9f - Patch #34920 by tangent: reorganized the node submission form a bit. 2005-10-28 14:04:20 +00:00
Dries Buytaert da1de1df9f - Patch #35205 by stefan: removed some deprecated code from forum.module! Yay. 2005-10-28 13:56:26 +00:00
Dries Buytaert 0f37358003 - Patch #35061 by Cvbge/ntosi: fixed SQL query problem on PostgreSQL 8. 2005-10-28 13:40:17 +00:00
Steven Wittens 9f143557a3 - #35505: Forum form api typo 2005-10-28 00:42:55 +00:00
Steven Wittens 08f8876f48 - #35440: Fix user 1 login bug after forms api 2005-10-28 00:37:06 +00:00
Steven Wittens fe938b844a - #35434: Form API - obsolete $param to hook_form() + preview fixes 2005-10-28 00:28:14 +00:00
Steven Wittens 34fcf45def - #35284: fixing node form 2005-10-26 14:49:59 +00:00
Dries Buytaert 27c619d16f - Patch #35279 by asimmonds: fixed typo in pager code. 2005-10-26 08:06:56 +00:00
Steven Wittens fbaede7ec0 - #35264: More form api fixes 2005-10-26 01:24:09 +00:00
Dries Buytaert 0d2c12a189 - Patch #34086 by chx: fixed blog regions being broken. 2005-10-25 05:42:20 +00:00
Steven Wittens 0cac6939b7 - Fix usage of header() to drupal_set_header()
- Emit charset for blogapi RSD
2005-10-25 03:43:57 +00:00
Dries Buytaert cc9a372eae - Patch #34932 by tangent: fixed the placement of the 'log'-textarea on book preview pages. 2005-10-24 19:03:09 +00:00
Dries Buytaert 47943f192d - Patch #35069 by leafish_paul: updated archive module to new forms API. 2005-10-24 18:50:10 +00:00
Dries Buytaert c47d2fcb46 - Patch #33220 by Tobias: improved themeability of book module. 2005-10-23 18:08:06 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Dries Buytaert 07ecb2abb0 - Patch #34831 by asimmonds: added missing table header. 2005-10-22 14:17:11 +00:00
Steven Wittens f31db8d70f - #22850: Search query containing / results in 404 on clean URLs. 2005-10-21 11:14:55 +00:00
Steven Wittens 6777fdb193 - #26583: Make forum taxonomy links redirect to forums rather than taxonomy pages. 2005-10-21 11:12:46 +00:00
Steven Wittens c0525a7c18 - #34757: Remove administer watchdog permission (drumm) 2005-10-21 10:50:03 +00:00
Dries Buytaert 81b35fbe4a - Patch #34749 by ax: make blogapi autodiscovery (rsd) work with Flock. Yay! 2005-10-21 09:56:59 +00:00
Dries Buytaert a5f9391550 - Modified patch #34472 by Moshe: uid=1 does not redirect to edit page after registration. 2005-10-21 09:30:14 +00:00
Dries Buytaert f905ab181f - Patch #34031 by drewish: delete button on the edit user account form should be after the submit button. 2005-10-21 09:07:12 +00:00
Steven Wittens 3fad92fc59 - #34645: Make $links in theme_comment consistent with theme_node (Stefan) 2005-10-20 09:27:36 +00:00
Steven Wittens e83b00d526 - Typo 2005-10-20 08:56:34 +00:00
Steven Wittens 8164ec2f49 - Code style 2005-10-20 08:53:59 +00:00
Steven Wittens 468b9e8e5a - Code style 2005-10-19 09:46:22 +00:00
Steven Wittens aa5ad37082 - #34401: Validation error (form method must be lowercase 'get' or 'post') 2005-10-19 09:28:21 +00:00
Steven Wittens 909d6928ac - #28159: Advanced search features (hello from DrupalCon)
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf
2005-10-18 14:41:27 +00:00
Dries Buytaert 782d5c98c9 - Patch #33752 by leafish_paul / adrian: added missing apostrophes to the form API code. 2005-10-18 14:40:00 +00:00
Dries Buytaert 7f5f3ac6c8 - Patch #34052 by webchick: fixed typo in form code. 2005-10-18 14:36:46 +00:00
Dries Buytaert 1c0b946535 - Modified version of patch #33348 by wolff: clean URL emitted when creating first user. 2005-10-13 10:39:56 +00:00
Steven Wittens 5f0e0f3649 - #33433: More form API fixes, and error handling improvements by Chx. 2005-10-13 10:02:31 +00:00
Steven Wittens 0953282878 - Statistics node view counter counted a lot of false positives (including a nid 0 for legacy URLs). 2005-10-12 01:00:24 +00:00
Steven Wittens 1b1a2d7750 - Restore user login block alignment (form api patch undid some recent class/id changes) 2005-10-11 20:52:16 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert fd96728f3c - Second batch of form API fixes by chx. 2005-10-09 10:39:15 +00:00
Dries Buytaert 6f30f02c16 - Patch #27999 by Tobias: made book export functionality configurable. 2005-10-08 14:48:33 +00:00
Dries Buytaert 709b9005f5 - Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.
(Untested because the admin/settings page doesn't work yet.)
2005-10-08 12:38:20 +00:00
Dries Buytaert 7863be5e82 - Patch #33433 by chx: fixed a number of form API problems.
* Default form value
    * Leftover debug function in form.inc
    * PHP5 issue with comment date (I got this patch from another issue)
    * Validation error fix (was calling legacy form validate)
    * Lots o' warnings on comment preview
    * Filter tips plus argument (gremlins. I swear this was not there.)
    * Message to clear what's going on with system settings
    * Non-freetagging taxonomies fixed
2005-10-08 12:21:47 +00:00
Dries Buytaert 27625fcf83 - Patch #31341 by kbahey: delete a user's session when the user is deleted. 2005-10-07 06:53:25 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert e19af57a9a - Patch #29465 by asimmonds: made the contact module work with the new form API. 2005-10-07 06:48:33 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert 7b5b460534 Improved error-handling of book module. 2005-10-06 09:17:17 +00:00
Dries Buytaert 1a98fce9c4 - Patch by Jeremy: fixed comment module glitch. 2005-10-04 12:09:15 +00:00
Dries Buytaert c267c749e7 - Patch #32669 by DriesK: added an 'administer access control' permission.
In several setups, one wants to grant the 'administer users' permission to certain roles (for example to forum admins), however without allowing those users to change permissions on the 'access control' page, and without allowing them to change the users' roles (so that they can't, for example, promote themselves to admin).
2005-10-01 13:42:00 +00:00
Dries Buytaert 9981e4326d - Patch #32459 by beardedstoat and tostinni: always add a secondary sort order so the newest comments are on top. 2005-10-01 13:30:06 +00:00
Dries Buytaert 0200ccf4da - Patch by chx: fixed validation check. 2005-10-01 08:43:51 +00:00
Dries Buytaert f8e2be5fe7 - Patch #32584 by Gerhard: removed reference to node_revision_load() and fixed
input validation error..
2005-09-29 21:56:12 +00:00
Dries Buytaert 1d94bb4a87 - Add some extra options. 2005-09-29 08:04:51 +00:00
Dries Buytaert f101792d75 - Modified patch #30620 by Geary: 'personal blog entry' -> 'blog entry'.
Improves consistency.
2005-09-28 12:55:07 +00:00
Dries Buytaert 45f4bcaa7d - Patch #26031 by leafish_dylan: fixed comment pager (broken SQL query). 2005-09-27 18:34:59 +00:00
Dries Buytaert dff2df4809 - Patch #28786 by Neil: moved pagers out of table. 2005-09-27 18:10:19 +00:00
Dries Buytaert 53bdeae273 - Modified patch #30775 by timcn, Souvent22, m3avrck: give file uploads descriptions.
(Modified the form a bit.)
2005-09-27 15:54:39 +00:00
Dries Buytaert f592a5a60b - Patch #27669 by ax: fixed menu system status reporting. 2005-09-27 15:11:07 +00:00
Dries Buytaert 50ac9d3b4c - Patch #32103 by nedjo: fixed title validation. 2005-09-27 15:09:28 +00:00
Dries Buytaert cba3391b1f - Fixed spaces 2005-09-27 15:06:35 +00:00
Dries Buytaert 67e68fc679 - Patch #28786 by Neil: move pagers out of table. 2005-09-24 07:53:26 +00:00
Dries Buytaert e4ec9ad36d - Fixed documentation. 2005-09-23 21:21:03 +00:00
Dries Buytaert 2de3276599 - Patch #29030 by Goba: updated the path module's documentation. 2005-09-23 13:11:57 +00:00
Dries Buytaert 61740bd8ee - Patch #10056: allow the node title forms to be customized. 2005-09-23 08:47:13 +00:00
Dries Buytaert 2b3126b2cc Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc. 2005-09-19 19:13:35 +00:00
Dries Buytaert 56903f504a - Patch #31650 by Robert: removed redundant XML-RPC blogapi setting. 2005-09-19 18:41:30 +00:00
Dries Buytaert 06af3e60e5 - Patch #29866 by Florian, Uwe: made the recent comments block only show comments on public nodes. 2005-09-19 15:11:05 +00:00
Dries Buytaert da316273bd - Patch #31014 by chx, zack: on taxonomy overview pages, make term names link to their respective taxonomy/term/(x) page. 2005-09-19 15:04:11 +00:00
Dries Buytaert 125fa0189e - Patch #31585 by Thox: fixed author information block. 2005-09-19 14:59:44 +00:00
Dries Buytaert d43655c962 - Patch #31449 by chx: store session IDs in the accesslog table. 2005-09-18 17:09:56 +00:00
Dries Buytaert dec4ddd3a5 - Patch #28420 by Jeremy: provide a more generic interface that can be used
to validate other form submissions, not just comments. Two new functions
  are introduced, form_token() and form_validate(). The first function uses
  a private key and a public key to set a token in a hidden field. The second
  function validates the token. The comment and contect module are updated to
  use these functions.
2005-09-18 12:04:10 +00:00
Dries Buytaert fe5f70b61b - Patch #31496 by Goba: added missing $node object in book export. 2005-09-18 11:26:17 +00:00
Dries Buytaert 1dc53d9761 - Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place.
* adds a "feed settings" section to admin/settings where 2 new settings are introduced:
* number of items per feed
* default length of feed descriptions (title only, teaser, full)
* patches all of core to obey the above - including the new aggregator (out) feeds
* adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module)
* includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information.
2005-09-18 10:37:57 +00:00
Dries Buytaert f0cc7b4efc - Patch #27364 by Ber, m3avrck: filter GUI improvements.
chx: it can be "form API"-ied now. :)
2005-09-17 12:44:59 +00:00
Dries Buytaert ce3b6d4eee - Patch #28301 by jjeff: show tooltip when hovering over a permission. Temoprary
solution until we have a better permission page.
2005-09-15 21:45:21 +00:00
Dries Buytaert da74bce9bc - Patch #30801 by Allie Micka, m3avrck, 1uv4t4r et al: fixed block problems. 2005-09-14 21:37:11 +00:00
Dries Buytaert 4005922332 - Patch #31123 by Ber: make it easier to theme the user profile pages. 2005-09-14 21:16:00 +00:00
Dries Buytaert fd854ea105 - Patch #30935 by m3avrck: generate width and height attributes for the theme screenshots on the theme administration page. 2005-09-13 19:12:19 +00:00
Dries Buytaert ee33291b55 - Patch #17079 by Uwe: fixed form title of form element in menu module form. 2005-09-13 19:10:06 +00:00
Dries Buytaert 074cafa269 - Patch #30956 by Cvbge: PostgreSQL fix: taxonomy_save_vocabulary() should check for 'tags' not set. 2005-09-12 21:55:41 +00:00
Dries Buytaert 6ea4bc6caa - Patch #30801 by Allie Micka and m3avrck: performance improvements: improved the database scheme and queries of the block.module. 2005-09-12 18:26:59 +00:00
Dries Buytaert 6ef519f7fc - Patch #26778 by Uwe: fixed incorrect form description/help. 2005-09-08 20:25:08 +00:00
Dries Buytaert ae8cfe3176 - Patch #13941 by Prometheus6: Atom parser improvements. 2005-09-08 20:08:42 +00:00
Steven Wittens 274c44c6ff - #30716: Fix typo in system.module 2005-09-08 19:56:23 +00:00
Dries Buytaert cead2e37b1 - Patch #26033 by m4avrck: fixed PHP5 warnings (call by reference) 2005-09-08 19:46:05 +00:00
Dries Buytaert f3cb254cb7 - Patch #23536 by chx: custom registration fields should appear on admin/user/create. 2005-09-08 19:32:31 +00:00
Dries Buytaert 2dddd9e532 - Patch #29102 by menesis: fixed typo/left-over in switch-statement. 2005-09-08 19:22:28 +00:00
Dries Buytaert 013b73e6ec - Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert 451dbd17a6 - Patch #28784 by Neil: improved HTML/CSS of search form. 2005-09-07 20:57:39 +00:00
Dries Buytaert 16262e03d5 - Patch #28320 by Neil: improved the HTML/CSS of the user login block. 2005-09-07 20:56:00 +00:00
Dries Buytaert 57a734a989 - Patch #16140 by Gerhard: cure array_merge() warning due to invalide menu callback. 2005-09-07 20:45:53 +00:00
Dries Buytaert bcd59aa0dd - Patch #24617 by Morbus: fixed incorrect access checking. 2005-09-07 20:41:38 +00:00
Dries Buytaert 3c570c93a7 - Patch #7582 by Gerhard: updated the blog.module to use the new node revisions. 2005-09-07 20:17:18 +00:00
Dries Buytaert e6f4f5ab14 - Patch #27949 by Robert: the two theme functions in profile.module both violate good theming practice by running user control logic in the middle of them. Worse yet, this isn't immediately visible since it happens in yet another function. Thus themers overriding these functions to style profile pages inadvertently break access control, thus leading to the misperception that overriding theme functions is inherently dangerous. 2005-09-06 20:39:10 +00:00
Dries Buytaert 67de4f67d2 - Usablity improvement: check whether the comment module is enabled. If not,
show an error message.
2005-09-06 19:38:56 +00:00
Dries Buytaert 298b403bf1 - Patch #18252 by tostinni: don't try creating the picture directory when picture support is not enabled. 2005-09-06 19:22:50 +00:00
Dries Buytaert 7f08b766aa - Patch #30382 by Robert: removed unused variable by ''. 2005-09-06 19:10:50 +00:00
Dries Buytaert d57db29ee3 - Patch #27948 by Robert Douglas: fixed problem with author information block.
(Looks like MySQL rewrites ORto IN() internally.)
2005-09-06 19:05:10 +00:00
Dries Buytaert 3be71ac514 - Patch #30308 by gordon: fixed broken SQL query. 2005-09-06 18:55:41 +00:00
Dries Buytaert c13025d232 - Patch #30222, #30219 by Uwe: cosmetic changes to the aggregator pages. 2005-09-02 19:18:14 +00:00
Steven Wittens 69247d7aad - #30128: Call by reference left-overs 2005-09-02 02:11:41 +00:00
Dries Buytaert 436cd01b5f - Patch #9167 by blake7/Uwe: generate RSS feeds for aggregator pages. 2005-09-01 19:50:18 +00:00
Dries Buytaert e03ce2f996 - Patch #28483 by Steven: JavaScript enabled uploading.
Comment from Steven: It does this by redirecting the submission of the form to a hidden <iframe> when you click "Attach" (we cannot submit data through Ajax directly because you cannot read file contents from JS for security reasons).  Once the file is submitted, the upload-section of the form is updated.  Things to note:

    * The feature degrades back to the current behaviour without JS.
    * If there are errors with the uploaded file (disallowed type, too big, ...), they are displayed at the top of the file attachments fieldset.
    * Though the hidden-iframe method sounds dirty, it's quite compact and is 100% implemented in .js files. The drupal.js api makes it a snap to use.
    * I included some minor improvements to the Drupal JS API and code.
    * I added an API drupal_call_js() to bridge the PHP/JS gap: it takes a function name and arguments, and outputs a <script> tag. The kicker is that it preserves the structure and type of arguments, so e.g. PHP associative arrays end up as objects in JS.
    * I also included a progressbar widget that I wrote for drumm's ongoing update.php work. It includes Ajax status updating/monitoring, but it is only used as a pure throbber in this patch. But as the code was already written and is going to be used in the near future, I left that part in. It's pretty small ;). If PHP supports ad-hoc upload info in the future like Ruby on Rails, we can implement that in 5 minutes.
2005-08-31 18:37:30 +00:00
Dries Buytaert d9d6a6e05c - Patch #7582 by Gerhard: improved node revisions!
All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node.  This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.

TODO:

1. Provide upgrade instructions for node module maintainers!
2. Upgrade modules that implement node types.
3. Provide an upgarde path for revisions.  Dependency on the upgrade system.
2005-08-30 15:22:29 +00:00
Dries Buytaert 7e5d0c947a - Patch #20255 by Cvbge: simplified a query in the throttle.module. Fixes a PostgreSQL compatibility bug too. 2005-08-30 15:04:54 +00:00
Dries Buytaert 246274eb16 - Renamed _node() to _node_info()! We reserve _node for _nodeapi. 2005-08-29 19:58:49 +00:00
Dries Buytaert 307eefd1ce - Patch #29737 by m3avrck: fixed broken link in upload.module. 2005-08-29 19:01:18 +00:00
Dries Buytaert 469fa36420 - Patch #29506 by Nedjo: block regions were not initiated for newly enabled themes. 2005-08-28 18:17:47 +00:00
Dries Buytaert 8f71d8990e - Patch #16452 by chx: allow modules to rewrite taxonomy-related SQL queries much
like we do with node-related SQL queries.

  (chx promised to document this, check his documentation as soon it is available.)
2005-08-28 16:30:50 +00:00
Dries Buytaert 8f32c39db2 - Patch #29102 by chx: fixed bug in forum module and tidied up the taxonomy_save_*() functions. 2005-08-28 15:58:52 +00:00
Dries Buytaert c9fc300b1f - Patch #29785 by Chx: multiple node types were broken so we refactored
part of the node system!  If you have a module that implements node
  types, you'll have to udpate its CVS HEAD version.

  We replaced _node_name() and _node_types() by _node().  The new _node()
  hook let's you define one or more node types, including their names.
  The implementation of the _node() hook needs to:

   return array($type1 => array('name' => $name1, 'base' => $base1),
                $type2 => array('name' => $name2, 'base' => $base2));

  where $type is the node type, $name is the human readable name of the type
  and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.

  For example, the story module's node hook looks like this:

    function story_node() {
      return array('story' => array('name' => t('story'), 'base' => 'story'));
    }

  The page module's node hook module like:

    function page_node() {
      return array('page' => array('name' => t('page'), 'base' => 'page'));
    }

  However, more complex node modules like the project module and the
  flexinode module can use the 'base' parameter to specify a different base.

  The project module implements two node types, proejcts and issues, so it
  can do:

    function project_node() {
      return array(
       array('project_project' => array('name' => t('project'), 'base' => 'project'),
       array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
    }

  In the flexinode module's case there can only one base ...

  This hook will simplify the CCK, and will make it easy (or easier) to merge
  the story and page module.

  In addition, node_list() became node_get_types().  In addition, we created
  the following functions: node_get_name($type) and node_get_base($type).
2005-08-28 15:29:34 +00:00
Dries Buytaert 494e5ab97c - Renamed 'user comments' to 'comment options' for consistency.' 2005-08-28 15:16:58 +00:00
Dries Buytaert b5573842b8 - Patch #29593 by tostinni: fixed display of title on admin/settings/content-type/ pages. 2005-08-25 21:22:00 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 078c99ca5d - Patch #21658 by Uwe: fixed broken link in help text. 2005-08-24 15:40:43 +00:00
Dries Buytaert 789dd294ff - Modified patch #22637: added OPML export for aggregator categories. 2005-08-23 05:45:08 +00:00
Dries Buytaert caf65e3953 - Patch #13941 by Promotheus6: Atom feeds have a CONTENT and/or SUMMARY tag instead of a DESCRIPTION tag. Currently, if both tags are present the aggregator appends the content of both fields to replace the content of the DESCRIPTION tag. 2005-08-23 05:16:50 +00:00
Dries Buytaert 6a4e6df36f - Patch #17592 by killes: improved access denied messages. 2005-08-22 20:39:43 +00:00
Dries Buytaert e0113d6788 - Patch #29275 by Uwe: I'm currently trying to get aggregator.module in shape for being used as a planet-like software for a Planet Drupal. Here's a patch which allows the site admin to specify which HTML tags are stripped from feeds (or not). This is hardcoded in aggregator.module right now, the attached 2-line patch (for HEAD) makes it configurable. 2005-08-22 19:45:42 +00:00
Dries Buytaert 3b8220e6f5 - Patch #29335 by jonbob: shuffled the case-statements around for performance's sake. 2005-08-22 10:11:15 +00:00
Dries Buytaert 75abab2451 - Patch #29274 by Jeremy: the "fuzzy cache" mechanism is supposed to enforce a minimum time before the cache table is flushed. Logical errors in the fuzzy cache implementation are leading to the cache table being flushed more frequently. Configuration is simplified by removing all references to "strict" and "loose" caches. Instead, the cache is either "disabled" or "enabled". Additionally, the site administrator can now configure the "minimum cache lifetime", the minimum amount of time cached data will remain cached. 2005-08-22 05:09:01 +00:00
Dries Buytaert 1836d3b365 - Patch #29002 by Neil: list_themes() currently returns all themes, not just enabled themes. This functionality is only used in one place- configuration for disabled themes. These configuration pages can be removed with a usability improvement since you shouldn't be able to configure things which are disabled. Additionally, this allows us to remove some extra logic in system_user(). And it it more consistent with the module API which only lists enabled modules.
list_themes() sorts the results by name. This uses filesort in MySQL since there aren't any indexes. Sorting is not used except in system_user(). This one use can be handled with ksort since it is not often executed (only on the user edit screen when multiple themes are enabled).

And a one line fix to remove a variable in system_user() is in here too.
2005-08-18 22:07:14 +00:00
Dries Buytaert 97bc92f6b9 - Patch #29133 by DriesK: forum vid remains when vocabulary is deleted. Prevents forum topics from getting lost. 2005-08-18 21:53:55 +00:00
Dries Buytaert 29d6660149 - Patch #23620 by Robin: don't hard code forms into comment.module. Will be
depricated by form API patch though.  Hopefully helps migration.
2005-08-17 20:07:35 +00:00
Dries Buytaert 12c5614599 - Alternative solution for #28721: expand "File attachments"-group on node edit form when files are attached. 2005-08-17 19:27:03 +00:00
Steven Wittens 85c151cdce - #28728: Fix broken link in contact module help. 2005-08-17 00:55:50 +00:00
Dries Buytaert b114336554 - Patch #28924 by Jeremy: simplified 'group by'-clause to improve performance. 2005-08-16 19:48:04 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert 2549e5068e - Fixed the filter module. 2005-08-14 17:50:35 +00:00
Dries Buytaert 00d21d5cee - Patch #28826 by chx: make xmlrpc_multicall working. 2005-08-14 09:53:40 +00:00
Dries Buytaert 78317bca79 - Patch #27897 by kubaZygmunt: fixed PHP warning. 2005-08-11 13:52:44 +00:00
Dries Buytaert 6733014fc4 - Patch #13941 by Prometheus6: made the aggregator module parse Atom feeds. 2005-08-11 13:12:44 +00:00
Dries Buytaert 7c6a21aedd - Patch by Uwe: tidied up the CVS IDs. 2005-08-11 13:02:08 +00:00
Dries Buytaert ceb013278e - Patch #23750 by jerakeen: use the creation date rather than the update date in RSS feeds. 2005-08-11 12:53:39 +00:00
Dries Buytaert 9e45d24af3 - Patch #26236 by Robin Monks: added 'send me a copy'-functionality to the contact forms. 2005-08-11 07:33:21 +00:00
Dries Buytaert f3b28d37d1 - Patch #27947 by Robert Douglas: simplified code, removed SQL query. 2005-08-10 20:52:00 +00:00
Dries Buytaert 63a10fdce8 - Bug 23810: removed redundant variable from SQL query. 2005-08-10 20:48:40 +00:00
Dries Buytaert 192dcd04ba - Patch #18778 by Gerhard/Olen: sort users by creation date rather than user ID. 2005-08-10 20:46:29 +00:00
Dries Buytaert 5270f7fd88 - Patch #28599 by Cvbge: fixed typo in documentation: 'user' -> 'used'. 2005-08-10 20:38:57 +00:00
Steven Wittens 6d93ee696b - Menu: remove array_merge warning when editing a node without menu item. 2005-08-09 00:37:02 +00:00
Dries Buytaert 2a87b5029b - Patch #24002: fixed node created timestamp changing on node edit. 2005-08-07 15:53:26 +00:00
Dries Buytaert 273d7f59b6 - Patch #27713 by tostinni: fixed two problems on the block add page:
+ description field isn't marked as requiered
   +when the field isn't unique, an error is displayed, but the wrong text field is set as erronous.
2005-08-07 15:30:03 +00:00
Dries Buytaert 79f08aca2c - Patch #26637 by Robert Douglas: $teaser misnamed in themes theme_node().
TODO: update documentation!
2005-08-07 14:55:17 +00:00
Steven Wittens ed56c57ee0 - #23560: Sort watchdog date by wid to ensure unique ordering. 2005-08-06 00:35:38 +00:00
Steven Wittens f7039a67cc - #25395: Allow for more integers in node_access grant_x columns 2005-08-05 13:11:10 +00:00
Steven Wittens 64299d7455 - #27852: redirect to user edit page on first log-in 2005-08-05 01:18:39 +00:00
Steven Wittens 88c6184c25 - #27864: Correctly distinguish 403s from 404s for nodes. 2005-08-05 00:38:38 +00:00
Steven Wittens 3feef48da2 - #28154: remove useless /view from user results 2005-08-03 23:23:48 +00:00
Steven Wittens e545feff3e - #28053: left-over blogapi bugs after xmlrpc library switch 2005-08-02 22:18:12 +00:00
Dries Buytaert 7625a4e91a - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.

  TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Steven Wittens 22479d8761 - Add some Unicode checks to username validation 2005-07-31 21:54:39 +00:00
Dries Buytaert 61999af9d6 - Patch by Neil: removed redundant form_group() from throttle settings page. 2005-07-31 10:36:33 +00:00
Dries Buytaert 70bc4639fa - Patch #27535 by Ber: set 'preview status message' using drupal_set_message(). 2005-07-31 10:28:50 +00:00
Dries Buytaert ce094a1323 - Patch #27633 by Tobias:
+ made it possible to specify a subject when submitting a message on the contact form.
  + fixed some bugs/glitches.
2005-07-31 10:12:47 +00:00
Dries Buytaert 6fdb939d55 - Removed some whitespace 2005-07-31 08:58:01 +00:00
Steven Wittens 36f6cdc74a - #23310: Gray out picture theme settings if pictures are disabled. 2005-07-30 18:48:00 +00:00
Steven Wittens c81bbf4aa1 - #24673: Fix deprecated usage of implode 2005-07-30 12:52:54 +00:00
Steven Wittens a1834101b6 - #20668: Fix "username's blog" appearance rules. 2005-07-29 21:39:18 +00:00
Steven Wittens 2a561f3bc1 - #16705: Make user_access always return a boolean. 2005-07-29 21:34:56 +00:00
Steven Wittens e4096e1418 - #27551: Rename check_output() to check_markup(). Needs contrib updates! 2005-07-29 21:06:33 +00:00
Steven Wittens aa2de74fa2 - #27624, #27614, #27627: dead code 2005-07-29 08:18:20 +00:00
Steven Wittens 8de43c320a - #27694: Correct username validation. 2005-07-29 07:18:36 +00:00
Dries Buytaert f99176c9a0 - Patch #25706 by Neil: book 'previous' link does not respect unpublished node setting 2005-07-29 07:13:25 +00:00
Steven Wittens 746b242326 - #27668: Replace deprecated tags/attributes with XHTML/CSS in locale.
- (#15121) Improve string cut-off for locale table
2005-07-29 06:59:29 +00:00
Steven Wittens 31ebc32982 - #27626: Correct function name 2005-07-29 06:43:32 +00:00
Steven Wittens 354e0c1f83 - #23651: Display referrer info with watchdog messages. 2005-07-29 04:12:19 +00:00
Steven Wittens 515f7b41f1 - #27707: Use local tasks for book administration 2005-07-29 03:49:16 +00:00
Steven Wittens f0c5a2860a - #26458: node_search doesn't node_view, causing bad snippets. 2005-07-29 03:29:53 +00:00
Steven Wittens d720c66148 - #26458: node_search doesn't node_view, causing bad snippets. 2005-07-29 03:21:09 +00:00
Steven Wittens 88ccaf02c4 - #27531: Leftover string_length(). 2005-07-27 01:27:09 +00:00
Steven Wittens f2f32820f7 - #26822: Fix logo upload being broken (drumm) 2005-07-26 01:56:31 +00:00
Steven Wittens 11a4aba9a6 - #26688: Add mbstring support to Drupal and clear up string handling fuzzies. 2005-07-25 20:40:35 +00:00
Steven Wittens 1eb8b2c13a - #26643: Restore accidentally lost "my blog" menu item. 2005-07-25 17:18:43 +00:00
Steven Wittens bd055961cd - #25285: Use correct permission for node form comment admin 2005-07-25 09:41:29 +00:00
Steven Wittens a10ab3daa0 - #27108: Columns in ORDER BY clause must be SELECTed on (pgsql) 2005-07-25 09:31:37 +00:00
Steven Wittens f99d532111 - #16440: Allow taxonomy vocabulary and term forms to be extended. 2005-07-25 04:55:37 +00:00
Dries Buytaert 7480e9ac3c - Modified patch #27131 by DriesK: removed some cache_clear_all()s. 2005-07-23 05:53:43 +00:00
Dries Buytaert 53195677b6 - Patch #24183 by drumm: remove unnecessary setting from upload module. Currently the upload module checks two max file sizes. First it checks a global option; if its too big it quits. Then it checks another max file size (or even sizes) related to the roles which a user is in. We can remove the global option since the individual roles are checked. 2005-07-22 19:06:19 +00:00
Dries Buytaert 50dac6f671 - Fixed typo reported by Stefan: theem -> theme 2005-07-20 15:13:12 +00:00
Dries Buytaert 7ab84f9fcf - Patch #26217 by HellRaider: fixed problem <front> setting in presence of slashes. 2005-07-20 11:44:40 +00:00
Dries Buytaert 31387c5a77 - Patch #26467 by drumm: make the destination persist across multiple pages
and fixed the node delete form to use a return destination.
2005-07-20 10:48:20 +00:00
Steven Wittens 02ca763ea0 - Fix PHP notice (killes) 2005-07-20 00:50:34 +00:00
Dries Buytaert 103346f2f4 - Patch #26683 by matteo: added missing DISTINCT()s 2005-07-19 21:31:09 +00:00
Dries Buytaert b6cdead164 - Removed <strong>s 2005-07-19 18:08:03 +00:00
Dries Buytaert 7ee24ccfe4 - Patch #27062 by nysus: improved the help text of the 'access control' page.
Generally improves readability; gets rid of technical jargon; provides
  concrete example; provides suggestions for how permissions can be used.
2005-07-19 17:57:55 +00:00
Dries Buytaert 13954f90dd - Modified patch #18656 by Moshe: unifies the admin comment form and the usual comment form, similar to what we did for nodes. This resulted lots of duplicate code removal. Also gave administrators the ability to change the author and timestamp of a comment. Also removed comment links from the bottom of the comment preview box (as we did for nodes)
Modifications: fixed breadcrumbs, tidied up delete confirmation page to be consistent with node deletions..
2005-07-19 17:51:59 +00:00
Dries Buytaert a2656ab39b - Misplaced backet 2005-07-19 17:09:55 +00:00
Dries Buytaert 1d9c0cd65f - Modified patch #20505 by Morbus: fixed scalability issues with terms, tried to create a better distinction between vocabularies and terms, fixed problem with term pager (temporary fix). 2005-07-19 17:00:26 +00:00
Dries Buytaert 4da128a416 - Fixed problem with node_load() in blogapi. Reported by nysus. 2005-07-19 16:32:05 +00:00
Steven Wittens 5ed64a71bd - Fix oopsie in node_load() after recent patch. 2005-07-18 20:27:32 +00:00
Dries Buytaert 87e5399a9e - Patch #19621 by Morbus/drumm: fixed bugs with taxonomy_save_xxx() functions.
TODO: update image module too?
2005-07-18 19:31:16 +00:00
Dries Buytaert a2389f12ac - Patch #9178 by mathias: improved menu system integration. 2005-07-18 16:46:28 +00:00
Dries Buytaert e0158075f6 - Patch #24805 by Ber: removed some dead code. 2005-07-18 09:57:48 +00:00
Dries Buytaert 1a0655dce9 - Updated handbook-link to reflect the recent handbook restructuring. 2005-07-18 08:46:30 +00:00
Dries Buytaert 1b6d8cad85 - Removed some dead code. 2005-07-18 05:40:17 +00:00
Steven Wittens 6978fcb6ec - Typo after node_load simplification patch 2005-07-17 23:44:47 +00:00
Dries Buytaert b7c0975e23 - Fixed typo in PHPdoc 2005-07-17 21:08:49 +00:00
Dries Buytaert 2895357de0 - Modified patch #25031 by chx: modified node_list() so one has both the module and its type.
TODO: update migration page in handbook.
2005-07-17 20:57:43 +00:00
Dries Buytaert 160a1e0ef8 - Patch #25634 by chx: simplified node_load(). 2005-07-17 18:29:32 +00:00
Dries Buytaert ed3bf725bb - Patch #26391 by chx: replaced the old XML-RPC library with a smaller/better/working one. 2005-07-13 18:46:15 +00:00
Dries Buytaert 73010a5215 - Fix by darix: fixed content type settings broken by berkes' last patch. 2005-07-07 13:30:50 +00:00
Dries Buytaert 02460ed9d8 - Removed tab. 2005-07-05 19:31:36 +00:00
Dries Buytaert d96e7e0bbb - Patches by Ber: move user settings and node settings to admin/settings. 2005-07-03 16:41:42 +00:00
Dries Buytaert f14cb1ab2b - Patch #25928 by Uwe: 'the the' -> 'the'. 2005-07-03 15:56:04 +00:00
Dries Buytaert 3a457c3614 - 'File Attachments' -> 'File attachments'. 2005-07-03 15:47:11 +00:00
Dries Buytaert 8e0b516022 - Patch #26233 by Goba: fixed problem with block regions being buggy. 2005-07-03 15:27:52 +00:00
Dries Buytaert aa75f0a18c - Patch 7897: don't show blocks if they have no content 2005-07-02 11:58:16 +00:00
Dries Buytaert 2c10ff4b5f - Fixed problems with filter formats and problem with XML-RPC server. 2005-06-29 19:53:14 +00:00
Dries Buytaert 9648096e32 - Patch by Drumm: removed redundant word. 2005-06-27 19:33:29 +00:00
Dries Buytaert 58aee8cdad - Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert 5365db7e07 - Patch by Robert: fixed problem with username blocking. 2005-06-23 19:26:51 +00:00
Dries Buytaert e7cc200eeb - Patch by deekayen: roll back permission patch. 2005-06-23 05:10:38 +00:00
Dries Buytaert ba233dd3b8 - Patch #25504 by kumo: fixed problem with the weights of book pages not being remembered. 2005-06-22 20:24:11 +00:00
Dries Buytaert 5c8843704c - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little.

  chx: can you double-check whether the global $conf variable is secure?
       (That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00
Dries Buytaert f3a9a99570 - Patch #25121 by Robrecht J.: changed itemized lists with hardcoded CSS to definition lists. 2005-06-21 18:58:27 +00:00
Dries Buytaert 22ea50dfec - Patch #21566 by deekayan: fixed user_access() function returning a string and not a boolean. Also improves performance of user_access(). 2005-06-21 18:45:30 +00:00
Dries Buytaert 8f82f92a10 - Patch #25398 by Ber: drop.org -> drupal.org. 2005-06-21 18:22:26 +00:00
Dries Buytaert 4c77761efb - Patch #3962 by deekayen: improved error message when a blocked user attempts to login. 2005-06-21 18:21:08 +00:00
Dries Buytaert e550f84162 - Patch #16204 by Thox: committed the collapsible form elements patch.
NOTE: this patch works well, but the improved node edit form still has
        some rough edges.  It is important that we continue to improve
        usability.  Give it a try.
2005-06-21 09:45:45 +00:00
Dries Buytaert e16e048d57 - Patch #24397 by deekayen: replaced deprecated reference to conf.php. 2005-06-19 19:27:32 +00:00
Dries Buytaert b3336096a3 - Patch #24766 by deekayen (David): fixed user module showing the epoch instead of 'never'. 2005-06-19 09:06:02 +00:00