summaryrefslogtreecommitdiff
path: root/includes/common.inc
Commit message (Collapse)AuthorAge
* - An attempt to solve drupal_goto() in presence of session IDs.Dries Buytaert2002-08-08
|
* - Made it possible to store arrays in the variables table. Patch by Marco.Dries Buytaert2002-07-06
|
* - A variety of small localization updates. Patch by Ori Folger.Dries Buytaert2002-07-05
|
* - cosmetics mostly.Kjartan Mannes2002-06-15
|
* - added some missing title attributs to links.Kjartan Mannes2002-06-14
|
* - Added missing translations and the like.Dries Buytaert2002-05-31
|
* The default form action (request_uri) didn't escape HTML entities (such as ↵Steven Wittens2002-05-21
| | | | &)
* - more coding style fixes.Kjartan Mannes2002-05-13
|
* - minor cleanupKjartan Mannes2002-05-12
|
* - Fixed typo.Dries Buytaert2002-05-12
|
* - applied Stevens link patch.Kjartan Mannes2002-05-12
| | | | | | - fixed block permissions. - fixed user admin page errors: http://www.drupal.org/node.php?id=173. - cleaned up common.inc a bit: removed format_info, path_img, field_merge.
* - changed block, module and theme config pages to use checkboxes.Kjartan Mannes2002-05-11
| | | | | - coding style clean ups. - fixed taxonomy causing errors.
* - Fixed broken RSS feeds.Dries Buytaert2002-05-05
| | | | | | TODO: + Make l()/lm()/la() urlencode() URLs? + Fix problems with the #-trick in drupal_url()/l().
* - rolling back common.inc. Wasn't supposed to be in the last commit.Kjartan Mannes2002-05-04
|
* - making sure the nodes call filter().Kjartan Mannes2002-05-04
|
* - filter changes part 1. Part 2 tomorrow.Kjartan Mannes2002-05-03
|
* - fixing drupal_url()Kjartan Mannes2002-05-02
|
* - Included Moshe's guidelines on the use of t().Dries Buytaert2002-05-02
|
* Patch by Moshe Weitzman:Dries Buytaert2002-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | - request_uri() behaves on non-apache web servers. i've tested on IIS and apache (many platforms). - modules may now implement the _search_item() hook which overrides the default formatting of search results. modules already can customize which fields are indexed. no module currently uses this hook but externalpage.module expects to do so. - added an optional $attribs argument to l(), lm(), and la() which is an associative array of attributes which are inserted into the <a> tag (feature #146). - drupal_str_replace() is deleted (i had recently added it). i verified that no scripts are currently calling this function. use strtr() or str_replace() instead. - arbitrary elements may be added to the <channel> and <item> blocks of an RSS feed by passing the $args associative array. the core RSS engine is now able to support elements like <cloud> and <catagory> [1] and RSS 1.0[2] [1] http://backend.userland.com/rss092 [2] http://groups.yahoo.com/group/rss-dev/files/namespace.html
* - Made the date strings configurable. Patch by Simon Lindsay.Dries Buytaert2002-04-24
|
* - Bugfix: solve problem with locales being "disabled". Reported by Jerritt,Dries Buytaert2002-04-24
| | | | fixed by Marco.
* - bug fixes:Kjartan Mannes2002-04-22
| | | | | | | | | | * fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch.
* - Applied Marco's big patch, including contributions from Moshe:Dries Buytaert2002-04-20
| | | | | | | | | | | | | | | | | | | | | | + Changed the db_query() API. + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions. + XHTML-ified some HTML. + Wrapped a lot of text in the administrative pages in a t() function. + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri(). + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg. RSS code). + Fixed some bugs in the taxonomy module (eg. tree making bug), added new functionality (eg. new APIs for use by other modules), included Moshe's taxonomy extensions, and some documentation udpates. + ...
* - Added Marco's long-awaited taxonmy module and patches - a replacementDries Buytaert2002-04-14
| | | | | | | | | | | | | | | | | | | for the meta system. The patches add some extra functionality to the comment system (for example, comments can be set read-only) and fix a couple of small problems. + I integrated the required SQL updates from the varius *.mysql files into the "update.php" script. Upgrading should be easy ... + I did not apply/commit the "user.diff" as requested by Marco ... + I didn't know what to do with "forum.module" and "forum2.module": what do you want me to do with it Marco? Which one should go in? + Can we remove "node_index()" now; both from "node.module" and the themes? + Thanks Marco!
* - made the user information block into two different blocks. One forKjartan Mannes2002-04-02
| | | | | | | | | | | | | | | | login and one for user information. - added link to help in book module (post-patch, see below). - applied various patches: Patch by Greg Tyrelle <greg@tyrelle.net> - tracker module now shows usernames next to comments. Patch by Moshe Weitzman <moshe@wallaware.com> - book module has a more complete help. - added administrative link to export book to html - fixed non book nodes not showing up in trees. Patch by moshe weitzman <weitzman@tejasa.com> - links can be defined in the configuration file.
* - applied search patch.Kjartan Mannes2002-03-05
| | | | | | | | | | | | | | | | - added who is online block. - made weblog module more configurable. - users may now delete their own accounts (Feature #8) - users may now request a password using email address *or* username. formerly required both items to match an account which was onerous. - the link to request a new password is now presented whenever a user fails login. - there is now a confirmation message after submitting edits to your user information. - error messages in user.module may now be stylized by themes. - <hook>_form has a $param setting you can fill with form parameters. - improved wording for a few config settings. - fixed various non-coding standard things.
* - Fixed more than 30 HTML and XML well-formedness errors.Dries Buytaert2002-01-27
|
* - Fixed a typoDries Buytaert2002-01-05
|
* Integrated Marco's generic/improved cache into Drupal. Requires anDries Buytaert2002-01-05
| | | | | | | | | | | | | | | | | | | | SQL update. See below for more details. - Merged the file "cache.inc" into "common.inc". - In addition, I renamed the field 'url' in the cache table to a more generic 'cid' (cache identifier). It's no longer for URLs only. - Made the "cache_set()" function ASNI compliant such that it will play nice with other databases such as Postgres. - Added some extra input checking. - Updated the old caching code in the functions "page_header()" and "page_footer()" to use the new, generic cache API. - Updated "update.php" to make the required SQL changes.
* - import.module:Dries Buytaert2001-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Improved input filtering; this should make the news items look more consistent in terms of mark-up. + Quoted all array indices: converted all instances of $foo[bar] to $foo["bar"]. Made various other changes to make the import module compliant with the coding style. - theme.inc: + Fixed small XHTML glitch - comment system: + Made it possible for users to edit their comments (when certain criteria are matched). + Renamed the SQL table field "lid" to "nid" and updated the code to reflect this change: this is a rather /annoying/ change that has been asked for a few times. It will impact the contributed BBS/forum modules and requires a tiny SQL update: sql> ALTER TABLE comments CHANGE lid nid int(10) NOT NULL; + Moved most (all?) of the comment related logic from node.php to comment.module where it belongs. This also marks a first step towards removing/reducing "node.php". + Added a delete button to the comment admin form and made it so that Drupal prompts for confirmation prior to deleting a comment from the database. This behavior is similar to that of deleting nodes. + Disabled comment moderation for now. + Some of the above changes will make it easier to integrate the upcomcing mail-to-web and web-to-mail gateways. They are part of a bigger plan. ;) - node system: + Made it so that updating nodes (like for instance updating blog entries) won't trigger the submission rate throttle. + Fixed a small glitch where a node's title wasn't always passed to the $theme->header() function. + Made "node_array()" and "node_object()" more generic and named them "object2array()" and "array2object()". + Moved most (all?) of the comment related logic from node.php to comment.module where it belongs. This also marks a first step towards removing/reducing "node.php". - misc: + Applied three patches by Foxen. One to improve performance of the book module, and two other patches to fix small glitches in common.inc. Thanks Foxen!
* - Merged 3 tiny include files into "common.inc".Dries Buytaert2001-12-27
|
* - Added "query log" functionality to Drupal. Inspired by weitzman'sDries Buytaert2001-12-23
| | | | code/patch.
* Replaed incorrect "<p />" tag in form_item with a better <p> ... </p> ↵Steven Wittens2001-12-20
| | | | combination.
* form_checkbox() was totally broken: a checkbox needs a value on top of being ↵Steven Wittens2001-12-20
| | | | (un)checked. When it is checked, the value is sent as "name=value". When not checked, nothing is sent. Usually a value of "1" will suffice, but I added explicit separate $value and $checked parameters to make sure no mix-up occurs, and to allow more freedom.
* comment.module:Dries Buytaert2001-12-08
| | | | | - small improvements to the comment admin interface. - merged comment.inc and comment.module.
* - Made a small improvement to format_name()Dries Buytaert2001-12-05
|
* Node and book updates:Dries Buytaert2001-12-01
| | | | | | | - Fixed a glitch in the book overview in the admin section. - When updating a book page through the admin section, no new revision is created unless explictely specified. - Improved the usability of the node and book pages a little.
* - fixed pass by reference errors. PHP only allows declaration of &$vars, notKjartan Mannes2001-11-26
| | | | | passing them that way. For more info: http://no.php.net/manual/en/language.references.pass.php
* - Bugfix: when updating a book page, the name of the author did not change.Dries Buytaert2001-11-24
| | | | | | | | | | | | | | - Bugfix: the "Edit comments" part of the node administration pages did not display the correct comments. - Bugfix: somethimes, update in a book page would mess up the book. - Improvement: when "node administrators" update a book page through the "update this book page"-link (like regular users do), their update will be subject to moderation. - Improvement: made some intermediate changes to the filter mechanism. Needs more work.
* - modified node_save so that revisions are not validated using check_input,Kjartan Mannes2001-11-23
| | | | | | | | as this breaks revisions. - modified link_node() to take a third parameter $main, which will be passed on to _link hooks. This lets modules decide which links a node will get when shown on the main page, or when not. - updated themes to use the new syntax.
* - fixed a typo in an English sentence.Dries Buytaert2001-11-12
|
* - Made the node forms support "help texts": it is not possible to configureDries Buytaert2001-11-03
| | | | | | | | | | | | | | | | | | | | | | | Drupal to display submission guidelines, or any other kind of explanation such as "NO TEST POSTS", for example. - Added node versioning: it is possible to create revisions, to view old revisions and to roll-back to older revisions. You'll need to apply a SQL update. I'm going to work on the book module now, so I might be changing a few things to enable collaborative, moderated revisions - but feel free to send some first feedback, if you like. - Added some configuration options which can be used to set the minimum number of words a blog/story should consist of. Hopefully this will be usefull to stop the (almost empty) test blogs. - Various improvements: + Fine-tuned new node permission system. + Fine-tuned the functions in node.inc. + Fine-tuned some forms. + XHTML-ified some code.
* - A large batch of updates, amongst them a rewritten node system. MoreDries Buytaert2001-11-01
| | | | information available on the mailing list.
* - added the CVS keyword $Id$ to all files to make future version trackingKjartan Mannes2001-10-20
| | | | easier. Also changed the <? tag to <?php in some cases.
* - modified the variable code so you can override site settings in the config ↵Kjartan Mannes2001-10-20
| | | | | | | | | | | file by setting them in a $conf variable. This will let you host several domains off the same Drupal installation with the same databases with minor differences in settings. Note: the values can not be changed by users in a GET or POST string.
* - I tidied up most SQL tables to be more consistent with the rest of theDries Buytaert2001-10-14
| | | | | | | tables: I changed all "id"s to "xid"s where "x" is the first letter of the table name. I also renamed all remaining "userid"s to "uid"s as I mentioned I would do. Take a look at ./drupal/updates/3.00-to-x.xx.sql for the MySQL updates.
* - PEAR-ification of Drupal by claw: you can now host Drupal on a wideDries Buytaert2001-10-09
| | | | | | | range of databases including MySQL, PostgreSQL, MSSQL, and others. For additional information and an 'how to upgrade', check the mails sent to the mailing list.
* - small improvement to 'drupal_goto()'Dries Buytaert2001-09-30
|
* - small bugfix in drupal_gotoDries Buytaert2001-09-30
|
* - typoDries Buytaert2001-09-30
|