Michael J. Rubinsky [Sat, 12 Sep 2009 15:06:36 +0000 (11:06 -0400)]
More additions based on some discussion with Gunnar in IRC:
- Allow specifying if a resource is required or optional
- Add a response_type property to resources. Specifies if REQUESTS are
either always accepted, always denied, automatically accepted/denied
based on actual availability, handled manually (still todo), or simply
ignored (set response to NONE).
Also, try to clean up the implementation - trying to make it more likely
to be able to be extened for kolab. No idea if this helps of not though ;)
Michael J. Rubinsky [Fri, 11 Sep 2009 23:42:07 +0000 (19:42 -0400)]
Move checkResources() to Kronolith::, and out of the concrete Event_Sql driver.
Move code for auto-accepting resources out of the Event driver and put
it into Kronolith:: Call it from Kronolith_Event::save() method (not 100%
sure about leaving it there, or just calling it in client code before saving
where appropriate).
Michael J. Rubinsky [Fri, 11 Sep 2009 19:21:27 +0000 (15:21 -0400)]
Rename sql script
Michael J. Rubinsky [Fri, 11 Sep 2009 19:09:15 +0000 (15:09 -0400)]
Lots of stuff:
- Move resource viewing/CRUD related pages to resources/*
- Have Kronolith_Resource objects present a Horde_Share_Object-like interface
- Remove the Resource link from the menu - put it in the panel under the "Manage My Calendars" link
- Various tweaks/corrections
Michael J. Rubinsky [Fri, 11 Sep 2009 16:03:49 +0000 (12:03 -0400)]
Add a link in Kronolith's menu for the resource page
Michael J. Rubinsky [Fri, 11 Sep 2009 16:02:43 +0000 (12:02 -0400)]
Fix logic and implement a delete() method for removing resources
from storage
Michael J. Rubinsky [Fri, 11 Sep 2009 16:01:38 +0000 (12:01 -0400)]
Clear resources when clearing attendees page as well
Michael J. Rubinsky [Thu, 10 Sep 2009 16:13:46 +0000 (12:13 -0400)]
Tweak labels now that these are for resources as well
Michael J. Rubinsky [Thu, 10 Sep 2009 16:13:02 +0000 (12:13 -0400)]
Remove some cruft now that we can do this via the UI properly now.
Michael J. Rubinsky [Thu, 10 Sep 2009 16:12:20 +0000 (12:12 -0400)]
Only attempt to remove resources from the event if they have actually
accepted the event.
Michael J. Rubinsky [Thu, 10 Sep 2009 16:11:12 +0000 (12:11 -0400)]
notify user if a requested resource rejects invitation when saving event
Michael J. Rubinsky [Thu, 10 Sep 2009 14:28:57 +0000 (10:28 -0400)]
Initial adding of resource to an event from the attendees page.
Michael J. Rubinsky [Thu, 10 Sep 2009 14:27:44 +0000 (10:27 -0400)]
Show only resource calendars on the event form when we are editing a
resource's calendar.
Michael J. Rubinsky [Thu, 10 Sep 2009 14:26:20 +0000 (10:26 -0400)]
Add basic permission checking to Kronolith::listResources()
Michael J. Rubinsky [Thu, 10 Sep 2009 14:13:52 +0000 (10:13 -0400)]
Add a setResources() method similar to setAttendees() for bulk setting
the local resources array
Michael J. Rubinsky [Thu, 10 Sep 2009 14:12:52 +0000 (10:12 -0400)]
remove commented out code
Michael J. Rubinsky [Wed, 9 Sep 2009 19:31:28 +0000 (15:31 -0400)]
Move hasPermisson to the base class, implement ::get() to behave like
a share.
Michael J. Rubinsky [Wed, 9 Sep 2009 19:30:54 +0000 (15:30 -0400)]
typos
Michael J. Rubinsky [Wed, 9 Sep 2009 19:30:28 +0000 (15:30 -0400)]
use Kronolith::getInternalCalendar() here as well
Michael J. Rubinsky [Wed, 9 Sep 2009 19:10:56 +0000 (15:10 -0400)]
Experiment with getting either a share or resource here
Michael J. Rubinsky [Wed, 9 Sep 2009 18:49:02 +0000 (14:49 -0400)]
listEvents:: isn't detailed enough for this...manually compare
start/end times to determine if an event collides.
Add basic hasPermission method, not sure if it's really needed yet.
Michael J. Rubinsky [Wed, 9 Sep 2009 18:48:21 +0000 (14:48 -0400)]
Add resources to list of attendees returned from this method
Michael J. Rubinsky [Wed, 9 Sep 2009 00:02:28 +0000 (20:02 -0400)]
Easier way of exlcuding the current event from checking resource availability.
Michael J. Rubinsky [Wed, 9 Sep 2009 00:01:29 +0000 (20:01 -0400)]
No autocompletion for resources (yet??)
Michael J. Rubinsky [Wed, 9 Sep 2009 00:01:02 +0000 (20:01 -0400)]
Clarify why we are doing this bit of code here...
Michael J. Rubinsky [Tue, 8 Sep 2009 23:57:42 +0000 (19:57 -0400)]
Fix passing the event date to the attendee form.
Michael J. Rubinsky [Tue, 8 Sep 2009 17:22:18 +0000 (13:22 -0400)]
parse error
Michael J. Rubinsky [Tue, 8 Sep 2009 17:20:27 +0000 (13:20 -0400)]
Properly pass the calender_id to ::listEvents()
is_a -> instanceof
check for error
Michael J. Rubinsky [Tue, 8 Sep 2009 16:44:47 +0000 (12:44 -0400)]
Stqrt hashing out the isFree() method. Remove deprecated Resource.php file, phpdoc
Michael J. Rubinsky [Tue, 8 Sep 2009 16:43:07 +0000 (12:43 -0400)]
For now, don't use autocomplete for resource adding to attendees.inc -
we will need the resource's uid.
Michael J. Rubinsky [Fri, 4 Sep 2009 00:08:49 +0000 (20:08 -0400)]
resource event delettion, start building a useful resource page...
Make sure we delete the resource from the 'original' event when
directly deleting the resource's copy of the event.
Fix some variable/method names
Start building a resorce management page.
Michael J. Rubinsky [Thu, 3 Sep 2009 22:39:30 +0000 (18:39 -0400)]
Be sure to load the empty resources array when creating a new event.
Michael J. Rubinsky [Thu, 3 Sep 2009 20:36:15 +0000 (16:36 -0400)]
Actually remove this code
Michael J. Rubinsky [Thu, 3 Sep 2009 20:34:20 +0000 (16:34 -0400)]
More tweaks/fleshing out:
- Perms checks
- Remove Kronolith::getResource() - use the driver's getResource() method directly.
- have K_Driver_Resource::listResources() method return resource objects directly.
Michael J. Rubinsky [Thu, 3 Sep 2009 18:27:34 +0000 (14:27 -0400)]
Fix method name
Michael J. Rubinsky [Thu, 3 Sep 2009 17:23:22 +0000 (13:23 -0400)]
Large bit of work on Kronolith Resources.
- K_Event_Resource and k_Driver_Resource resources.
- Implement viewing/editing a resource's events.
- Show resource calendar title in panel
- Get rid of lib/Resource.php (functionality moved to Kronolith::)
Michael J. Rubinsky [Wed, 2 Sep 2009 20:18:57 +0000 (16:18 -0400)]
tweak panel display when displaying display_cals.
Add displayed calendar(s) name, and allow expanding/collapsing.
Tweak text to display 'Return to calendars' when anonymous user.
Michael J. Rubinsky [Wed, 2 Sep 2009 19:24:47 +0000 (15:24 -0400)]
Replace calendar panel with a "Return to my calendars" link when displaying display_cals.
Michael J. Rubinsky [Wed, 2 Sep 2009 16:43:31 +0000 (12:43 -0400)]
Clarify the use of the display_cal parameter
Michael J. Rubinsky [Thu, 20 Aug 2009 23:13:36 +0000 (19:13 -0400)]
Some ideas on feeling out a UI for administration...some of this will likely change
Michael J. Rubinsky [Thu, 20 Aug 2009 20:57:19 +0000 (16:57 -0400)]
listObjects API blurb
Michael J. Rubinsky [Wed, 19 Aug 2009 14:47:53 +0000 (10:47 -0400)]
implement basic listing method...no filters yet.
Michael J. Rubinsky [Wed, 19 Aug 2009 14:28:00 +0000 (10:28 -0400)]
Use a static member to hold the Kronolith_Driver object
Michael J. Rubinsky [Wed, 19 Aug 2009 00:16:39 +0000 (20:16 -0400)]
First attempt at displaying resource FreeBusy info on the attendee view
Michael J. Rubinsky [Tue, 18 Aug 2009 20:05:19 +0000 (16:05 -0400)]
Need to move the acceptance/denial of requests to the resource object
itself...otherwise, the internal properties array won't be serialized
before saving.
Michael J. Rubinsky [Tue, 18 Aug 2009 16:19:30 +0000 (12:19 -0400)]
Check for cases where resource is not found
Michael J. Rubinsky [Tue, 18 Aug 2009 16:17:18 +0000 (12:17 -0400)]
Fix column name, check for error from DB
Michael J. Rubinsky [Tue, 18 Aug 2009 16:13:20 +0000 (12:13 -0400)]
Better field name, add method for retrieving resources, supporting code...
Michael J. Rubinsky [Tue, 18 Aug 2009 15:10:52 +0000 (11:10 -0400)]
Allow updating of existing resources, some error checking etc...
Michael J. Rubinsky [Mon, 17 Aug 2009 21:06:15 +0000 (17:06 -0400)]
Start fleshing out the code to implement resources
Michael J. Rubinsky [Mon, 17 Aug 2009 18:37:53 +0000 (14:37 -0400)]
add kronolith_resource table
Michael J. Rubinsky [Mon, 17 Aug 2009 17:43:18 +0000 (13:43 -0400)]
add sql upgrade script and update creation scripts for resource field
Michael J. Rubinsky [Mon, 17 Aug 2009 17:40:06 +0000 (13:40 -0400)]
Flesh out some methods in Event and Driver to deal with auto accepting
resource requests
Michael J. Rubinsky [Mon, 17 Aug 2009 17:06:15 +0000 (13:06 -0400)]
Start stubbing out some ideas for Kronolith_Resource implementation
Michael J. Rubinsky [Fri, 14 Aug 2009 18:55:08 +0000 (14:55 -0400)]
Add stub for Kronolith_Resource
Michael M Slusarz [Tue, 29 Sep 2009 19:36:56 +0000 (13:36 -0600)]
Recent Searches was mislabeled as Saved Searches
Michael M Slusarz [Tue, 29 Sep 2009 19:04:25 +0000 (13:04 -0600)]
Ticket #6875: Re-add OR searches to advanced search
Michael M Slusarz [Tue, 29 Sep 2009 19:29:39 +0000 (13:29 -0600)]
Imap Client test fixes
Only do MODSEQ search if CONDSTORE is available.
Make the interval search give a bit more relevant results (small
timestamp could result in same day search, which is not useful for
eyeballing during testing)
Michael M Slusarz [Tue, 29 Sep 2009 19:02:34 +0000 (13:02 -0600)]
In an OR clause, 2nd element must not contain the OR search key
Michael M Slusarz [Tue, 29 Sep 2009 06:27:22 +0000 (00:27 -0600)]
Add a Horde identifier to the generated Message-ID
Gunnar Wrobel [Tue, 29 Sep 2009 17:46:03 +0000 (19:46 +0200)]
Fix signatures for strict mode testing.
Chuck Hagenbuch [Tue, 29 Sep 2009 17:31:05 +0000 (13:31 -0400)]
These test suites need to not throw warnings when autoloading, so use the same
logic we do in Horde_Autoloader. Also include PHPUnit/Framework.php.
Chuck Hagenbuch [Tue, 29 Sep 2009 17:30:24 +0000 (13:30 -0400)]
We never want to autoload the CacheMock class
Chuck Hagenbuch [Tue, 29 Sep 2009 17:24:29 +0000 (13:24 -0400)]
- include PHPUnit/Framework.php
- don't use include_once or silence calls in on-the-fly autoloader
Chuck Hagenbuch [Tue, 29 Sep 2009 17:23:30 +0000 (13:23 -0400)]
This asserting was testing PHPUnit internals unintentionally. Remove it.
Gunnar Wrobel [Tue, 29 Sep 2009 15:53:01 +0000 (17:53 +0200)]
Deactivate the sqlite based testing now and only run the test suite over the mock driver.
Gunnar Wrobel [Tue, 29 Sep 2009 15:43:59 +0000 (17:43 +0200)]
Complete testing.
Gunnar Wrobel [Tue, 29 Sep 2009 15:23:36 +0000 (17:23 +0200)]
The mock driver.
Chuck Hagenbuch [Tue, 29 Sep 2009 14:00:27 +0000 (10:00 -0400)]
Add initial Date helper ported from Mad. Needs translation.
Chuck Hagenbuch [Tue, 29 Sep 2009 13:58:53 +0000 (09:58 -0400)]
Include PHPUnit/Framework.php
Chuck Hagenbuch [Tue, 29 Sep 2009 13:50:37 +0000 (09:50 -0400)]
Add a smart quotes helper to Horde_View_Helper_Text. Probably belongs in Horde_Text_Filter?
Chuck Hagenbuch [Tue, 29 Sep 2009 13:32:35 +0000 (09:32 -0400)]
Require PHPUnit/Framework.php and put autoloading back in its original place
Chuck Hagenbuch [Tue, 29 Sep 2009 13:24:13 +0000 (09:24 -0400)]
Fix MySQL tests to match new primary key definition
Chuck Hagenbuch [Tue, 29 Sep 2009 13:27:05 +0000 (09:27 -0400)]
Figured out why I was getting errors; include PHPUnit/Framework.php
Gunnar Wrobel [Tue, 29 Sep 2009 13:04:10 +0000 (15:04 +0200)]
Fix and test error handling of the class.
Gunnar Wrobel [Tue, 29 Sep 2009 12:06:14 +0000 (14:06 +0200)]
Already provided by the base class.
Gunnar Wrobel [Tue, 29 Sep 2009 11:53:51 +0000 (13:53 +0200)]
Allow different history drivers. This still uses Horde_History as a base class. It might be better to use Horde_History_Base but I wanted to keep the API 100% intact for now.
Matt Selsky [Tue, 29 Sep 2009 08:00:59 +0000 (04:00 -0400)]
Fix paths to KolabScenarioTest.php and KolabTest.php
Gunnar Wrobel [Tue, 29 Sep 2009 05:53:12 +0000 (07:53 +0200)]
Add a test suite to Horde_History. It does the db testing based on
sqlite which is suboptimal but I want a decent code coverage before
working on the package.
I will add a mock driver now and at a later timepoint there might be a
Kolab specific driver.
Once the mock driver is available the db testing will be turned off.
Michael M Slusarz [Tue, 29 Sep 2009 04:34:21 +0000 (22:34 -0600)]
Yet more Search/Virtual Folder fixes/improvements
Big addition: ability to right click user-editable Virtual Folders in
DIMP and receieve a context menu with Edit/Delete options.
Add notifications when deleting virtual folders.
Correctly populate label input when editing virtual folders.
Michael M Slusarz [Tue, 29 Sep 2009 04:34:08 +0000 (22:34 -0600)]
Fix thread image positioning in dimp
Michael M Slusarz [Tue, 29 Sep 2009 04:28:11 +0000 (22:28 -0600)]
Focus on search criteria field after creation.
Michael M Slusarz [Tue, 29 Sep 2009 04:10:24 +0000 (22:10 -0600)]
Fix missing name parameter
Michael M Slusarz [Tue, 29 Sep 2009 04:09:57 +0000 (22:09 -0600)]
Add deleted vfolders to eltdiff list.
Michael M Slusarz [Mon, 28 Sep 2009 23:29:55 +0000 (17:29 -0600)]
Fix English and indenting
Michael M Slusarz [Mon, 28 Sep 2009 22:53:19 +0000 (16:53 -0600)]
Need this more complex way to resize the iframe after all images are loaded
Michael M Slusarz [Mon, 28 Sep 2009 22:51:27 +0000 (16:51 -0600)]
Don't show info message if part is marked as attachment.
Michael M Slusarz [Mon, 28 Sep 2009 22:26:59 +0000 (16:26 -0600)]
Add AND keyword to search UI
Michael M Slusarz [Mon, 28 Sep 2009 22:07:12 +0000 (16:07 -0600)]
Better naming for this function
Michael M Slusarz [Mon, 28 Sep 2009 05:40:19 +0000 (23:40 -0600)]
Tweak ZIP display a bit
Michael M Slusarz [Mon, 28 Sep 2009 21:06:33 +0000 (15:06 -0600)]
Rename Virtual Folder section to Saved Searches
Hopefully, I will be introducing the code for filtering soon. This is an
example of a saved search that is not a virtual folder, so go ahead and
do the necessary UI changes now.
While I'm here, tweak a bit of the search page CSS.
Michael M Slusarz [Mon, 28 Sep 2009 20:47:32 +0000 (14:47 -0600)]
Abstract out folder tree image generation.
Use this nicer tree in the advanced search page.
Michael J. Rubinsky [Mon, 28 Sep 2009 20:29:17 +0000 (16:29 -0400)]
use class constants here as well
Michael J. Rubinsky [Mon, 28 Sep 2009 20:20:56 +0000 (16:20 -0400)]
Use exceptions from Horde_Lock
Michael J. Rubinsky [Mon, 28 Sep 2009 20:08:07 +0000 (16:08 -0400)]
Use Exceptions
Michael M Slusarz [Mon, 28 Sep 2009 19:23:14 +0000 (13:23 -0600)]
Bug #8606: Fix dragging over IFRAMEs
Chuck Hagenbuch [Mon, 28 Sep 2009 19:20:08 +0000 (15:20 -0400)]
Fix classname in unit tests. Please run these when changing the Db package!
Chuck Hagenbuch [Mon, 28 Sep 2009 18:54:06 +0000 (14:54 -0400)]
Rework the Constraint filter to take a coupler (an And constraint or an Or
constraint) as the default when adding multiple constraints to a field.
Chuck Hagenbuch [Mon, 28 Sep 2009 18:46:19 +0000 (14:46 -0400)]
Rename Horde_Constraint_Compound to Horde_Constraint_Coupler
Chuck Hagenbuch [Mon, 28 Sep 2009 18:33:43 +0000 (14:33 -0400)]
remove bad method declaration