Revisions for whups/lib/api.php

Location: [ Horde ] / whups / 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.148 (+128 -222 lines) 08/26/2008 12:39 AM Chuck Hagenbuch chuck

Add phpdoc where missing for Whups API methods

Tags: WHUPS_1_0, WHUPS_1_0_RC2

1.147 (+2 -2 lines) 06/24/2008 06:25 PM Jan Schneider jan

Limit Robert's copyright to the years of his contributions. We should really find him.

Tags: WHUPS_1_0_RC1

1.146 (+12 -1 lines) 06/24/2008 12:16 PM Jan Schneider jan

Add form replies.

1.145 (+3 -3 lines) 06/13/2008 06:14 PM Chuck Hagenbuch chuck

both branches here use the $queues variable

1.144 (+21 -18 lines) 06/11/2008 06:20 PM Jan Schneider jan

Try to get browse method into better shape. Still not working properly though,
but getting there.

1.143 (+10 -5 lines) 06/05/2008 08:13 PM Jan Schneider jan

Add per-queue permission to manually set the ticket requester.

1.142 (+2 -3 lines) 06/05/2008 01:09 PM Jan Schneider jan

Deal with queue vs. admin permissions more consistently.

1.141 (+2 -2 lines) 05/11/2008 06:22 PM Jan Schneider jan

Reverse order of versions, newest first.

1.140 (+51 -1 lines) 03/11/2008 09:57 AM Jan Schneider jan

Add addAttachment().

1.139 (+44 -44 lines) 03/11/2008 09:29 AM Jan Schneider jan

Reorder.

1.138 (+11 -11 lines) 03/05/2008 01:36 PM Jan Schneider jan

Rename API methods not following camelCase naming conventions.

1.137 (+7 -7 lines) 02/28/2008 12:01 AM Chuck Hagenbuch chuck

