Commit Graph

3573 Commits (d00f4a4ebfc91321ed965335b16e13e6eaa519cd)

Author SHA1 Message Date
Steven Wittens 8050af67b3 Setting the default workflow for attachments by upload.module to be enabled.
This makes sense because people will expect attachments to work everywhere when they enable this module. This also matches comment.module's behaviour, where comments are allowed by default unless turned off.
2004-08-18 04:24:33 +00:00
Steven Wittens 3bc3eb6246 Adding a note about the locale.module to CHANGELOG. 2004-08-17 23:11:22 +00:00
Dries Buytaert ec68794d31 - Updated the CHANGELOG.txt. 2004-08-17 22:13:34 +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
Steven Wittens d1d52fe478 Minor code clean-up in aggregator_configure(). 2004-08-17 17:37: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
Dries Buytaert d5e1e83e77 - Patch #9900 by Al: bugfix: don't display two <hr />'s. 2004-08-16 21:27:39 +00:00
Dries Buytaert 1b1bcc35ac - Patch #10026 by Al: bugfix: don't show the 'more help' links when the help module is disabled. 2004-08-16 21:25:54 +00:00
Dries Buytaert 5f9bea269c - Patch #10115 by James: bugfixes:
+ If an array of tb urls is given for mt_tb_ping_urls, the last url actually gets pinged twice.
   + mt_allow_comments and mt_convert_breaks were not being sent properly in the xmlrpc response for getPost.
2004-08-16 20:32:32 +00:00
Dries Buytaert 451821abe7 - Patch #10110 by JonBob: code improvement: looks like we have an artifact from before clean URLs in node.module. This patch removes the global variable $mod, which is no longer set and not necessary here anyway. 2004-08-16 18:31:44 +00:00
Dries Buytaert 50cd304847 - Patch #7458: bugfix: reverted the conditional inclusion of xmlrpc.inc. 2004-08-16 18:29:11 +00:00
Dries Buytaert c39ac09b32 - Added missing ')'. 2004-08-16 18:06:08 +00:00
Dries Buytaert 2f33b939c5 - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter. 2004-08-16 18:02:48 +00:00
Dries Buytaert 4545f798a9 - Patch #10103 by Gerhard: book module cleanup. 2004-08-16 17:54:24 +00:00
Dries Buytaert ef07dd08f4 - Patch #10102 by Gerhard: removing some cruft from the node module! 2004-08-16 17:51:12 +00:00
Dries Buytaert dd7764302f - Patch #10111 by Killes: fixed some SQL queries. 2004-08-16 17:42:36 +00:00
Dries Buytaert 3a259e9184 - Patch by James Seng and James Walkah:
* Don't rely on a blog table (i.e. do 'extended' the drupal way.
  * Allow listing / setting new 'input format' - (using mt.supportedTextFilters).
  * Handle MT extensions to metaWeblog.newPost/editPost where applicable.
  * Implemented mt.supportedMethods.
  * Also did a bit of refactoring to make sure we generate post values the same for both newPost/editPost but also for getRecentPosts and getPost
2004-08-15 18:55:03 +00:00
Dries Buytaert 9a26352b9c - Patch #9864 by JonBob: better form validation in menu administration. 2004-08-15 16:42:59 +00:00
Dries Buytaert ba70b534b8 - Removed the offline users feature. 2004-08-15 14:23:28 +00:00
Steven Wittens 26cb5c1d54 #10013: Rolling back accidental commit of Adrian's template system changes (got in through the code style improvements patch). 2004-08-14 17:19:30 +00:00
Steven Wittens fc99c57d87 #6732: fixing bug 'once anonymous always anoymous' (nodes). 2004-08-14 17:05:32 +00:00
Steven Wittens 6a380525d4 #10012 - Profile.module:
- Restoring broken update path.
- Adding birthday/date function back, with update path.
- Show private fields when viewing your own profile, or for admins.
- Do not allow browsing of private fields for non admins (403)
- Throw a 404 for browsing unbrowsable fields, rather than an SQL error
- Fixing input processing: nothing is filtered twice anymore, and I replaced several strip_tags with specialchars (more flexible).
- Minor admin UI tweaks + added friendly field type names.
2004-08-14 11:54:31 +00:00
Dries Buytaert a3bd80b267 - Patch by Al: don't translate all help text upon every page view! 2004-08-14 07:22:39 +00:00
Dries Buytaert 334f24b448 - Patch by James: made the blogapi work with DA.
* Refactored the "brains" of user_login() to user_authenticate($user, $pass) so that blogapi (and others) can authenticate users (including those using DistAuth) without all the html and drupal_goto calls
   * Updates blogapi_validate_user to use user_authenticate.
