Gábor Hojtsy
dfcbe0591a
#160107 by JohnAlbin: use the same session ID regardless of the protocol used to access the page (eg share sessions between http and https pages)
2007-07-25 10:06:44 +00:00
Gábor Hojtsy
f5ea36bb4d
#125533 by keve: do not continue bootstrap if the process was called back with a phase already executed
2007-07-11 22:04:57 +00:00
Gábor Hojtsy
8caf4da7f1
#82499 by Jose A Reyero and a little bit from myself: send emails localized in the language needed in specific situations, and centralize mail composing operations with hook_mail()
2007-07-01 19:49:19 +00:00
Dries Buytaert
5874ed1046
- Patch #151916 by JohnAlbin: fixing a double patch inclusion.
2007-06-15 06:45:05 +00:00
Dries Buytaert
53420729ea
- Patch #101927 by cooferat: fixed problem with post information.
2007-06-11 15:21:14 +00:00
Dries Buytaert
c83f05e284
- Patch #150452 by JohnAlbin: fixed strict notice.
2007-06-09 07:26:36 +00:00
Dries Buytaert
4fd54aabc5
- Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews.
2007-05-30 08:08:59 +00:00
Gábor Hojtsy
36e87e190c
#147640 by Jose A Reyero with further cleanup by myself: add language code to localization functions
...
This makes it possible to call these functions with a given language code when sending emails to multiple users with different languages in a request for example.
2007-05-29 14:37:49 +00:00
Dries Buytaert
1f86421497
- Patch #55516 by David Strauss et al: removed some database locking.
2007-05-25 21:01:30 +00:00
Dries Buytaert
4a6f5869e5
- Patch #142773 by kbahey: made Drupal work correctly when behind a reverse proxy.
2007-05-25 15:04:42 +00:00
Dries Buytaert
a309ea2be2
- Patch #99011 by merlinofchaos: remove sites/default/settings.php and ship with sites/default/default.settings.php.
2007-05-08 16:36:55 +00:00
Dries Buytaert
e66371cac1
- Patch #137211 by merlinofchaos: move theme information to .info files and improved theme inheritance.
2007-05-06 05:47:52 +00:00
Dries Buytaert
b93ce19a9c
- Patch #56357 by John Albin, alienbrain, moshe, etc: fixed more cookie domain problems.
2007-04-30 14:37:36 +00:00
Dries Buytaert
38d22252b9
- Patch #67893 by kbahey, dww, alienbrain, asimmonds et al: made it possible to filter log messages in the database log.
2007-04-30 11:12:35 +00:00
Dries Buytaert
dbfcd7d137
- Patch #137415 by slantview: simplified the cache API/usages, and made it a tad smarter. Makes it easier to program for, and easier to replace. Will need to be documented.
2007-04-25 21:34:32 +00:00
Gábor Hojtsy
0a5ec93496
#76588 : Small fixes after that patch landed
...
- typo fix in watchdog() phpdoc
- add a missing array() on a watchdog call in ping.module
- handle NULL 'variables' value in syslog module
Noticed these while writing the documentation for watchdog() updates and by comitting the updates into the i18n SVN repository.
2007-04-24 15:53:53 +00:00
Dries Buytaert
f73610bec6
- Patch #76588 by Gabor: made log messages translatable. Yay.
2007-04-24 13:53:15 +00:00
Dries Buytaert
df1bea8bca
- Patch #138429 : reroll.
2007-04-24 10:45:20 +00:00
Dries Buytaert
2e34699b59
- Patch #138429 by Zen: removed unused variables.
2007-04-24 08:43:31 +00:00
Dries Buytaert
f4cbd7c63d
- Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions.
2007-04-15 15:36:10 +00:00
Dries Buytaert
e675979091
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
2007-04-13 08:56:59 +00:00
Dries Buytaert
07e6bdcdfe
- Patch #63881 by kbahey and jakeg: improved Drupal's logging functionality. Added support for external loggers, and included a small syslog module into core.
2007-04-10 10:10:27 +00:00
Dries Buytaert
5bbbf10ba8
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
2007-04-06 13:27:23 +00:00
Dries Buytaert
8fd0fdbd54
- Modified patch #133318 by hunmonk: drupal_get_messages() returning incorrect array value.
2007-04-04 20:50:53 +00:00
Dries Buytaert
b20618aa12
- Patch #128866 by Gabor et al: new language subsystem fixes.
2007-03-28 14:08:23 +00:00
Steven Wittens
f7440d4d73
#130971 : Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
2007-03-27 05:13:55 +00:00
Dries Buytaert
eb0caa354e
- Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem.
2007-03-26 01:32:22 +00:00
Dries Buytaert
4d731dd369
- Patch #111697 by wesley: properly initialized user->time to prevent warnings/errors.
2007-03-25 20:54:33 +00:00
Dries Buytaert
5729c22f6f
- Patch #109941 by morphir: allow the browser to store form fields.
2007-01-29 19:25:19 +00:00
Dries Buytaert
03752e35a4
- Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet.
2007-01-24 14:48:36 +00:00
Steven Wittens
b70e936d24
#109032 : Make session.inc pluggable.
2007-01-15 11:52:02 +00:00
Dries Buytaert
6777463414
- Patch #104693 by ChrisKennedy: pragma dates back from previous protocal.
2007-01-02 10:21:39 +00:00
Dries Buytaert
983eda44ac
- Patch #104693 by ChrisKennedy: send proper HTTP headers: HTTP/1.0 -> HTTP/1.1.
2006-12-21 22:20:19 +00:00
Steven Wittens
cfe44ef80c
#100859 : Fix aggregator categorization form
2006-12-12 06:27:17 +00:00
Steven Wittens
a5d5c6aa4b
#102602 : Even more documentation for constants (webchick)
2006-12-12 06:16:33 +00:00
Dries Buytaert
161a856ab8
- Patch #102603 by webchick: documenting watchdog constants.
2006-12-11 12:01:54 +00:00
Dries Buytaert
eb5e171cb6
- Patch #102612 by webchick: document constants.
2006-12-11 12:00:07 +00:00
Dries Buytaert
a98fa4c2c8
- Patch #102232 by webernet: roll-back of #87310 .
2006-12-10 20:13:36 +00:00
Steven Wittens
b86f45b1e6
#100516 : CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads.
2006-12-10 09:54:35 +00:00
Dries Buytaert
5af372289c
- Patch #101531 by webchick: documenting bootstrap constants.
2006-12-08 12:09:54 +00:00
Dries Buytaert
ea7224fb6a
- Patch #87310 by dfaulkner and Grugnog2: fix borken request_uri() on some systems.
2006-12-08 11:55:56 +00:00
Dries Buytaert
0a3d7ae588
- Patch #101531 by jvandyk: document all the bootstrap phases in Drupal 5.0.
2006-12-06 16:14:11 +00:00
Dries Buytaert
ab1d68d166
- Patch #90612 by Bart Jansens: user_logout should only end the current session.
2006-12-04 10:41:20 +00:00
Dries Buytaert
f191e197ee
- Added database checks.
2006-11-24 10:16:50 +00:00
Dries Buytaert
13d538287e
- Patch #93204 by chx et al: made Drupal work on FastCGI setups.
2006-11-22 09:07:03 +00:00
Dries Buytaert
926e6830d6
- Patch #81076 by Bart Jansens: documentation correction.
2006-11-12 19:16:09 +00:00
Neil Drumm
723056cbb9
#93491 by chx. Don't attempt to read non-existent timers.
2006-11-12 00:21:15 +00:00
Neil Drumm
2310bd9723
#54238 by gopherspidey and fago. Don't cache pages with messages.
2006-09-07 07:11:15 +00:00
Dries Buytaert
fd210c342c
- Patch #81777 by havran: make access checking work on PostgreSQL. (ANSI SQL 92)
2006-09-06 12:27:50 +00:00
Neil Drumm
30b26cc4b8
#81777 by havran and Jaza. Postgres compatibility.
2006-09-06 08:51:53 +00:00
Dries Buytaert
5372c236bc
- Patch #80725 by chx: move the access check up in the bootstrap process. Like that we don't have to load the session when the address is denied access. Can be a notable performance improvement when you block crawlers.
2006-09-06 07:53:01 +00:00
Neil Drumm
bdfa735e1c
#47535 by Wesley Tanaka and nickl. Fix a PHP notice with timers.
2006-09-06 06:43:03 +00:00
Neil Drumm
e86c36cb5b
#80887 by chx. Fix a bug with superglobal cleaning.
2006-09-03 07:08:24 +00:00
Steven Wittens
dd4f143df6
#75002 : Install-time and run-time requirements checking + status report page
2006-09-01 08:44:53 +00:00
Dries Buytaert
c29daaaabb
- Patch #80887 by Matt et al: added an aggressive caching strategy.
2006-08-31 18:40:04 +00:00
Dries Buytaert
8fdf7a8750
- Patch #72290 by killes: split up the cache table.
2006-08-30 08:46:17 +00:00
Neil Drumm
151ad8ba7f
#80849 by robertDouglass. 'Already installed' error needs a filtering function.
2006-08-30 08:03:15 +00:00
Dries Buytaert
ad0e8b5615
- Patch #81078 by M. Plumbley: documented drupal_is_denied(), and improved
...
performance of drupal_is_denied().
2006-08-29 08:36:14 +00:00
Dries Buytaert
cc637b5579
- Patch #80837 by killes and Dries: fixed 403 handling.
2006-08-28 11:08:04 +00:00
Dries Buytaert
bb8d583f4c
- Patch #80597 by jvandyk: improved PHPdoc. Thanks
2006-08-25 05:42:00 +00:00
Dries Buytaert
49481f68f4
- Patch #79166 by hunmonk: fixed session breakage.
2006-08-18 19:24:52 +00:00
Dries Buytaert
3ace12caf8
- Patch #node/76931 by Robert: improved performance of Drupal's session handling.
2006-08-16 13:13:34 +00:00
Neil Drumm
81c25bcd43
#77183 (again) by m3avrck, add standard CSS to the maintenance pages.
2006-08-15 05:16:23 +00:00
Dries Buytaert
d830edae04
- Patch #78328 by Bart: fixed incorrect Etag
2006-08-12 11:47:24 +00:00
Dries Buytaert
729fa6c11b
- Patch #77422 by timcn: corrected various paths in the documentation.
2006-08-07 15:04:16 +00:00
Dries Buytaert
900ad2b099
- Patch #70521 by Grugnog2 et al: fixed 'double logins', caching, and logging in and out.
2006-08-03 13:42:34 +00:00
Dries Buytaert
2c0571b894
- Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal.
2006-08-03 07:06:36 +00:00
Steven Wittens
38e4c1ae91
#76209 : (Eaton et al)
...
- Make installer code integrate better with module.inc / system.module
- Fix schema version bug when installing core
2006-08-03 01:02:51 +00:00
Dries Buytaert
0c05ae7a03
- Patch #74744 by jhenry: 304 handling should send an ETag to meet the HTTP/1.1 spec.
2006-07-22 07:00:30 +00:00
Dries Buytaert
1c75a210bd
- Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core.
2006-07-13 13:14:25 +00:00
Dries Buytaert
c45ca20d0f
- Rolback previous patch: breaks Drupal.
2006-07-10 18:41:10 +00:00
Dries Buytaert
9adf9d8ce4
- Patch #71424 by Moshe: removed global variable.
2006-07-10 15:37:10 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Neil Drumm
c990f2e1c8
#70075 by AjK, send proper headers if caching is turned off.
2006-07-02 19:25:34 +00:00
Dries Buytaert
77d695fe56
- Patch #69341 by chx: remove some SQL queries from the Drupal bootstrap process.
2006-06-28 21:18:30 +00:00
Dries Buytaert
c7ae77cf5f
- Patch #67675 by chx: added support for multiple cache backends.
2006-06-14 14:01:12 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Neil Drumm
fc02bfed53
#61368 by chx, don't unset the global globals array.
2006-05-04 09:28:32 +00:00
Neil Drumm
ac89011bfd
#60457 by JonBob (slightly modified), bootstrap.inc produces [Notice] in error_log
2006-05-02 08:37:42 +00:00
Gerhard Killesreiter
3f4be0d693
#60846 , fix Drupal for running as CGI, patch by chx
2006-04-28 11:52:31 +00:00
Gerhard Killesreiter
8e4524c0d8
#59378 , unset disallowed globals in case register_globals is on, patch by chx
2006-04-21 06:39:00 +00:00
Steven Wittens
bfb407601b
#58418 : $conf ignored after bootstrap patch
2006-04-12 21:39:15 +00:00
Steven Wittens
8ebf819ac2
#58480 : Left over conf_init()
2006-04-12 20:58:09 +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
70aae83c8e
#58166 , fixes for typos, patch by Uwe Herrmann
2006-04-11 11:33:15 +00:00
Gerhard Killesreiter
94355dd832
#56676 , unset($_SESSION['messages']);, patch by chx
2006-04-01 14:53:03 +00:00
Gerhard Killesreiter
53d16d7da0
#42000 , Watchdog can't log errors when using db_set_active(non-default), patch by Chris Johnson and myself
2006-03-26 14:11:38 +00:00
Gerhard Killesreiter
8ea7cb3f48
#50181 , Timer counts not properly incremented, patch by puregin
2006-02-27 13:46:01 +00:00
Dries Buytaert
37ec1bca84
- Patch #44947 by rkerr / Moshe: fixed race condition in session handling, reduced query overhead of session handling, reduced database overhead of session handling.
2006-02-10 05:42:11 +00:00
Dries Buytaert
81660bc662
- Patch #13148 : fix problems with using relative path names! (Please document this change.)
2006-01-29 07:36:29 +00:00
Dries Buytaert
4dd63e0385
- Patch #46183 by chx: made maintenance mode work again.
2006-01-24 18:18:41 +00:00
Dries Buytaert
1766d40093
- Patch #44828 by chx/Crell: make sure the url/path is properly initialized in statistics_exit().
2006-01-23 07:54:08 +00:00
Dries Buytaert
4da4f4c1af
- Patch #44379 by Moshe: code improvements: always grant the 'authenticated user' role to authenticated users. Fixed glitch with udpate path.
2006-01-21 08:28:55 +00:00
Steven Wittens
67fc0913ac
- #44992 : ./ prefix for conf file include (faster)
2006-01-17 06:17:29 +00:00
Dries Buytaert
54b8ad6550
- Patch #22035 by Matt: fixed problem with alias table getting corrupted.
2006-01-16 08:34:45 +00:00
Dries Buytaert
15299efc89
- Patch #43360 by Chris: minor code clean-up: renamed $op to $hook.
2006-01-05 10:51:47 +00:00
Dries Buytaert
5accfa08f5
- Patch #41133 by DriesK: as of PHP 5.1.0, strtotime() returns FALSE on failure instead of -1.
...
Changed code to be compatible with all versions.
2005-12-15 16:02:50 +00:00
Dries Buytaert
2917261693
- Removed valid_input_check().
2005-11-30 10:27:13 +00:00
Dries Buytaert
f4799d1ce9
- check_plain() missed its train.
2005-11-29 20:37:19 +00:00
Dries Buytaert
2d0df351d7
- Various fixes. Updated CHANGELOG.txt
2005-11-29 20:17:10 +00:00
Dries Buytaert
244945365d
- Patch #10407 by Cvbge: fixed cache problems with PostgreSQL.
2005-11-27 11:52:08 +00:00
Dries Buytaert
7a5c5b83a7
- Patch #35725 by drumm: improved conf_init() documentation.
2005-11-21 21:33:44 +00:00
Steven Wittens
cbc92f59cf
#35725 : Make site.com:80 work like site.com
2005-11-21 16:24:41 +00:00
Dries Buytaert
f6764cfbd8
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
2005-10-22 15:14:46 +00:00
Dries Buytaert
59cb3c4568
- Patch #13224 by Richard Archer and Gerhard: improved gzip caching.
2005-10-09 21:51:43 +00:00
Dries Buytaert
2b3126b2cc
Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc.
2005-09-19 19:13:35 +00:00
Dries Buytaert
ceb9859d70
- Patch #29030 by Goba, chx, Jose, et al: reworked the URL rewrite hook so URLs can be rewritten dynamically.
2005-09-18 10:32: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
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
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
Dries Buytaert
8dd4b46351
- Removed some debug code.
2005-08-25 20:56:32 +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
Steven Wittens
0bf97bed03
- #27853 : PHP notices.
2005-08-05 00:49:02 +00:00
Steven Wittens
aa2de74fa2
- #27624 , #27614 , #27627 : dead code
2005-07-29 08:18:20 +00:00
Steven Wittens
354e0c1f83
- #23651 : Display referrer info with watchdog messages.
2005-07-29 04:12:19 +00:00
Steven Wittens
d9d4b9bdab
- #27231 : Friendly DB error screens.
2005-07-27 01:58:43 +00:00
Dries Buytaert
ba1660168f
- Patch #27003 by Neil: use named constants instead of strings
2005-07-23 05:57:27 +00:00
Dries Buytaert
fac840fe86
- Patch by Bart: fixed update.php after bootstrap patch.
2005-07-03 10:09:08 +00:00
Dries Buytaert
578d266d2f
- Patch #25816 by Robert Douglass: removed extra load of boostrap.inc.
2005-06-27 18:38:46 +00:00
Dries Buytaert
5c8843704c
- Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
...
up the documentation a little.
chx: can you double-check whether the global $conf variable is secure?
(That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00
Dries Buytaert
4c77761efb
- Patch #3962 by deekayen: improved error message when a blocked user attempts to login.
2005-06-21 18:21:08 +00:00
Dries Buytaert
1474632aa0
- Patch #24135 by Moshe: made it possible to ban visitors based on hostname/IP. Banning visitors can either be done from the 'access control' pages, or directly from the statistics pages. This feature is very convenient to block badly behaving crawlers.
2005-06-07 18:54:37 +00:00
Dries Buytaert
cdec2f7e3e
- Patch #16303 by Gerhard: fixed some warnings.
2005-05-21 11:33:03 +00:00
Dries Buytaert
ae98abc15b
- Patch #22652 by Stefan: improved PHPdoc of drupal_set_message().
2005-05-14 18:32:22 +00:00
Dries Buytaert
139ef4027c
- Patch #22035 by mathias/mikeryan: improved performance of path aliases.
2005-05-14 09:23:47 +00:00
Dries Buytaert
2b7f504dc8
- Added the ability to track page generation times in the statistics module.
...
(Made some improvements as per the suggestions in the issue.)
- Added extended timer implementation.
2005-05-12 11:21:35 +00:00
Dries Buytaert
b43a782b61
- Removed some dead code.
2005-04-12 16:55:11 +00:00
Dries Buytaert
e3d62d907b
- Patch #19298 by Jeremy: loose caching!
...
Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds. Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes.
(I rewrote the help text a bit and made minor changes to the code comments.)
2005-04-11 19:05:52 +00:00
Dries Buytaert
18e852e4e7
- Patch #19933 by willmoy: stop output buffering once the page has been rendered.
2005-04-05 19:00:24 +00:00
Dries Buytaert
7bdcba1720
- Patch #19739 by Uwe: corrected many typo's in the documentation and code comments
2005-03-31 21:18:08 +00:00
Steven Wittens
be14203534
- #18817 : Clean up plain-text checking (see drupal-devel!)
2005-03-31 09:25:33 +00:00
Steven Wittens
f60da5b071
- #19130 : Handle trailing dot in hostname when scanning for config.
2005-03-19 01:24:18 +00:00
Steven Wittens
98c2d5b2b8
- #5900 : Fix browser caching issues.
2005-03-18 09:13:55 +00:00
Dries Buytaert
97ae6568e6
- Patch #13738 by TDobes: theme system fixes:
...
* Fix a bug which would cause the "configure" link for styles to be broken.
* Fix a bug with using drupal_get_filename for theme engines. Although this is not called anywhere in core, we should still fix it for contrib. (i.e. themes that may want to manually invoke a theme engine to create a hybrid theme)
* Correct an inaccurate comment in theme.inc
* Populate the default primary links with an "edit primary links" link for consistency with the secondary links
* remove some unnecessary variables in the theme administration which had misleading and confusing names
* replace time-consuming foreach when rendering theme admin page with a more efficient array_key_exists
* usability: rather than completely removing the search box checkbox when search.module is disabled, simply disable it. (UI elements shouldn't appear/disappear.)
2005-03-16 19:41:12 +00:00
Dries Buytaert
64b100d19a
- Patch #13260 by UnConeD: watchdog module improvements.
...
We added a 'severity' column to watchdog():
watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);
* Specify a severity in case you are reporting a warning or error.
* The $link-parameter is now the fourth parameter instead of the third.
TODO: document this in the upgrade guide.
2005-01-09 09:22:40 +00:00
Dries Buytaert
bc9aeff7dd
- Patch #14890 : corrected the documentation of conf_init().
2004-12-29 19:56:25 +00:00
Dries Buytaert
3cd9a1b2d4
- Patch #13405 by Moshe: make you actually do something useful with the init hook. A recent patch to 4.5 and HEAD made this patch run too early in the request (for non-cached pages).
2004-12-01 22:16:50 +00:00
Dries Buytaert
5d0dfeb562
- Patch #13405 by Moshe:
...
+ Make bootstrap functionality work with HEAD.
+ Move functions into bootstrap.inc so that statistics_exit() works for cached pages. (Does this close any issues?)
2004-11-25 06:14:59 +00:00
Dries Buytaert
5d759ccbb9
- Patch #5942 by jhriggs and Adrian:
...
+ added support for multi-site configurations.
+ tidied up some old cruft and added code comments.
2004-11-24 22:44:01 +00:00
Dries Buytaert
fa97839088
- Patch 13180 by chx: renamed check_query() to db_escape_string() and 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."
2004-11-21 08:25:17 +00:00
Dries Buytaert
e86b041fa3
- Modified patch #11689 by Adrian: made the locale module work with PostgreSQL.
2004-10-18 18:35:19 +00:00
Dries Buytaert
467bc55972
- Patch #11434 : made request_uri() (and thus forms) work on IIS.
2004-10-12 19:50:12 +00:00
Dries Buytaert
503c784557
- Simplified/reorganized version of patch #9620 by Jeremy: fixed errors when writing to cache.
2004-10-04 22:04:07 +00:00
Dries Buytaert
228b3c7cc8
- Patch #10945 by Adrian: more PostgreSQL fixes/updates.
2004-09-20 17:58:14 +00:00
Dries Buytaert
5c7983c4de
- Patch #8179 by JonBob: reintroduced menu caching.
2004-09-16 07:17:56 +00:00
Steven Wittens
f8b429e963
#10862 : Smarter filter cache wiping.
2004-09-15 20:34:35 +00:00
Dries Buytaert
b84b6e42cf
- Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments.
2004-09-09 05:51:08 +00:00
Dries Buytaert
d56ced2a06
- Patch #10373 by jabart/killed: performance improvement: caching the variable table improves performance with 20% when serving cached pages.
2004-09-08 18:06:04 +00:00
Dries Buytaert
80086a9e02
- Fixed cache problem introduced by Adrian's PostgreSQL patch.
2004-09-08 17:45:27 +00:00
Dries Buytaert
7b716e8e77
- Patch #10622 by Adrian: fixes various PostgreSQL related problems.
...
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).
2004-09-08 15:38:26 +00:00
Steven Wittens
621ec02ee7
Fixing a faulty check in cache_get() which prevented empty data from being 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).
2004-08-16 22:39:48 +00:00
Steven Wittens
660f99287d
The Input formats - filter patch has landed. I still need to make update 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.
2004-08-10 18:34:29 +00:00
Dries Buytaert
9e54dc27ff
- Patch #7968 by Adrian: use the complete URL as the cache ID to make Drupal's
...
caching work on virtual hosts.
2004-08-06 20:38:48 +00:00
Steven Wittens
edc2f13d82
- #9287 : More doxygen/documentation fixes by JonBob
2004-07-22 16:06:54 +00:00
Dries Buytaert
50d78e9855
- Patch #9238 by JonBob: added code and Doxygen comments to common.inc and
...
bootstrap.inc.
2004-07-13 07:21:14 +00:00
Dries Buytaert
a067187711
- Patch #8509 by Killes and Steven: added support for sending compressed
...
pages. Useful to reduce your site's bandwidth.
2004-07-08 19:22:48 +00:00
Dries Buytaert
5b73def39b
- Changed the way status messages are printed as per Kristjan's suggestion:
...
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.
2004-07-08 16:04:07 +00:00
Dries Buytaert
9986cb36b5
- Patch #8973 by JonBob: Drupal contains many undefined variables and array 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).
2004-07-02 18:46:42 +00:00
Dries Buytaert
e3e051cc0d
- Patch #8585 by Junyor: sort blog items by creation date. Added some database indices.
2004-06-30 07:26:02 +00:00
Steven Wittens
6a00c7c2f2
- Preventing caching of page when status messages are present (needed for redirects after form submission to work properly)
...
- Double-quotes to Single-quotes
2004-06-28 20:00:53 +00:00
Kjartan Mannes
c3463a22ae
- Removing early experimental tab code that slipped in.
...
- Fixing a copy paste error in file.inc.
- Some double => single quote changes.
2004-06-02 18:26:44 +00:00
Kjartan Mannes
54c2aa8c4d
- Fixed bug #5977 : Date translation screwed.
...
- Fixed '\n' => "\n".
2004-02-21 14:08:09 +00:00
Dries Buytaert
4ed30eefb1
- Bug #5684 : filter duplicate headers.
2004-02-15 15:57:55 +00:00
Dries Buytaert
667022830e
- Patch 5140 by Moshe: removed the theme("header") and theme("footer") functions.
2004-01-26 19:05:21 +00:00
Dries Buytaert
6fc2070a22
Patch 5114 by Kjartan:
...
- 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.
2004-01-14 22:30:09 +00:00
Dries Buytaert
eee72bfa95
- Patch 4859: new drupal_unpack() consolidates duplicate code and makes it
...
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?
2004-01-13 19:25:37 +00:00
Kjartan Mannes
3d9e2f2c76
- Fixing wrong superglobal usage.
2003-12-18 13:58:59 +00:00
Dries Buytaert
670a292277
- Reworked 404 (page not found) handling. Patch by walkah. You can specify a
...
custom 404 page in the administration page. As a result, error.php could be
removed.
2003-12-16 21:06:34 +00:00
Dries Buytaert
af69e63653
- Patch by Kjartan:
...
+ 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.
2003-12-13 14:10:23 +00:00
Dries Buytaert
53167d2e51
- Small improvement to make request_uri() work on multiple platforms.
2003-12-11 21:28:49 +00:00
Dries Buytaert
b1ef96931a
- Moved the watchdog() function to the bootsrap file. Patch by Moshe.
2003-12-10 23:09:31 +00:00
Dries Buytaert
a0640e66b7
- Improved module loading when serving cached pages. Moshe's bootstrap patch.
...
- Used legend and fieldset tags for the configuration page.
2003-11-18 19:44:36 +00:00