[cjh] Use pretty URLs if Horde is configured for them (Request #5922).

1.136 (+5 -5 lines) 02/21/2008 10:46 AM Jan Schneider jan

Standardize on the same ctor signature for both ticket forms.

1.135 (+2 -2 lines) 12/30/2007 01:10 AM Chuck Hagenbuch chuck

[cjh] Include attribute values in ticket emails, including "diffs" for changes
(Bug #1083).

1.134 (+1 -3 lines) 12/07/2007 10:21 AM Michael Rubinsky mrubinsk

This is already referenced as $GLOBALS['whups_driver'] in the code.
Remove redundant global statement.

1.133 (+3 -8 lines) 11/28/2007 11:50 AM Michael Rubinsky mrubinsk

Revert this "fix" that was actually an issue with PHP xmlrpc library.

1.132 (+8 -3 lines) 11/27/2007 10:09 AM Michael Rubinsky mrubinsk

Fix -whups_listQueues() to actually return the queueId along with the queue name

1.131 (+3 -3 lines) 11/26/2007 03:21 PM Chuck Hagenbuch chuck

fix args

1.130 (+11 -1 lines) 11/26/2007 12:53 PM Michael Rubinsky mrubinsk

Add api method for adding new versions to an existing queue.

1.129 (+5 -0 lines) 11/06/2007 11:25 PM Chuck Hagenbuch chuck

extra validation

1.128 (+23 -2 lines) 11/06/2007 11:24 PM Chuck Hagenbuch chuck

Add an addComment API method.

1.127 (+18 -1 lines) 11/05/2007 06:16 PM Chuck Hagenbuch chuck

stub of an addComment api method

1.126 (+8 -8 lines) 08/02/2007 12:37 AM Chuck Hagenbuch chuck

This is my proposal for the listTimeObjects api -
listTimeObjectCategories methods to go along with the call that return
a list of keys and names; the keys that are wanted are then passed to
listTimeObjects.

This isn't actually implemented yet; most applications still need to
filter on $categories, and Kronolith needs to do something with the
data. But this should keep the API from changing after alpha releases.

1.125 (+7 -2 lines) 07/24/2007 04:16 PM Chuck Hagenbuch chuck

don't use create_function

1.124 (+16 -11 lines) 06/21/2007 11:35 PM Chuck Hagenbuch chuck

need timestamps to compare to

1.123 (+2 -2 lines) 06/21/2007 01:27 PM Jan Schneider jan

Fix variable name.

1.122 (+11 -2 lines) 06/21/2007 01:26 PM Jan Schneider jan

Fix signature, skip dates out of bounds.

1.121 (+3 -2 lines) 06/21/2007 01:22 PM Jan Schneider jan

Fix signatures.

1.120 (+3 -3 lines) 06/21/2007 01:15 PM Jan Schneider jan

- Return recurrence information with listTimeObjects results and calculate
recurrence in Kronolith
- Return datetime information with listTimeOjbects results as ISO strings
- Skip due dates outside requested time period in Nag

1.119 (+8 -8 lines) 06/15/2007 11:24 AM Chuck Hagenbuch chuck

Rename $GLOBALS['whups'] references to $GLOBALS['whups_driver']

1.118 (+41 -41 lines) 06/15/2007 11:22 AM Chuck Hagenbuch chuck

Rename $whups to $whups_driver

1.117 (+6 -4 lines) 05/25/2007 01:24 PM Jan Schneider jan

We don't pass a category to listTimeObjects() at the moment.

1.116 (+2 -2 lines) 08/19/2006 10:53 AM Jan Schneider jan

No need for a gettext here.

1.115 (+4 -1 lines) 08/08/2006 01:24 PM Chuck Hagenbuch chuck

Include the basic ticket data as a tooltip.

1.114 (+1 -2 lines) 08/04/2006 12:33 PM Chuck Hagenbuch chuck

Remove queue subjectlists.

1.113 (+2 -2 lines) 08/03/2006 03:52 PM Chuck Hagenbuch chuck

[cjh] Always use Summary for the ticket summary.

1.112 (+2 -2 lines) 07/25/2006 11:30 AM Jan Schneider jan

Fix continue scope.

1.111 (+7 -7 lines) 07/23/2006 08:49 PM Chuck Hagenbuch chuck

Fix invalid SOAP datatypes.
Bug: 4187
Submitted By: Ben Klang <ben@alkaloid.net>

1.110 (+2 -3 lines) 07/23/2006 06:34 PM Chuck Hagenbuch chuck

label: [#] summary for calendar titles

1.109 (+61 -16 lines) 07/20/2006 04:18 PM Chuck Hagenbuch chuck

- Add listTimeCategories, which isn't used yet.
- Add several different kinds of returns to listTimeObjects, defaulting to by
due date. When Kronolith can show these as individual calendars, the default
will be removed (and yes, the listTimeObjects API is changing for this).

I'd be happy to get some feedback on where to put the kind of listing (Due,
Created, etc) in the title or tooltip of the event.

1.108 (+1 -13 lines) 07/19/2006 01:03 AM Chuck Hagenbuch chuck

this wasn't done yet, my bad.

1.107 (+12 -0 lines) 07/19/2006 01:01 AM Chuck Hagenbuch chuck

[cjh] Show the requester in search results (rodion (at) nezna (dot) com,
Bug #2820).
[cjh] Show either the Comment or Update tabs depending on permissions,
but not both.
[cjh] Report the last-updated date for tickets (Bug #2396).
[cjh] Tickets now have an optional due date field.

1.106 (+1 -14 lines) 07/18/2006 09:44 PM Chuck Hagenbuch chuck

remove admin_list from whups as well.

1.105 (+42 -1 lines) 07/04/2006 11:42 PM Chuck Hagenbuch chuck

Add listTimeObjects handling to Kronolith and calls to Nag and Whups, with
the commented-out birthdays code moving to a comment in Turba's api.php for
turning into a listTimeObjects call. All relatively untested by me and not
much changed from Duck's patches. Support for old-style nag task listing is
all mine and also untested.

1.104 (+2 -2 lines) 07/03/2006 01:24 PM Chuck Hagenbuch chuck

Move the admin forms to lib/Forms and the admin script to admin/; goal
is to break it into smaller scripts eventually.

1.103 (+87 -1 lines) 07/02/2006 10:33 PM Chuck Hagenbuch chuck

[cjh] New updateTicket API call (Ben Klang <ben@alkaloid.net>, Bug #4101).

1.102 (+13 -14 lines) 07/02/2006 09:49 PM Chuck Hagenbuch chuck

- use the useToken() method instead of setting private variables directly
(Ben Klang <ben@alkaloid.net>, Bug #4099).
- remove a few unnecessary references while I'm at it.

1.101 (+9 -11 lines) 07/02/2006 09:40 PM Chuck Hagenbuch chuck

[cjh] Check permissions when setting ticket attributes through an API call
(Ben Klang <ben@alkaloid.net>, Bug #4098).

1.100 (+2 -3 lines) 04/19/2006 03:45 PM Chuck Hagenbuch chuck

use the same ticket name that we do for titles in whups itself.

1.99 (+3 -3 lines) 03/08/2006 03:01 PM Chuck Hagenbuch chuck

Add CAPTCHA support to the Add Comment and Create Ticket forms.

1.98 (+5 -1 lines) 10/14/2005 04:44 PM Chuck Hagenbuch chuck

Add a show method for tickets.

1.97 (+2 -2 lines) 09/20/2005 08:44 AM Jan Schneider jan

Fix permission check.

1.96 (+3 -3 lines) 09/20/2005 08:25 AM Jan Schneider jan

Fix permission checks.
Bug: 2629, 2635

1.95 (+15 -12 lines) 09/09/2005 01:34 PM Chuck Hagenbuch chuck

Fix listing versions for administrators.

1.94 (+23 -23 lines) 09/08/2005 04:38 PM Chuck Hagenbuch chuck

Fix the getQueueDetails() api method for administrators.
Bug: 2527

1.93 (+36 -1 lines) 08/24/2005 12:41 PM Jan Schneider jan

Allow other applications to provide versions.

1.92 (+9 -4 lines) 08/12/2005 11:25 AM Jan Schneider jan

How was this ever supposed to work?

1.91 (+14 -1 lines) 08/10/2005 01:57 PM eraserhd

* If the user has a custom ticket attribute "Estimated Time", use it to return
hour estimates for ticket-based cost objects.

1.90 (+9 -2 lines) 08/05/2005 12:31 PM Jan Schneider jan

Add overloaded example.

1.89 (+15 -3 lines) 08/05/2005 12:18 PM Jan Schneider jan

Add listQueues API method and wrap Driver::getQueue and Driver::getQueues through the registry.

1.88 (+11 -7 lines) 08/05/2005 11:55 AM Jan Schneider jan

Drop getAllQueueInfo().

1.87 (+43 -1 lines) 07/27/2005 08:38 AM eraserhd

* Export tickets as cost objects so we can track time against them.

1.86 (+15 -20 lines) 07/23/2005 06:21 AM Jan Schneider jan

Fix signatures, and create better readable error messages.

1.85 (+5 -5 lines) 07/12/2005 10:32 AM Chuck Hagenbuch chuck

More reference fixes.

1.84 (+89 -22 lines) 07/01/2005 03:24 PM Chuck Hagenbuch chuck

A bunch of fixes for the add_tickets API method, and a new addTicket method for adding one ticket at a time.

1.83 (+34 -31 lines) 06/01/2005 11:26 AM Jan Schneider jan

Fix api signatures.

1.82 (+12 -2 lines) 05/28/2005 03:14 PM Chuck Hagenbuch chuck

[cjh] Add explicit permissions for assigning and updating tickets
(tmerritt@email.arizona.edu, Bug #1955).

1.81 (+3 -9 lines) 05/11/2005 05:42 PM Chuck Hagenbuch chuck

Fix a bunch of places where we were either unnecessarily calling
isValid() in addition to validate(), or where we weren't checking
validate() at all.

1.80 (+1 -54 lines) 03/19/2005 10:02 PM Chuck Hagenbuch chuck

[cjh] Queries are stored as Horde_Share objects with full permissions.
(Bug #1481).
[cjh] Delete queue permissions when deleting a queue (Bug #1462).

1.79 (+7 -11 lines) 02/11/2005 02:07 PM Chuck Hagenbuch chuck

Try to use the same format for attributes in whups_add_tickets and in whups_set_ticket_attributes (#1227)

1.78 (+5 -6 lines) 02/11/2005 01:56 PM Chuck Hagenbuch chuck

Fix setAttributes() calls (#1227)

1.77 (+4 -1 lines) 01/27/2005 10:26 AM Chuck Hagenbuch chuck

need to be able to set the whups:admin permission (Mathieu CLABAUT <mathieu.clabaut@free.fr>).

1.76 (+2 -3 lines) 11/04/2004 01:14 PM Chuck Hagenbuch chuck

Shorter names

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

first lot being moved from gif to png

1.74 (+2 -2 lines) 10/18/2004 06:06 AM mdjukic

change getParam('graphics') to getImageDir()

1.73 (+4 -47 lines) 10/12/2004 09:42 PM Chuck Hagenbuch chuck

Since it's currently not working anyway, I'm going to go ahead and
commit this removal of the clients code from Whups. This way we'll
have a clean slate going forward.

1.72 (+14 -14 lines) 09/17/2004 11:03 PM Chuck Hagenbuch chuck

The object browser has a functional UI now. Still need to hook it up
to a selection method for actually returning what object was browsed
to.

1.71 (+10 -10 lines) 09/17/2004 12:04 AM Chuck Hagenbuch chuck

avoid starting property names/sql aliases with '_' characters.

Bug: 595

1.70 (+68 -43 lines) 09/12/2004 05:26 PM Chuck Hagenbuch chuck

Some of the Links removal. Lots of stuff to sort out here.

1.69 (+2 -1 lines) 08/02/2004 09:31 PM Chuck Hagenbuch chuck

Use the smaller bug icon as a template for more Whups icons, including
an admin icon, all 16x16.

1.68 (+6 -6 lines) 07/24/2004 03:03 PM Chuck Hagenbuch chuck

Ticket creation is now wrapped in lib/Ticket.php too. No ticket email
is sent inside the SQL driver anymore; all email notification will be
handled by Whups_Ticket::. At the moment, no email will be
sent. Adding emails back is the next step.

1.67 (+2 -22 lines) 07/06/2004 11:43 AM Chuck Hagenbuch chuck

More progress, cleanup, slimming, and updates. This is getting closer
to finished, but still isn't really tested. Need to get it into CVS so
I can hack at it on other machines, though.

1.66 (+13 -11 lines) 06/22/2004 10:09 AM Chuck Hagenbuch chuck

More work on re-organizing Whups and moving towards the new whups_logs
format. This still isn't complete, but I'm trying to get myself to
finish it so I'm getting it to another machine.

1.65 (+3 -13 lines) 06/08/2004 05:21 PM Chuck Hagenbuch chuck

linkParameters() isn't needed.

1.64 (+13 -14 lines) 06/01/2004 12:58 PM Chuck Hagenbuch chuck

Don't add comments in setAttributeValues(); comments were being added
that weren't related to any whups_log entries, so they were lost.

1.63 (+1 -18 lines) 06/01/2004 10:39 AM Chuck Hagenbuch chuck

_whups_list_tickets() wasn't used anywhere outside of the summary block, so
make it a class method.

1.62 (+1 -23 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.61 (+1 -13 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.60 (+17 -17 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.59 (+4 -2 lines) 04/30/2004 05:17 PM Chuck Hagenbuch chuck

Add 2 new blocks for showing queries and searches. Lots of possibilities
for blocks here...

1.58 (+13 -5 lines) 04/06/2004 03:17 AM bo

filterTicketsByClient() is no longer used

1.57 (+20 -20 lines) 04/05/2004 11:10 PM Chuck Hagenbuch chuck

This *should* finish off the Module -> Queue conversion, including in
the SQL. Needs to be tested and ironed out before being ported to
dev.horde.org and marked done, though.

1.56 (+88 -35 lines) 03/16/2004 03:02 PM Chuck Hagenbuch chuck

Advertise module permisisons and the hiddenComments permission in via the
perms api.

1.55 (+33 -33 lines) 03/11/2004 04:01 PM Chuck Hagenbuch chuck

Use Queue instead of Module. Database fields have not been
touched. I've tested this, but it's also possible that some forms may
need to be tweaked to work, and that the UI may still say "module" in
some places.

1.54 (+5 -5 lines) 02/25/2004 11:19 PM eraserhd

* Delete Horde_Form_Vars::, use Variables:: instead.
* Delete Horde_Form_Renderer_rows::, was only used by Hermes and depends on
Horde_Form_Vars:: cruft.

1.53 (+2 -2 lines) 01/27/2004 12:26 PM eraserhd

* Remove Whups_Driver::getClients() and move back into Whups::.  This is not
driver-specific.

1.52 (+5 -5 lines) 01/13/2004 10:44 PM Chuck Hagenbuch chuck

These are by no means private constants. Remove the weird leading _
(it was my idea in the first place, for the record. Dunno why).

1.51 (+83 -1 lines) 10/30/2003 11:39 PM Chuck Hagenbuch chuck

Rework the Links driver to use categories instead of a custom sql table,
from Bo Daley <bo@tilda.com.au>

Big patch, some things may break/need to be tweaked. Here's Bo's description:

Attached is a first shot at reworking the Links API to use categories instead of
its own SQL driver. I haven't yet taken this as far as it can go, but already
it has resulted in a significant performance improvement for pages in my system
with large numbers of linked clients. (some of the pages that were previously
taking 20-30 seconds -- eg. the Whups search page -- are now down to about 5
seconds, which makes them a bit more usable).

Things that should be noted before this gets committed:

* I modified Turba so that the backend's read() function returns an array of
contact objects rather than just a single object (which speeds up handling of
large lists of objects). I don't know any ldap so this change will break the
ldap backend unless someone can make the same change to
turba/lib/Driver/ldap.php

* I've included a script (migrate_links.php) that creates links in the new
structure for people who were using clients in Whups. It doesn't update links
for other apps that might have been using Links but I can probably add that in
too if anyone needs it.

* reverse links don't seem to be working just yet. I'll get onto this soon.

more soon... hopefully i haven't missed anything else..(!!)

1.50 (+3 -3 lines) 10/30/2003 06:38 PM Jan Schneider jan

PHP 5 fixes.

1.49 (+2 -3 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.48 (+16 -9 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.47 (+3 -3 lines) 09/19/2003 11:05 AM Chuck Hagenbuch chuck

Move Whups completely over to using 'tickets' and providing that registry
api; have Thor provide the projects api instead.

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