Commit Graph

103 Commits (a4bc9fff9fea95959a85e9472ef564a05781f085)

Author SHA1 Message Date
Dries Buytaert 92326261d1 - Commited Marco's new comment module and forum module!!! 2002-09-15 13:00:12 +00:00
Dries Buytaert a28f818006 - Changed "$watchdog->message" from type "varchar(255)" to type "text".
Patch by James.  For sake of consistency, I updated the MySQL scheme
  and added a new update entry to "update.php".
2002-08-26 18:18:12 +00:00
Dries Buytaert bfe5b85dbd - Applied a (modified) version of Marco's SQL sequence patch. 2002-08-20 19:29:16 +00:00
Dries Buytaert e04f6d2328 - Made the rating module and its SQL table ASNI compliant. Patch by jaa. 2002-08-16 07:37:03 +00:00
Dries Buytaert e0357857c0 - Added indices for the poll module. Patch by Marco. 2002-08-11 20:02:32 +00:00
Kjartan Mannes ec59398791 - feed table should have not null defined for refresh and timestamp. 2002-07-31 08:14:25 +00:00
Dries Buytaert e1e75f5bcb - Update the existing variables. 2002-07-07 15:41:03 +00:00
Dries Buytaert 39373da716 - Added some indices. 2002-06-23 13:26:39 +00:00
Kjartan Mannes 66ccfb3f8d - fixed the markup of the collapsed comment view settings.
- updated update.php and database.mysql disable a few more modules by default.
  Without the config options in place to disable things this might confuse users.
2002-06-15 10:49:44 +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 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
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
Kjartan Mannes 367ae7a670 - tweaked password changes.
- changed the meta -> taxo to append terms instead of overwriting.
- added more warnings to file.
2002-05-20 18:02:23 +00:00
Dries Buytaert f3c8757179 - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
(and possibly tabs).
2002-05-20 07:34:38 +00:00
Kjartan Mannes 87cdd89181 - attempting to fix tag -> tax conversion. 2002-05-19 19:41:12 +00:00
Kjartan Mannes c8d126becd - bug fix 2002-05-17 23:27:35 +00:00
Steven Wittens 098d9002d8 Fixed Typo 2002-05-16 09:27:43 +00:00
Kjartan Mannes d92e3c1677 - fixed old node abstracts being wiped.
- set the changed date to created to presev old sorting.
- tweaking update order to result in better success rates.
2002-05-15 22:40:21 +00:00
Kjartan Mannes c1f6ab3b95 - convert meta tags to taxonomy.
- added upgrade option which will enable modules and set some defaults.
- additional links for added usability.
- better instructions.
2002-05-15 22:36:30 +00:00
Kjartan Mannes b81d3d93b8 - fixing some minor spacing issues. 2002-05-13 18:44:00 +00:00
Kjartan Mannes 497ab799ef - added notes to update.php which you will see before you can perform updates.
This should give clearer notice to people which update they have to run
  manually.
2002-05-11 17:23:45 +00:00
Kjartan Mannes 86552cb4b6 - changed block, module and theme config pages to use checkboxes.
- coding style clean ups.
- fixed taxonomy causing errors.
2002-05-11 16:21:48 +00:00
Kjartan Mannes a4b5005640 - merged block and box modules. modules/box.module should be removed
or disabled as it will cause errors otherwise.

  - split status into status and custom. Status will turn the block
    on/off, and custom defined if the user can change the status.
    Requires sql update.

  - reintroduced user page to configure blocks.
2002-05-02 19:13:45 +00:00
Kjartan Mannes c36dd7cfd5 - enabling the security check again. 2002-05-02 10:09:43 +00:00
Kjartan Mannes c71b15ee96 - fixing the update script so it can cleanly update from 3.x to 4.0.0 as long as
the manual stuff is done first.
- NOTE: this will not update custom nodes. If you have any non standard nodes
  they will have to be updated seperately.
2002-05-01 12:30:08 +00:00
Kjartan Mannes f38860ffb3 - updated the updates. 2002-04-29 15:50:19 +00:00
Dries Buytaert ae263bf607 - Rewrote role management, splitting the table in two. There are no
improvements right now, but this patch will help me adding support
  for taxonomy-based permissions.  Contributed by Marco.
