Commit Graph

763 Commits (a286e9dd2d4982ad29be70fce800b956de81cc83)

Author SHA1 Message Date
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
natrak ca908eb724 - Sorted by n.nid in account_track_comments/nodes() so users can see the
status on what they recently submitted. Will try and make this a little more
  configurable in the near future.
2001-06-04 22:09:16 +00:00
Kjartan Mannes 949d4d956a - Modified error_handler() to ignore errors when @function() is used to
suppress errors. If ya suppress them you normally have a good reason to do
  so :-)
2001-06-04 19:02:38 +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
Kjartan Mannes 6563382974 - Changed form_select() to return NULL if called without $options. This should
not have any impact, and makes things look nicer imo.
2001-06-04 15:06:47 +00:00
natrak 691d8ba54f - Changed   to a space (' '). The   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
Kjartan Mannes 3d0875fade CHANGES
- Modified check_mail() to allow '+' characters in mail addresses.

TODO
- Extend the regular expression to allow addresses valid in the RFC's.
  Currently IP domains are banned, and so are many other extensions of RFC
  822. This is not a priority since we currently support 96% of all addresses.
2001-06-02 06:05:56 +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 255c56cc2b - Made the code generated by include/common.inc XHTML 1.0 compliant: all
forms should now be XHTML compliant. Just trying to get used to XHTML:
  :).
2001-05-31 18:47:43 +00:00
Dries Buytaert 8111cd205b - Fixed bug in moderation queue. 2001-05-31 18:35:26 +00:00
Dries Buytaert 83ac3c5876 - Added the poll-related SQL tables. 2001-05-31 18:22:00 +00:00
Kjartan Mannes 4152156260 - Fixed an extra <P> in form_file(). 2001-05-30 06:45:17 +00:00
Dries Buytaert 1a888395b9 - Removed a few lines of dead code. 2001-05-29 21:11:20 +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
Steven Wittens b574833210 Fixed a goofy bug in Goofy :) 2001-05-27 20:45:39 +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
Dries Buytaert b0288a46d8 - Fixed small glitch in check_preview().
- Updated CHANGELOG.
2001-05-24 08:53:07 +00:00
natrak 886f653e21 - Fixed a "bug" with in_array. Behaves strangely when the key is of type long.
When $field was 0 it would return true, causing SQL errors. Seems to
  convert the string its being matched with to a numeric, normally 0. Forced
  $field to be treated as a string by enclosing it in quotes.
2001-05-23 18:36:12 +00:00
natrak a28bf8f399 - Fixed regexp bug in <Files>. This used to work on older versions of
Apache, but seems that the latest versions are not as forgiving.
2001-05-23 13:27:42 +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 9c075b1007 - Fixed a minor JavaScript bug. 2001-05-22 17:51:09 +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
Steven Wittens 395554903d Added nowrap to the category-cell to prevent it from looking ugly on long category/topics 2001-05-21 15:39:39 +00:00