Commit Graph

374 Commits (8c86bc5ad12b7c213cbbf331eb79910ee68ce952)

Author SHA1 Message Date
Dries Buytaert d8d12d901d - Modified patch #62016 by Heine: fixed the clean URL test link. 2006-05-05 14:50:22 +00:00
Neil Drumm 133617cb13 #57834 by chx, Replace theme_weight with more appropriate process_weight 2006-05-04 09:57:14 +00:00
Dries Buytaert 856aa01288 - More refinements to the clean URL test. 2006-05-01 09:30:13 +00:00
Dries Buytaert 63ea676b4b - Patch #59999 by Moshe, chx, et al: fixed clean URL checker. 2006-05-01 08:45:29 +00:00
Gerhard Killesreiter 8d48ee17b9 #60338, better name for #form_submitted, patch by chx 2006-04-25 20:46:57 +00:00
Gerhard Killesreiter 3300aa2d4e #59960, Can't store the value of submit, patch by Zen 2006-04-25 10:00:57 +00:00
Neil Drumm 85a8558117 #58037 by Zen, Add update.php message to modules page. 2006-04-23 06:07:59 +00:00
Gerhard Killesreiter b9c4901d86 #59479, Install system can cause module code to run before install hook is run, patch by JonBob 2006-04-20 16:43:28 +00:00
Gerhard Killesreiter b354396b69 #59528, password_confirm fields don't highlight errors, patch by sammys 2006-04-20 16:35:29 +00:00
Gerhard Killesreiter 297ed741f8 #58221, Turn #after_build into a functions array in order to make validation of date fields possible. Patch by yched, tenrapid
Also makes forms API more consistent (see #pre_render)
2006-04-20 07:11:37 +00:00
Dries Buytaert d071f99172 - Removing trailing whitespace. 2006-04-17 20:48:26 +00:00
Steven Wittens 2f927f14b7 #58330: Fix inconsistent theme selector code 2006-04-14 20:30:08 +00:00
Steven Wittens ff35fc9c53 #58456: Clean URL tester broken 2006-04-12 19:36:51 +00:00
Steven Wittens 69726b0d7b #56634: Resolve issues with varying $base_url
- Fix locations links in watchdog
- Fix repeated subdirectory in page cache CIDs
2006-04-12 08:42:47 +00:00
Gerhard Killesreiter 8c506a560a #56713, reverted. Needs more discussion, see http://drupal.org/node/57676 2006-04-11 17:18:55 +00:00
Gerhard Killesreiter a6cb8d7adb #57864, required modules shoudl not be throttled, patch by Markus Petrux 2006-04-08 16:05:54 +00:00
Gerhard Killesreiter f5e15dcbc6 #56713, theme settings is not not called, patch by oscnet 2006-04-06 18:07:22 +00:00
Steven Wittens cfe001af7a #56457: Allow different search forms to coexist without breaking validation 2006-04-06 13:07:22 +00:00
Steven Wittens 02f6a3ee2d #56709: Expose hidden 'toggle_logo' variable and rearrange theme toggles. 2006-04-04 23:36:18 +00:00
Gerhard Killesreiter c81fd0de18 #53949, short German date format with leading zeros. 2006-04-04 01:40:41 +00:00
Steven Wittens 2128b4d678 #53949: Remove duplicate date format 2006-04-04 01:17:07 +00:00
Neil Drumm 1a7a63b0fa Revrting changed short date format by #53949. 2006-04-02 22:52:14 +00:00
Neil Drumm 7fa3f5ddee #53949 by timcn, add a German date/time format 2006-04-02 09:19:56 +00:00
Neil Drumm b22d877ff8 #56457 by chx: The search box that can be displayed by some themes (e.g. bluemarine) was not working. 2006-03-31 04:57:49 +00:00
Gerhard Killesreiter cad28df22b #56089, $form['#redirect'] shouldn't be clobbered by the _submit return value., second try, patch by chx 2006-03-28 01:45:41 +00:00
Gerhard Killesreiter 667298972f #54066, make site_name required. patch by Freso 2006-03-23 21:24:02 +00:00
Dries Buytaert 6d9e5084d8 - Patch #52508 by TDobes: fixed theme system regressions. 2006-03-07 11:28:22 +00:00
Dries Buytaert 9c7c23c87b - Patch #52431 by Zen: simplified some code. 2006-03-04 17:49:21 +00:00
Gerhard Killesreiter b7e81dbc39 #48025, fix for installing new contrib modules, patch by hunmonk and grugnog 2006-02-27 19:01:42 +00:00
Gerhard Killesreiter 9bb285aafa #21084, Node module is not marked "required", but is required by other required modules, patch by Robert Douglass 2006-02-27 14:41:05 +00:00
Gerhard Killesreiter 29170c88f2 #48025, System table not updated when moving modules, patch by grugnog, changed variable name to match conventions. 2006-02-27 14:32:38 +00:00
Dries Buytaert 58d9b02e3e - Patch #51189: fixed submit redirects. 2006-02-26 19:44:45 +00:00
Dries Buytaert 84d4e12ccc - Patch #50078 by merlinofchaos: made image toolkits work again. 2006-02-26 19:37:18 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert 25eef00f89 - Patch #48939 by Steve Ratcliffe: added missing {} to upgrade path. 2006-02-12 05:34:34 +00:00
Dries Buytaert 583d5a4ee9 - Patch #48622 by adrian: remove drupal_goto from _submit functions. 2006-02-10 05:25:57 +00:00
Dries Buytaert b67cce5a8f - Patch #46422 by Neil: module installation hook. 2006-02-09 08:13:08 +00:00
Steven Wittens 9639b7dc56 - #44850: Allow search_box() to be used for non-node searches too 2006-02-05 19:17:00 +00:00
Dries Buytaert eb2bed2833 - Patch #46123 by markus: rebuild the menu after chaning settings. 2006-02-01 15:34:55 +00:00
Dries Buytaert 71955d8c8a - Patch #45785 by Markus: Not enabled themes shouldn't appear in admin/themes/settings. 2006-02-01 14:14:04 +00:00
Dries Buytaert 5229f329ac - Patch #46759 by chx: made it possible to change your password when using php5. 2006-01-29 07:28:52 +00:00
Dries Buytaert 42c5683d41 - Patch #45845 by jaza/chx: set default value of weight-selectors to 0 for consistency with Drupal 4.6. 2006-01-24 18:27:29 +00:00
Dries Buytaert 6f978a04f9 - Patch #45793 by chx: fixed bug in user.module that results in storing plain text passwords. 2006-01-24 10:15:03 +00:00
Dries Buytaert 14ae238973 - Patch #45320 by Zen: improved usability of off-line mode. 2006-01-22 07:51:06 +00:00
Steven Wittens 7914ad0f3f - #40515: Ensure UTF-8 character set on the database side (and include upgrade path for incorrectly set up databases) 2006-01-21 01:42:52 +00:00
Dries Buytaert e145866243 - Patch #44136 by riccardoR: can't enable more than one language. 2006-01-17 17:35:47 +00:00
Dries Buytaert cccca3b17e - Patch #44261 by Kobus/Zen: drupal -> Drupal. 2006-01-12 19:29:36 +00:00
Steven Wittens c27b62b182 - #41940: Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage)
- #43491: Missing drupal_goto() after saving settings
2006-01-05 23:35:34 +00:00
Dries Buytaert e334ca1b72 - Cleaned up the cron status message. 2006-01-05 09:42:09 +00:00
Dries Buytaert 9385794e23 - Patch #41548 by Neil: critical bugfix: theme didn't load when styles are used. 2006-01-04 09:32:28 +00:00
Dries Buytaert 749284633f - Patch #42057 by hunmonk and chx: made saving user accounts work again. 2006-01-02 08:35:59 +00:00
Dries Buytaert ebeaaedc8f - Patch 42498 by m3avrck: unified cron-trackers and added a section that lets you figure out whether cron is running (usability improvement). 2005-12-31 14:18:22 +00:00
Dries Buytaert 34a5d46022 - Patch #36465 by chx / Richard: made it possible to link to the front page. 2005-12-27 10:36:16 +00:00
Dries Buytaert 3783e6304c - Patch #41914 by Robert: modules page producing duplicate entry database errors. 2005-12-22 12:37:52 +00:00
Dries Buytaert c60e7acdd4 - Patch #41461 by spiderman: reset the default theme to bluemarine after reset. 2005-12-21 22:15:02 +00:00
Dries Buytaert d5581d94cb - Patch #41124 by amanuel/owe: make the logo upload work. 2005-12-16 19:57:41 +00:00
Dries Buytaert adcbc9b957 - Patch #40524 by drumm: made sure that visiting the admin/modules page does not break your setup if you haven't run udpate.php yet. 2005-12-09 15:40:15 +00:00
Dries Buytaert c54234d71a - Patch #40341 by Neil: fixed problems with database schema versions.
- When user #1 creates an account (we can assume this happens only once), system.module's schema version is set to the latest availiable.
  - system_get_files_database() now includes a 'schema_version' child of each file object.
  - That new information is re-saved when Drupal re-populates the system table.
  - An array of newly-enabled modules is built, module_list() is reloaded, and the schema versions of each newly-enabled module are set to the most recent availiable. If the schema version is already set (presumably from a previous installation) it is not changed.
2005-12-08 08:40:10 +00:00
Dries Buytaert 3cb401bda1 - Patch #38645 by Morbus: reworked the _regions() hook. 2005-12-07 14:59:55 +00:00
Dries Buytaert 75d2089fba - Patch #39155 by Alex/chx: #validate, #submit, #process consistency 2005-12-03 09:44:50 +00:00
Dries Buytaert 26bd449860 - Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'. 2005-12-02 15:21:01 +00:00
Dries Buytaert 4a3b9fc883 - Patch #39594 by m3avrck: removed comma from date. 2005-12-02 15:19:54 +00:00
Dries Buytaert b8ae0b3218 - Patch #38981 by Robert: add permission to enable/disbale theme switching by users. 2005-11-30 11:09:38 +00:00
Dries Buytaert 2d0df351d7 - Various fixes. Updated CHANGELOG.txt 2005-11-29 20:17:10 +00:00
Steven Wittens 670e835772 - Menu wasn't being wiped after enabling/disabling themes 2005-11-29 02:52:20 +00:00
Dries Buytaert 5b16e6b0a9 - Patch #36313 by assimmonds: make the search box look identical to Drupal 4.6 2005-11-25 15:26:11 +00:00
Dries Buytaert c9b342e3e1 - Patch #38692 by saerdna: removed duplicate form-text class. 2005-11-24 19:28:08 +00:00
Dries Buytaert 5736cc3e94 - Patch #38349 by chx: form API bugfixes. 2005-11-23 08:21:08 +00:00
Dries Buytaert 03dda45573 - Patch #37752 by chx and Richard: renamed #post_process to #after_build. 2005-11-21 18:10:26 +00:00
Dries Buytaert 0fe57fe680 - Patch #36333 by Tobias Maier: make sure to enable the default theme. 2005-11-14 22:19:14 +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 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 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 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 f3d0fed0e6 - Patch #35759 by mikeryan: fixed typo in file_directory_temp fieldname. 2005-11-01 10:03:25 +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
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 aa5ad37082 - #34401: Validation error (form method must be lowercase 'get' or 'post') 2005-10-19 09:28:21 +00:00
Dries Buytaert 7f5f3ac6c8 - Patch #34052 by webchick: fixed typo in form code. 2005-10-18 14:36:46 +00:00
Steven Wittens 5f0e0f3649 - #33433: More form API fixes, and error handling improvements by Chx. 2005-10-13 10:02:31 +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 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 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 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 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 6ef519f7fc - Patch #26778 by Uwe: fixed incorrect form description/help. 2005-09-08 20:25:08 +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 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 469fa36420 - Patch #29506 by Nedjo: block regions were not initiated for newly enabled themes. 2005-08-28 18:17:47 +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 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +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