2002-04-28 08:55:00 +00:00
Kjartan Mannes 2749c6f0ce - like the watchdog changes the system changes have to be applied before
the update script will run properly. Added this requirement to the comments.
2002-04-27 13:44:04 +00:00
Steven Wittens 0a966e1ed4 Updated poll.module:
- Removed obsolete lid column (changed update.php and database.mysql)
- Added short help
2002-04-20 01:51:05 +00:00
Kjartan Mannes 1b573fb0ba - book log is now saved and shown when necessary.
- fixed poll title not showing up.
2002-04-17 10:15:13 +00:00
Dries Buytaert d8cd54969c - Added Marco's long-awaited taxonmy module and patches - a replacement
for the meta system.  The patches add some extra functionality to the
  comment system (for example, comments can be set read-only) and fix a
  couple of small problems.

  + I integrated the required SQL updates from the varius *.mysql files
    into the "update.php" script.  Upgrading should be easy ...

  + I did not apply/commit the "user.diff" as requested by Marco ...

  + I didn't know what to do with "forum.module" and "forum2.module":
    what do you want me to do with it Marco?  Which one should go in?

  + Can we remove "node_index()" now; both from "node.module" and the
    themes?

  + Thanks Marco!
2002-04-14 20:46:41 +00:00
Kjartan Mannes 6c0db2de16 - modified the SQL update to lowercase all user theme settings to let them
keep their settings.
- Change author fields in marvin and example theme. Dries is picky about his
  name ;)
2002-04-14 19:59:39 +00:00
Kjartan Mannes 5592761620 This is a major change to the system, needs more testing!
Committing Changes by Moshe Weitzman:
- admin_user_account(), user_edit(), and user_view() no longer have any
  hard code for authentication modules. instead authentication modules
  implement the _user hook.
- fixed a couple 'help' typos.
- linked the 'REGISTER' text in the login block to the register page.
  this page now advertises DA better if site employs DA.
- admins may now edit everything about a user account (was a feature
  request).
- user #1 may now login immediately, in addition to receiving his
  password via email.

Other changes:
- modules and themes are now enabled/disabled in the administrative /
  settings / modules | themes pages. Requires SQL update and things must
  be enabled before your site returns to normal. TODO: enable all
  functionality. (For now just do UPDATE system SET status = 1;)
- removed $themes from conf.php.
- added a $theme->system() function where theme can specify settings.
  All themes in the Drupal CVS have been updated to use this.
- added _system hook to modules. TODO: update modules to use this.
- changed strange use of sprintf to the usual strtr. The disadvantage of
  sprintf is that it requires translations to keep the string order,
  which may not be possible in all languages.
- an invalid/nonexisting theme in a user profile will now fallback to the
  BaseTheme instead of crashing.
2002-04-14 19:34:04 +00:00
Dries Buytaert 5d9a8e34a9 - Made the cloud module a lot more configurable: both the update interval
and the number of bytes required for an update, can be changed now.
2002-04-08 19:50:28 +00:00
Kjartan Mannes 1fe8d6b195 - more typo bugs. 2002-03-05 22:10:21 +00:00
Kjartan Mannes e3d2c46f04 - applied search patch.
- added who is online block.
- made weblog module more configurable.
- users may now delete their own accounts (Feature #8)
- users may now request a password using email address *or* username.
  formerly required both items to match an account which was onerous.
- the link to request a new password is now presented whenever a user
  fails login.
- there is now a confirmation message after submitting edits to your
  user information.
- error messages in user.module may now be stylized by themes.
- <hook>_form has a $param setting you can fill with form parameters.
- improved wording for a few config settings.
- fixed various non-coding standard things.
2002-03-05 20:15:17 +00:00
Dries Buytaert 3c8de3e9fe - Changed the size of the data-field in the cache table. 2002-02-19 19:25:20 +00:00
Kjartan Mannes 8678951608 - nodes can now be set to static which will pin them to the front page as
long as they are promoted and/or static.
- needs an sql update.
2002-01-31 14:03:17 +00:00
Kjartan Mannes dc8f6be46f - added default value to enable user block to update.php
- did a new dump of the database from a clean upgrade as my local devel is
  a little infected with additional tables.
2002-01-27 19:27:17 +00:00
Dries Buytaert 0683331acd - Added an 'data' column to the user table. 2002-01-17 20:21:11 +00:00
Dries Buytaert 58152c45d1 Integrated Marco's generic/improved cache into Drupal. Requires an
SQL update.  See below for more details.

- Merged the file "cache.inc" into "common.inc".

- In addition, I renamed the field 'url' in the cache table to
  a more generic 'cid' (cache identifier).  It's no longer for
  URLs only.

- Made the "cache_set()" function ASNI compliant such that it
  will play nice with other databases such as Postgres.

- Added some extra input checking.

- Updated the old caching code in the functions "page_header()"
  and "page_footer()" to use the new, generic cache API.

- Updated "update.php" to make the required SQL changes.
2002-01-05 16:28:34 +00:00
Dries Buytaert d85e45bf64 - Added "x new comments" feature. Requires a SQL update.
- Tidied up some comment related code in node.module.
2001-12-31 13:02:53 +00:00
Dries Buytaert a95c2a68aa - import.module:
+ Improved input filtering; this should make the news items look
      more consistent in terms of mark-up.

    + Quoted all array indices: converted all instances of $foo[bar]
      to $foo["bar"].  Made various other changes to make the import
      module compliant with the coding style.

- theme.inc:

    + Fixed small XHTML glitch

- comment system:

    + Made it possible for users to edit their comments (when certain
      criteria are matched).

    + Renamed the SQL table field "lid" to "nid" and updated the code
      to reflect this change: this is a rather /annoying/ change that
      has been asked for a few times.  It will impact the contributed
      BBS/forum modules and requires a tiny SQL update:

        sql> ALTER TABLE comments CHANGE lid nid int(10) NOT NULL;

    + Moved most (all?) of the comment related logic from node.php to
      comment.module where it belongs.  This also marks a first step
      towards removing/reducing "node.php".

    + Added a delete button to the comment admin form and made it so
      that Drupal prompts for confirmation prior to deleting a comment
      from the database.  This behavior is similar to that of deleting
      nodes.

    + Disabled comment moderation for now.

    + Some of the above changes will make it easier to integrate the
      upcomcing mail-to-web and web-to-mail gateways.  They are part
      of a bigger plan.  ;)

