summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
Commit message (Collapse)AuthorAge
* - Patch #14890: corrected the documentation of conf_init().Dries Buytaert2004-12-29
|
* - Patch #13405 by Moshe: make you actually do something useful with the init ↵Dries Buytaert2004-12-01
| | | | hook. A recent patch to 4.5 and HEAD made this patch run too early in the request (for non-cached pages).
* - Patch #13405 by Moshe:Dries Buytaert2004-11-25
| | | | | + Make bootstrap functionality work with HEAD. + Move functions into bootstrap.inc so that statistics_exit() works for cached pages. (Does this close any issues?)
* - Patch #5942 by jhriggs and Adrian:Dries Buytaert2004-11-24
| | | | | + added support for multi-site configurations. + tidied up some old cruft and added code comments.
* - Patch 13180 by chx: renamed check_query() to db_escape_string() and ↵Dries Buytaert2004-11-21
| | | | | | implemtented it properly per database backend. Read the manual for pg_escape_string: "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
* - Modified patch #11689 by Adrian: made the locale module work with PostgreSQL.Dries Buytaert2004-10-18
|
* - Patch #11434: made request_uri() (and thus forms) work on IIS.Dries Buytaert2004-10-12
|
* - Simplified/reorganized version of patch #9620 by Jeremy: fixed errors when ↵Dries Buytaert2004-10-04
| | | | writing to cache.
* - Patch #10945 by Adrian: more PostgreSQL fixes/updates.Dries Buytaert2004-09-20
|
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* #10862: Smarter filter cache wiping.Steven Wittens2004-09-15
|
* - Patch #10663 by JonBob: documentation improvements: fixed some typos and ↵Dries Buytaert2004-09-09
| | | | improved consistency to the use of Doxygen/api.module commands in the comments.
* - Patch #10373 by jabart/killed: performance improvement: caching the ↵Dries Buytaert2004-09-08
| | | | variable table improves performance with 20% when serving cached pages.
* - Fixed cache problem introduced by Adrian's PostgreSQL patch.Dries Buytaert2004-09-08
|
* - Patch #10622 by Adrian: fixes various PostgreSQL related problems.Dries Buytaert2004-09-08
| | | | | | | | | | | | | 1) Menu problems with Postgres (this is a highly critical 1 line fix) 2) Archive module fails with Postgres 3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch) 4) Book module fails with Postgres 5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug. 6) Creating accregator_item_table in PostgreSQL 7) Postgres - Polls not displayed on Poll Page 8) Blog module has sql errors with postgres This should not affect MySQL users (hopefully).
* Fixing a faulty check in cache_get() which prevented empty data from being ↵Steven Wittens2004-08-16
| | | | returned. This was required for filtercache, where a cache entry with empty data can have meaning (e.g. as the output for the input '<script></script>' when script is not allowed).
* The Input formats - filter patch has landed. I still need to make update ↵Steven Wittens2004-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
* - Patch #7968 by Adrian: use the complete URL as the cache ID to make Drupal'sDries Buytaert2004-08-06
| | | | caching work on virtual hosts.
* - #9287: More doxygen/documentation fixes by JonBobSteven Wittens2004-07-22
|
* - Patch #9238 by JonBob: added code and Doxygen comments to common.inc andDries Buytaert2004-07-13
| | | | bootstrap.inc.
* - Patch #8509 by Killes and Steven: added support for sending compressedDries Buytaert2004-07-08
| | | | pages. Useful to reduce your site's bandwidth.
* - Changed the way status messages are printed as per Kristjan's suggestion:Dries Buytaert2004-07-08
| | | | | | | | | | http://drupal.org/files/issues/error_messages_list.png (issue #9138). drupal_set_message() has been changed to group message by type and a helper function, theme_status_message(), is added to display the messages. Chameleon and Xtemplate have been updated to use this new function. - Updated CHANGELOG.txt.
* - Patch #8973 by JonBob: Drupal contains many undefined variables and array ↵Dries Buytaert2004-07-02
| | | | indices, which makes PHP throw a lot of warnings when the reporting level is set to E_ALL. Things run fine with these warnings, but as a matter of code style if nothing else we should probably strive to avoid them. The attached fixes most of the more egregious offenders (about 95% of the warnings when I load /node on my test site).
* - Patch #8585 by Junyor: sort blog items by creation date. Added some ↵Dries Buytaert2004-06-30
| | | | database indices.
* - Preventing caching of page when status messages are present (needed for ↵Steven Wittens2004-06-28
| | | | | | redirects after form submission to work properly) - Double-quotes to Single-quotes
* - Removing early experimental tab code that slipped in.Kjartan Mannes2004-06-02
| | | | | - Fixing a copy paste error in file.inc. - Some double => single quote changes.
* - Fixed bug #5977: Date translation screwed.Kjartan Mannes2004-02-21
| | | | - Fixed '\n' => "\n".
* - Bug #5684: filter duplicate headers.Dries Buytaert2004-02-15
|
* - Patch 5140 by Moshe: removed the theme("header") and theme("footer") ↵Dries Buytaert2004-01-26
| | | | functions.
* Patch 5114 by Kjartan:Dries Buytaert2004-01-14
| | | | | | | - Adds drupal_set_header() and drupal_get_headers(). - Cache now stores custom headers. - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head(). - Added RSS autodiscover links to node, blog and taxonomy pages.
* - Patch 4859: new drupal_unpack() consolidates duplicate code and makes itDries Buytaert2004-01-13
| | | | | easy to show avatars next to nodes and comments. Patch by Moshe. As a showcase, maybe Xtemplate should have an option to enable/disable avatars?
* - Fixing wrong superglobal usage.Kjartan Mannes2003-12-18
|
* - Reworked 404 (page not found) handling. Patch by walkah. You can specify aDries Buytaert2003-12-16
| | | | | custom 404 page in the administration page. As a result, error.php could be removed.
* - Patch by Kjartan:Dries Buytaert2003-12-13
| | | | | | | | + Changed drupal_page_header(): converts the If-Modified-Since header into a timestamp and compares against the cache data. Ignore If-Modified-Since and ETag headers if they are present but empty. + Few minor other code cleanups.
* - Small improvement to make request_uri() work on multiple platforms.Dries Buytaert2003-12-11
|
* - Moved the watchdog() function to the bootsrap file. Patch by Moshe.Dries Buytaert2003-12-10
|
* - Improved module loading when serving cached pages. Moshe's bootstrap patch.Dries Buytaert2003-11-18
- Used legend and fieldset tags for the configuration page.