Angie Byron
ab07b4cd5e
#305077 by DamZ, boombatower, and cwgordon7: Rework SimpleTest backend.
2008-09-10 04:13:01 +00:00
Dries Buytaert
c2746a949e
- Patch #208793 by kbahey, Damien Tournoud: stop hardcoding the HTTP protocol version where possible.
2008-09-08 21:24:30 +00:00
Angie Byron
73356fde8b
#296310 by DamZ: Fixes to drupal_http_request() and accompanying tests.
2008-09-06 15:06:10 +00:00
Dries Buytaert
e5b0e5f76c
- Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency.
2008-09-06 08:36:22 +00:00
Dries Buytaert
69e6f411a9
- Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7.
2008-08-21 19:36:39 +00:00
Dries Buytaert
fee4182cb9
- Patch #296300 by chx: remove edit[] and fixed Doxygen.
2008-08-17 11:08:23 +00:00
Dries Buytaert
72d13bc3f8
- Patch #295506 by swentel: node preview is rendered twice.
2008-08-16 07:33:05 +00:00
Dries Buytaert
c639b5135f
- Patch #295564 by boombatower, Damien Tournoud: fixed drupal_http_request error and cleaned up some simpletest stuff. We should have a much more funky 'all tests passed' screen. Having all tests pass shouldn't be this boring. Let's be a bit more creative and injest some fun ... ;-)
2008-08-16 07:31:01 +00:00
Dries Buytaert
6fbbaf066f
- Patch #268477 by MadHarold, Damien Tournoud, kkaefer, et al: untranslatable suffix in format_size()
2008-08-14 09:21:49 +00:00
Dries Buytaert
ab4e39da83
- Patch #283806 by mustafau: fixed bug in drupal_http_request() and added some first drupal_http_request() tests to core. Yay.
2008-08-13 07:11:18 +00:00
Dries Buytaert
89fffd242a
- Patch #283806 by mustafau, Aron Noval: improved error handling in drupal_http_request().
2008-08-12 08:36:38 +00:00
Dries Buytaert
6c1068e48d
- Patch #287877 by dmitrig01: rename drupal_rebuild_code_registry() to registry_rebuild() for consistency.
2008-08-02 19:01:02 +00:00
Dries Buytaert
9cec02e472
- Patch #158992 by sun, quicksketch, zeta ζ, bangpound, Dries et al: inline Javascript could generate invalid XHTML.
2008-08-02 18:56:53 +00:00
Dries Buytaert
446b29271c
- Patch #263517 by mfb: fixed notice in RSS feeds.
2008-07-19 10:38:13 +00:00
Dries Buytaert
fb3b6d13b8
- Patch #231190 by eli, mfb: page cache didn't work with HEAD requests.
2008-07-17 21:10:39 +00:00
Dries Buytaert
57fe5103da
- Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value.
2008-07-16 21:59:29 +00:00
Dries Buytaert
ca144061cb
- Patch #277604 by gpk: improved phpDoc of url().
2008-07-02 19:36:52 +00:00
Dries Buytaert
bb232c728a
- Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line.
2008-07-01 20:36:40 +00:00
Dries Buytaert
fae9063c68
- Patch #197124 by dixon_, keith.smith: made it possible to ignore a theme's stylesheets.
2008-07-01 20:22:22 +00:00
Dries Buytaert
6aea1d0873
- Patch #260778 by boombatower et al: play a user agent trick to make the tests work.
2008-06-24 22:09:52 +00:00
Dries Buytaert
6e2358b232
- Patch #270045 by drewish, Susurrus: clean up return values.
2008-06-18 03:36:24 +00:00
Dries Buytaert
ecb032a239
- Patch #151902 by MadHarold et al: a better format_size() (and removed some excessive white space).
2008-06-09 08:11:45 +00:00
Dries Buytaert
b806c1b03b
- Patch #259001 by paul.lovvik: drupal_cron_run should ignore a user abort.
2008-05-30 17:41:51 +00:00
Dries Buytaert
c529e4afbe
- Patch #101543 by webchick: document all constants.
2008-05-26 17:12:55 +00:00
Dries Buytaert
9d4dea4e55
- Patch #258475 by alpritt: Doxygen improvements.
2008-05-16 01:23:31 +00:00
Dries Buytaert
a7d345d7a7
- Patch #200824 by sammys, Arancaytar et al: fixed bug in drupal_write_record().
2008-05-15 21:15:10 +00:00
Dries Buytaert
757dbee6ab
- Patch #258128 by webchick: @parameter should be @param. Gets the Most Trivial Patch of the Month Award.
2008-05-14 13:15:09 +00:00
Dries Buytaert
2e18cb8924
- Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
...
et al. Can you say 'registry'? Drupal now maintains an internal registry of
all functions or classes in the system, allowing it to lazy-load code files as
needed (reducing the amount of code that must be parsed on each request). The
list of included files is cached per menu callback for subsequent loading by
the menu router. This way, a given page request will have all the code it needs
but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert
56d2664a90
- Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators.
2008-04-14 17:48:46 +00:00
Dries Buytaert
ee08784f88
- Patch #189568 by dvessel: don't include a CSS file in the aggregated CSS output when that file is overwritten by a theme-specific CSS file.
2008-04-10 10:19:01 +00:00
Dries Buytaert
ed59911f9e
- Patch #29706 by pwolanin, solardiz, et al: more secure password hashing.
...
This is a big and important patch for Drupal's security. We are switching
to much stronger password hashes that are also compatible with the Portable
PHP password hashing framework.
The new password hashes defeat a number of attacks, including:
- The ability to try candidate passwords against multiple hashes at once.
- The ability to use pre-hashed lists of candidate passwords.
- The ability to determine whether two users have the same (or different)
password without actually having to guess one of the passwords.
Also implemented a pluggable password hashing API (similar to how an alternate
cache mechanism can be used) to allow developers to readily substitute an
alternative hashing and authentication scheme.
Thanks all!
2008-03-31 20:50:05 +00:00
Dries Buytaert
771950b15d
- Patch #239958 by Steve Dondley: make the explicit cache clearing functionality reload the theme's .info file. (We're back from a vacation in the French Alpes, BTW! Time to catch up with patches.)
2008-03-31 18:17:21 +00:00
Dries Buytaert
064417f34b
- Patch #222578 by pwolanin: alter drupal_to_js() to use json_encode().
2008-03-17 17:01:05 +00:00
Dries Buytaert
7b699125fb
- Patch #189568 by dvessel et al: overriding of module CSS didn't always work.
2008-02-20 13:38:32 +00:00
Dries Buytaert
60688d68db
- Patch #181411 by Moshe: use schema API for saving and updating user records.
2008-02-18 16:53:37 +00:00
Dries Buytaert
01a4c0d827
- Patch #222385 by pwolanin: removed drupal_clone() hack in favor of the real PHP5 clone().
2008-02-17 19:29:07 +00:00
Gábor Hojtsy
60cb54b938
Back to 6.0-dev
2008-01-30 23:07:41 +00:00
Gábor Hojtsy
c2665870c4
Preparing for RC3
2008-01-30 22:43:55 +00:00
Gábor Hojtsy
279d2d4c44
#213517 by ax: inline documentation cleanup, fixing four unclosed @defgroups
2008-01-28 16:05:17 +00:00
Gábor Hojtsy
d40bb1e98d
#207330 by c960657: allow custom URL rewriter to work on base_url and fix urlencoding of front page URL with a path prefix
2008-01-27 19:57:36 +00:00
Gábor Hojtsy
f16986574a
#209077 by bec: missing initialization for the placeholders array in drupal_write_record()
2008-01-16 10:37:30 +00:00
Dries Buytaert
b62029cfb8
- Patch #115606 by Junyor, thesaint_02: added support for PHP 5.2's 'recoverable fatal errors'.
2008-01-15 08:13:40 +00:00
Gábor Hojtsy
3395c97e37
Back to 6.0-dev
2008-01-10 23:14:58 +00:00
Gábor Hojtsy
78bc68f304
Drupal 6 RC2
2008-01-10 22:47:17 +00:00
Gábor Hojtsy
66b7a5cb74
#199946 by JirkaRybka: append a short query string to CSS and JS files, changing on upgrades, so on core/module/theme upgrades, browser caches will 'flush'
2008-01-07 19:43:29 +00:00
Gábor Hojtsy
8ea4186e71
#207170 by hswong3i slightly modified: drupal_write_record() did not return FALSE on query failure and had bad documentation on the returned values
2008-01-07 19:28:06 +00:00
Gábor Hojtsy
ac4c8f7ab0
#203274 by Pasqualle: remove excessive witespace from our code (minor)
2007-12-22 23:24:26 +00:00
Gábor Hojtsy
e60c31715d
#200921 by Pancho: code consistency change, renaming an internal variable in drupal_get_schema() for better developer docs
2007-12-22 21:12:04 +00:00
Gábor Hojtsy
d5974b7862
back to 6.x-dev
2007-12-20 23:14:11 +00:00
Gábor Hojtsy
efd544136b
Gearing up for Drupal 6 RC1
2007-12-20 22:41:24 +00:00
Gábor Hojtsy
e6a4b82e6e
#196535 by sun, chx, dww: check whether Drupal can issue HTTP requests at all, so we know that this is the cause of problems, not the remote host not responding.
2007-12-20 08:57:55 +00:00
Gábor Hojtsy
277a15248f
#183940 by bjaspan, keith.smith: remove broken JS compression, but leave JS aggregation; update help text to that effect
2007-12-19 17:19:50 +00:00
Gábor Hojtsy
1ee3efdf55
#202184 by Rho_pare: fix drupal_alter() not checking for having an array, broken by #192767
2007-12-19 11:23:25 +00:00
Gábor Hojtsy
ff6ce75f7b
#200370 by quicksketch: fixes to drag and drop support to make it usable by CCK
2007-12-19 10:58:35 +00:00
Gábor Hojtsy
e7fc2383df
#192767 by fago, Eaton, chx: taking form_state per reference in form constructor function. Will be replaced with a nicer PHP 5 solution in Drupal 7.
2007-12-18 16:24:01 +00:00
Dries Buytaert
02539ac3f8
- Patch #195496 by bjaspan and hunmonk: no 'char' data type in Schema API (and removed spaces).
2007-12-18 10:31:42 +00:00
Gábor Hojtsy
83bde0f547
#193804 by starbow, Rob Loach, Wim Leers: add often used basePath setting by defualt to JS settings, also providing an elegant bugfix to #201248
2007-12-17 23:43:43 +00:00
Gábor Hojtsy
2035f1d48f
#194098 by mfer, theborg: reset theme in drupal_eval(), so the evaluated code will not see the caller module as current theme
2007-12-16 14:09:24 +00:00
Gábor Hojtsy
2325fd5105
#199654 by yched: stale schema cache was used when a schema cache refresh was requested
2007-12-12 14:54:27 +00:00
Gábor Hojtsy
5622bce2d5
#198579 by webernet and hswong3i: a huge set of coding style fixes, including:
...
- whitespaces at end of lines
- indentation
- control structure usage
- whitespace in empty lines
- phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy
5d8cf1b865
#113607 by Steven, chx, hass, catch and dvessel: proper inclusion of style sheets when/where @import is used
2007-12-07 11:14:05 +00:00
Gábor Hojtsy
57cedbb56d
Back to 6.0-dev
2007-12-05 21:31:59 +00:00
Gábor Hojtsy
aa6f1c8315
Drupal 6.0 beta 4
2007-12-05 21:18:29 +00:00
Gábor Hojtsy
5bb6927e18
#196410 report by daniel.soneira, patch by myself, tested by Freso: several fixes to url() generation and path aliasing, fixing path aliases for node paths and front page links in themes
2007-12-05 16:34:07 +00:00
Gábor Hojtsy
5120c8a8dd
#194026 by mfer: if only themes add JS files, drupal.js and jquery.js were not added
2007-11-30 15:31:13 +00:00
Gábor Hojtsy
e9f52b4248
#141727 by merlinofchaos, dvessel, sun: restore themeability support for maintenance pages (regression)
2007-11-30 12:19:10 +00:00
Gábor Hojtsy
5395f208d3
#194743 by myself, reported and tested by Murz: the base URL was not properly modified for outgoing links to different language domains and path aliases were not handled in the target language
2007-11-29 14:42:31 +00:00
Gábor Hojtsy
efbd1db550
#193320 by JirkaRybka: _locale_rebuild_js() was invoked on every page view, now optimized
2007-11-26 22:34:09 +00:00
Gábor Hojtsy
e6a88be5d1
#193333 by quicksketch et al: taxonomy drag and drop support
2007-11-26 19:46:52 +00:00
Dries Buytaert
9a96837b89
- Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues.
2007-11-26 16:36:44 +00:00
Dries Buytaert
22444f2fed
- Patch #195173 by Eaton et al: allow administrators to clear all caches.
2007-11-26 16:25:14 +00:00
Dries Buytaert
58852d4b7b
- Patch #192736 by quicksketch et al: drag and drop for book module.
2007-11-26 16:19:37 +00:00
Dries Buytaert
2f0657bc3d
- Removing excessive whitespace.
2007-11-23 13:34:55 +00:00
Gábor Hojtsy
98eefd9f0c
back to Drupal 6.0-dev
2007-11-21 22:53:40 +00:00
Gábor Hojtsy
b3bda1c1e9
Getting ready for Drupal 6.0-beta3
2007-11-21 22:33:30 +00:00
Gábor Hojtsy
8bd692d618
#193572 by Crell: fix drag and drop documentation and add drag and drop ordering to filter formats
2007-11-20 20:13:04 +00:00
Gábor Hojtsy
6d4862c258
#181126 by quicksketch et al: drag and drop support for menus
2007-11-20 10:18:43 +00:00
Dries Buytaert
9771f15ffc
- Patch #179143 by Gabor, JirkaRybka, chx, ChrisKennedy, et al: do not fire bootstrap hooks during update.
2007-11-16 15:35:24 +00:00
Gábor Hojtsy
ad6f9ba7bd
#190899 by bjaspan: (regression) return the queries performed in drupal_install_schema() and drupal_uninstall_schema(), so module install hooks can report on creation of tables, or failures, as it was in Drupal 5
2007-11-16 09:27:22 +00:00
Dries Buytaert
6049f23760
- Patch #181066 by quicksketch et al: drag and drop of table rows on the block adminsitration page.
2007-11-14 09:50:00 +00:00
Dries Buytaert
f68f525401
- Patch #191116 by david: make drupal_urlencode() rfc 1738 compliant to make it work correctly with spaces.
2007-11-13 12:35:19 +00:00
Gábor Hojtsy
2c912063bf
#84754 : fix 404 and 403 error pages if the path set for these error pages does not exist
2007-11-12 22:12:12 +00:00
Gábor Hojtsy
dcf7a123dc
#78487 by FredCK, forngren and bjaspan: document <front> support in url() and l() and proper active class support for <front>
2007-11-04 21:24:09 +00:00
Gábor Hojtsy
98a5fb1419
#186963 by JirkaRybka: remove HTML from link titles (attribute values) if it seems we have tags included
2007-11-04 14:18:56 +00:00
Dries Buytaert
ca0bbfee5b
- Modified version of patch #121820 by Caleb et al: add an option for page compression.
2007-10-25 15:38:25 +00:00
Gábor Hojtsy
13f9882979
#179276 by JirkaRybka: (regression) fix profile field sections to order properly by weight.
2007-10-25 10:30:40 +00:00
Gábor Hojtsy
7e963c13ff
#182675 by chx: fix caching bootstrap, so hook_boot() and the timer is called when required, integrating the cache init function right into the bootstrap
2007-10-24 11:30:39 +00:00
Gábor Hojtsy
8cd97cdd7d
#147492 by flobruit: make 'more' links themeable
2007-10-22 09:36:05 +00:00
Gábor Hojtsy
98bc18adcd
#183125 by openwereld and hswong3i: make drupal_write_record()'s insert work on PostgreSQL, by not using the autoincrement value in the insert at all (instead of using a NULL)
2007-10-19 10:30:54 +00:00
Gábor Hojtsy
b64adf07c8
#182645 by scor: clean up concatenations to be in line with core coding standards
2007-10-19 10:19:03 +00:00
Gábor Hojtsy
19b2687ac0
Back to being a 6.x development version
2007-10-17 21:59:31 +00:00
Gábor Hojtsy
a3f3cb346b
Drupal 6.0-beta 2 release with all Drupal 5.3 security fixes applied
2007-10-17 21:47:14 +00:00
Dries Buytaert
b274bf87f3
- Patch #182950 : fieldset massaging for usability.
2007-10-12 14:10:18 +00:00
Gábor Hojtsy
ba3c558f0d
#182410 by greggles: HTTP Basic authentication username and password was parsed in drupal_http_request() but then not used in the request
2007-10-11 09:47:23 +00:00
Gábor Hojtsy
2fcaa6a91a
#178999 follow up patch by sun: fix lots of code comment formatting and grammar errors in common.inc
2007-10-08 14:08:19 +00:00
Dries Buytaert
eaf4dd39c2
- Patch #178999 by JohnAlbin, sun and sammys: fixed race condition with drupal_goto().
2007-10-06 15:30:41 +00:00
Gábor Hojtsy
74a431e79a
#163785 by Eaton, dvessel and quicksketch: theme .info files should be able to override core and module CSS files based on file basenames
2007-10-05 14:50:25 +00:00
Dries Buytaert
39706e3c51
- Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes.
2007-10-05 14:43:26 +00:00
Gábor Hojtsy
15445a6db9
#180877 by Arancaytar: drupal_write_record() was not prefixing tables properly because PHP string parsing behavior
2007-10-04 19:20:39 +00:00
Dries Buytaert
d2d93b4bd3
- Patch #173486 by scor: fixed code style issues.
2007-10-02 16:19:23 +00:00
Dries Buytaert
4bb5080ebe
- Patch #169982 by moshe, eaton, bjaspan, nedjo, yched, et al: missing feature from schema API: load/save records based upon schema.
2007-10-02 16:15:56 +00:00
Dries Buytaert
c389c90529
- Patch #144634 by chx: fixed critical bug that prevented language negotiation to work after/when drupal_goto() is called.
2007-10-02 16:03:17 +00:00
Gábor Hojtsy
e26ef638ee
#178999 by sammys: register header(Location) as a shutdown function in drupal_goto() so the redirection takes place after the session data was written to the database
2007-10-01 09:39:27 +00:00
Gábor Hojtsy
4b6cd91aa8
#168620 by hass: remove extraneous @charset rules from the compressed CSS files, because Safari chokes on them. Actual testing was done at #150759
2007-09-27 17:11:07 +00:00
Gábor Hojtsy
382664105b
#173494 by scor: removing a strange string concatenation from common.inc
2007-09-20 08:30:34 +00:00
Gábor Hojtsy
9c2f47eafd
Back to devopment version, now that we have the beta 1 tagged and released
2007-09-15 07:33:46 +00:00
Gábor Hojtsy
86a6cd4ef3
Marking code as beta 1 in preparation of the first beta release of Drupal 6, also add back E_NOTICE removal for the release.
2007-09-14 20:08:59 +00:00
Gábor Hojtsy
21ac9f1917
#174708 by multiple contributors: update jQuery to 1.2
2007-09-12 18:29:32 +00:00
Gábor Hojtsy
b3fe5b9cbf
#63352 by kkaefer: add special prefix to long month names in format_date so May is recognized differently in short and long formats
2007-09-12 13:30:42 +00:00
Gábor Hojtsy
9307321817
#148677 by pwolanin: set active menu item on 403/404 pages (and on the user page)
2007-09-06 12:47:20 +00:00
Gábor Hojtsy
1a66aeb39e
#171606 by Heine: ported security fix from Drupal 4.7/5; use SCRIPT_NAME instead of PHP_SELF in links to avoid XSS holes
2007-08-30 15:53:39 +00:00
Gábor Hojtsy
005a583f32
#168812 by webchick and pwolanin: in case we have a database error, trace it back to the original database function call, so we can provide a more accurate error message for DB errors
2007-08-29 18:38:55 +00:00
Gábor Hojtsy
da3c19b36c
#170334 by JirkaRybka: allow @count to be used in singular format_plural() values too
2007-08-29 17:28:02 +00:00
Dries Buytaert
5e73b66f3a
- Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches.
2007-08-26 07:46:11 +00:00
Dries Buytaert
f2ce877d43
- Patch #145218 by profix898, bennybobw, Crell, forngren et al: use href instead of @import for CSS.
2007-08-23 16:41:19 +00:00
Dries Buytaert
b134b023e1
- Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement.
2007-08-12 15:55:36 +00:00
Dries Buytaert
c70b19a91b
- Patch #163723 by Eaton and Frando: fix default page.tpl markup (and removed some whitespace).
2007-08-02 20:08:53 +00:00
Dries Buytaert
80ff5109a7
- Patch #162708 by Eaton and Earl: add support for image buttons to FAPI3.
...
This is a small form API extension (doesn't break existing code) that
facilitates the Drupal 6 upgrade of the Views module. A good example
of why it can be beneficial to start upgrading your modules early on in
the code freeze. ;)
2007-07-29 17:28:23 +00:00
Gábor Hojtsy
3cccee7f4a
#158687 by drumm: fix URI encoding of some special chars
2007-07-13 20:07:15 +00:00
Gábor Hojtsy
51b789c0d3
#156778 by asimmonds: revert node and comment deletions to the pre-deletion API state
2007-07-13 20:04:47 +00:00
Gábor Hojtsy
5642117bed
#112374 by Wesley Tanaka: drupal_add_feed() should not allow adding the same feed more then once to the page
2007-07-04 22:47:28 +00:00
Dries Buytaert
b65b1533dd
- Patch #104969 by Wesley: corrected PHPDoc.
2007-07-03 20:16:11 +00:00
Gábor Hojtsy
7aa0b54b78
#156426 by GreenMother: fix wrong datatype warning for parsed JS files
2007-07-03 16:22:58 +00:00
Dries Buytaert
ee701b3336
- Patch #155986 by Uwe: fixed typos.
2007-07-02 14:41:37 +00:00
Dries Buytaert
e59852d336
- Rollback of patch #147723 : delete API. Talked to Steven and Gabor and we
...
unanimously agreed to rollback the deletion API. We all support the
features this patch added, yet not its actual design and implementation.
After some talk, we decided that it would be better for Drupal -- in the
long term -- not to go with a solution that isn't 100%. We also recognize
that in the short term, this patch would have been useful addition. So
let's figure out how we can implement this properly in D7.
2007-07-01 17:41:16 +00:00
Dries Buytaert
2348e7de6f
- Patch #148410 by jvandyk: added rewrite of the actions module!
...
This is a very important patch, but one that is merely an enabler.
Hopefully we'll see more people submitting "action patches" in the
near future.
Thanks for the hard work and persistence, John. *If* you decide
to update the Drupal Pro Development book to Drupal 6, make sure
to add a chapter on actions. ;)
2007-06-29 18:06:51 +00:00
Dries Buytaert
2bf7c1c0e3
- Patch #147662 by Gordon et al: add new #pre_render callback to drupal_render().
2007-06-28 07:48:41 +00:00
Gábor Hojtsy
ef9f10dba6
#154594 by drewish: clean up code comments for deletion API
2007-06-28 00:55:10 +00:00
Gábor Hojtsy
cc9f167e49
#154218 by Steven: HTML to text email converter, centralizing email wrapping in Drupal core and providing a solid conversion function for contributed modules
2007-06-26 22:21:08 +00:00
Gábor Hojtsy
a9749f8b72
#154224 by hunmonk: add destination argument to _drupal_delete(), instead of using drupal_goto() directly, so the callback cycle can complete
2007-06-26 20:30:49 +00:00
Gábor Hojtsy
2598d31ef8
#150210 by bjaspan and Frando: explicit table names for create table statements and fixing a schema referencing bug
2007-06-26 20:24:19 +00:00
Gábor Hojtsy
7e5b440c10
#154309 by KarenS: language code lost in format_date() when using the 'r' format
2007-06-25 12:42:07 +00:00
Steven Wittens
7093495f7c
#154046 : Optimize confirm_form syntax for common usage (and fix some $form_state bugs).
2007-06-24 10:09:53 +00:00
Steven Wittens
569ede574f
#115139 : Add centralized json handler (and send text/javascript content-type header).
2007-06-22 08:46:16 +00:00
Steven Wittens
fe8b35f527
#153781 : Convert all remaining confirm_forms() to deletion api.
2007-06-22 08:32:28 +00:00
Steven Wittens
38a1300df2
#147723 : Deletion API (by hunmonk). Woop woop.
2007-06-22 05:44:21 +00:00
Gábor Hojtsy
d0c9795c33
#150049 by Moshe Weitzman: empower custom url rewriting with url() options
2007-06-18 06:59:11 +00:00
Dries Buytaert
ae0392b2eb
- Patch #147947 by hswong3i: some files shouldn't defined as text:big for Oracle compatibility.
2007-06-15 07:15:25 +00:00
Steven Wittens
85e6683d69
#150671 : Consistent code comment style (by dmitrig01).
2007-06-14 01:35:24 +00:00
Dries Buytaert
53420729ea
- Patch #101927 by cooferat: fixed problem with post information.
2007-06-11 15:21:14 +00:00
Gábor Hojtsy
57c9a13e1f
#118026 by kkaefer with fixes from myself: JavaScript translation support and script.js as a default theme JS file to use, if found
2007-06-08 12:51:59 +00:00
Dries Buytaert
1fe90cba4f
- Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments
2007-06-04 07:22:23 +00:00
Steven Wittens
a6c3b716d3
#119441 : JavaScript aggregator/compressor by m3avrck and others. (tweak)
2007-06-01 09:49:11 +00:00
Steven Wittens
7f8b191781
#119441 : JavaScript aggregator/compressor by m3avrck and others.
2007-06-01 09:05:45 +00:00
Dries Buytaert
41542ef053
- Patch #101268 by webernet et al: improve the usability of feed icons.
2007-05-31 12:14:04 +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
a8ceb7613b
- Patch #145058 by pwolanin (and chx): re-parenting and caching for menu links.
2007-05-27 20:31:13 +00:00
Gábor Hojtsy
860947d3c8
#145737 by yhager, documentation cleaned up by myself: add support for RTL CSS overrides and default RTL CSS override files for modules
...
Note: properties, which are different in the RTL display are marked with /* LTR */ in default CSS files now,
so maintainers remember that changing them should also have an effect on RTL CSS files.
This should open the way for better RTL (right-to-left written) language (such as Arabic and Hebrew) support.
2007-05-27 17:57:48 +00:00
Dries Buytaert
7f83d274b5
- Patch #146937 by merlinofchaos: restore maintenance mode.
2007-05-26 10:54:12 +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
3cafffe63f
- Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave.
2007-05-25 12:46:46 +00:00
Gábor Hojtsy
55b4cbadf2
#143249 by Jose A Reyero: add language parameter to t() to make it possible to retrieve translations of strings for different languages, to send emails to users in their own language for example
2007-05-15 20:19:47 +00:00
Gábor Hojtsy
c740ac7fd5
#127539 : progressive operation support, refactoring update.php code to a generic batch API to support runnning operations in multiple HTTP requests
...
- update.php is already on the batch API
- node access rebuilding is in the works
- automatic locale importing is in the works
Thanks to Yves Chedemois (yched) for the good code quality, very wide awareness of issues related to batches,
and the fantastic turnaround times. Hats off.
2007-05-04 09:41:37 +00:00
Gábor Hojtsy
f0b273a965
#131061 : Very fast t() for a small set of strings,
...
by Moshe Weitzman, webernet, chx, erdemkose and myself
2007-05-04 08:32:00 +00:00
Dries Buytaert
2a65f86bf0
- Patch #135931 by EclipseGc: semantic update for core pager.
2007-05-01 06:53:03 +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
29055d34d6
- Patch #137236 by merlinofchaos: provide a way to secure the theme variables system.
2007-04-27 07:42:54 +00:00
Dries Buytaert
3e9d5f9d3c
- Patch #133789 by pwolanin: fixed parse error.
2007-04-25 05:02:41 +00:00
Dries Buytaert
91da5f05e4
- Patch #133789 by John Albin: Drupal-generated email can look like spam.
2007-04-24 19:49:01 +00:00
Dries Buytaert
f73610bec6
- Patch #76588 by Gabor: made log messages translatable. Yay.
2007-04-24 13:53:15 +00:00
Dries Buytaert
318ac983e2
- Patch #137138 by jvandyk: fixed problem with drupal_http_request() not setting the proper error code when a network effect occurs. Causes the XML-RPC backend to fail.
2007-04-18 20:35:45 +00:00
Steven Wittens
bcfc0e651c
Fix formatting of doxygen for drupal_parse_info_file() (for api.drupal.org).
2007-04-18 02:49:33 +00:00
Dries Buytaert
03b4b58e9a
- Patch #132018 by Steven et al: add .info files to themes.
2007-04-17 07:19:39 +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
5bbbf10ba8
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
2007-04-06 13:27:23 +00:00
Steven Wittens
f3cd2da113
#130991 : Custom menu items, part 1
2007-04-06 04:39:51 +00:00
Dries Buytaert
f3c839634d
- Patch #131419 by Chris Johnson: renamed the error handler to avoid conflicts with third-party applications.
2007-03-29 23:17:15 +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
5739c24c14
- Small fix for drupal_alter()
2007-03-26 01:11:23 +00:00
Steven Wittens
41147eb70d
#110888 : Typos
2007-03-26 00:45:51 +00:00
Dries Buytaert
eb6b848de6
- Patch #110888 by Eaton: unify hook _alter()
2007-03-26 00:35:59 +00:00
Dries Buytaert
d9ece0d575
- Patch #121876 by Darren, Nedjo et al: drupal_to_js converts empty arrays to objects.
2007-03-08 19:33:55 +00:00
Dries Buytaert
ae093d1386
- Patch #115047 by mindless: token replacement with format_plural.
2007-03-07 13:08:04 +00:00
Dries Buytaert
dc5843bd30
- Patch #111347 by Steven: refactor url() and l().
2007-02-15 11:40:19 +00:00
Dries Buytaert
35ce6daa28
- Patch #118041 by kkaefer: fixed small braino in url().
2007-02-12 17:42:25 +00:00
Dries Buytaert
05a708fb06
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
2007-01-31 15:49:26 +00:00
Dries Buytaert
4c9fc80fc4
- Patch #113829 by m3avrck: improved code comments.
2007-01-29 20:30:53 +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
Dries Buytaert
77c2632be6
- Patch #99625 : enable E_ALL mode.
2007-01-23 19:21:50 +00:00
Steven Wittens
eb28074aa3
#108320 : Form API optimization, don't call element_sort unless needed.
2007-01-10 23:30:07 +00:00
Dries Buytaert
3e8a9d1905
- Cleanup form attributes.
2007-01-09 08:30:31 +00:00
Steven Wittens
365439ffdf
#107015 : Code consistency, capitalization of class names.
2007-01-05 05:32:23 +00:00
Steven Wittens
4026afab01
#100563 : Clarify documentation for CSS preprocessor.
2007-01-05 04:35:07 +00:00
Dries Buytaert
5190678d73
- Patch #100563 by m3avrck: improved phpDoc of drupal_add_css.
2007-01-04 09:58:55 +00:00
Dries Buytaert
fbae0db63f
- Patch #104693 by Chris: switch back to HTTP/1.0 headers.
2007-01-04 09:49:16 +00:00
Neil Drumm
dfd86399c0
#106232 by chx. Add spaces for code style.
2007-01-02 05:05:38 +00:00
Neil Drumm
f1c8692881
#101757 by ChrisKennedy. 1 byte instead of 1 bytes.
2006-12-30 21:33:04 +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
72f4e5d6e6
#102877 : Don't let the css preprocessor mess up @import in some themes.
2006-12-15 07:47:08 +00:00
Steven Wittens
e5027541c4
#78377 : Use real path instead of alias in destination
2006-12-12 06:13:34 +00:00
Steven Wittens
dd4b959ad2
#102597 : Fix overzealous CSS compressor.
2006-12-12 04:44:46 +00:00
Dries Buytaert
97d0a3fe6b
- Patch #100787 by chx: having a #theme for an element changes the meaning of prefix from 'prefix of this element' to 'prefix of the children elements'.
2006-12-11 17:47:36 +00:00
Dries Buytaert
bdf5dc9d1d
- Patch #102413 by yched: path node/add/[poll|forum|blog] defined twice.
2006-12-10 20:34:03 +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
f28aa5f3ec
- Patch #92059 by Steven et al: added a memory check to garland/color.module.
2006-12-07 17:02:25 +00:00
Dries Buytaert
38f3050777
- Patch #101236 by Uwe Herman: fixed typos in the documentation.
2006-12-05 05:47:37 +00:00
Dries Buytaert
a8e11de3d0
- Patch #101289 by webernet: corrected the PHPdoc.
2006-12-05 05:45:05 +00:00
Steven Wittens
1c7f089dea
#75803 : Allow other HTTP status codes in drupal_goto()
2006-11-30 08:13:31 +00:00
Neil Drumm
f0093445ff
#100232 by yched. Fix a typo.
2006-11-29 06:03:56 +00:00
Neil Drumm
91158a97d2
#79407 by webchick. Improved documentation for t().
2006-11-28 07:03:33 +00:00
Neil Drumm
205f8ff01b
#97941 by webchick. Consistent defaults for 'site_name' variable.
2006-11-25 09:04:22 +00:00
Dries Buytaert
b3dae71697
- Patch #98293 by Steven: remove restrictions on path aliases.
2006-11-21 19:40:09 +00:00
Dries Buytaert
e8e97f2bbd
- Patch #98688 by greggles: string cleanup. Follow RFC2606 and use example.com for domain name examples. Core uses that consistently so make sure your contributed modules do too.
2006-11-21 19:12:01 +00:00
Neil Drumm
b4faaa3cad
#93882 by skeen. sites/all/* was being scanned instead of sites/all/module/*.
2006-11-16 09:18:22 +00:00
Neil Drumm
1d95dcbf28
#91624 by chx and RobRoy. PHP has an inconsistentcy about magic quoting which we have to work around.
2006-11-16 08:54:04 +00:00
Neil Drumm
12df72255c
#89059 by jvandervort, andeeeb, and Shakur. Decode destination path.
2006-10-31 16:42:52 +00:00
Neil Drumm
0accf8fe1e
#90508 by Heine and the security team. Every form gets a token.
2006-10-31 08:06:18 +00:00
Dries Buytaert
af5402ad2a
- Patch #88287 by asimmonds, dww et al: installer doesn't support modules outside root/modules directory. Critical bugfix.
2006-10-23 06:45:17 +00:00
Neil Drumm
b87692a901
#84188 by plumbley, pwolanin, and nickl. Fix some PHP notices.
2006-10-17 08:42:24 +00:00
Steven Wittens
6baece1e1b
- Clarify utf-7 exploit in drupal_set_header()
2006-10-17 04:45:29 +00:00
Dries Buytaert
d692d438a3
- Patch #82741 by Wesley: fixed incorrect comparison in url().
2006-10-15 20:00:19 +00:00
Dries Buytaert
e8ee0bcd2a
- Patch #40209 by pascal and jvandyk: added missing semicolon to URL validation.
2006-10-09 06:47:22 +00:00
Dries Buytaert
90f9bffbc0
- Patch #82045 by chx, eaton et al: fixed nodeapi.
2006-10-05 15:26:17 +00:00
Steven Wittens
aae945c369
#70995 : Prevent cron re-runs
2006-10-03 00:24:19 +00:00
Neil Drumm
d54ccd4f84
#70742 yched and beginner. Fix magic quotes on files.
2006-09-27 07:21:55 +00:00
Neil Drumm
a2d546e3c0
#82524 by Heine and AjK. Remove use of array_walk(), which was causing segfaults in this case.
2006-09-07 08:23:54 +00:00
Dries Buytaert
4ea672bfd1
- Removing stray whitspaces.
2006-09-07 08:05:31 +00:00
Neil Drumm
2310bd9723
#54238 by gopherspidey and fago. Don't cache pages with messages.
2006-09-07 07:11:15 +00:00
Steven Wittens
246334f30d
Don't include drupal.js if there is no JS on the page
2006-09-01 08:44:25 +00:00
Neil Drumm
9cf7158058
Didn't mean to commit that yet.
2006-09-01 06:24:10 +00:00
Neil Drumm
06c9841480
That help text was in the 40x messages.
2006-09-01 06:12:47 +00:00
Steven Wittens
7fd9aa5c8a
#69786 : jQuery JavaScript Library in Drupal core
2006-08-31 23:31:25 +00:00
Dries Buytaert
8fdf7a8750
- Patch #72290 by killes: split up the cache table.
2006-08-30 08:46:17 +00:00
Dries Buytaert
78ee75f1a2
- Patch #79622 by Dries: added views to see the most popular search terms,
...
the most important 404s and 403s. This makes the watchdog data easier to
use. Improved consistency of the 'amdminister > logs' section.
2006-08-29 09:51:50 +00:00
Neil Drumm
1fab8db486
#80739 by chx. Correct drupal_goto() documentation.
2006-08-26 00:23:12 +00:00
Dries Buytaert
427604dfb6
- Patch #80201 : don't show blocks when serving a 404. Saves CPU and bandwidth.
2006-08-23 18:32:39 +00:00
Dries Buytaert
7270a08ef0
- Patch #76637 by timcn: fixed incorrect variable name.
2006-08-23 13:35:44 +00:00
Neil Drumm
647d91aaef
#79733 by Darren Oh. Fix a call to an undefined function.
2006-08-23 08:04:29 +00:00
Dries Buytaert
2d05938082
- Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls.
2006-08-23 07:23:09 +00:00
Neil Drumm
a58d877108
#66569 by m3avrck. Put all the feed icons in the same place.
2006-08-23 05:55:38 +00:00
Dries Buytaert
c4f1e4ba13
- Patch #76444 by chx, moshe, eaton, angie et al: make it possible to control access to form elements.
2006-08-22 11:13:04 +00:00
Dries Buytaert
a8de1e92d7
- Patch #76637 by timnc: streamline JavaScript addition and add settings storage.
2006-08-22 09:00:31 +00:00
Neil Drumm
a4bbb1b909
#50025 by doq. Use aliased urls for the destination parameter.
2006-08-21 07:16:21 +00:00
Steven Wittens
e2f42cf3d5
- Fixing t() patch mess up
2006-08-18 18:34:23 +00:00
Steven Wittens
81938a3cdc
#76802 : Introduce placeholder magic into t()
...
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm
3cc2b1e3d7
#77183 by m3avrck and timcn, split up drupal.css by module.
2006-08-14 07:14:50 +00:00
Dries Buytaert
ce85b7c7f8
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing.
...
Once again, we're paving the path for CCK in core ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert
37469a8df4
- Patch #76958 by forngren, dww et al: make it a tad easier to run cron manually.
2006-08-09 07:42:55 +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
2c0571b894
- Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal.
2006-08-03 07:06:36 +00:00
Dries Buytaert
3a7b64ae03
- Patch #61893 by timnc: remove message_na().
2006-07-29 17:56:41 +00:00
Neil Drumm
479bd2fe28
#73615 by chx, Eaton, and Steven, Provide the full range of Drupal functions to .install files
2006-07-19 07:45:35 +00:00
Steven Wittens
dafb146b27
#74070 : urlencode to drupal_urlencode()
2006-07-18 10:44:45 +00:00
Steven Wittens
0fef150227
#74109 : format_rss_channel() does not allow attributes (+ clean up code)
2006-07-17 15:42:55 +00:00
Dries Buytaert
af976d339f
- Patch #71194 by Goba: introducing hook_mail_alter(), chaning user_mail() to drupal_mail().
2006-07-10 08:12:31 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Dries Buytaert
ea0ccd13cc
- Patch #71389 by agentrickard, sime, me et al: removed limitations of number of access control rules and boxes.
2006-07-02 19:53:39 +00:00
Neil Drumm
bd61d17db4
#68886 by myself and Steven, Handle ampersands in search queries and other URLs when clean URLs are on
2006-07-02 01:20:19 +00:00
Dries Buytaert
cf14d26cff
- Patch #65801 by Moshe et al: fixed locale initialization slowness.
2006-06-08 21:23:40 +00:00
Neil Drumm
5edfedf890
Arbitrary spacing cleanup I found in my development checkout.
2006-05-22 20:41:16 +00:00
Dries Buytaert
f5ec45f26f
- Patch #63724 by zoo33: fixed documentation glitch.
2006-05-15 20:52:47 +00:00
Dries Buytaert
b28ce3b0b1
- Patch #62419 by Ber: improved and corrected the PHPdoc of l().
2006-05-09 14:19:03 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Dries Buytaert
bd08cb5e9c
- Patch #59222 by Zen: make the front page check reliable.
2006-04-27 08:44:45 +00:00
Steven Wittens
027f9836bc
#5371 tweaks (drupal_query_string_encode)
2006-04-13 13:15:29 +00:00
Gerhard Killesreiter
d6a164c400
#5371 , drupal_get_destination, pager and tablesort array handling, patch by Steven
2006-04-13 08:25:27 +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
Steven Wittens
9794b5538e
- #55898 : Generic, permissive admin XSS/HTML filtering for mission/footer/...
...
- Clean up some raw output
2006-04-07 15:32:17 +00:00
Steven Wittens
4821200689
#57415 : Replace drupal_implode_autocomplete() by drupal_to_js()
2006-04-06 02:41:48 +00:00
Steven Wittens
3e9948e529
#55869 : Redirect back to requested page after log-in
2006-04-04 07:46:02 +00:00
Gerhard Killesreiter
cb49e19e9e
#54003 , Watchdog not logging update errors, patch by Steven
2006-03-28 09:29:23 +00:00
Gerhard Killesreiter
4b84de9a0c
#14591 , User.module links for blocked/non-existant accounts + menu 403/404 issue, patch by Steven and merlinofchaos
2006-03-17 18:56:25 +00:00
Gerhard Killesreiter
05c20c7781
#54002 , Cached JS files break new drupal js error reporting behavior. Improved patch by chx
2006-03-15 08:46:57 +00:00
Steven Wittens
e4a6ff4270
- #53368 : Output stricter (IE5-compatible) JSON
2006-03-10 17:06:48 +00:00
Steven Wittens
3ead560368
- #49211 : Fix bug with linking to absolute URLs through l()
2006-03-10 16:53:09 +00:00
Steven Wittens
9fd6dc5818
- #52771 : drupal_to_js() improperly dealing with booleans
2006-03-10 13:08:05 +00:00
Dries Buytaert
b8d81c6a79
- Patch #52448 by Zen: simplified drupal_attributes.
2006-03-07 14:57:05 +00:00
Steven Wittens
9a014043a4
- #50747 : RSS channel description is not according to spec
2006-03-01 21:30:17 +00:00
Gerhard Killesreiter
2173ef13fd
#50772 , Getting destination from $_REQUEST, patch by rmiotke
2006-02-27 14:19:07 +00:00
Gerhard Killesreiter
68432ae641
#49375 , 'drupal_goto' / 'drupal_get_destination' broken with query params, patch by eberts
2006-02-27 14:06:09 +00:00
Dries Buytaert
4ce3d625f6
- Patch #48008 ny markus: removed some unused code.
2006-02-26 19:53:00 +00:00
Dries Buytaert
18aaf1120d
- Patch #50912 by eberts: HTTP request overrides headers and data on redirect.
2006-02-23 15:19:10 +00:00
Dries Buytaert
3603fe1bd8
- Patch #49912 : www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
2006-02-21 18:46:54 +00:00
Dries Buytaert
ae470d6943
- Patch #49129 by markus: remove port from HTTP requests.
2006-02-16 13:00:18 +00:00
Dries Buytaert
583d5a4ee9
- Patch #48622 by adrian: remove drupal_goto from _submit functions.
2006-02-10 05:25:57 +00:00
Steven Wittens
d38429248e
- #47510 : Show JavaScript alert when PHP errors occur
2006-02-05 19:04:58 +00:00
Dries Buytaert
048bec139e
- Patch #13148 by Morbus: less globals.
2006-02-02 12:44:57 +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
1171cd2846
- Patch #46366 by rkell: fixed infinite loop problem with 404 and 403 handlers.
2006-01-26 08:59:00 +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
14ae238973
- Patch #45320 by Zen: improved usability of off-line mode.
2006-01-22 07:51:06 +00:00
Dries Buytaert
e41e8acda3
- Patch #45107 by chx: minor code speedups.
2006-01-17 15:39:07 +00:00
Steven Wittens
2e9bbda791
- #44772 : {} -> [] (in anticipation of PHP de-deprecation)
2006-01-15 07:14:14 +00:00
Dries Buytaert
11b9259db0
- Patch #44507 by DriesK: consistency: email -> e-mail.
2006-01-13 07:33:13 +00:00
Dries Buytaert
cccca3b17e
- Patch #44261 by Kobus/Zen: drupal -> Drupal.
2006-01-12 19:29:36 +00:00
Dries Buytaert
ea2d791095
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.
2005-12-31 10:48:56 +00:00
Steven Wittens
c243918eb1
- #32785 : Allow external URLs in menus (and make url() more flexible)
2005-12-29 05:28:53 +00:00
Dries Buytaert
34a5d46022
- Patch #36465 by chx / Richard: made it possible to link to the front page.
2005-12-27 10:36:16 +00:00
Steven Wittens
b43fa0f9da
- #41744 : global urlencode() for menu paths
2005-12-22 22:58:12 +00:00
Steven Wittens
db42745522
- Code style
2005-12-17 10:35:59 +00:00
Dries Buytaert
764f1177ef
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
2005-12-14 20:10:45 +00:00
Dries Buytaert
b9f2b7e2a6
- Patch #40706 by chx: fixed warnings.
2005-12-11 12:31:17 +00:00
Dries Buytaert
b1a648b371
- Patch #39566 by chx: fixed incorrect encoding in URLs.
2005-12-02 10:31:21 +00:00
Dries Buytaert
9c02757477
- Patch #39566 by chx: fixed incorrect encoding in URLs.
2005-12-02 10:29:45 +00:00
Dries Buytaert
2917261693
- Removed valid_input_check().
2005-11-30 10:27:13 +00:00
Dries Buytaert
2d0df351d7
- Various fixes. Updated CHANGELOG.txt
2005-11-29 20:17:10 +00:00
Dries Buytaert
229fa7dea8
- Patch #38787 by Jaza: print PHP errors using drupal_set_message().
2005-11-27 09:14:52 +00:00
Steven Wittens
a3e47f1e44
- #33852 : remove legacy.inc (in anticipation of the bridge stuff)
2005-10-28 01:06:36 +00:00
Steven Wittens
0cac6939b7
- Fix usage of header() to drupal_set_header()
...
- Emit charset for blogapi RSD
2005-10-25 03:43:57 +00:00
Dries Buytaert
7f01d4f02b
- Patch #34907 by gtcaz: "Array" printed in each region.
2005-10-23 09:47:53 +00:00
Dries Buytaert
f6764cfbd8
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
2005-10-22 15:14:46 +00:00
Steven Wittens
f31db8d70f
- #22850 : Search query containing / results in 404 on clean URLs.
2005-10-21 11:14:55 +00:00
Dries Buytaert
76000f1d44
- Reverse last patch.
2005-10-18 14:54:54 +00:00
Dries Buytaert
13473ddc51
- Patch #33852 by Gerhard: make legacy.inc optional.
2005-10-18 14:52:50 +00:00
Dries Buytaert
709b9005f5
- Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.
...
(Untested because the admin/settings page doesn't work yet.)
2005-10-08 12:38:20 +00:00
Dries Buytaert
a1ae4da70b
- Removing tabs and trailing whitespaces.
2005-10-07 06:51:43 +00:00
Dries Buytaert
7e1527ee61
- Patch #29465 : new form API by Adrian et al.
...
TODO:
+ The contact.module was broken; a new patch for contact.module is needed.
+ Documentation is needed.
+ The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert
eafcfa1564
- Patch #4109 : some URLs get ?PHPSESSID added to them.
2005-10-06 08:51:05 +00:00
Dries Buytaert
bf08ab83b6
- Patch #32440 by ax: drupal_http_request() doesn't send proper Host: header.
2005-09-29 12:33:34 +00:00
Dries Buytaert
eedb392c76
- Patch #28420 by Jeremy: add the poster's IP/hostname to the /mix/.
2005-09-19 19:14:54 +00:00
Dries Buytaert
2ef6b52c83
- Patch #28420 by Jeremy: provide a more generic interface that can be used
...
to validate other form submissions, not just comments. Two new functions
are introduced, form_token() and form_validate(). The first function uses
a private key and a public key to set a token in a hidden field. The second
function validates the token. The comment and contect module are updated to
use these functions.
2005-09-18 11:50:22 +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
e03ce2f996
- Patch #28483 by Steven: JavaScript enabled uploading.
...
Comment from Steven: It does this by redirecting the submission of the form to a hidden <iframe> when you click "Attach" (we cannot submit data through Ajax directly because you cannot read file contents from JS for security reasons). Once the file is submitted, the upload-section of the form is updated. Things to note:
* The feature degrades back to the current behaviour without JS.
* If there are errors with the uploaded file (disallowed type, too big, ...), they are displayed at the top of the file attachments fieldset.
* Though the hidden-iframe method sounds dirty, it's quite compact and is 100% implemented in .js files. The drupal.js api makes it a snap to use.
* I included some minor improvements to the Drupal JS API and code.
* I added an API drupal_call_js() to bridge the PHP/JS gap: it takes a function name and arguments, and outputs a <script> tag. The kicker is that it preserves the structure and type of arguments, so e.g. PHP associative arrays end up as objects in JS.
* I also included a progressbar widget that I wrote for drumm's ongoing update.php work. It includes Ajax status updating/monitoring, but it is only used as a pure throbber in this patch. But as the code was already written and is going to be used in the near future, I left that part in. It's pretty small ;). If PHP supports ad-hoc upload info in the future like Ruby on Rails, we can implement that in 5 minutes.
2005-08-31 18:37:30 +00:00
Dries Buytaert
34544d4dc0
- Unrolled patch #29103 : always encode apostrophes.
2005-08-28 16:19:24 +00:00
Dries Buytaert
7b8a409675
- Patch #29385 by chx: no ?> add end of files.
2005-08-25 21:14:17 +00:00
Dries Buytaert
405cb49a0b
- Patch #25084 by Uwe: fixed code comments of error_handler().
2005-08-23 05:19:44 +00:00
Dries Buytaert
6a4e6df36f
- Patch #17592 by killes: improved access denied messages.
2005-08-22 20:39:43 +00:00
Dries Buytaert
7d9f29aca7
- Patch #28629 by chx: fixed handling of cookies in drupal_http_request().
2005-08-22 20:24:53 +00:00
Dries Buytaert
a33b922fcc
- Patch #29103 by chx: do not encode apostrophes.
2005-08-19 11:10:35 +00:00
Dries Buytaert
b14ae54d62
- Patch #7458 by chx: fixed spaces.
2005-08-17 19:14:08 +00:00
Dries Buytaert
d6bcdafeed
- Patch #7458 by chx: merged the XML-RPC multicall support into xmlrpc() and use lazy-loading for the XML-RPC libraries.(performance improvement).
2005-08-17 15:01:14 +00:00
Dries Buytaert
26fa7c730f
- Patch #16216 by nedjo: multiple block regions!
2005-08-16 18:06:18 +00:00
Dries Buytaert
b69b43d1ec
- Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s.
...
Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
2005-08-11 12:57:41 +00:00
Dries Buytaert
7625a4e91a
- Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
...
Usernames can now be themed; eg. an icon/avatar could be added.
TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Steven Wittens
c81bbf4aa1
- #24673 : Fix deprecated usage of implode
2005-07-30 12:52:54 +00:00
Steven Wittens
ab8377f02b
- Fix braino in doxygen.
2005-07-29 19:07:17 +00:00
Steven Wittens
39aaf29d5c
- Fix braino in doxygen.
2005-07-29 19:05:03 +00:00
Steven Wittens
d9d4b9bdab
- #27231 : Friendly DB error screens.
2005-07-27 01:58:43 +00:00
Steven Wittens
11a4aba9a6
- #26688 : Add mbstring support to Drupal and clear up string handling fuzzies.
2005-07-25 20:40:35 +00:00
Steven Wittens
dd2c576599
- #26688 : Add mbstring support to Drupal and clear up string handling fuzzies.
2005-07-25 20:38:30 +00:00
Dries Buytaert
31387c5a77
- Patch #26467 by drumm: make the destination persist across multiple pages
...
and fixed the node delete form to use a return destination.
2005-07-20 10:48:20 +00:00
Dries Buytaert
2c2d981e86
- Optionally show dots after truncation. TODO: update user.module to take advantage of this.
2005-07-06 14:20:11 +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
e550f84162
- Patch #16204 by Thox: committed the collapsible form elements patch.
...
NOTE: this patch works well, but the improved node edit form still has
some rough edges. It is important that we continue to improve
usability. Give it a try.
2005-06-21 09:45:45 +00:00
Steven Wittens
2f28cc0bcc
- #24278 : Emit correct XHTML <link> tag.
2005-06-05 19:10:53 +00:00
Dries Buytaert
12ea785baf
- Patch #24141 : fix XML UTF-8 bom issue with PHP5.
...
Workaround for the fact that PHP5 cannot parse UTF-8 encoded XML feeds
that start with the so-called "byte order mark".
2005-06-04 14:13:43 +00:00
Steven Wittens
a597354bcb
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
2005-05-31 21:14:27 +00:00
Steven Wittens
025bca28aa
- Forgot about tablesort dependency on pager.
2005-05-31 19:54:31 +00:00
Steven Wittens
b5ece96886
- Fixing charset in mime_header_encode()
2005-05-30 18:08:49 +00:00
Steven Wittens
82e606f7ab
- #23700 : Fix some broken t()'s in common.inc
2005-05-26 23:39:25 +00:00
Steven Wittens
67ebcfd084
- Mime_header_encode() was buggy. Each chunk of encoded text must be
...
a valid UTF-8 string, beginning and ending on a character boundary.
2005-05-25 06:28:59 +00:00
Steven Wittens
7ecb1b7c9c
- #23387 : form() should respect block-level elements
2005-05-25 04:18:54 +00:00
Steven Wittens
a52bb9b1dd
- #23516 : Remove ][ from form item id's.
2005-05-25 03:50:25 +00:00
Dries Buytaert
8aba3a430b
- Patch #23530 by Thox/Robin: removed the wrap="virtual" attribute from textareas. According to Thox this is no longer neccessary. Makes textareas validate as XHTML.
2005-05-24 20:38:00 +00:00
Steven Wittens
58bddf8abc
* cue Star Wars theme tune *
...
Return of the JavaScript!
- #22519 : form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
2005-05-24 06:00:22 +00:00
Dries Buytaert
a7bced320e
- Patch #18663 by chx: fix empty form elements.
2005-05-21 18:33:59 +00:00
Dries Buytaert
d77cf05823
- Patch #23211 by Neil: better formatting of sizes in format_size().
2005-05-20 11:31:16 +00:00
Dries Buytaert
139ef4027c
- Patch #22035 by mathias/mikeryan: improved performance of path aliases.
2005-05-14 09:23:47 +00:00
Steven Wittens
89ae34de47
- #19621 : More sensible status messages for forum admin ("created forum" instead of "created term").
2005-05-07 01:48:06 +00:00
Dries Buytaert
77f6f233f8
- Modified patch #21980 by willmoy: made form_group() accept HTML attributes.
2005-05-05 09:07:08 +00:00
Steven Wittens
ea36711d11
- #20910 : Centralize print theme page fixes
2005-04-28 19:23:19 +00:00
Steven Wittens
23bccfd1c8
- #4166 : Respect 'access userlist' permission for profile data.
2005-04-11 22:48:27 +00:00
Steven Wittens
230db1039a
- Missing check_url() in form().
2005-04-10 10:22:40 +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
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
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
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
0a984f2c2b
- #18597 : Resolve conflict in column name between queue.module and poll.module.
2005-03-18 07:34:07 +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
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
Steven Wittens
a5b8a0a8fb
- Removing dead variable
2005-02-09 17:33:53 +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
7988f875a9
- Fixed PHP5 warning: the $result object in drupal_http_request() needed to be properly initialized using 'new StdClass'.
...
(I just installed PHP 5.0.3, no less. Why don't you?)
2005-01-22 11:15:24 +00:00
Steven Wittens
a1579a3aee
- Reversing bad commit, sorry everyone.
2005-01-17 18:56:11 +00:00
Steven Wittens
b45bd13d44
- Various code style fixes
2005-01-17 00:41:35 +00:00
Dries Buytaert
e7777956f9
- Watchdog improvement: added a 'view' link for 'access denied' messages.
2005-01-10 20:25:34 +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
828be2ad61
- Patch #13020 by chx: let Drupal handle multiple database layers.
...
- Removed the PEAR database backend. It's no longer being used/maintained.
2004-12-30 13:13:22 +00:00
Dries Buytaert
0fb0a93965
- Improved the input checking.
2004-12-28 11:04:24 +00:00
Steven Wittens
7132e7d528
#14757 : Fix XSS vulnerability due to entity usage.
2004-12-25 14:57:39 +00:00
Dries Buytaert
2b17b3a966
- Patch #13907 by Neil: less ways to set the page title.
...
* Less logic in theme code.
* Encourages use of the menu system.
* Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them.
* Very slightly more efficient.
2004-12-15 21:19:42 +00:00
Dries Buytaert
60352821bf
- Refactored the queue module: removed the queue module's field from the node table. With help from Gerhard.
...
- Slight addition to INSTALL.txt with regard to PHP versions.
- Updated/reworded some node type descriptions as per Boris' suggestions.
- Adding missing {} around a table name in update.php.
2004-12-07 16:55:38 +00:00
Dries Buytaert
6a95a00259
- Patch #7058 by Neil: format_date does not properly handle escaped characters.
2004-12-03 20:38:22 +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
95610bdd6c
- Patch #13647 by Goba:
...
1. Fixed broken watchdog calls: two watchdog calls omitted the type parameter, and thus injected logs into the type field, instead of the message field.
2. Removed t() functions from user contributed content.
2004-11-29 17:52:35 +00:00
Dries Buytaert
70fcf51e84
- Refactored the statistics and watchdog module (views). The most important
...
changes are:
1. Simplified the statistics pages: there are less pages and on the
remaining pages there is a lot less visual clutter (less columns and
better presentation).
2. Reorganized the 'administer - logs' menu: flattened the menu structure
and removed a number of links.
3. Improved performance. Most statistics pages used about 160 slow SQL
queries which made the statistics pages fairly unusable on my system.
The new pages use at least 10 times less SQL queries and render much
faster. They are actually usable.
4. There is now a 'track'-tab on node pages, and a second subtrab on the
user accounts 'track'-tab for people with the 'access statistics'
permission. They can be used to resp. track the node and the user.
This makes the statistics more accessible.
5. Changed the way watchdog messages are filtered. This makes it easier
to introduce new watchdog types.
6. Reworked the statistics module's permissions.
7. Less code: 223 insertions(+), 343 deletions(-).
8. Fixed several glitches: for example, the statistics pages sorted the
'Name' column by user ID instead of by name. Unfortunately, it is
too difficult to backport these to DRUPAL-4-5.
TODO:
1. Review the statistics modules help pages.
2. Help fine-tune the interfaces/views.
NOTES:
1. You'll want to run update.php.
2004-11-28 12:28:35 +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
4e4e2aa777
- Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
2004-11-24 22:50:25 +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
30110a8770
- Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link().
...
TODO:
1. Update theme upgrade instructions in the handbook: node_link() is gone.
2. Remove page_link() just like we removed node_link().
2004-11-23 23:11:59 +00:00
Dries Buytaert
b442fad027
- Patch #13263 and #13265 by arnab: added word-based truncation and made the comment module use it to extract subjects.
2004-11-21 20:17:44 +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
dba51ebbf0
- Patch #13121 by Goba: valid_url() should allow the use of '+' in URLs.
2004-11-18 19:57:39 +00:00
Dries Buytaert
9bf33e5ac8
- Added generic flood control mechanism to throttle certain operations per hostname (eg. posting comments, requesting passwords, sending e-mails). See flood_register_event() and flood_is_allowed() for details.
2004-11-15 21:17:25 +00:00
Dries Buytaert
c13abe1655
- Patch #12885 by Ber: improved the Doxygen documentation of drupal_set_html_head().
2004-11-15 10:47:18 +00:00
Dries Buytaert
8daed9cbf3
- Patch #12232 by Steven/UnConed: search module improvements.
...
1) Clean up the text analyser: make it handle UTF-8 and all sorts of characters. The word splitter now does intelligent splitting into words and supports all Unicode characters. It has smart handling of acronyms, URLs, dates, ...
2) It now indexes the filtered output, which means it can take advantage of HTML tags. Meaningful tags (headers, strong, em, ...) are analysed and used to boost certain words scores. This has the side-effect of allowing the indexing of PHP nodes.
3) Link analyser for node links. The HTML analyser also checks for links. If they point to a node on the current site (handles path aliases) then the link's words are counted as part of the target node. This helps bring out commonly linked FAQs and answers to the top of the results.
4) Index comments along with the node. This means that the search can make a difference between a single node/comment about 'X' and a whole thread about 'X'. It also makes the search results much shorter and more relevant (before this patch, comments were even shown first).
5) We now keep track of total counts as well as a per item count for a word. This allows us to divide the word score by the total before adding up the scores for different words, and automatically makes noisewords have less influence than rare words. This dramatically improves the relevancy of multiword searches. This also makes the disadvantage of now using OR searching instead of AND searching less problematic.
6) Includes support for text preprocessors through a hook. This is required to index Chinese and Japanese, because these languages do not use spaces between words. An external utility can be used to split these into words through a simple wrapper module. Other uses could be spell checking (although it would have no UI).
7) Indexing is now regulated: only a certain amount of items will be indexed per cron run. This prevents PHP from running out of memory or timing out. This also makes the reindexing required for this patch automatic. I also added an index coverage estimate to the search admin screen.
8) Code cleanup! Moved all the search stuff from common.inc into search.module, rewired some hooks and simplified the functions used. The search form and results now also use valid XHTML and form_ functions. The search admin was moved from search/configure to admin/search for consistency.
9) Improved search output: we also show much more info per item: date, author, node type, amount of comments and a cool dynamic excerpt à la Google. The search form is now much more simpler and the help is only displayed as tips when no search results are found.
10) By moving all search logic to SQL, I was able to add a pager to the search results. This improves usability and performance dramatically.
2004-10-31 03:03:27 +00:00
Dries Buytaert
6238bf449d
:- Patch #12096 by Axel: fixed problem with plurals for some languages.
2004-10-27 18:23:06 +00:00
Dries Buytaert
10f329c057
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
...
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
2004-10-19 18:02:31 +00:00
Steven Wittens
b3451d0274
Adding a note about the usage of form_hidden inside form_checkbox and form_checkboxes.
2004-10-13 17:21:06 +00:00
Dries Buytaert
0261efc8fd
- Patch #11531 by killes: it was not possible to deselect all choices of a form_checkboxes array.
2004-10-13 17:08:50 +00:00
Dries Buytaert
5f28d97a0f
- Patch #11271 by Ber: fixed form_radios() to generate valid XHTML code. This makes the code generated by the poll module XHTML compliant.
...
- Similarly, I updated form_checkboxes() to generate valid XHTML code.
2004-10-12 19:55:53 +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
Steven Wittens
aded584102
Adding a note about drupal_eval() acting like a variable sandbox.
2004-09-16 16:12:21 +00:00
Dries Buytaert
3079ffeafe
- Made it possible for the i18n module to hook in.
2004-09-15 09:54:32 +00:00
Steven Wittens
b75c1e1c8b
Replace hardcoded <html lang="en"> with a locale dependant one. This is especially important for asian sites where this has an effect on font selection.
2004-09-09 13:36:01 +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
Steven Wittens
51cf18e531
- #9292 : Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.
2004-08-22 17:03:42 +00:00
Dries Buytaert
47b72af612
- Patch #6809 by TDobes: fixed the textarea hook so WYSIWYG editors are made possible again.
...
TODO: apply the documentation and htmlarea module patches.
2004-08-21 17:06:51 +00:00
Dries Buytaert
7736eb4995
- Patch #10166 by jvandyk: bugfix: valid_url() believed that URLs with encoded spaces in them (eg. http://example.org/my%20file.html ) are not valid.
2004-08-21 17:02:48 +00:00
Dries Buytaert
f311646b1e
- Patch #10195 by JonBob: bugfix: common.inc used the function ob_get_clean() which is only available in PHP >= 4.3.
2004-08-21 16:44:05 +00:00
Dries Buytaert
6ea5c56ded
- Theme system changes. Please consult http://drupal.org/node/view/9576 for details.
2004-08-20 07:51:27 +00:00
Dries Buytaert
83a739bd89
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
2004-08-18 19:57:27 +00:00
Dries Buytaert
78b052a6af
- The upload (filehandler) module has landed!
2004-08-17 21:35:26 +00:00
Dries Buytaert
eeb2b17b7b
- Bugfix: include the xmlrpc library.
2004-08-17 18:40:59 +00:00
Dries Buytaert
cea07ecac6
- Patch #6806 by UnConeD: prefixed form IDs with 'edit-' so they won't clash
...
with other IDs. Also makes things a tad more consistent.
2004-08-12 21:56:48 +00:00
Dries Buytaert
1831e1b690
- New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
...
The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).
Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
2004-08-11 11:26:20 +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
Steven Wittens
88221c2f67
#7646 and more:
...
- Users who have not edited their account yet would be reset to GMT rather than the sitewide timezone.
- Users who chose GMT (zero timezone) on a site with a non-zero timezone as default would have incorrect timezone.
2004-08-10 01:30:09 +00:00
Dries Buytaert
9bad647d76
- Patch #9819 by JonBob: fixed XHTML bug - make sure the <div> is always closed.
2004-08-06 20:18:25 +00:00
Dries Buytaert
9bbdb71ee4
- Patch #9330 : ucfirst() gives problem when used with multibyte charset.
...
Replaced the use of ucfirst() with a CSS-based solution.
2004-08-06 20:15:32 +00:00
Dries Buytaert
a52cf8297a
- Patch #7458 by killes: conditionally include xmlrpc.inc.
2004-08-04 20:36:24 +00:00
Steven Wittens
6c73823b10
Fixing a rather nasty bug with page cache:
...
The headers stored for cached pages ended in a newline, which caused header("") to get called when serving the page.
On some PHP versions (happens on 4.3.3 at least, but not in 5.0), PHP adds a blank header to the HTTP request (i.e. just \r\n) which ends HTTP headers prematurely and adds a newline at the beginning of the page.
This was not an issue before because we output HTML. Now that we have GZip compression, this bug caused corruption of the output. :P
*phew*
2004-07-29 01:41:33 +00:00
Steven Wittens
edc2f13d82
- #9287 : More doxygen/documentation fixes by JonBob
2004-07-22 16:06:54 +00:00
Steven Wittens
b8d653f1e8
- Fixing bad strpos usage (have to use the ===/!== operators to check for 'false' in this case)
2004-07-21 15:30:35 +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
Steven Wittens
a080ce5f0f
Slightly improved code in drupal_xml_parser_create.
2004-07-12 21:38:41 +00:00
Steven Wittens
77c0b577da
Now Drupal tries iconv, recode and mbstring to convert unknown XML encodings to UTF-8. It also throws a friendlier error message when none of these extensions is installed.
2004-07-12 21:35:31 +00:00
Dries Buytaert
323d9fe054
- Call 'exit' hook when drupal_goto() is called. Also necessary for the
...
devel.module.
2004-07-11 07:31:11 +00:00
Dries Buytaert
02ae1ce670
- Many form_ functions called theme('form_element') with the wrong parameters!
...
- Fixed order of parameters in form_checkboxes() (plural).
2004-07-08 11:31:12 +00:00
Dries Buytaert
fe2b3e7c00
- Patch by Steven and me: refactored the form handling of nodes. The node system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly:
...
* The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error().
* The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
2004-07-04 16:50:02 +00:00
Dries Buytaert
f3aa87122e
- Textarea's did not have error handling support yet.
2004-07-04 06:19:41 +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
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
Dries Buytaert
77ec01f592
- Patch #8344 by Kjartan: drupal_http_request() did not always handle EOLs
...
correctly.
2004-06-21 20:14:41 +00:00
Dries Buytaert
090743bdba
- Patch #8670 by asimmonds: more spelling fixes.
2004-06-21 20:05:37 +00:00
Dries Buytaert
54b77d6435
Tabs patch!
...
CHANGES
-------
+ Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.
+ Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.
+ Grouped settings. All settings have been grouped under 'administer > settings'.
TODO
----
+ Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help.
+ Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
2004-06-18 15:04:37 +00:00
Kjartan Mannes
7cd54567bd
- Commiting patch #8288 : Let modules pass $attributes to form_checkboxes() and form_radios().
2004-06-04 18:10:05 +00:00
Dries Buytaert
c0b85a5721
- Patch #4950 by Stefan (and Morbus): made watchdog messages translatable.
2004-06-02 19:01:40 +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
Dries Buytaert
fbbf510511
- Patch #8105 by mathias: made the menu system aware of path aliases.
2004-06-01 21:58:46 +00:00
Dries Buytaert
7f08110a5e
- Improved form handling.
...
+ Introduced two new functions:
1. form_set_error($name, $message): files an error against the form
element with the specified $name.
2. form_has_errors(): returns true if errors has been filed against
form elements.
+ Updated the form handling:
1. The form_ functions will add 'class="error"' when a form field
has been found to be erroneous.
2. The error message is passed to theme_form_element() when the
particular form field has been found to be erroneous.
+ I updated the user and profile module to take advantage of these new
functions.
+ IMPORTANT: the _user() hook changed. The 'validate' case should no
longer retun an error message when something goes wrong but should
set it with form_set_error().
2004-05-31 09:40:56 +00:00
Dries Buytaert
07d53792c4
- Patch #8089 by matthias: make sure aliased links can be flagged as 'active'.
2004-05-28 20:05:15 +00:00
Dries Buytaert
436dcead77
- Patch #7725 by Marius: fixed glitch in e-mail address validation code. A subset of all e-mail addresses was rejected as valid.
2004-05-24 18:09:28 +00:00
Dries Buytaert
2e67c2ffa1
- Modified patch #7958 by Adrian: store status messages in a session so they can persist when redirection is used.
2004-05-22 22:21:49 +00:00
Dries Buytaert
10c5e95a2f
- Made it possible for anonymous users to leave their name, e-mail address
...
and the URL of their homepage. Patch by Pablo.
2004-05-18 18:41:46 +00:00
Dries Buytaert
fed7e664de
- Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios()
...
and updated some modules to take advantage of it.
2004-05-15 15:42:47 +00:00
Steven Wittens
9b106e85fe
Adding support for <optgroup> through form_select. See the PHPdoc for usage.
2004-05-05 15:58:26 +00:00
Steven Wittens
0f1f45c710
Standard text/html HTTP Content-Type was not cached, causing encoding issues on some server configurations.
2004-05-03 11:53:59 +00:00
Dries Buytaert
b3265bcb86
- Patch #6887 by drumm: fixed drupal_http_request
2004-04-27 18:17:17 +00:00
Dries Buytaert
278c2d52e9
- Patch #7403 by jhriggs: the required-form-items patch that hit HEAD a few days back has an erroneous assignment in form_radios().
2004-04-26 21:57:02 +00:00
Dries Buytaert
bab922715d
- Bugfix: strip all HTML from the feed description.
2004-04-24 16:25:31 +00:00