Commit Graph

1177 Commits (3c7f5559a99744884574b1c5f8ecbaffcc71500a)

Author SHA1 Message Date
Dries Buytaert 3c7f5559a9 - node module:
+ bugfix: made it possible for users to delete their blog entries
2001-11-24 10:02:15 +00:00
Dries Buytaert ad0401f806 - improved the watchdog messages 2001-11-23 19:26:49 +00:00
Kjartan Mannes f5be5fdfa4 - modified node_save so that revisions are not validated using check_input,
as this breaks revisions.
- modified link_node() to take a third parameter $main, which will be passed on
  to _link hooks. This lets modules decide which links a node will get when
  shown on the main page, or when not.
- updated themes to use the new syntax.
2001-11-23 17:10:46 +00:00
natrak dcf8e14a60 - modified node_save so that revisions are not validated using check_input,
as this breaks revisions.
- modified link_node() to take a third parameter $main, which will be passed on
  to _link hooks. This lets modules decide which links a node will get when
  shown on the main page, or when not.
- updated themes to use the new syntax.
2001-11-23 17:10:45 +00:00
Dries Buytaert 7c7b72525b - fixed the line filter: it should not strip v's. 2001-11-20 22:53:26 +00:00
Dries Buytaert 2c3409f03d - Revised and documented the "change author"-logic used in the node forms
of node administrators.  Fixed a bug: it was not possible to change the
  name to "anoymous user" (or vice versa).
2001-11-20 22:51:06 +00:00
Dries Buytaert c35019601e - added a "line" filter 2001-11-20 20:44:32 +00:00
Kjartan Mannes 90e207267f Applied patch by Moshe Weitzman
- fixes help text
- adds better login failure messages to user and to watchdog.
2001-11-19 19:40:31 +00:00
Dries Buytaert ccbbddbc95 - Removed the limit on the blog searches (patch by Natrak). For now it
fixes some annoying issueus but this will need more work in future as
  it doesn't really scale too well.
2001-11-18 22:47:23 +00:00
Dries Buytaert ac775ebc27 - re-enabled the weblogs.com notification code 2001-11-18 22:07:53 +00:00
Dries Buytaert e641cacd01 queue.module:
- small visual bugfix
2001-11-18 20:47:53 +00:00
Dries Buytaert 41295e4d00 - fixed bug with minimum teaser/blog/story size 2001-11-18 20:24:11 +00:00
Dries Buytaert b714757857 - Replaced some (if not all) "Nodes" by more meaningful names/texts. 2001-11-18 16:25:37 +00:00
Dries Buytaert e7e104e82f - node system:
+ Made the filters work again!

   + There is one strange thing that I can't track down though: for some
     reason, "^M" characters (?) are padded after newline ("\n" and / or
     "\r") characters.
2001-11-18 13:21:35 +00:00
Dries Buytaert 0222ee6666 - book.module:
+ Re-introduced and re-wrote the book admin pages; there is a separate
     page for every book and a page with all "orphan pages" (= pages that
     got de-linked).
2001-11-18 12:30:08 +00:00
Dries Buytaert 738c13e688 jabber.module:
- removed some dull watchdog()s
2001-11-18 12:27:51 +00:00
Dries Buytaert cc4d9fbe3f Experimental change:
- Blog entries get queued in the moderation queue for promotion.
2001-11-17 22:22:18 +00:00
Dries Buytaert e596301b39 - Made a few improvements to the tracker module; the problems were reported
by ax.
2001-11-17 17:37:10 +00:00
Kjartan Mannes ac50e1a46f code-style.pl
- allow $var++ and $var-- syntax.

