Commit Graph

453 Commits (d62b6dedaa4f4228dc5f42f61009f8deadb097ce)

Author SHA1 Message Date
Dries Buytaert 18ec47d71b - blog.module:
+ small visual improvement
2001-07-14 13:56:59 +00:00
Dries Buytaert e724f18db9 - blog.module:
+ added RSS 0.91(5) feeds to the blog module which makes it possible
     to both syndicate an particular user's latest blog entries, or the
     latest entries of all users.
2001-07-14 13:36:38 +00:00
Dries Buytaert b99d4d7a42 - theme system:
+ added $theme->images()

- blog.module:
    + improved user-friendliness and rewrote most of the output routines
    + made quoted text /italic/ by default
    + integrated discussion system like it should
    + ...

- marvin.theme:
    + small visual improvements
2001-07-14 12:12:41 +00:00
Dries Buytaert bab8da0208 - import.module:
+ changed the link name to "news feeds"
   + changed the link on the "latest news" page
2001-07-14 00:05:30 +00:00
Dries Buytaert 038b9cc19b - cloud.module:
+ Fixed "rotten date" (as remco like to calls it).
    + Added "URL to monitor" field.
    + Added some error checking.
    + Apply the updates in 2.00-to-x.xx.sql.
2001-07-13 19:51:42 +00:00
Dries Buytaert 6acfa4ef24 - import.module:
+ fixed typo
2001-07-13 10:53:02 +00:00
Dries Buytaert e81c014937 - blog.module:
+ fixed visual glitch with 'read more' link (blog comments)
   + made it possible to delete your last blog item
   + fixed timestamp bug when previewing a new blog
   + fixed potential problem with blog_save()
   + fixed a few HTML/XHTML tinkos.

- statistics.module:
   + "yoursite.com" should no longer show up under "external referrers"
   + fixed "Referers of the last 31 years 37 weeks 1 hour 46 min 40 sec" bug
   + xhtml-ified

- node.inc:
   + fixed watchdog message

- import.module:
   + small block improvement
2001-07-12 20:36:40 +00:00
Dries Buytaert 63814764da - Two small bugfixes. 2001-07-12 16:50:12 +00:00
Dries Buytaert 170cf2f4a4 - Fixed "Blog this item" as reported by Natrak. 2001-07-12 12:50:11 +00:00
Dries Buytaert 17516b25bb - blog.module:
+ fixed tiny bug in blog_save()
2001-07-12 11:36:51 +00:00
Dries Buytaert e52d2c3252 - blog.module, import.module:
+ 2 small improvements wrt to access rights
2001-07-12 10:39:15 +00:00
Dries Buytaert bebb256d43 - fixed blog.module bugs reported by Remco. 2001-07-12 09:58:47 +00:00
Dries Buytaert a9bdf3775b - blog.module:
+ fixed bug reported by killes.
2001-07-12 06:16:11 +00:00
Dries Buytaert d6d60de3cc - Added blog.module to replace diary.module (contrubeted by Julian):
+ feedback wanted

- Added updated import.module (contributed by Julian):
   + user page do browse the headlines by feed and bundle, to display
     the item descriptions, etc.

- Fixed small bug in common.inc.

- Updated database.mysql
2001-07-11 22:06:24 +00:00
Steven Wittens ee12d11165 poll.module - made the poll-durations a lot more locale friendly (using format_interval();) 2001-07-11 14:27:03 +00:00
Dries Buytaert 48029fe280 - cloud.module:
+ small visual change

- import.module:
    + added suggestions made by Julian along with some extras.
2001-07-09 18:13:53 +00:00
Steven Wittens 9ae0dff61f Typo in a permission check: diary admin interface was not available for admins with userid != 1. 2001-07-08 21:06:36 +00:00
Dries Buytaert b765109651 *** empty log message *** 2001-07-08 16:37:40 +00:00
Dries Buytaert 7db59b2bba - locale.module:
+ fixed typo: 'return' -> 'print'
2001-07-08 15:34:10 +00:00
Dries Buytaert d3fc6962bc - cloud.module:
+ more small visual updates (last time today)
2001-07-08 14:57:52 +00:00
Dries Buytaert 96098ce3be - cloud.module:
+ made 1 few visual change.
2001-07-08 14:06:21 +00:00
Dries Buytaert fdb5d1846d - A small addition. 2001-07-08 12:03:11 +00:00
Dries Buytaert 99d712b636 - Added a simple site cloud module. 2001-07-08 11:31:52 +00:00
Dries Buytaert a382d9ea4a - Fixed bug in page.module:
+ PHP-pages were rendered invalid under certain criteria.

- Fixed bug in meta.module:
   + When editing an existing node, the meta-field was not properly set
     in the forms.
2001-07-07 22:02:34 +00:00
Dries Buytaert 5077cafd38 - account.php:
+ tidied up the texts

- common.inc:
    + undid bad coding style
    + fixed typo in permissions

- poll.module:
    + (automatically) removed tabs and trailing whitespaces
