Commit Graph

1498 Commits (52e00d08dd9364cf2bcf9a1fc4c6e81083f5716a)

Author SHA1 Message Date
Dries Buytaert 52e00d08dd - Documentation update: "%s/ drupal / Drupal /cg". In documentation we
prefer "Drupal" instead of "drupal".
2002-06-09 14:18:23 +00:00
Dries Buytaert d859a37ff7 - Documentation updates: made it more consistent with the rest of Drupal. 2002-06-09 14:16:35 +00:00
Dries Buytaert 300e524368 - Updated the book module documentation a bit. 2002-06-09 14:02:35 +00:00
Dries Buytaert ca9fc85e4b - Bugfix: the comment module has a help function but it wasn't linked to. 2002-06-09 13:52:08 +00:00
Kjartan Mannes 28a7179a22 - fixing the moderation result block so both author and voters can see it. 2002-06-09 11:11:27 +00:00
Dries Buytaert a2d1101568 - Mentioned the various documentation updates. 2002-06-09 09:04:16 +00:00
Kjartan Mannes f44646030b - applying Scott's patch.
- removing the need to enable weblogs ping so it matches locale and bloggerapi.
2002-06-09 08:55:51 +00:00
Dries Buytaert 10f808b37b - Updated the poll documentation. Patch by Scott. 2002-06-09 08:30:11 +00:00
Dries Buytaert 366118ce45 - Made a small cosmetic change to the modules admin page. 2002-06-09 08:29:49 +00:00
Dries Buytaert 359ff9539e - Some small editorial changes to the user module. 2002-06-09 08:17:55 +00:00
Dries Buytaert 2d5630bb48 - Included Moshe's *excellent* user module documentation.
NOTE: I remove the gravity stuff as this optional and already documented
         in rating.module.
2002-06-09 07:44:12 +00:00
Kjartan Mannes 5d36c70449 - improved module descriptions.
- removed admin options for queue and comment module if the modules are not
  loaded.
- nodes are now auto promoted when queue module isn't enabled.
- moderation result block is now visible by the node author.
2002-06-08 16:17:29 +00:00
Dries Buytaert 37ee9eed2e - Bugfix: we now keep a per-node $date cache in comment_is_new(). Suggested
by Natrak.
2002-06-08 14:30:05 +00:00
Dries Buytaert 291d119b25 - Removed non-existing theme from both update.php and database.mysql. Patch
by Marco.
2002-06-08 14:26:23 +00:00
Dries Buytaert 92665ec06b - Bugfix: clicking "help" on the "site configuration" didn't show any help. 2002-06-08 14:13:11 +00:00
Dries Buytaert e6096b603a - Extended the blog module documentation with input from the Drupal
handbook.  The documentation is not particulary exciting/good but
  it is better than what it used to be.
2002-06-08 13:22:33 +00:00
Dries Buytaert 1c929509a3 - Removed the redundant "enable/disable" setting from the Blogger API module.
- Revised the documentation: fixed about 5 typos, removed the bit about
  downloading the module from the Drupal contributions repository,
  updated the installation guidelines, etc.
2002-06-08 12:30:36 +00:00
Dries Buytaert 2b3ca2d3ac - More documentation updates. Added "Requires crontab" message to the
settings that require crontab, make some things more consistent, etc.
2002-06-08 10:18:59 +00:00
Dries Buytaert 7d9fc047f9 - Clarified the help texts a bit. 2002-06-08 10:09:03 +00:00
Dries Buytaert 19736b4225 - Removed the redundant option to enable or disable the locale module. 2002-06-08 10:05:19 +00:00
Dries Buytaert f770b7861e - Small detail in the help. 2002-06-08 07:09:02 +00:00
Dries Buytaert 68129fd539 - Changed some "default NULL"s to "default NOT NULL"s as this only works on
recent MySQL versions.  I included the diffs for review.