update.php / block.module
- cleaned up coding style, and trailing spaces.
2001-11-17 15:44:21 +00:00
Kjartan Mannes 0db3df1bfa - changed the $function code to use module_invoke() as its a lot cleaner and
more in tune with the rest of Drupal.
2001-11-17 15:18:16 +00:00
Steven Wittens 8ae1611c40 Removed some 'debug' stuff :P 2001-11-17 15:08:26 +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
Dries Buytaert e42d97b5ce User module and DA modules:
+ Updated the documentation to use a Jabber or Drupal IDs instead of
    Deplhi IDs (as delphi.module won't be part of the default distro).
    Drupal and Jabber authentication make a better example.

  + added missing localization / t() functions in
    user_validate_authmaps()

  + applied coding convention:
      * fixed indentation
      * removed "EOF"; and <<EOFs from user module
      * changed some HTML into XHTML: use small letters, quote
        attributes
      * quoted some array indices: $edit[foo] --> $edit["foo"]

  + removed some useless sprintf()'s

  + removed hard-coded references to drop.org.

  + I don't think the authentication methods should /know/ there help
    link.  Instead, the user module should now where to find the help
    (it does by knowing the hook to look for), and it is the user
    module that should take care of exporting the help to the preferred
    location:
      * removed the "link" field from the $info field in drupal_info
        and jabber_info; it wasn't used anyway?

  + removed the "maintainer" and "maintaineremail" from the auth
    modules; we don't keep this info in the other modules either so
    I don't see a reason to do so here.
2001-11-14 20:30:08 +00:00
Dries Buytaert deaf027103 - Added the MAINTAINERS file to CVS. 2001-11-14 20:26:34 +00:00
Kjartan Mannes 0c9b4dc173 - changed the PEAR version of db_query() to act similar to the MySQL one.
If there is an SQL error db_query() will not return a result.
2001-11-13 10:46:36 +00:00
Dries Buytaert ebb14ab94a - A couple of new node updates 2001-11-12 22:17:52 +00:00
Dries Buytaert 84cdc3c6c0 - fixed a typo in an English sentence. 2001-11-12 22:17:16 +00:00
Dries Buytaert 03c670a414 - removed trailing whitespaces 2001-11-12 20:15:51 +00:00
Dries Buytaert 6642f2987e - node modules:
+ made some improvements to the node access checks

- queue module:
   + form()-ified the queue module and added some extra information
     or guidelines
   + added a few missing translations
   + ...
2001-11-12 20:15:08 +00:00
Dries Buytaert 1291d8dcb4 - Made a small change to the submission rate throttle 2001-11-12 20:06:02 +00:00
Dries Buytaert f5a9ecccb1 - XHTML-ified the HTML code: it passes the ./scipts/code-style.pl test
now
2001-11-11 23:24:26 +00:00
Dries Buytaert b29af16bf5 - updated the "update help"-text 2001-11-11 23:23:41 +00:00
Steven Wittens 4bcc1c23e7 Updated Goofy: added a few explicit styles such as "font-weight: normal;" and "text-align: left" to make IE6 behave good again. 2001-11-11 04:11:04 +00:00
Steven Wittens c8e46b0d2c Changed the description for the types field when adding a collection. Instead of an example list, it shows an actual list of the available nodetypes. 2001-11-10 01:43:34 +00:00
Steven Wittens 6d4f610d9f Fixed typo/language errors in blog description (was this written at 3am by any chance? :) 2001-11-10 01:41:15 +00:00
Dries Buytaert 234b40b253 - node system:
+ Added the "delete node"-link: apparently it got lost during the last
     commit.  Odd.

   + Changed "Edit node" to "Edit <node_name>" on the 'edit node'-page of
     the admin section.  (There a 4 "Node"s that still need to be removed
     though.)

   + Updated the initial submission page (the old submit.php) to include
     some descriptions.
2001-11-07 18:14:46 +00:00
Dries Buytaert 74a1fe5718 mail-to-sql.php:
- rewrote the script in PHP.
  - added support for mailing list.
  - made the parser better.
2001-11-07 18:05:02 +00:00
Dries Buytaert db47bac35e - node.module:
+ Changed node_form() to use good ol' tables instead of div/CSS-tags.

   + Revised the "revision API": I think we have both an easy and powerful
     API now that should make everyone happy.

   + Improved the usability of the rollback functionality a bit.

   + Removed the "view node" link from the "node overview" page in the
     admin section and added a "delete node" link instead.

   + Added a few missing translations; there might be missing more
     translations though.

- book.module:

   + Made the book module use the "revision API" instead of having it poke
     and use the innards and underlying details of the revision system.

- queue.module:

   + Made the queue module use the improved revision number.

- module.inc:
   + Applied Moshe's patch: added more arguments to module_invoke()

- mail-to-sql.pl:
   + Added support for more header fields and for folded fields

Notes:

- no database updates required
2001-11-05 22:59:11 +00:00
Dries Buytaert f88cfaa2dd - Another batch of updates. The most important bit is that the moderation
queue should be functional again.  It's not ready yet but I'll be tuning
  it for the next two evenings or so.
2001-11-04 23:30:39 +00:00
Dries Buytaert 4af6c9d2dc - typo 2001-11-04 16:14:11 +00:00
Dries Buytaert b6f1c9c739 - node system:
+ fixed a typo in node_load(): it should be faster now

- book module:
    + removed the functions book_parent() and book_parent_query() as
      they were no longer needed.  Gerhard & co: this should fix the
      occasional SQL errors you get, and should improve performance.

    + made the "next", "previous" and "up" links work correctly ...

    + XHTML-ified the code

    + added some missing translations

  I'm working on the book module now to make it possible to update book
  pages.
2001-11-04 15:57:43 +00:00
Dries Buytaert 29364d5b55 - improved the upgrade scripts/file a bit and tested them against a couple
of older (PEAR-less) Drupal databases
2001-11-04 15:38:44 +00:00
Dries Buytaert 50b92b9154 - small bugfix 2001-11-03 21:28:57 +00:00
Dries Buytaert a2e6910902 - Made the node forms support "help texts": it is not possible to configure
Drupal to display submission guidelines, or any other kind of explanation
  such as "NO TEST POSTS", for example.

- Added node versioning: it is possible to create revisions, to view old
  revisions and to roll-back to older revisions.  You'll need to apply a
  SQL update.

  I'm going to work on the book module now, so I might be changing a few
  things to enable collaborative, moderated revisions - but feel free to
  send some first feedback, if you like.

- Added some configuration options which can be used to set the minimum
  number of words a blog/story should consist of.  Hopefully this will
  be usefull to stop the (almost empty) test blogs.

- Various improvements:
   + Fine-tuned new node permission system.
   + Fine-tuned the functions in node.inc.
   + Fine-tuned some forms.
   + XHTML-ified some code.
2001-11-03 18:38:30 +00:00
Dries Buytaert 4d8b485fad - Added error handling support to the <node>_form hook. 2001-11-01 22:54:16 +00:00
Dries Buytaert e205fee081 - Changed the Druplicon logo (courtesey of UnConeD) 2001-11-01 20:51:43 +00:00
Dries Buytaert 23ca7a2d88 - Another batch of updates/improvements:
+ introduced basic node permissions ("create", "delete", "update" and
     "view") at the node level: it's up to the "<$node->type>_module" to
     hide gory details (if any).

   + made the "blog it"-feature in the blog and import module work with
     the new node system, in specific with the new centralized forms.

   + made it possible to update blogs.

   + made the page module work with the new node system.

   + various smaller improvements.
2001-11-01 17:04:20 +00:00
Dries Buytaert 3d47ad359d - Added first, preliminary version of mail-to-sql to CVS. 2001-11-01 16:43:22 +00:00