Revisions for jonah/lib/api.php

Location: [ Horde ] / jonah / lib / api.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.74 (+10 -15 lines) 08/11/2008 01:42 PM Ben Klang bklang

* Make sure the perms tree is properly constructed so we can populate all branches
* Make sure that Jonah::checkPermission returns true if the user is an administrator and there are no channel IDs specified

Tags: JONAH_2008_08_22

1.73 (+7 -1 lines) 07/23/2008 08:38 PM Michael Rubinsky mrubinsk

error check

1.72 (+4 -2 lines) 07/23/2008 08:35 PM Michael Rubinsky mrubinsk

fix scope

1.71 (+18 -2 lines) 05/21/2008 09:22 PM Chuck Hagenbuch chuck

return story_body_html in news/story and news/searchTags also

1.70 (+11 -1 lines) 05/18/2008 12:55 PM Chuck Hagenbuch chuck

provide the html version of the story directly in the api call (formatted like the block would do it)

1.69 (+43 -1 lines) 02/07/2008 12:13 PM Chuck Hagenbuch chuck

API doc updates
Submitted by: duck@obala.net

1.68 (+7 -5 lines) 09/04/2007 02:31 PM Michael Rubinsky mrubinsk

Protect against empty stories, just in case.

1.67 (+2 -2 lines) 09/02/2007 04:39 PM Michael Rubinsky mrubinsk

No need to index the returned array with the story id

1.66 (+70 -1 lines) 09/01/2007 06:47 PM Michael Rubinsky mrubinsk

Add a _jonah_searchTags() method to the api.
Can return either a 'raw' array of story data or a 'stripped down' array indexed by application-agnostic keys (to allow for easier cross-application tag searches).

1.65 (+15 -3 lines) 08/31/2007 05:26 PM Michael Rubinsky mrubinsk

another tag related api call

1.64 (+19 -2 lines) 08/31/2007 05:11 PM Michael Rubinsky mrubinsk

Start adding some tag related calls to the api

1.63 (+27 -0 lines) 05/29/2007 11:57 AM Chuck Hagenbuch chuck

Return feed list (news/listFeeds call)
Submitted by: duck@obala.net

