summaryrefslogtreecommitdiff
path: root/includes/common.inc
Commit message (Collapse)AuthorAge
* 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
|
* - replaced all 'header("Location: foo")'s by a call to 'drupal_goto()'Dries Buytaert2001-09-30
| | | | | which will append the session ID to the uri 'foo' when PHP is compiled with '--enable-transe-sid'.
* - fixed small glitch in node_del()Dries Buytaert2001-09-28
| | | | | | | | | | | | | | | | | | | | | - fixed small glitch in comment_del() - changed the API of the form() function. The first parameter, the "action"-attribute in the <form>-tag has been made optional. By default, it will be set to "$REQUEST_URI". Why? Because in 98% of the cases we would do: global $REQUEST_URI; $form = form($REQUEST_URI, $form_content); while we can do: $form = form($form_content); now. Update your modules (and sorry for the inconvenience)!
* - small bugfixDries Buytaert2001-09-18
|
* - Added the new user module!Dries Buytaert2001-09-16
|
* - common.inc:Dries Buytaert2001-08-28
| | | | + added a form_password() function
* - Fixed bug in conf_init() not returning the default 'conf' when noDries Buytaert2001-08-22
| | | | matching configuration file is found.
* - Changed the authentication and login scheme as discussed on the mailingDries Buytaert2001-08-11
| | | | | | list. - Fixed the export function in book.module (patch my Julian). - Fixed the comment alignment (comments got truncated).
* locale.moduleKjartan Mannes2001-08-08
| | | | | | - search is now default. - search remembers your settings. - save will dump you back to your last search.
* - common.inc:Dries Buytaert2001-08-03
| | | | + applied Julian's conf_init() patch
* common.incKjartan Mannes2001-07-25
| | | | | | | | | | | - format_username() now takes a second optional parameter which gives the real name of the user. Rest - updated the calls to format_username() where appropriate to show the name of the user instead of the account id. Clicking on a name will still give you the account info etc. If you find a place where the real name is not shown let me know.
* - Fixed '" should be &amp;' problem in feeds.Dries Buytaert2001-07-18
|
* - moved format_size() from file.module to common.inc.Kjartan Mannes2001-07-17
|
* - blog.module:Dries Buytaert2001-07-14
| | | | | | + added RSS 0.91(5) feeds to the blog module which makes it possible to both syndicate an particular user's latest blog entries, or the latest entries of all users.
* - blog.module:Dries Buytaert2001-07-14
| | | | | | + added RSS 0.91(5) feeds to the blog module which makes it possible to both syndicate an particular user's latest blog entries, or the latest entries of all users.
* - theme system:Dries Buytaert2001-07-14
| | | | | | | | | | | | | + added $theme->images() - blog.module: + improved user-friendliness and rewrote most of the output routines + made quoted text /italic/ by default + integrated discussion system like it should + ... - marvin.theme: + small visual improvements
* - Added blog.module to replace diary.module (contrubeted by Julian):Dries Buytaert2001-07-11
| | | | | | | | | | | | + feedback wanted - Added updated import.module (contributed by Julian): + user page do browse the headlines by feed and bundle, to display the item descriptions, etc. - Fixed small bug in common.inc. - Updated database.mysql
* - account.php:Dries Buytaert2001-07-07
| | | | | | | | | | | + tidied up the texts - common.inc: + undid bad coding style + fixed typo in permissions - poll.module: + (automatically) removed tabs and trailing whitespaces
* - common.inc:Dries Buytaert2001-07-03
| | | | | | | | | | | | | | + Made '$na' translatable on popular demand. - node.module: + replaced a confusing configuration description, as suggested by Remco. - statistics.module: + Added a 'most recent referers'-table sorted by timestamp. - drupal.module: + Small update of the links.
* - Small updatesDries Buytaert2001-07-01
|
* - Introduced caching support.Dries Buytaert2001-06-30
|
* - Made search.php a module, being search.module.Dries Buytaert2001-06-30
| | | | | | - Updated the permission names to be more consistent. - Small improvement to node.php.
* Extremely large commit:Dries Buytaert2001-06-29
| | | | | | | | | | | | | | | | | | - Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too!
* - Changed field_get/set() to be more efficent.Kjartan Mannes2001-06-24
|
* - Added simple referer module, for sake of fun.Dries Buytaert2001-06-24
|
* - Added a brand-new access.module which allows you to manage 'roles'Dries Buytaert2001-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | (groups) and 'permissions' ... (inspired by Zope's system). + Once installed, click the help-link for more information. + See updates/2.00-to-x.xx.sql for the SQL updates. - Modified loads of code to use our new access.module. The system still has to mature though: new permissions have to be added and existing permissions need stream-lining. Awaiting suggestions. - As a direct result of the new access system, I had to rewrite the way the top-level links in admin.php are rendered and displayed, and xhtml-ified admin.php while I was at it. TODO - Home-brewed modules need updating, home-brewed themes not. (Examples: file.module, trip_link.module) - As soon we *finished* the refactoring of the user system (KJ has been working on this refactoring already) we should consider to embed this role and permission code into account.module ...
* - Made it so that usernames can contain spaces. Like that, people canDries Buytaert2001-06-19
| | | | use their full name as their username.
* ChangesKjartan Mannes2001-06-18
| | | | | | | | - Modifed form_select() to accept an optional 6th parameter which is appeneded to the select tag. $value can now also be an array. This allows for multiple selects: form_select($header, $name, $values, $options, $help, "multiple=\"true\" size=\"10\""); - Updated account.module to use the extended form_select() functionality.
* - Merged "system settings" and "module settings" into one page. IMHODries Buytaert2001-06-17
| | | | | | | | | | it wasn't a good idea to split them up in first place, and it turned out to be quite hard to decide where to put some variables. Also moved some variables around and even renamed a few variables while doing so. - Added a page_header() and page_footer() to all top-level .php pages.
* - Improved watchdog and submission throttle: removed redundant code,Dries Buytaert2001-06-13
| | | | | | | | streamlined the existing code, added new watchdog type called "httpd" for Apache errors. The latter should make it easier to add watchdog filters later on. - Clarified some watchdog messages.
* - Changed field_set(), field_get() and field_merge() to use ',' andDries Buytaert2001-06-11
| | | | | | | | | | | | | | | | | | | | '=' instead of ';' and ':'. It is considered to be more readable. --> A _first_ step towards and improved index.module. Stay tuned for more. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! - Changed all 'attribute' to 'attributes'. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! + Important: This might require to ieni-wieni small update to your custom themes and/or node-related modules: - themes: node_index($node->attribute) -> node_index($node) - node modules: attribute -> attributes
* This a rather large commit that needs a lot of fine-tuning. If youDries Buytaert2001-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update, you'll break your site as you need switching from structure to index.module: so this can be considered an intermediate commit. If you upgrade, and you are welcome to, just create a collection called "section" (for now) and assign your nodes some attributes in the described format. Feedback and bugreports are welcomed. Questions will be answered. CHANGES: - comment system: + when replying to a node (rather then to a comment), that node is displayed above the reply form. + when replying to a comment (rather then to a node), that comment is displayd above the reply form. - removed structure.inc, removed structure.module. - node.inc: + added 2 new node functions called 'node_attribute_edit()' and 'node_attribute_save()' used to 'hook in' any indexing system including your home-brewed stuff if you'd want to. Currently, index.module is the facto default index system. See story.module for usage. - book.module, story.module, poll.module, page.module, forum.module: + added preview functionality to administration section (via node module). + removed all references to structure.inc (category, topic). - moderate.module: + removed all references to structure.inc (category, topic). - book.module, story.module, page.module, forum.module: + increased the sizes of some textareas. - submit.php: + removed all references to structure.inc (category, topic). - marvin.theme: + removed dead code: function story() was depricated. - unconed.theme: + removed hardcoded references to drop.org. - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme: + removed all references to structure.inc (category, topic). TODO: - file.module, trip_link.module: + update preview functionality: see story.module for example. + remove references to 'cid' and 'tid', use 'attribute' instead: see story.module for example. - extend and build upon index.module as well as making it configurable
* - Modified error_handler() to ignore errors when @function() is used toKjartan Mannes2001-06-04
| | | | | suppress errors. If ya suppress them you normally have a good reason to do so :-)
* - Changed form_select() to return NULL if called without $options. This shouldKjartan Mannes2001-06-04
| | | | not have any impact, and makes things look nicer imo.
* CHANGESKjartan Mannes2001-06-02
| | | | | | | | | - Modified check_mail() to allow '+' characters in mail addresses. TODO - Extend the regular expression to allow addresses valid in the RFC's. Currently IP domains are banned, and so are many other extensions of RFC 822. This is not a priority since we currently support 96% of all addresses.