2001-07-07 16:37:27 +00:00
Dries Buytaert 42cd39dbd8 - fixed permission bug in rating.module 2001-07-07 15:50:05 +00:00
Steven Wittens 7bd45884d8 - Fixed naughty $op behaviour, causing block.module to go fubar. 2001-07-07 15:19:29 +00:00
Dries Buytaert f12fa06152 - various small updates:
+ fixed 2 small HTML typos in meta.module
   + better watchdog messages in comment.module
   + fixed typo in block.module
2001-07-07 14:58:54 +00:00
Steven Wittens 82a51e7b75 Fixed "array" being displayed at top of form.
Dries: what was that 'bad markup' bug you mentioned?
2001-07-07 13:09:04 +00:00
Dries Buytaert 6f2ad759f4 - import.module:
+ added internal improvements suggested by Julian.
   + XHTML-ified

- admin.php:
   + XHTML-ified
2001-07-07 13:07:03 +00:00
Dries Buytaert 121b5425c2 - Fixed tiny typo which broke the download link 2001-07-04 12:20:14 +00:00
Dries Buytaert 43db9cf86f - common.inc:
+ Made '$na' translatable on popular demand.

- node.module:
   + replaced a confusing configuration description, as suggested by
     Remco.

- statistics.module:
   + Added a 'most recent referers'-table sorted by timestamp.

- drupal.module:
   + Small update of the links.
2001-07-03 19:16:20 +00:00
Dries Buytaert 8f2ef0760f - Added improvement locale.module, based on Gerhard K.'s implementation.
(Thanks Gerhard!)

- Various other small improvements.
2001-07-02 20:30:32 +00:00
Dries Buytaert 8674cf0953 - Small updates 2001-07-01 11:27:10 +00:00
Dries Buytaert 87575929a5 - Introduced caching support. 2001-06-30 20:23:33 +00:00
Dries Buytaert eacfc0425d - Added 'drupal' link to pages. 2001-06-30 17:51:04 +00:00
Dries Buytaert 52aa41171e - Rewrote box.module: the code size is twice as small, the interface looks
the same though.  The next step is to merge it into block.module - if we
  can figure out how this can be done.
2001-06-30 17:24:27 +00:00
Dries Buytaert cab3ac83f8 - statistics.module:
+ fixed small glitch
    + improved interface
2001-06-30 10:05:54 +00:00
Dries Buytaert e6a67118eb - Made search.php a module, being search.module.
- Updated the permission names to be more consistent.

- Small improvement to node.php.
2001-06-30 09:50:36 +00:00
Dries Buytaert 7c1b20fe49 - Forgot to update one user permission. 2001-06-30 08:00:38 +00:00
Dries Buytaert 9c43e8fc7a Extremely large commit:
- Fixed tiny quote problem in account.php.

- Fixed tiny bug in comment.inc.

- Fixed tiny bug in comment.module.

- Fixed tiny bug in meta.module.

- Simplified user_access() API.

- Rewrote link system: still needs fine-tuning and testing so don't
  upgrade if you are running a production site. ;)

  Updated all modules and themes to reflect this change.  All other
  themes and modules need updating too!
2001-06-29 22:08:57 +00:00
Dries Buytaert 124694ee4d - Fixed bug node.module bug:
+ the node scheduler did not un-schedule a node!

- Fixed comment bugs (as a result of the formification):

    + no signatures where being attached to the comments.

    + check_input was used where is should have been check_output,
      with broken filters as the immediate result.
2001-06-27 18:06:36 +00:00
Steven Wittens df30ccb061 The ever persistant typo..... 2001-06-26 15:43:29 +00:00
Steven Wittens 8d46b18892 Updated calendar.module:
- Locale'd the day-of-the-week-letters. Don't worry, you won't find any "F" or "S" in your locale database, just "Friday" and "Sunday".

 - Fixed a bug with 28/20-day months. Skipping a month ahead from e.g. January 31st would have you end up on March 3rd. Same for skipping backwards.

 - Made the selected date always appear in bold.

 - Prevented all skipping into the future. This was still possible by skipping whole months.
2001-06-26 15:40:03 +00:00
natrak 564e3ed30f - Fixed some HTML errors in the help. 2001-06-26 14:58:00 +00:00
Dries Buytaert 56b35360ed - Fixed problem with book.module (reported by Jared).
- Fixed problem with forum.module (reported by Jared).
2001-06-25 20:06:06 +00:00
Dries Buytaert 168db4c99e - Fixed problem with book.module (reported by Jared).
- Fixed problem with forum.module (reported by Jared).
2001-06-25 19:36:04 +00:00
Dries Buytaert ca6af5ad76 - Fixed conf_save bug in node.module (reported by Jared). 2001-06-25 06:47:55 +00:00
Dries Buytaert bd8e9dd0af - Fixed bug in export module when exporting books to HTML. 2001-06-24 19:12:30 +00:00
Dries Buytaert 3f6a8a2288 - Small visual improvement to statistics.module. 2001-06-24 15:53:36 +00:00
Dries Buytaert 1ba4d52f5d - Small visual improvement to statistics.module. 2001-06-24 15:52:25 +00:00
Dries Buytaert d0496d2e7c - Fixed bug in SQL query in one of the sanity checks of book.module. 2001-06-24 14:02:49 +00:00
Dries Buytaert 4c50ea2776 - Small updates to statistics.module. 2001-06-24 12:06:40 +00:00
Dries Buytaert 4477efef71 - Added simple referer module, for sake of fun 2001-06-24 11:39:28 +00:00
Dries Buytaert f890592b2f - Removed conf.module. 2001-06-23 12:49:49 +00:00
Dries Buytaert 3754a54ed6 - Small but significant improvements to block and box.module which
makes the ever-confusing "rehash modules" (see module.module) no
  longer needed, hence making module.module redundant.  :-)