2004-08-14 07:00:27 +00:00
Dries Buytaert 064089a3fc - Added missing quotes around 'name'. Spotted by James. 2004-08-14 06:30:32 +00:00
Dries Buytaert 84c8ba504f - Patch #9975 by TDobes: fixes two consistency problems with watchdog entries:
* Adds missing quotes around the username in "session closed" watchdog messages from user.module (session opened has quotes, but session closed does not).
   * Changed "view detals" after watchdog entries to "details".
2004-08-14 06:21:53 +00:00
Dries Buytaert 7a885c8ffa - Patch #10044 by TDobes: fixed broken links in the statistics module. In the current statistics.module, clicking a page title should lead to the appropriate page within the local site. Instead, it leads to a 404 because the / character is turned into %2F... this is due to the paths being passed through urlencode(). The attached patch removes the problematic calls to urlencode. 2004-08-14 06:19:44 +00:00
Steven Wittens cb36ef37cc #10033: by Jonbob, make sure no filter check is done until the first preview. 2004-08-13 18:17:10 +00:00
Dries Buytaert a36304af0d - Patch #8176 by JonBob: fixed braino in SQL query. 2004-08-12 22:16:01 +00:00
Dries Buytaert 5a566c55ec - Patch #9974 by njivi: report the number of offline users.
I had some trouble adding this feature but realized that the "who's online" block is a geek think, and therefore it won't hurt to add some more geekiness.  If you don't know what "offline users" means, you would not have understood "online users" in the first place.  Either way, I think most people who have the block enabled, will find this an interesting addition.
2004-08-12 22:12:21 +00:00
Dries Buytaert d4a8bd5877 - Modified patch #9924 by njivi: added a basic member list to the profile module. (If this deprecates the memberlist module, it ought to be deprecated.)
I removed the permission njivi introduced and made the page title match the link title.
2004-08-12 22:03:31 +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 0f088b79ca - Patch #9983 by Stefan: various code style improvements. 2004-08-12 18:00:11 +00:00
Steven Wittens c1ca7c326f *bangs head against wall* 2004-08-12 15:16:15 +00:00
Steven Wittens 2b594adc54 Renumbering filters in filter.module. 2004-08-12 15:13:38 +00:00
Steven Wittens 441b63accd Moving all legacy handlers into legacy.module. 2004-08-12 15:12:26 +00:00
Dries Buytaert d651b9dc3b - Patch #7535 by Gerhard: one could not search for the word 'From'. 2004-08-12 05:46:37 +00:00
Dries Buytaert 543d8b7208 - Patch #9972 by njivy: modified node_feed() for the instances where locale is not enabled. Without this patch, reset(array_keys($languages['name'])) throws an error. 2004-08-12 05:44:11 +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 8517e17e70 - Removing tab from line break convertor
- Cleaning up code a bit
2004-08-11 11:21:36 +00:00
Steven Wittens bd96bb77d2 - Fixing incorrect bottom margins for comments in xtemplate default. 2004-08-10 22:55:50 +00:00
Steven Wittens 6fd74abb88 - Renaming parameter to hook_filter_tips()
- Removing some leftover dead code
2004-08-10 22:51:21 +00:00
Dries Buytaert 4a35c8aa0d - Patch #8155 by JonBob: removed legacy _system() hook. 2004-08-10 21:27:23 +00:00
Steven Wittens b9700a638f - #9927: Filter.module doxygen fixes by JonBob 2004-08-10 21:25:39 +00:00
Dries Buytaert d6d3af1b67 - Patch #9663 by jvandyk: the $i counter variable in tablesort_get_order() is unused and should therefore be removed. 2004-08-10 19:15:57 +00:00
Steven Wittens f28d84e7ae Added note about filter patch. 2004-08-10 18:39:23 +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 09fc61c065 - #9148 and #8766: Fix problem with using '%' in term names. 2004-08-10 14:50:53 +00:00
Steven Wittens 9c1ccbbf54 Getting rid of parameters which were never passed. 2004-08-10 14:32:09 +00:00