Commit Graph

862 Commits (124694ee4dbcc1df5dfc2d419ed2393619883071)

Author SHA1 Message Date
natrak abcef73d19 - Fixed an error in variable_get(). If a variable was set to 0 it would return the
default value instead.
2001-06-15 10:41:18 +00:00
natrak 199c65491e - Fixed a syntax error. 2001-06-15 10:26:53 +00:00
Dries Buytaert bfa80297d8 - Made index.php work with new meta.module. 2001-06-15 09:23:58 +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
Dries Buytaert 7d631fb606 - Simplified error handling such as 404 errors. 2001-06-13 21:20:52 +00:00
Dries Buytaert 67cfb7808f - Fixed typo; missing ". 2001-06-13 10:19:38 +00:00
Dries Buytaert 2285afd1e0 - Applied Remco's patch:
the <LI>-bullets were not valid HTML and did only take up space.
2001-06-13 08:48:47 +00:00
Dries Buytaert a7f9a38acf - Applied Remco's patch, but added a closing </LI>-tag as well. 2001-06-13 08:47:35 +00:00
Dries Buytaert 9c5cd7e2ab - Added missing </TD>.
(Patched by Remco.)
2001-06-13 06:34:44 +00:00
Steven Wittens 9e5878ae45 - Fixed "administer" not being locale'd. (req. by Gerhard) 2001-06-12 20:24:11 +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 8f315f4506 - Removed credits file. We can't keep up with this. CVS history and
mailing lists for credits.  We know who you are ...
2001-06-11 19:26:16 +00:00
natrak 83542a1b01 Changes
- fixed the trailing | in some cases.
- removed theme_morelinks().
- added node_links().
- simplified BaseTheme->links().
- updated themes.

Notes
- the new links system is taking form, but concider it beta. There might still
  be some major changes ahead so I suggest waiting a little longer before
  modifying your theme to take advantage of it.
2001-06-11 17:42:52 +00:00
Kjartan Mannes 8f7eddbed6 Changes
- fixed the trailing | in some cases.
- removed theme_morelinks().
- added node_links().
- simplified BaseTheme->links().
- updated themes.

Notes
- the new links system is taking form, but concider it beta. There might still
  be some major changes ahead so I suggest waiting a little longer before
  modifying your theme to take advantage of it.
2001-06-11 17:42:51 +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
natrak 6b34310626 Changes
- created a BaseTheme class in theme.inc.
- added links($links = array(), $status = 0, $node = 0) to BaseTheme.
- modified all themes to extend from BaseTheme.
- modiefied theme_link() to take advantage of $theme->links().
- theme_morelink() does not require a $theme argument.

Todo
- add the other standard variables and functions to BaseTheme.
- some themes could use some more modifications.

Weird
- marvin.theme still has a story() function.
2001-06-10 13:53:45 +00:00
Kjartan Mannes 9e4984588c Changes
- created a BaseTheme class in theme.inc.
- added links($links = array(), $status = 0, $node = 0) to BaseTheme.
- modified all themes to extend from BaseTheme.
- modiefied theme_link() to take advantage of $theme->links().
- theme_morelink() does not require a $theme argument.

Todo
- add the other standard variables and functions to BaseTheme.
- some themes could use some more modifications.

Weird
- marvin.theme still has a story() function.
2001-06-10 13:53:44 +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 a37211cf82 - Revised the 'track sitename' feature: it should be more accurate now. 2001-06-08 19:49:20 +00:00
Dries Buytaert a616715ae2 - Revised the 'track sitename' feature: it should be more accurate now. 2001-06-08 19:43:42 +00:00
Dries Buytaert f92981251f - Fixed inconsistent behavior of 'node_save()' and simplified the
algorithm a bit. --> Needs testing!  I improved this last night
  and only got around to testing this rather briefly/quickly.  It
  was to late already. ;-)

  (This is part of a larger set of changes I'm slowly working on
  which I will feed to CVS in steps after more testing.)

- 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.
2001-06-07 16:33:55 +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
Kjartan Mannes c94d9a063b - Updated the $themes array to include all the themes. 2001-06-07 10:57:41 +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 7d356df325 - Updated CHANGELOG 2001-06-06 20:58:11 +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 445d821db5 Missing trailing space in the "[ extra@user.info | http://extra.user.info/ ]" for comments. 2001-06-06 19:40:39 +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 4ba91a779a - Improved db_fetch_array() to return an associative array only:
passing around arrays should be less expensive.
2001-06-06 18:57:41 +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