Dries Buytaert
fa40f24460
- Patch #20235 by chx: fixed problem with db_set_active().
2005-04-14 18:50:16 +00:00
Dries Buytaert
495a03ae9d
- Patch #12794 by assimonds: make sure the node module is optional.
2005-04-13 17:59:39 +00:00
Dries Buytaert
b43a782b61
- Removed some dead code.
2005-04-12 16:55:11 +00:00
Steven Wittens
23bccfd1c8
- #4166 : Respect 'access userlist' permission for profile data.
2005-04-11 22:48:27 +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
Steven Wittens
230db1039a
- Missing check_url() in form().
2005-04-10 10:22:40 +00:00
Dries Buytaert
47f1f7f90a
- Patch #19609 by Daniel: fix problem with database prefixing
2005-04-08 14:24:03 +00:00
Dries Buytaert
67f7d6947e
- Fixed bug #19868 : undefined variable.
2005-04-08 11:24:46 +00:00
Steven Wittens
0f41706acc
- #19874 : Fix aggregator escaping after check_plain bug
...
- Fix bug in decode_entities() with double-escaped entities.
2005-04-07 22:46:55 +00:00
Dries Buytaert
6ba8f32cca
- Patch #13503 by chx: made the menu cache locale aware.
2005-04-07 20:00:48 +00:00
Dries Buytaert
97bfa01725
- Patch #18828 by me, jbond and TDobes: moves the textarea hook for 'pre' between the title and the textarea. This makes it easier for simply textarea enhancements like quicktags to add a toolbar just above the textarea.
2005-04-06 07:43:10 +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
69a066c4cd
- Patch #19895 by Moshe: currently modules can inadvertently load all other modules during the bootstrap. this is easy to do by calling a node_load() or module_invoke_all(). this degrades performance for anonymous users when caching is enabled. With this patch, the module writer will see an php error like "Call to undefined function: drupal_set_html_head()" if this is attempted. basically, unavailable functions are actually reported as unavailable.
2005-04-03 08:03:18 +00:00
Steven Wittens
d48351a027
- #19873 : drupal_specialchars -> check_plain
2005-04-02 18:22:17 +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
Dries Buytaert
99233a9c99
- Patch #19590 by Moshe: lazy initialization of the theme system. Improves
...
performance of pages that don't need the theme system (such as RSS feeds)
and makes it easier to set a custom theme.
2005-03-29 21:01:47 +00:00
Steven Wittens
ab4261dc31
- #19517 : Fix GD2 toolkit error.
...
- Tweak code style.
2005-03-29 00:01:23 +00:00
Dries Buytaert
f514f55112
- Patch #18700 by Stefan and James: removed GD1 calls, improved error/status reporting, etc.
2005-03-23 20:26:21 +00:00
Dries Buytaert
6957d7863d
- Patch #19212 by chx: removed unused variables, and fixed the error reporting
...
in form_file().
2005-03-21 19:26:47 +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
Steven Wittens
0a984f2c2b
- #18597 : Resolve conflict in column name between queue.module and poll.module.
2005-03-18 07:34:07 +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
7dbce6f402
- Removed . We'll reintroduce it when really necessary.
2005-03-08 22:10:26 +00:00
Dries Buytaert
3becbd8997
- Patch #16914 by chx: avoid that putting a .theme file directly in './themes'
...
breaks your Drupal. Only themes in './themes/subdir' are picked up now.
2005-03-08 22:06:11 +00:00
Dries Buytaert
42a085c8ad
- Patch #18437 by Mathias: Drupal doesn't allow URL aliases that map to Userland Manila posts since they usually contain the '$' and are considered an invalid URL. This patch allows '$' in an URL and thus an alias. It also resolves a disparity between the 'allowable characters' of absolute and relative URLs. As far as I can tell, those parts of the regexp should be the same.
2005-03-06 06:57:58 +00:00
Steven Wittens
198ec98f75
#18329 : Unify confirmation messages (and make them themable)
2005-03-03 20:51:27 +00:00
Dries Buytaert
f7b8f53577
- Ignore PHP5's strict warnings for now. The real solution is to rewrite both xmlrpc.inc and xtemplate.inc.
2005-03-03 20:13:20 +00:00
Steven Wittens
36aaecd27e
- Moving comment
2005-03-03 20:08:02 +00:00
Steven Wittens
e68280064e
- #18319 : Move encoding conversion out of drupal_xml_parser_create() so it can be used by modules.
2005-03-03 20:06:42 +00:00
Dries Buytaert
456fd7cc85
- Patch #17770 by chx: fixed module_invoke() and module_invoke_all() not to use NULL defaults (bugfix) + removed the limitation on the number of paramaters that can be used.
2005-03-01 20:23:35 +00:00
Dries Buytaert
2ba1d5bbcc
- Simplified the session code (PostgreSQL update).
2005-03-01 20:15:10 +00:00
Steven Wittens
365930732d
- Missing '>' (reported by Goba)
2005-03-01 18:45:38 +00:00
Steven Wittens
ff386b90bb
#17747 : PGSQL improvements
2005-02-28 18:00:59 +00:00
Dries Buytaert
2b6d4c566e
- Patch #17869 : make local tasks more themeable.
2005-02-28 16:23:27 +00:00
Dries Buytaert
1e15bed312
- Patch #17687 by Gerhard: removed some cruft.
2005-02-21 19:47:44 +00:00
Steven Wittens
e9f14b70d2
#17477 : Remove dependency on GD for avatar uploading.
2005-02-21 04:16:46 +00:00
Steven Wittens
bb08146c67
- Fixing broken search after sql rewrite patches
...
- Minor code style fixes.
2005-02-19 22:24:24 +00:00
Steven Wittens
a5b8a0a8fb
- Removing dead variable
2005-02-09 17:33:53 +00:00
Steven Wittens
7c6a787295
- #16111 : bad quotes in db_rewrite_sql
2005-02-05 00:12:24 +00:00
Steven Wittens
7fe195a07e
- PHP5 fix due object references: node previewing should not put node output into form.
2005-02-04 20:14:05 +00:00
Dries Buytaert
fbec279e4c
- Patch #16246 by Moshe: added mechanism to direct the user back to the referring page after completing a form.
...
(Moshe: the patch against node.module failed to apply.)
2005-02-01 19:45:58 +00:00
Dries Buytaert
7ccc5a6b1b
- Patch #16358 by James: added toolkit to enable better image handling. The avatar code and the upload module have been updated to take advantage of the new image API.
...
There are 5 main functions that modules may now utilize to handle images:
* image_get_info() - this function checks a file. If it exists and is a valid image file, it will return an array containing things like the pixel dimensions of the image, plus the 'type' and common extension.
* image_scale - resizes a given image to fit within a given width / height dimensions, while maintaining aspect ratio (not distorting the image). This function can be used to generate thumbnails, or ensure a maximum resolution, etc.
* image_resize - similar to image_scale (but will not respect aspect ratio - may well distort the image).
* image_rotate - rotate an image by X degrees
* image_crop - crops an image to a given rectangle (defined as top-left x/y coordinates plus a width & height of the rectangle).
Contribution modules will now be able to rely on these base manipulation functions to offer additional functionality (such as image nodes, photo galleries, advanced image manipulation, etc).
2005-02-01 16:27:43 +00:00
Dries Buytaert
7931c778d7
- Patch #16513 by James (slightly modified): export categories and enclosures to RSS feeds (and made RSS feeds extensible).
...
NOTE: this needs to be documented.
2005-02-01 14:09:31 +00:00
Dries Buytaert
171de5d46d
- Patch #16303 by Gerhard: fixed PHP notices.
2005-01-31 21:36:37 +00:00
Dries Buytaert
96c039680a
- Patch #16111 by chx: fixed some bugs in the db_rewrite_sql() code.
2005-01-31 20:45:10 +00:00
Dries Buytaert
b176382d23
- Patch #16111 by chx: PHPdoc/documentation improvements.
2005-01-30 17:48:52 +00:00
Dries Buytaert
59c2208ea6
- Patch #16253 by Goba: incremental improvements to the new content markers.
...
Goba: it would be nice if one of the core themes would showcase this functionality. ;-)
2005-01-30 09:53:19 +00:00
Dries Buytaert
993ea0c6c5
- Patch #16111 by chx: generalized node_rewrite_query to db_rewrite_query.
2005-01-29 22:02:37 +00:00