Commit Graph

4717 Commits (7f01d4f02ba2b7b54fa529574245c493058ff4f5)

Author SHA1 Message Date
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 a73d5744c3 - Patch #30629 by Neil: fixed scrollbar height. 2005-09-07 20:50:01 +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 f155ed2126 - Patch #30622 by Gerhard: the update produces a type field in node_revisions which shouldn't be there. 2005-09-07 20:32:00 +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
Steven Wittens 7f73c2bfb2 Fixes for AJAX/JS stuff in Konqueror:
- Fix collapsible fieldsets (broken since to 'IE5 icons alignment' fix)
- Fix JS upload (broken due to mysterious form submission abortion bug)

Thanks Bèr for letting me use VNC :).
2005-09-07 13:49:39 +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 3b1e763d03 - Patch #30423 by Crell: added support for table <captions>.
TODO: look into http://drupal.org/node/28777?
2005-09-06 20:32:53 +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 d7139b85db - Bug #30390: fixed parse error. Alternative fix. 2005-09-06 19:00:55 +00:00
Dries Buytaert 3be71ac514 - Patch #30308 by gordon: fixed broken SQL query. 2005-09-06 18:55:41 +00:00
Dries Buytaert 3ace768e50 - Patch by Rober: better fix for the extract() namespace problem in phptemplate.engine. 2005-09-04 13:52:08 +00:00
Dries Buytaert 0094e99b87 - Patch #28576 by Robrecht Jacques: 'file' is a reserved variable. 2005-09-04 13:13:31 +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
Steven Wittens 74e7bcdf7f - Bugfix: throbber styles should not apply without JS 2005-08-31 21:17:26 +00:00
Steven Wittens dee28658af - Reversing animation 2005-08-31 19:00:13 +00:00
Dries Buytaert fabcd8bbfb - Updated CHANGELOG.txt 2005-08-31 18:48:24 +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 3029da00d6 - Patch #29051 by mathias: made the update.php script work when Drupal is installed in a subdirectory. 2005-08-31 17:56:07 +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 75fad91cf5 - Patch #22911 by Cvgbe: fixed table locking in PostgreSQL. You'll have to
use db_lock_table() and db_unlock_tables() for your code to be compatible.
2005-08-29 19:32:55 +00:00
Dries Buytaert 8ae8865abc - Patch #22911 by Cvgbe: fixed table locking in PostgreSQL. You'll have to
use db_lock_table() and db_unlock_tables() for your code to be compatible.
2005-08-29 19:17:17 +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 5baf463678 - Patch #29669 by Neil: micro-performance improvement for update.php + removed
PHP warning.
2005-08-29 18:48:25 +00:00
Dries Buytaert 21c2885b0e - Patch #29385 by chx: removed remaining "?>"s at the end of some files. 2005-08-28 18:26:20 +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 34544d4dc0 - Unrolled patch #29103: always encode apostrophes. 2005-08-28 16:19:24 +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 6ebe50b536 - Made Cvgbe the PostgreSQL maintainer. 2005-08-28 15:13:35 +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 afeff189b8 - Bug #22911: PostgreSQL doesn't like "LOCK TABLES", but does like "LOCK TABLE". MySQL likes both. 2005-08-25 21:11:52 +00:00