- Removed module.module.

- Renamed conf.module to system.module, and added some information
  about the available modules to system.module.

- Various small changes.
2001-06-23 11:09:40 +00:00
Dries Buytaert 3e075294fe - Added locale documentation: written by Gerhard, revised by Dries.
- Added import documentation: written by Gerhard, revised by Dries.

TODO:

- A quick introduction on content syndication needs to be written
  for import.module.

- If some one who is native English could go over the these text,
  please do.
2001-06-23 10:33:38 +00:00
Dries Buytaert d565b6f34a - Made the search result sort from new to old, instead of from old to new. 2001-06-22 19:41:30 +00:00
Dries Buytaert 6d107b084c - Fixed bug in account.module (reported by Gerhard and Kristjan).
- Incorporated some of the suggestions.  More to come.
2001-06-21 21:35:03 +00:00
Dries Buytaert 7c34f8f4cf - Added a brand-new access.module which allows you to manage 'roles'
(groups) and 'permissions' ... (inspired by Zope's system).

    + Once installed, click the help-link for more information.

    + See updates/2.00-to-x.xx.sql for the SQL updates.

- Modified loads of code to use our new access.module.  The system
  still has to mature though: new permissions have to be added and
  existing permissions need stream-lining.  Awaiting suggestions.

- As a direct result of the new access system, I had to rewrite the
  way the top-level links in admin.php are rendered and displayed,
  and xhtml-ified admin.php while I was at it.

TODO

- Home-brewed modules need updating, home-brewed themes not.
  (Examples: file.module, trip_link.module)

- As soon we *finished* the refactoring of the user system (KJ has
  been working on this refactoring already) we should consider to
  embed this role and permission code into account.module ...
2001-06-20 20:24:46 +00:00
Dries Buytaert 72065fb835 - Added a brand-new access.module which allows you to manage 'roles'
(groups) and 'permissions' ... (inspired by Zope's system).

    + Once installed, click the help-link for more information.

    + See updates/2.00-to-x.xx.sql for the SQL updates.

- Modified loads of code to use our new access.module.  The system
  still has to mature though: new permissions have to be added and
  existing permissions need stream-lining.  Awaiting suggestions.

- As a direct result of the new access system, I had to rewrite the
  way the top-level links in admin.php are rendered and displayed,
  and xhtml-ified admin.php while I was at it.

TODO

- Home-brewed modules need updating, home-brewed themes not.
  (Examples: file.module, trip_link.module)

- As soon we *finished* the refactoring of the user system (KJ has
  been working on this refactoring already) we should consider to
  embed this role and permission code into account.module ...
2001-06-20 20:00:40 +00:00
Dries Buytaert 8d31134d62 - Fixed small fix in poll.module. Patch submitted by Simone. 2001-06-19 09:28:11 +00:00
Dries Buytaert 29e0e0fc66 - Made it so that usernames can contain spaces. Like that, people can
use their full name as their username.
2001-06-19 06:55:19 +00:00
natrak 542b60a19a Changes
- Modifed form_select() to accept an optional 6th parameter which is appeneded
  to the select tag. $value can now also be an array. This allows for multiple
  selects:
  form_select($header, $name, $values, $options, $help, "multiple=\"true\" size=\"10\"");
- Updated account.module to use the extended form_select() functionality.
2001-06-18 20:51:57 +00:00
natrak 6e64691450 Changes
- Moved account_password() and account_validate() to user.inc.
- Greatly reduced the number of SQL calls in account_save() when editing an
  account. Now uses one db_query() call instead of 1 + (2 * # of access
  granted).
- Fixed access not being saved when account was added.
- Should now be possible to edit and add accounts. There were certain bugs
  before that would cause odd errors.
2001-06-18 20:29:36 +00:00
Dries Buytaert 9f2eec079c - block.module:
+ renamed 'overview' to 'preview' as suggested by Kristjan.

- meta.module:
    + renamed 'verify' to 'preview' to make it consistent with
      block.module.
    + fixed comma-bug with attribute list reported by Kristjan.

- node.module:
    + fixed typo: "id$nid" should have been "id=$nid"
2001-06-18 18:00:13 +00:00
Dries Buytaert 59176da94c - Removed index.module. 2001-06-18 06:46:45 +00:00
Dries Buytaert 3d73a48edc - Merged "system settings" and "module settings" into one page. IMHO
it wasn't a good idea to split them up in first place, and it turned
  out to be quite hard to decide where to put some variables.

  Also moved some variables around and even renamed a few variables
  while doing so.

- Added a page_header() and page_footer() to all top-level .php pages.
2001-06-17 20:35:48 +00:00
Dries Buytaert 03c06a86eb Oops, a rather large commit:
- Changed meta.module, node.module and index.php to use comma-seperated
  lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
  a lot easier to use both modules.  In addition, error handling can be
  discarded as it can't be made any simpler, really ...

  It fits rather nicely in Drupal's design so I'm getting more and more
  happy with this meta.module (but we are not 100% there yet).

- node.module, node.inc:

   + Improved the node-related admin interface so that navigating back
     and forth the administrative menus is made both easier and faster.

   + Removed some redundant database fields from the node table.  See
     2.00-to-x.xx.sql!

   + Added 2 news hooks called "node_insert" and "node_update".  Just
     like this is the case with the existing hook "node_delete" these
     new hooks will automatically get called when a node has been
     inserted or udpated.  Note that this is an optional call-back that
     only needs to be implemented when required.  With the addition of
     these two hooks, the node mechanism (version 1) is pretty well
     completed.

- watchdog.module:
   + Fixed bug whit the 'regular messages' query in the watchdog.module.

- book.module:
   + Fixed bug in book.module: the 'parent' was not set properly when
     updating a book page.
   + Made it so that older versions of a book page are automatically
     reactived upon deletion of the most recent version, i.e. when
     doing a version roll-back.

- comment.inc:
   + Undid Remco's patch to comment.inc; it does not work in some cases.


- conf.module:
   + Fine-tuned some of the options in conf.module a bit.

- marvin.theme:
   + Visual changes to make it look better on Windows browsers.  Mind
     to give some feedback on this?
   + Fixed 3 HTML typos/bugs.
   + XHTML-ified the theme at a best effort basis; I didn't carry the
     XHTML specification with me.
   + Made use of the theme_slogan variable to display the site's slogan.
   + As soon we have at least one valid XHTML theme we can wonder on how
     to integrate other XML namespaces (cfr. MathML story at drop.org).

- database.mysql:
   + Updated database.mysql so that it contains all the latest "database
     patches".
2001-06-17 18:31:25 +00:00
natrak dc4a5bfc55 - Fixed a bug while editing an account it would loose the account info along
the way.
2001-06-16 17:42:21 +00:00
natrak d23ea5043c - Fixed the help text for attributes (Reported by Kristjan). 2001-06-15 17:20:10 +00:00
natrak 21386979e7 Changes
- Added a conf option to disable/enable user registrations.
- Added a add account feature to account.module.
- Moved some functions from account.php to account.module.

Todo
- Move most (all?) of account.php to account.module.
2001-06-15 11:34:06 +00:00
Dries Buytaert d547957b38 - Small visual update to watchdog.module.
- Updated CHANGELOG
2001-06-15 11:04:59 +00:00
Dries Buytaert 1045715f44 - Added very basic 'filters' to the watchdog.module which should make it
easier to sort through all the watchdog "noise".  I'm sure the current
  filters will do for 99% of all the Drupal sites though.

  (Sorry for the awful color scheme, Coney but I can't do any better.)
2001-06-15 10:43:39 +00:00
Dries Buytaert 96576a6ef7 - Added meta.module, an improved index.module that allows you to
associate different collections - think "combobox" here - with
  different content types, all hardcoded references to "section"
  have been removed and the admin-friendliness of the meta admin
  section has been slightly improved.

  I'll keep working on it during the weekend - if time allows me
  to.  Moreover, I'll focus on the usability/user-friendlines of
  the meta admin section as well as graceful input-checking, and
  error-handling.

  Requires an SQL update, see updates/2.00-to-x.xx.sql!

  Index.module will be removed, or meta.module will be renamed as
  soon we can ditch one of them.  For now, having both coexist is
  not going to harm your setup and is useful to make a comparison
  and / or to migrate from index.module to meta.module.

  Index.module is de-coupled form the rest of the system so you
  will have to use meta.module after having upgraded.  You have
  been warned.

- Updated CHANGELOG.
2001-06-15 07:30:44 +00:00
Kjartan Mannes 8f241243f0 - Fixed a export bug. You can now export books by using
http://site/export.php?book&node_id
  The export feature should be expanded to allow titles to be used, and made
  more flexible. Will look more at this during the weekend.
2001-06-14 22:57:46 +00:00
Dries Buytaert e81ea8336e - Integrated calendar.class into calendar.class (just like we did for
headline.class 2 or 3 weeks ago).
2001-06-14 19:01:09 +00:00
Steven Wittens 304d28681d - Replaced um...flashy... nodelisting colors with something a bit more neutral. 2001-06-14 14:14:21 +00:00
Dries Buytaert db92d73b6e - Improved watchdog and submission throttle: removed redundant code,
streamlined the existing code, added new watchdog type called "httpd"
  for Apache errors.  The latter should make it easier to add watchdog
  filters later on.

- Clarified some watchdog messages.
2001-06-13 21:37:19 +00:00
Kjartan Mannes 3b35b43576 - changed $this->timestamp = $node[attributes]; to
$this->attributes = $node[attributes];
  Makes more sense this way :-)
2001-06-12 11:50:38 +00:00
Dries Buytaert be7077be33 - More updates to index.module. 2001-06-11 20:33:35 +00:00
Dries Buytaert c56ee67e29 - Changed field_set(), field_get() and field_merge() to use ',' and
'=' instead of ';' and ':'.  It is considered to be more readable.
  --> A _first_ step towards and improved index.module.  Stay tuned
      for more.

  + Important:
     If you update from CVS - apply the queries in 2.00-to-x.xx.sql!

- Changed all 'attribute' to 'attributes'.

  + Important:
     If you update from CVS - apply the queries in 2.00-to-x.xx.sql!

  + Important:
     This might require to ieni-wieni small update to your custom
     themes and/or node-related modules:
      - themes: node_index($node->attribute) -> node_index($node)
      - node modules: attribute -> attributes
2001-06-11 20:01:13 +00:00
Dries Buytaert d397bbe935 This a rather large commit that needs a lot of fine-tuning. If you
update, you'll break your site as you need switching from structure
to index.module: so this can be considered an intermediate commit.

If you upgrade, and you are welcome to, just create a collection
called "section" (for now) and assign your nodes some attributes
in the described format.

Feedback and bugreports are welcomed.  Questions will be answered.

CHANGES:

- comment system:
   + when replying to a node (rather then to a comment), that
     node is displayed above the reply form.
   + when replying to a comment (rather then to a node), that
     comment is displayd above the reply form.

- removed structure.inc, removed structure.module.

- node.inc:
   + added 2 new node functions called 'node_attribute_edit()' and
     'node_attribute_save()' used to 'hook in' any indexing system
    including your home-brewed stuff if you'd want to.  Currently,
    index.module is the facto default index system.

    See story.module for usage.

- book.module, story.module, poll.module, page.module, forum.module:
   + added preview functionality to administration section (via node
     module).
   + removed all references to structure.inc (category, topic).

- moderate.module:
   + removed all references to structure.inc (category, topic).

- book.module, story.module, page.module, forum.module:
   + increased the sizes of some textareas.

- submit.php:
   + removed all references to structure.inc (category, topic).

- marvin.theme:
   + removed dead code: function story() was depricated.

- unconed.theme:
   + removed hardcoded references to drop.org.

- marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
   + removed all references to structure.inc (category, topic).

TODO:

- file.module, trip_link.module:
   + update preview functionality:
       see story.module for example.
   + remove references to 'cid' and 'tid', use 'attribute' instead:
       see story.module for example.

- extend and build upon index.module as well as making it configurable
2001-06-10 15:01:20 +00:00
Steven Wittens 10c96ede0a Typo: "oparations". 2001-06-10 12:18:58 +00:00
Dries Buytaert 62615ce04e - page.module:
+ we no longer wrap the output in a $theme->box().  If you want it in
     a box, just use $theme->box().
   + increased the sizes of the main "body"-form to make editing larger
     pages easier.
2001-06-10 09:54:43 +00:00
Steven Wittens 959b77c3fa - Added $theme->foreground and $theme->background vars to provide some general usable colors outside of a theme.
- Updated poll.module to use the new $theme color variables
2001-06-09 19:31:34 +00:00
Kjartan Mannes 0e2fc70e3d no message 2001-06-09 18:12:50 +00:00
Dries Buytaert 2c0866eca6 - Added a 'remove items' feature to reset a feed.
- Slightly improved the parsing algorithm; in some cases, were tags
  have attributes, things went wrong.  We ignore attributes for now
  as we don't do anything with those.

  Example:
    <item rdf:about="http://foo.com"></item>
          ^^^^^^^^^^^^^^^^^^^^^^^^^
2001-06-09 11:05:13 +00:00
Steven Wittens a722a1fed7 Typoe 2001-06-08 20:17:00 +00:00
Steven Wittens d41c4f23f1 - Added "dirty" support for theming the poll-bars... uses $theme->pollfill and $theme->pollempty for now. 2001-06-08 20:11:11 +00:00
Dries Buytaert 1383729ec1 - Node filters: renamed 'Strip link tags' to 'Enable link tags'.
(Suggestion by Remco.)
2001-06-07 16:28:48 +00:00
Dries Buytaert 792de8c537 - Fixed problem with account.module listings.
(Reported by Remco.)
2001-06-07 16:28:16 +00:00
Steven Wittens 28e6fdfbf3 - Fixed block showing queued polls. Now only shows active, posted polls.
- Fixed votes being reset to zero when updating a poll
- Fixed that weird crashing bug on the poll form (Natrak)
2001-06-07 15:42:28 +00:00
Dries Buytaert f9de04c93f - Fixed bug in node_search of node.module. 2001-06-07 07:16:11 +00:00
Steven Wittens 58d662907c - Fixed typo
- Changed dries_at_drop.org into an UnConeD-Magically-Anti-Spam-Formatted-Email-Address(tm)
2001-06-06 21:36:08 +00:00
Dries Buytaert e521e5b6c2 - Increased the maximum length of the 'link'-textfield. 2001-06-06 20:33:25 +00:00
Dries Buytaert 67958d3d41 - Added 'help structure' for node.module. We still need documentation
for nodes ... anyone maybe?

- Improved help.module.
2001-06-06 20:26:12 +00:00
Dries Buytaert 208274f1f9 - Typo: 'timstamp' should have been 'timestamp'. 2001-06-06 19:53:19 +00:00
Dries Buytaert c09f60c2b4 - Fixed bug in cron function of import.module: headlines did not expire
properly.
2001-06-06 19:50:47 +00:00
Steven Wittens cca16453ac Bugfix: there was still a "read more" link in the full view. 2001-06-06 19:39:17 +00:00
Steven Wittens 30703525fb - Update for new node format
- Added "read more" link for the block-version of a poll
- Added mini-docs :)
2001-06-06 19:35:32 +00:00
Dries Buytaert c9e807a347 - Fixed permission problem in node.module.
Kristjan: this should fix the problem you reported on the mailing-list.
            We aim at providing a better solution in the long though.
2001-06-06 18:57:13 +00:00
Dries Buytaert a286e9dd2d - Fixed bug in 'attribute editor'. 2001-06-05 19:13:03 +00:00
Dries Buytaert f490fc26df - Improved node_query such that an 'illegal offset' is less likekely to
happen.
2001-06-05 18:32:04 +00:00
Dries Buytaert d3de63cac5 - Fixed small bug in "search node" of node.module. 2001-06-04 16:24:15 +00:00
Dries Buytaert b86d6a2f8e - Patched book.module to work with the new node.module (which makes the
book.module quite a bit shorter/simpler).
2001-06-04 16:19:25 +00:00
Dries Buytaert 8fafe12188 CHANGES:
- Improvement to node listings.

- Patched story.module to work with new node.module!

NOTE:

- UnConeD: poll.module needs updating.  Let me know if you want me to do
           it as I assume you will update it unless otherwise mentioned.
2001-06-04 16:03:10 +00:00
Dries Buytaert c75057bb0f CHANGES:
- Added improved node scheduler:

   + Automatically post node at date 'xx/xx/xx, xx:xx'.

   + Automatically queue node at date 'xx/xx/xx, xx:xx'.

   + Automatically dump node at date 'xx/xx/xx, xx:xx'.

  Requires a database update, see ./updates/2.00-to-x.xx.sql!

- Refactored the admin interface of node.module.  It is only a start
  but it should show the direction we are going.

   + The new interface is easier to extend with new functionality
     and operations.  New "edit xxx" links can easily be added on
     our way.

   + The new interface tries to cover all content- or node-related
     functions.  Thus making a special admin interface for each new
     node type redundant.  To demonstrate this, I removed the admin
     hook from page.module and forum.module.  This removes quite a
     bit of logic from the invidual modules which is a good sign if
     you ask me.

     A centralized GUI or interface covering all node-related
     administration should make Drupal easier to administer.

TODO:

- All node-related nodes need updating.  This should be trivial and
  I'll hapilly tackle this later tonight.

- There will be bugs, and I'm still working on this but I would like
  to get some feedback (from Natrak et all) on both user-friendliness
  and usability of this new interface.  I'm still working on it as we
  speak ...
2001-06-04 15:40:39 +00:00
Kjartan Mannes 2ecc3e4c78 - Output disabled message when locale is disabled.
- If $languages is empty and locale is enabled output $na instead of script
  errors.
2001-06-04 15:17:10 +00:00
natrak 691d8ba54f - Changed &nbsp; to a space (' '). The &nbsp; was not being converted to a
space.
2001-06-04 15:05:20 +00:00
Dries Buytaert 0c89ef1249 - Fixed bug in "delete node". 2001-06-04 06:26:53 +00:00
Dries Buytaert e58207f2e0 - Fixed another typo: node_default -> node_setting 2001-06-03 09:51:57 +00:00
Dries Buytaert 50a490d261 - Fixed typo: "Save defaults" -> "Save settings". 2001-06-03 09:32:14 +00:00
Dries Buytaert 735fe412db - Fixed timestamp problem in queue.module. 2001-06-03 09:22:45 +00:00
Dries Buytaert b0c349e247 - Moved most of the options in structure.module to node.module. The
structure.module either needs work, or replacement by index.module:
  see "admin > node > node settings".

  It will do for now and it can always made better when we can think
  of a better solution; it is the best I could think of.   Now what?
  index.module or structure.module?  I'm currently pro index.module.

- Drastically simplified "variable.inc".

- Removed most dependecies on structure.module from all content related
  modules.  Thus making our modules more modular.  ;)

