Revisions for jonah/lib/News.php

Location: [ Horde ] / jonah / lib / News.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.156 (+2 -24 lines) 08/22/2008 10:02 PM Ben Klang bklang

Begin implementing Horde_Routes for Jonah.  In addition the beginning of a new API to search for articles is being laid down here.
Caution: see note to dev@lists.horde.org for further warnings about changes to Jonah.
Bug: 7197

1.155 (+1 -29 lines) 06/29/2008 07:16 PM Chuck Hagenbuch chuck

Remove delivery lists now that Jonah has branched (per http://wiki.horde.org/Project/Jonah)

Tags: JONAH_2008_08_22

1.154 (+32 -28 lines) 05/29/2008 04:40 PM Chuck Hagenbuch chuck

- reduce indentation a bit
- remove debug line that disabled caching
- make sure that story_link is set in cached external stories

1.153 (+11 -4 lines) 05/28/2008 11:47 PM Chuck Hagenbuch chuck

Fix aggregating the body for external stories
Honor body_type for external stories if it's set

1.152 (+27 -5 lines) 05/27/2008 10:41 PM Chuck Hagenbuch chuck

grab published and modified dates from external feeds if they're available

1.151 (+2 -2 lines) 05/27/2008 12:55 PM Chuck Hagenbuch chuck

explicitly check for ['items'], since that's what we're going to loop over

1.150 (+1 -2 lines) 05/14/2008 05:55 PM Jan Schneider jan

We explicitely do *not* want to override the original channel information in composite channels.

1.149 (+2 -2 lines) 01/02/2008 06:13 AM Jan Schneider jan

Happy New Year

1.148 (+2 -1 lines) 10/19/2007 04:37 PM Michael Rubinsky mrubinsk

another spot we need to override the story's channel information for composite feeds

1.147 (+4 -5 lines) 10/10/2007 12:17 AM Michael Rubinsky mrubinsk

Make sure these variables are set to avoid template tag leakage.

1.146 (+5 -6 lines) 10/09/2007 11:13 PM Michael Rubinsky mrubinsk

Simplify media related elements - avoid having nested arrays in the story templates

1.145 (+0 -0 lines) 10/08/2007 08:52 PM Michael Rubinsky mrubinsk

ws

1.144 (+15 -1 lines) 10/08/2007 08:36 PM Michael Rubinsky mrubinsk

- *correctly* grab the media:description values in Jonah_FeedParser::
- Check for and add the media elements that we support so far when fetching external channels.

1.143 (+32 -1 lines) 08/31/2007 01:45 PM Michael Rubinsky mrubinsk

Add stubs for the tag related functions so we don't have to assume the storage driver supports tags...just in case.

1.142 (+32 -9 lines) 08/30/2007 09:08 AM Jan Schneider jan

It makes more sense IMO to keep the news ordered by publish date than update date.

1.141 (+7 -7 lines) 07/24/2007 02:15 PM Chuck Hagenbuch chuck

fix mixup with $channel/channel_id

1.140 (+162 -96 lines) 07/24/2007 02:07 PM Chuck Hagenbuch chuck

Avoid create_function
Also break various getStories() implementations out into separate methods.

1.139 (+1 -12 lines) 05/15/2007 01:17 PM Chuck Hagenbuch chuck

remove commented-out code - please re-add if necessary but with an explanatory comment

1.138 (+8 -8 lines) 03/12/2007 01:16 AM Michael M Slusarz slusarz

Wholly unneeded cache instantiation (at least for right now).

1.137 (+14 -7 lines) 03/12/2007 01:02 AM Michael Rubinsky mrubinsk

First stab at supporting ordering story lists by read count (comment count still to come).  Obviously for internal channels only.
Also new block that displays stories ordered by read count.

Thoughts / Comments / 'What the heck were you thinking' welcome.

1.136 (+12 -4 lines) 03/02/2007 03:54 PM Michael Rubinsky mrubinsk

$GLOBAL['notification'] will not be set when calling jonah's api from external applications.

1.135 (+6 -16 lines) 01/04/2007 12:47 PM Jan Schneider jan

Use MIME_Mail and complete a FIXME.

1.134 (+2 -2 lines) 01/02/2007 07:48 AM Jan Schneider jan

Happy New Year

1.133 (+2 -4 lines) 01/01/2007 07:41 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.132 (+2 -2 lines) 12/30/2006 03:24 PM Jan Schneider jan

Standardize copyright wrapping and spacing.

1.131 (+4 -1 lines) 12/25/2006 04:25 PM Michael Rubinsky mrubinsk

Error Checking

1.130 (+2 -2 lines) 12/22/2006 05:47 PM Michael Rubinsky mrubinsk

Don't pass the callback here to get the message count.

1.129 (+10 -6 lines) 12/04/2006 07:08 PM Michael Rubinsky mrubinsk

Error checking.

1.128 (+7 -53 lines) 09/10/2006 01:50 PM Chuck Hagenbuch chuck

Remove Jonah_News::singleton() and unnecessary references. Use
Jonah_News::factory() instead.

1.127 (+8 -7 lines) 08/17/2006 08:22 AM Jan Schneider jan

Nice, the php xml parser it not able to detect the charset from the 'encoding' attribute. Charset conversion in Jonah only used to work because the UI accidentally had the same charset like the displayed feeds for most users.

1.126 (+2 -2 lines) 08/17/2006 07:38 AM Jan Schneider jan

Fix notice.

1.125 (+18 -15 lines) 05/28/2006 06:18 PM Chuck Hagenbuch chuck

- escape story links in renderChannel()
- cleanup

1.124 (+2 -2 lines) 05/15/2006 01:36 PM Jan Schneider jan

Replace placeholder.

1.123 (+12 -2 lines) 05/15/2006 01:32 PM Jan Schneider jan

Set previous_link and fix setting previous.

1.122 (+6 -1 lines) 05/15/2006 01:30 PM Jan Schneider jan

Allow to set channel URL for internal channels.

1.121 (+27 -36 lines) 05/11/2006 06:34 PM Jan Schneider jan

Move story link generation into a method.

1.120 (+11 -4 lines) 05/11/2006 09:10 AM Jan Schneider jan

Set correct story_link for composite channels.

1.119 (+3 -2 lines) 05/11/2006 09:00 AM Jan Schneider jan

Use channel url also if story body is empty.

1.118 (+3 -2 lines) 05/11/2006 08:12 AM Jan Schneider jan

Set story_link for external and aggregated feeds.

1.117 (+4 -4 lines) 05/10/2006 07:19 PM Jan Schneider jan

Don't append session ids.

1.116 (+11 -1 lines) 05/10/2006 06:46 PM Jan Schneider jan

Add URL field to channel configuration for paged story lists.

1.115 (+25 -22 lines) 05/10/2006 04:54 PM Jan Schneider jan

Clean up url generation. story_url is always the value from the backend now,
and story_link the link that will be used in all story listings.

1.114 (+3 -3 lines) 03/28/2006 11:17 AM Jan Schneider jan

Fix story sorting.

1.113 (+9 -11 lines) 02/24/2006 03:06 PM Chuck Hagenbuch chuck

Fix bad indexes, XHTML (template tags leaking in), etc.
Bug: 3323

1.112 (+7 -4 lines) 02/24/2006 02:43 PM Chuck Hagenbuch chuck

Fix delivery logic for previously unreleased stories.
Bug: 3323

1.111 (+31 -41 lines) 02/22/2006 11:51 PM Chuck Hagenbuch chuck

[cjh] Standardize the date fields for stories with an updated field that is
always the timestamp that the story was last modified, and a published
field which is controlled by the author and determines the release date.

This should also fix #3323, along with a bunch of other minor issues.

1.110 (+2 -1 lines) 02/15/2006 06:00 PM Jan Schneider jan

Set charset on plain text messages too.

1.109 (+2 -2 lines) 01/25/2006 11:24 AM Chuck Hagenbuch chuck

fix comparison

1.108 (+4 -1 lines) 01/25/2006 05:44 AM Chuck Hagenbuch chuck

Don't return errors from comment calls in the stories array.

1.107 (+2 -2 lines) 01/20/2006 10:40 AM Jan Schneider jan

FC

1.106 (+2 -2 lines) 01/20/2006 10:38 AM Jan Schneider jan

story_body_type is only set for internal channels.

1.105 (+7 -5 lines) 01/18/2006 09:59 PM Chuck Hagenbuch chuck

escape more better

1.104 (+8 -8 lines) 01/07/2006 02:43 PM Chuck Hagenbuch chuck

More s/channel/feed

1.103 (+1 -8 lines) 01/06/2006 10:46 PM Chuck Hagenbuch chuck

[cjh] Use Horde_Block_Layout_View for the My News page.

1.102 (+4 -4 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.101 (+2 -2 lines) 01/01/2006 12:24 AM Chuck Hagenbuch chuck

never set $date to 0

1.100 (+5 -1 lines) 12/31/2005 11:42 PM Chuck Hagenbuch chuck

slowly adding comment stubs

1.99 (+28 -9 lines) 12/31/2005 10:56 PM Chuck Hagenbuch chuck

escape story titles in renderChannel

1.98 (+15 -15 lines) 12/25/2005 02:37 PM Chuck Hagenbuch chuck

[cjh] Add jonah:admin permission (tevans@tachometry.com, Bug #2571).
[cjh] Add internal template type for internal stories (tevans@tachometry.com,
Bug #2571).

1.97 (+9 -8 lines) 12/01/2005 06:17 PM Jan Schneider jan

That was too easy. Make sure we can still edit unreleased stories.

1.96 (+5 -3 lines) 11/07/2005 12:50 AM Chuck Hagenbuch chuck

Fixes for reference warnings with PHP 5.1. If someone could merge
these it'd be appreciated, I'm not up to it right now and will be
swamped come morning.

1.95 (+3 -3 lines) 08/24/2005 01:39 AM Matt Selsky selsky

Use double-quotes.

1.94 (+8 -1 lines) 08/18/2005 12:23 PM Jan Schneider jan

Return number of comments with stories hash.

1.93 (+3 -3 lines) 07/24/2005 08:59 PM Chuck Hagenbuch chuck

Lots of little updates. Re-use html delivery page instead of
JONAH_SHOW_CHANNEL code. Have an alternate RSS link on the HTML
delivery page. Hopefully more intuitive names for kinds of
channels. HTML cleanups.

1.92 (+8 -7 lines) 06/28/2005 12:05 PM Chuck Hagenbuch chuck

Minor cleanups.

1.91 (+2 -2 lines) 06/23/2005 05:13 PM Matt Selsky selsky

Clean up phpdoc.

1.90 (+2 -2 lines) 05/31/2005 11:40 AM Jan Schneider jan

Wrap description too.

1.89 (+5 -3 lines) 05/10/2005 08:55 PM Matt Selsky selsky

Fix viral 'wil' typo.

1.88 (+85 -48 lines) 03/26/2005 04:56 PM Chuck Hagenbuch chuck

Initial Atom feed support.
Bug: 1581

1.87 (+11 -16 lines) 03/19/2005 11:33 PM Chuck Hagenbuch chuck

This date check was always false for me, meaning I couldn't see any
external channels. I don't see any harm in just removing it.

1.86 (+13 -13 lines) 03/19/2005 10:46 PM Chuck Hagenbuch chuck

phpdoc cleanups

1.85 (+6 -2 lines) 03/13/2005 01:55 PM Jan Schneider jan

Add description to delivered messages.

1.84 (+5 -5 lines) 03/13/2005 10:13 AM Jan Schneider jan

Implement a simple date check. We assume that all external stories are
released if we can retrieve them. :)

1.83 (+63 -29 lines) 03/13/2005 09:41 AM Jan Schneider jan

Add support for release dates.

1.82 (+5 -5 lines) 01/03/2005 09:35 AM Jan Schneider jan

Happy New Year

1.81 (+3 -3 lines) 12/12/2004 10:00 PM Chuck Hagenbuch chuck

we check for all the other item attributes, might as well check for
this one too.

1.80 (+4 -6 lines) 12/12/2004 09:42 PM Chuck Hagenbuch chuck

fix scope

1.79 (+5 -2 lines) 12/11/2004 08:37 AM Jan Schneider jan

ÂCatch errors.

1.78 (+3 -4 lines) 12/01/2004 04:02 PM Chuck Hagenbuch chuck

Make sure the stories array has a timestamp setting even if there are no stories.

1.77 (+3 -3 lines) 11/17/2004 10:01 AM Chuck Hagenbuch chuck

New menu.

Bug: 832

1.76 (+13 -11 lines) 10/25/2004 05:04 AM Jan Schneider jan

Avoid warning if there are no stories.

1.75 (+3 -3 lines) 10/20/2004 08:01 AM Jan Schneider jan

Handle external stories without title more gracefully.

1.74 (+3 -3 lines) 10/19/2004 04:11 AM mdjukic

first lot being moved from gif to png

1.73 (+3 -4 lines) 10/15/2004 09:18 AM Jan Schneider jan

Move wrap() from Text:: to String:: because we need to make it multibyte-safe anyway.

1.72 (+7 -3 lines) 10/10/2004 06:23 PM Jan Schneider jan

Fix renderChannel() call.
Fix getting all messages of a channel
Submitted by: Roel Gloudemans <roel@gloudemans.info>

1.71 (+3 -2 lines) 10/04/2004 09:03 AM Jan Schneider jan

Set channel_link for internal channels.

1.70 (+31 -5 lines) 10/04/2004 08:29 AM Jan Schneider jan

Add "max" and "from" parameters to renderChannel().

1.69 (+15 -5 lines) 10/04/2004 07:43 AM Jan Schneider jan

Fix limiting of returned stories and add "from" parameter.

1.68 (+4 -4 lines) 09/30/2004 05:29 PM Jan Schneider jan

Implement factory/singleton for Filters and stackable filter objects.
Move HTMLConverter to html2text filter.

1.67 (+3 -2 lines) 09/20/2004 11:43 AM Jan Schneider jan

Keep linebreaks of description in HTML views.

1.66 (+5 -3 lines) 09/17/2004 07:02 AM Jan Schneider jan

Notification if parsing of external channel fails.

1.65 (+5 -5 lines) 09/07/2004 06:23 AM Jan Schneider jan

We don't need the channel id to get the story by story id.

1.64 (+2 -4 lines) 09/01/2004 12:30 PM Jan Schneider jan

No idea why I added this commented out. Hope it doesn't break anything.

1.63 (+3 -3 lines) 09/01/2004 12:26 PM Jan Schneider jan

Only show delivery notification if we really delivered the story.

1.62 (+4 -2 lines) 09/01/2004 04:04 AM mdjukic

add a pretty date format for stories to the external channels too

1.61 (+3 -3 lines) 08/31/2004 05:12 PM Chuck Hagenbuch chuck

Fix syntax from caching changes.

1.60 (+33 -24 lines) 08/30/2004 10:56 AM Chuck Hagenbuch chuck

[cjh] The Horde_Cache:: API has been completely rewritten to take
advantage of the new ZPS4 api for content caching, which allows
a more familiar caching API overall. The old zps driver has been
dropped because of this.

1.59 (+21 -5 lines) 08/29/2004 08:53 PM Jan Schneider jan

Set all story links that are not custom ones to view.php to make sure that all story views get counted. view.php takes already care of redirecting the user if the story only consists of a url.

1.58 (+3 -2 lines) 08/29/2004 07:59 PM Jan Schneider jan

Spoke too early.

1.57 (+3 -3 lines) 08/29/2004 07:50 PM Jan Schneider jan

Parameters don't get double encoded anymore.

1.56 (+4 -4 lines) 08/22/2004 08:11 AM Jan Schneider jan

Fix creating date entries.

1.55 (+5 -7 lines) 08/20/2004 07:34 AM Jan Schneider jan

Return all available story information by getStories().

Only showing the 100 latest revisions. Show all revisions? (may take a while).