1.62 (+8 -4 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.61 (+5 -5 lines) 09/10/2006 01:50 PM Chuck Hagenbuch chuck

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

1.60 (+26 -1 lines) 07/20/2006 01:41 PM Michael Rubinsky mrubinsk

Add _jonah_stories() to the api to give more control over which and how many stories can be obtained through the api - while giving better control over the display without having to edit / create any horde blocks.

1.59 (+5 -4 lines) 06/08/2006 04:46 AM Jan Schneider jan

Add 'read' parameter to story method.

1.58 (+22 -2 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.57 (+12 -2 lines) 09/23/2005 06:28 AM Jan Schneider jan

Add support for new comments features.

1.56 (+2 -2 lines) 06/01/2005 11:26 AM Jan Schneider jan

Fix api signatures.

1.55 (+3 -3 lines) 03/26/2005 04:56 PM Chuck Hagenbuch chuck

Initial Atom feed support.
Bug: 1581

1.54 (+24 -1 lines) 09/07/2004 07:50 AM Jan Schneider jan

Implement callback method for comments.

1.53 (+2 -2 lines) 09/07/2004 06:26 AM Jan Schneider jan

getStory() signature changed.

1.52 (+16 -1 lines) 08/29/2004 08:50 PM Jan Schneider jan

Add story() api method.

1.51 (+1 -39 lines) 05/31/2004 02:22 PM Jan Schneider jan

Block APIs are now exposed globally by the Horde API.
Some blocks probably have yet to be fixed because we don't include
lib/base.php anymore.

1.50 (+1 -12 lines) 05/29/2004 05:12 PM Jan Schneider jan

Blocks are no longer defined by the applications' api.php files or
registry.php. Instead we scan all application/lib/Block directories for blocks
once per session now.

1.49 (+4 -4 lines) 05/24/2004 12:18 PM John Morrissey jwm

use new stringArray type instead of 'array.' The argument types look sane,
but some of the return types aren't quite right yet, mostly the block API
calls, which return Horde_Block objects.

1.48 (+3 -2 lines) 03/05/2004 09:06 AM mdjukic

add email delivery signup block

1.47 (+2 -3 lines) 01/21/2004 12:10 PM Chuck Hagenbuch chuck

Remove stocks code from Jonah - it's moving to Juno.

1.46 (+3 -6 lines) 01/20/2004 10:21 PM Chuck Hagenbuch chuck

Remove the last of the weather code from Jonah.

1.45 (+2 -3 lines) 01/06/2004 11:16 PM Chuck Hagenbuch chuck

Remove METAR code in favor of the Horde-level METAR block.

1.44 (+2 -2 lines) 10/30/2003 06:37 PM Jan Schneider jan

PHP 5 fixes.

1.43 (+27 -56 lines) 10/28/2003 08:46 PM Chuck Hagenbuch chuck

Another chunk of Blocks work:

- move all parameter listing into block getParams() methods
- remove unused parameters from the _blocks() arrays
- make sure that all apps that have getParams() blocks have
a defineBlock() method.

Still need to move parameters for the Horde (applet) blocks, and
clean up registry.php.

1.42 (+22 -5 lines) 10/28/2003 01:23 PM Chuck Hagenbuch chuck

- Block::isEditable() isn't used and isn't needed
- Make classnames consistent in all applications
- Make block instantiation consistent in most applications.

1.41 (+3 -1 lines) 10/27/2003 10:29 AM Chuck Hagenbuch chuck

add @package

1.40 (+1 -33 lines) 10/24/2003 05:01 PM Chuck Hagenbuch chuck

Move the moon phases and sunrise/sunset blocks into Horde and out of
Jonah. This involved:

- moving the graphics into horde/graphics/block/<blockname>
- moving geolocations.php into lib/NLS/, as it really doesn't need to
be a config file.
- adding the block configs to registry.php.dist

Block parameters are still a bit awkward, so they don't work correctly
just yet. The code needed to return the real parameters is in the
getParams() method of the two new blocks.

1.39 (+20 -15 lines) 10/19/2003 10:40 AM mdjukic

move the level logic out of here and to Perms.php, add support for human titles for the perms.

1.38 (+27 -1 lines) 10/17/2003 05:34 PM mdjukic

api access to available jonah perms

1.37 (+1 -5 lines) 09/23/2003 10:29 AM Jan Schneider jan

We have no summaries anymore.

1.36 (+2 -2 lines) 09/16/2003 07:05 PM Jan Schneider jan

Use the new Util:: class.

1.35 (+5 -2 lines) 09/11/2003 03:49 PM Chuck Hagenbuch chuck

Various fixes to prevent errors in the portal view when things aren't configured, etc.

1.34 (+1 -10 lines) 05/10/2003 07:20 AM mdjukic

no need for this admin link

1.33 (+6 -8 lines) 04/28/2003 02:59 AM mdjukic

update the api to fetch channels using the new method

1.32 (+2 -1 lines) 03/07/2003 05:57 PM Chuck Hagenbuch chuck

Better error checking in a number of places for channels which no longer exist.

1.31 (+1 -2 lines) 02/21/2003 08:38 PM Chuck Hagenbuch chuck

remove extra space

1.30 (+2 -1 lines) 02/17/2003 12:05 PM Jan Schneider jan

Sort channel names.

1.29 (+2 -2 lines) 02/13/2003 03:14 PM Michael M Slusarz slusarz

extension_loaded() -> Horde::extensionExists()

1.28 (+5 -54 lines) 02/07/2003 05:06 PM Chuck Hagenbuch chuck

Remove some unneeded prefs, a couple unneeded functions, clean up
HTML, etc.

1.27 (+6 -1 lines) 01/31/2003 01:53 AM Chuck Hagenbuch chuck

Add a weather block for the intercept weather.

Submitted by: Rick Emery <rick@emery.homelinux.net>

1.26 (+10 -2 lines) 01/28/2003 11:18 PM Chuck Hagenbuch chuck

- Start getting stock quotes code into one code tree
- remove unneeded old Block.php
- add stocks block to new Block api
- remove portal code, not needed anymore.

1.25 (+9 -8 lines) 01/28/2003 10:38 AM mikec

Add location selectiong for sunrise.
Add data file for latitude and longitude. Feel free to replace with a better version.

1.24 (+8 -1 lines) 01/28/2003 08:59 AM mikec

Add a hemisphere parameter so the moon quaters are shown the corrent way around.

1.23 (+3 -3 lines) 01/28/2003 08:17 AM mikec

Use a multi-level enum param type for selecting cournty then location.

1.22 (+7 -14 lines) 01/27/2003 11:17 AM Chuck Hagenbuch chuck

consistency/style

1.21 (+25 -33 lines) 01/27/2003 10:45 AM Chuck Hagenbuch chuck

Little bit of cleanup; more to come.

1.20 (+26 -1 lines) 01/27/2003 10:28 AM mikec

Add sun rise and set block. At the moment this takes a Lat and Long needs to be changes to something more user friendly.

Add an option to the moon phase to select the current and next period.

1.19 (+5 -3 lines) 01/27/2003 10:09 AM mikec

Moon phases requires the calendar php extension.

1.18 (+9 -12 lines) 01/27/2003 09:53 AM mikec

Add a block to show the moon phases

1.17 (+77 -1 lines) 01/27/2003 07:23 AM mikec

Teach Jonah how to use the new portal.

1.16 (+4 -151 lines) 01/20/2003 11:10 AM Chuck Hagenbuch chuck

Get some stuff out of api.php that really didn't belong there.

1.15 (+2 -2 lines) 01/20/2003 10:42 AM Chuck Hagenbuch chuck

- Cleanup in channls.php
- Fix _channel() in RSSWriter.php
- other small cleanup

1.14 (+2 -2 lines) 01/04/2003 09:09 PM Jan Schneider jan

Add String:: class and move all string manipulation methods from NLS:: to
String::

1.13 (+2 -2 lines) 01/03/2003 03:10 PM Chuck Hagenbuch chuck

fix class

Submitted by: John Morrissey <jwm@horde.net>

1.12 (+8 -11 lines) 12/28/2002 12:03 AM Chuck Hagenbuch chuck

a few more html fixes

1.11 (+26 -32 lines) 12/27/2002 11:47 PM Chuck Hagenbuch chuck

Clean up a bunch of summary display and HTML.

1.10 (+2 -2 lines) 12/27/2002 09:13 PM Jan Schneider jan

Store all channels in UTF-8 and convert them on demand.

1.9 (+6 -6 lines) 12/23/2002 11:31 AM Jan Schneider jan

Gettext fixes.

1.8 (+9 -7 lines) 12/01/2002 12:58 PM Jan Schneider jan

SQL backend is working now.

1.7 (+2 -4 lines) 11/29/2002 01:46 PM Chuck Hagenbuch chuck

Start to clean some of this up.
- remove a bunch of unnecessary calls to notify() (menu.php takes care of it)
- clean up weather prefs/driver a bit.

1.6 (+5 -6 lines) 11/10/2002 01:16 PM Jan Schneider jan

All links in the summaries must have full urls to make remote summaries
work.

1.5 (+2 -2 lines) 09/30/2002 12:07 PM Chuck Hagenbuch chuck

Add a preference for using metric units.

Submitted by: Tim Gorter <email@teletechnics.com>

1.4 (+5 -5 lines) 09/11/2002 12:10 PM Jan Schneider jan

HTML fixes.

1.3 (+3 -3 lines) 08/20/2002 01:11 PM mikec

Fix up the weather so it displays now.

1.2 (+204 -1 lines) 08/19/2002 05:52 PM Chuck Hagenbuch chuck

[cjh] Revamp headline management and subscriptions; add multiple sizes
      for each channel, add weather and stock support, and many more
      channels (Eric Rechlin <eric@hpcalc.org>).
[cjh] Add a Block system and an experimental portal-like interface.

Notes: the portal interface, especially, _is_ experimental; there's some duplicate
code in the Block subclasses, and it needs lots of work. But, it's a start. Eric's
stuff is pretty good, but things like the weather interface need work. All
in all, a big boost up in functionality.

1.1 07/31/2002 01:27 PM Chuck Hagenbuch chuck

new admin service listing.