- Fixed calculation glitch in queue.module.

- Fixed potential function name clash/conflict in rating.module, and
  simplified some code on my way.

- Started removing all global variables $status and $rstatus.  Global
  variables are "yucky" so in near future, we will replace all global
  $status variables by a call to node_status().  Originally, $status
  was only introduced as a temporary hack and nothing is as permanent
  as a temporary hack so I took it out when still possible.

- Changed the watchdog messages a bit.
2001-06-02 22:12:35 +00:00
Dries Buytaert 993f4d2ead - Took out the <description>-tags from the RSS export code untill we
figured out a proper way to make each content type communicate his
  content for this <description>-tag.  I did nothing but remove some
  dead code.
2001-06-02 12:45:00 +00:00
Steven Wittens 4060a9ee80 Shrunk the poll output... it was rather big in full-view :) 2001-06-01 23:23:53 +00:00
Dries Buytaert 8111cd205b - Fixed bug in moderation queue. 2001-05-31 18:35:26 +00:00
Dries Buytaert 9c8e8f7c27 - Fixed find-n-replace type in export.module.
(Reported by Kristjan.)
2001-05-28 20:08:36 +00:00
Dries Buytaert 64707e9a85 - Removed reference to backend.class. 2001-05-28 18:55:02 +00:00
Dries Buytaert e32241e59a - Renamed syndication.module to import.module.
- Removed headline.module: it became obsolete.