update.php:
-  update_sql("CREATE TABLE search_index (word varchar(50) default NULL, lno in
+  update_sql("CREATE TABLE search_index (word varchar(50) default NOT NULL, ln

database.mysql:
-  word varchar(50) default NULL,
-  lno int(10) unsigned default NULL,
-  type varchar(16) default NULL,
-  count int(10) unsigned default NULL,
+ word varchar(50) NOT NULL,
+ lno int(10) unsigned NOT NULL,
+ type varchar(16) default NULL,
+ count int(10) unsigned default NULL,
2002-06-06 18:29:40 +00:00
Dries Buytaert 3eb607b8ee - The Drupal module is no longer required. 2002-06-06 18:19:03 +00:00
Steven Wittens 80a6b15942 Some small corrections to the system descriptions (as discussed in mailinglist) 2002-06-04 11:44:23 +00:00
Steven Wittens 8be5a2545e Poll.module improvements:
- Added links to see poll results when you haven't voted yet (and to go back).
- Cleaned up code and moved large sections into separate functions for cleaner code
- Cleaned up the way of distinguishing between multiple polls on one page (now it just uses the nid)
2002-06-04 03:55:17 +00:00
Kjartan Mannes 0279761383 - changed a db_queryd to db_query. 2002-06-02 15:29:21 +00:00
Steven Wittens e128899832 Theme update:
Got rid of the drop.org logo's in the themes and replaced them with the Drupal logo.
2002-06-01 23:17:05 +00:00
Kjartan Mannes 4a28077f46 - adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
    * security check isn't in effect if the db hasn't been updated.
    * instructions re-organized.
    * fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
2002-06-01 21:57:29 +00:00
Steven Wittens 59082a5f19 Poll.module:
- Added timestamp (created) sorting to polls page.
2002-06-01 21:36:05 +00:00
Steven Wittens 139a2fa37c UnConeD.theme
Removed 'nowrap' from box titles
2002-06-01 20:33:51 +00:00
Steven Wittens e0c1980329 Poll.module:
Added a page showing a list of older polls.
2002-06-01 20:19:18 +00:00
Steven Wittens f520a8b413 Fixed unmoderated polls already showing up in the side-block. 2002-06-01 19:34:32 +00:00
Dries Buytaert 38aaf5f35d - Added missing translations and the like. 2002-05-31 20:29:30 +00:00
Dries Buytaert b0ea30ed85 - Fixed missing translations and missing lm()'s (including the one Marco fixed). 2002-05-31 20:22:14 +00:00
Dries Buytaert 420ac9f4f7 - Added missing translations (including the one Marco spotted). 2002-05-31 20:18:33 +00:00
Kjartan Mannes d5023adb4c - fixing who is online block. 2002-05-31 11:03:54 +00:00
Dries Buytaert af075abb3d - Fixed but #197: "Shouldn't going to index.php?or=xxx show all content
for the term rather than only promoted content?".  Reported by Barry,
  fixed by Revar's patch.
2002-05-30 20:26:08 +00:00
Dries Buytaert 8bba059a8e - Fixed a drupal_goto() as identified by Marco. 2002-05-29 17:32:09 +00:00
Kjartan Mannes 0b596a8ec4 - modified the user blocks to use the same layout and trim long usernames to
keep the blocks from ruining theme layouts.
2002-05-29 17:19:20 +00:00
Kjartan Mannes c9feee50ce - added missing access check for links 2002-05-29 17:17:09 +00:00
Kjartan Mannes 000ee5d162 - cleaning up the access checks in node.module.
- reverting a taxonomy patch that added $context checking to node/comments.
2002-05-29 17:16:27 +00:00
Kjartan Mannes 9a4a9befac - fixing perma links and link to all blogs by user.
- added access checks to blog block.
2002-05-29 17:08:05 +00:00
Dries Buytaert 2156045a71 - Change to use the proper db_query syntax. Patch by Marco. 2002-05-26 22:06:03 +00:00
Dries Buytaert 0908a06cd0 - Replaced a "mysql_query()" by a "db_query" as identified by Moshe (see
his sandbox) and fixed some typos in the module's comments.

  * Moshe: what are the $wordlist changes you made?  Mind to elaborate a
           bit on those?

  * TODO: validate the SQL queries used in the search module using a SQL
          validator tool - I wonder whether they are ANSI compliant.


-    // If the word is preceeded by a "+", then this word is required, and
+    // If the word is proceeded by a "+", then this word is required, and

-        $inputword = ("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
-        mysql_query($inputword);
+        db_query("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
       }

-      // Zap the weighted words array, so we dont add multiples.
+      // Zap the weighted words array, so we don't add multiples.
2002-05-26 11:00:50 +00:00
Dries Buytaert 4191481453 - Bugfix: just before submitting a node, one could change the content of
that node to something that would not have passed the preview pages.

  Patch by Revar:

    "If you uploaded a valid file, and filled out the form right, you will
    get a Submit button.  The problem comes in when you choose a different
    file to upload, and then click Submit.  The filestore_save() function
    cannot do proper validation and handling of the form data, as it only
    returns a list of what node fields to save.  On error, a node entry is
    still created, but with only the nid field set.  The user can't be
    forced to fix their bad entry."

    "Add a _form_validate() node hook to process and validate any form
    results.  That way even on Submit, the node code would check the
    validity of the data, and if bad, it could drop you back to the preview
    screen with the current bad data warnings.  Have it return an array of
    errors that can be passed in as $error to the _form() hook.  If it
    returns a null array, then there's no errors, and the submit can go
    through."
2002-05-26 09:23:46 +00:00
Dries Buytaert ad83b449f7 - Bugfix: found a bug with the 'create poll' title attribute. It was
getting added to the <a> tag as '0="title" 1="Add a new poll."'.

  Patch by Revar.
2002-05-26 09:03:16 +00:00
Dries Buytaert e426775fd5 - Bugfix. When a theme does no longer exist on disk, it should not be
returned by theme_list() as it breaks the site ...  The attached patch
  prevents this from happening but does not remove the theme from the system
  table in the SQL database - if the theme is removed from the database upon
  viewing the themes administration page (or another trigger), I guess that
  is fine.

Kjartan: my fix is the right thing to apply because theme_list() is used
         elsewhere where it requires to return a list of existing themes.
         Maybe it's a little sad but the current theme loading code might
         be slower and more complex than the old Drupal 3 theme loading
         code ... ?
2002-05-25 06:47:47 +00:00
Dries Buytaert 04e491f846 - Now all themes use the new taxonomy stuff, we can remove the depricated
function node_index() - it was an empty function.
2002-05-24 21:37:42 +00:00
Dries Buytaert 73f9ffc8f4 - Removed a "nowrap" attribute to make theme Marvin look better on IE6.
(Suggested by UnConed.)

- Made theme Marvin support the taxonomy module.
2002-05-24 21:29:33 +00:00
Kjartan Mannes f711baceb7 - the user_admin_edit() would loose the theme settings.
- added some more help text to page.module.
2002-05-24 12:27:10 +00:00