- node system:

    + Made it so that updating nodes (like for instance updating blog
      entries) won't trigger the submission rate throttle.

    + Fixed a small glitch where a node's title wasn't always passed
      to the $theme->header() function.

    + Made "node_array()" and "node_object()" more generic and named
      them "object2array()" and "array2object()".

    + Moved most (all?) of the comment related logic from node.php to
      comment.module where it belongs.  This also marks a first step
      towards removing/reducing "node.php".

- misc:

    + Applied three patches by Foxen.  One to improve performance of
      the book module, and two other patches to fix small glitches in
      common.inc.  Thanks Foxen!
2001-12-30 16:16:38 +00:00
Dries Buytaert c5bb7c3eb2 - Fixed a problem with the expiration of news items. Requires a SQL
update (update.php).
2001-12-24 10:51:25 +00:00
Dries Buytaert 780a345ffc - Added some explanation to the top of the file and fixed a braino. 2001-12-16 14:42:51 +00:00
Dries Buytaert a0ddc1af74 - Added new feature. Explanation will follow on the mailing list. 2001-12-16 11:44:41 +00:00
Dries Buytaert 9da79bc8c4 - Fixed a few feed glitched reported by Mark.
- Dropped a few database tables that where no longer needed.
2001-12-09 18:58:27 +00:00
Dries Buytaert e1f21d2b86 - Included the new documentation and renamed all "referer"s to
"referrers" (including the SQL table name).  Thanks Greg.
2001-12-09 10:47:16 +00:00
Dries Buytaert 20b4b7166f - book.module:
+ Added (1) support for "PHP pages" (dynamic pages), and (2) made
     it possible to link other node types into the book's tree/outline.
     It works just fine, yet the only (obvious) downside of (2) is
     that the navigation tree/links gets "interrupted" when you view
     non-book pages in the book.
       [SQL update required, see update.php]

   + Tidied up the book table.
       [SQL update required, see update.php]

- various updates:
    + Fine-tuned the new node system.
    + Updated the inline/code documentation.
    + Improved teaser handling of all node types.
    + Made several small usability improvements to the node admin
      pages.
2001-12-06 17:33:05 +00:00
Dries Buytaert 5ecedf72cf user.module:
- Fixed the session support.  Requires a database update.
  - Applied a tiny optimization suggested by deekayen.
2001-12-01 14:44:57 +00:00
Dries Buytaert 6fd5a8d9cf - update.php: discovered and fixed a small thinko in update function #7. 2001-11-17 13:05:32 +00:00
Dries Buytaert cd2df442b0 - update.php:
* added a new update method to create the authmap table, to move
      the old 'jabber' and 'drupal' field in the users table to this
      new authmap table, and to remove users and node left-overs.
2001-11-17 12:17:46 +00:00
Kjartan Mannes 0a4f99ef22 - added update.php to replace the updates/* files to make future upgrades
easier. Can be found by going to http://yoursite/update.php. Only the "super"
  user can access it (uid == 1) for security reasons.
2001-11-15 22:53:06 +00:00