- Removed backend.class: it became obsolete.

- Added export.module.

  For now, you can use:
    1. http://drupal/export.php?headlines.rss
    2. http://drupal/export.php?headlines.rdf

- Renamed export to export.php.

  For now, you can use:
    1. http://drupal/export.php?headlines.rss
    2. http://drupal/export.php?headlines.rdf

  Renaming this file has main 3 advantages:
    1. We no longer rely on .htaccess for being able to export.
    2. It is more conform with the general naming conventions.
    3. It removes a pseudo-hack with formatting the URI.

- Made import.module export blocks with feeds.
2001-05-28 18:53:48 +00:00
Steven Wittens cb2850f5c9 Fixed a bug in the output: there was always a ruler under the story-abstract, even if it was an abstract-only story. 2001-05-27 20:50:34 +00:00
Dries Buytaert 356df28e4e - Various small improvements: no bug fixes though but I moved a few things
around.
2001-05-27 10:32:20 +00:00
Dries Buytaert 5158eb8a70 - Rewrote the headline module from scratch. Note that the old
headline code is still in place 'till the new code has proven
  to be stable. See "syndication.module" for the new code.

  Changes:

   + Improved the parser and tested it against RSS 0.9, RSS 0.91,
     RSS 0.92, RSS 1.0, RDF and XML feeds.

   + Improved the administration interface.  It might be a bit fuzzy
     at first.  Maybe some native English like Julian, Michael (or any
     one else with knowledge in the field) can help out by suggesting
     better naming, terminology or descriptions - as well as by
     writing the help section for this module?  I'd have no idea how
     much this would be appreciated.

   + We can *easily* recognize new tags or extensions: we parse out
     "link", "title", "description" and "author" right now, but we
     will have to revise which tags to support and which not.  New
     tags can be added in less than 10 minutes (if you are familiar
     with the code).  Read: we have something we can build on.

   + Within each item, tags can now appear is random order which is
     or was not the case with the old headline code where we expect
     <link>s prior to <description>s for example.

   + Feed updates only (ie. always) happen through cron.  Neither do
     we use one global cron for updating all feeds; instead, every
     feed can specify his own update-interval.

   + Newly fetched headlines are "appended" to the pool of existing
     headlines (read: we don't replace the whole feed), and headlines
     automatically "expire" after x days or hours.  (Every headline
     has a timestamp.)

   + Got rid of backend.class; it is integrated in the module.

   + Switched to more generic names: "headline" became "item" and
     "backend" became "feed".  This should ease future non-headline
     oriented syndication.

   + You can associate attributes or keyword lists with every feed.
     At the moment new items will automatically inherit their feeds
     attributes but in future we can use heuristics to make these
     attributes "mutate" when and where we see fit.  The attributes
     can be maintained by hand as well.

   + We don't export any blocks yet; we will soon do as soon this
     new code has been tested for a bit more.  We will only export
     bundles though so if you want to export by feed/source, you
     will have to make a source-specific bundle.

- Polished a bit on a few other modules: nothing major.
2001-05-26 18:26:56 +00:00
Dries Buytaert 21ea8abc66 - Wrapped the test URLs in urlencode() 2001-05-25 17:24:46 +00:00
Dries Buytaert 0b32787a9c - Added a experimental index.module to try out some of the discussed
techniques.  It does not work yet, nor is it integrated with the
  rest of the code.
2001-05-25 16:03:02 +00:00
Dries Buytaert bfc897d533 - Improved the rating module: made it possible to define "weights"
for the different content types.  These weights are used when
  calculating each user's gravity.  This is a required step before
  we can even think of "nodifying" the diary or headline module.

- Polished a bit more on the other modules' crons.
2001-05-24 21:49:10 +00:00
Dries Buytaert c9c14ca593 - Fixed a small glitch in the moderation queue. 2001-05-24 16:10:42 +00:00
Dries Buytaert 7b56d82aa2 - Improved the crons and cron settings a bit.
- Added a cron to queue.module to automatically discard or dump nodes
  older than x days.
2001-05-24 15:31:17 +00:00
Steven Wittens bf3772bada Hmmm for some reason the \r\n's in the poll output where being changed into <br>'s... is that because of the check_output() legacy functions inside the themes? In anycase, I removed em. 2001-05-24 11:35:22 +00:00
Dries Buytaert 540fdfc0c6 - Replaced $theme->story() by a more generic $theme->node(). All themes
required an update (and so will your custom themes).
2001-05-24 10:05:18 +00:00
Steven Wittens 71c1162465 Fixed the poll block being messed up a lot. Stupid objects and arrays mixup :P
Please update drop.org as soon as possible, coz my crappy poll.mod is making drupal look bad :(
2001-05-23 12:19:35 +00:00
Steven Wittens 404cd22b3a Slight improvement to the "choiceboxes" thingie. 2001-05-22 21:46:48 +00:00
Steven Wittens 54a4f06ce4 Let's hope fixing bugs will be just as easy next time :)
This baby is fixed.
2001-05-22 21:44:48 +00:00
Steven Wittens 05438a0d8b Disabled the buggy cron for now. Will fix tomorrow. 2001-05-22 21:42:20 +00:00
Steven Wittens 376e71f1f8 (Hopefully) a fix for the "n.active" watchdog error... forgot that node_get_XXXX() only queries node properties. 2001-05-22 21:40:54 +00:00
natrak 77a5a26ad3 - Undoing last change. Allowed_html was already in the filters section. *opps* 2001-05-22 15:29:55 +00:00
natrak dfae408a71 - Added allowed_html to conf.module so it can be modified. 2001-05-22 15:13:03 +00:00
Dries Buytaert 532233a979 - Removed includes/timer.inc: it has been integrated in common.inc.
- Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object().

- I changed the look of theme_morelink() a bit: it might not look better,
  but at least the output is "correct".

- Various small improvements.
2001-05-20 19:30:39 +00:00
Dries Buytaert 4f1cf00f9e - Improved node_get() so that it will try to skip one additional query
if possible (ie. to reduce the number of queries).

- Automatically removed tabs and trailing spaces from the poll.module.
2001-05-20 17:36:55 +00:00
Dries Buytaert 6c3e94e385 - Fixed small glitch in locale.module. 2001-05-20 16:49:27 +00:00
Steven Wittens 27496c4620 - Changed the node_get_object() and node_get_array() functions to allow multiple conditions
- Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary.

- Updated all node-modules
2001-05-20 16:47:50 +00:00
Dries Buytaert 20397ad3d9 CHANGES
- Redid settings.module and even renamed it to conf.module.
    * Settings are now grouped in basic categories like "system
      settings", "module settings" and "filters".
  * Added new settings to make Drupal easier to configure and
  to make some aspects like the watchdog scale better.

- Renamed includes/settings.php to includes/conf.php.

- Added filter support to conf.module and introduced filter hooks so
  modules can implement and export new filters.  Example filters are
  an HTML filter (implemented), a profanity filter, an url converter,
  ASCII smileys to images filter and so on ...

- Reworked the check_* functions: user contributed content/input is
  only verified and filtered once in its lifespan.

NOTES

- Altough this is a large commit, no database changes are required.
2001-05-20 13:51:40 +00:00
Steven Wittens 3fbd49d786 - Fixed the errors when adding a new poll.
- Cleaned up the coding style
2001-05-20 12:13:25 +00:00
Steven Wittens c0ecd46aff Added poll.module, a poll module :)
It's mainly intended as a sideblock-element as there's no real use in having them show up on the mainpage. There's no real poll-browsing system for now either.

I still need to write documentation, and I'm not yet satisfied with the node-output (non-sideblock). I should be able to improve it once the $theme->nodebox ideas get finalized.
2001-05-19 17:41:41 +00:00
Dries Buytaert 34af2a3a8e CHANGES:
- Rewrote the cron system.  Removed cron.module and moved all cron
  related options to settings.module.  Cron was a confusing thing:
  it has been made simpler both in terms of code and configuration.

   + You had to rehash your modules to make the cron show up in
     the list.  This is no longer required.

   + You couldn't tell what cron "watchdog" or cron "story" were
     up to.  Instead, we now display a clear description message
     for every cron involved.

   + The user interface of setting.module - and the admin section
     in general, looks a bit ackward but I couldn't care less and
     don't want to see this improve at the time being.

- Improved setting.module:
   + Now uses variable_set().
   + Added some help and documentaition on how to setup cron.

- Improved ./export.

- Updated CHANGELOG.


TODO:

- I'm now going to look into UnConeD's question with regard to
  check_output() and $theme->node(), as well as the filter and
  macro stuff.  I'll probably be fine-tuning setting.module a
  bit more on my way.
2001-05-19 13:41:52 +00:00
Dries Buytaert 36cbbe1016 - Fixed bug in book.module: parent-field was not saved.
(reported by Remco)
2001-05-18 10:30:40 +00:00
Dries Buytaert 031e4d4208 - Tidied up the field_get() API and improved the implementation of
both field_set() and field_get().
2001-05-17 20:50:15 +00:00
Dries Buytaert 6c38796219 - Fixed bug in account.module.
- Simplified field_set() API.

- Made UnConeD's cool common timestamp format conform with the
  general coding style.  Sorry to be so picky about this but I
  really can't help it. ;)
2001-05-17 19:14:50 +00:00
Dries Buytaert 6f02738cc2 - Removed the "history"-field from the SQL table "users" and added
this information to the "users"-field in both nodes and comments.
  This database/table change reduces the number of SQL queries and
  makes Drupal scale better where a lot of voting/moderation takes
  place.  Last but not least it can be considered a new and better
  foundation for future moderation metrics / algorithms.  In other
  words: it is plain better.

    --> oops, all voting/moderation results will be lost!
    --> requires database update, see "2.00-to-x.xx.sql"!

- Updated database/database.mysql
2001-05-16 20:54:37 +00:00