horde.git
16 years agoRemove already added resources from the select list.
Michael J. Rubinsky [Sat, 12 Sep 2009 16:04:25 +0000 (12:04 -0400)]
Remove already added resources from the select list.

Also have listResources() return the results keyed by the resource_id

16 years agoMake this "Response", just like the attendee's column
Michael J. Rubinsky [Sat, 12 Sep 2009 15:44:07 +0000 (11:44 -0400)]
Make this "Response", just like the attendee's column

16 years agoMove static resource related methods to Kronolith_Resource::
Michael J. Rubinsky [Sat, 12 Sep 2009 15:38:48 +0000 (11:38 -0400)]
Move static resource related methods to Kronolith_Resource::

16 years agoMore additions based on some discussion with Gunnar in IRC:
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 ;)

16 years agoMove checkResources() to Kronolith::, and out of the concrete Event_Sql driver.
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).

16 years agoRename sql script
Michael J. Rubinsky [Fri, 11 Sep 2009 19:21:27 +0000 (15:21 -0400)]
Rename sql script

16 years agoLots of stuff:
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

16 years agoAdd a link in Kronolith's menu for the resource page
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

16 years agoFix logic and implement a delete() method for removing resources
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

16 years agoClear resources when clearing attendees page as well
Michael J. Rubinsky [Fri, 11 Sep 2009 16:01:38 +0000 (12:01 -0400)]
Clear resources when clearing attendees page as well

16 years agoTweak labels now that these are for resources 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

16 years agoRemove some cruft now that we can do this via the UI properly now.
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.

16 years agoOnly attempt to remove resources from the event if they have actually
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.

16 years agonotify user if a requested resource rejects invitation when saving 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

16 years agoInitial adding of resource to an event from the attendees page.
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.

16 years agoShow only resource calendars on the event form when we are editing a
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.

16 years agoAdd basic permission checking to Kronolith::listResources()
Michael J. Rubinsky [Thu, 10 Sep 2009 14:26:20 +0000 (10:26 -0400)]
Add basic permission checking to Kronolith::listResources()

16 years agoAdd a setResources() method similar to setAttendees() for bulk setting
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

16 years agoremove commented out code
Michael J. Rubinsky [Thu, 10 Sep 2009 14:12:52 +0000 (10:12 -0400)]
remove commented out code

16 years agoMove hasPermisson to the base class, implement ::get() to behave like
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.

16 years agotypos
Michael J. Rubinsky [Wed, 9 Sep 2009 19:30:54 +0000 (15:30 -0400)]
typos

16 years agouse Kronolith::getInternalCalendar() here as well
Michael J. Rubinsky [Wed, 9 Sep 2009 19:30:28 +0000 (15:30 -0400)]
use Kronolith::getInternalCalendar() here as well

16 years agoExperiment with getting either a share or resource here
Michael J. Rubinsky [Wed, 9 Sep 2009 19:10:56 +0000 (15:10 -0400)]
Experiment with getting either a share or resource here

16 years agolistEvents:: isn't detailed enough for this...manually compare
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.

16 years agoAdd resources to list of attendees returned from this method
Michael J. Rubinsky [Wed, 9 Sep 2009 18:48:21 +0000 (14:48 -0400)]
Add resources to list of attendees returned from this method

16 years agoEasier way of exlcuding the current event from checking resource availability.
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.

16 years agoNo autocompletion for resources (yet??)
Michael J. Rubinsky [Wed, 9 Sep 2009 00:01:29 +0000 (20:01 -0400)]
No autocompletion for resources (yet??)

16 years agoClarify why we are doing this bit of code here...
Michael J. Rubinsky [Wed, 9 Sep 2009 00:01:02 +0000 (20:01 -0400)]
Clarify why we are doing this bit of code here...

16 years agoFix passing the event date to the attendee form.
Michael J. Rubinsky [Tue, 8 Sep 2009 23:57:42 +0000 (19:57 -0400)]
Fix passing the event date to the attendee form.

16 years agoparse error
Michael J. Rubinsky [Tue, 8 Sep 2009 17:22:18 +0000 (13:22 -0400)]
parse error

16 years agoProperly pass the calender_id to ::listEvents()
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

16 years agoStqrt hashing out the isFree() method. Remove deprecated Resource.php file, phpdoc
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

16 years agoFor now, don't use autocomplete for resource adding to attendees.inc -
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.

16 years agoresource event delettion, start building a useful resource page...
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.

16 years agoBe sure to load the empty resources array when creating a new event.
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.

16 years agoActually remove this code
Michael J. Rubinsky [Thu, 3 Sep 2009 20:36:15 +0000 (16:36 -0400)]
Actually remove this code

16 years agoMore tweaks/fleshing out:
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.

16 years agoFix method name
Michael J. Rubinsky [Thu, 3 Sep 2009 18:27:34 +0000 (14:27 -0400)]
Fix method name

16 years agoLarge bit of work on Kronolith Resources.
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::)

16 years agotweak panel display when displaying display_cals.
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.

16 years agoReplace calendar panel with a "Return to my calendars" link when displaying display_cals.
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.

16 years agoClarify the use of the display_cal parameter
Michael J. Rubinsky [Wed, 2 Sep 2009 16:43:31 +0000 (12:43 -0400)]
Clarify the use of the display_cal parameter

16 years agoSome ideas on feeling out a UI for administration...some of this will likely change
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

16 years agolistObjects API blurb
Michael J. Rubinsky [Thu, 20 Aug 2009 20:57:19 +0000 (16:57 -0400)]
listObjects API blurb

16 years agoimplement basic listing method...no filters yet.
Michael J. Rubinsky [Wed, 19 Aug 2009 14:47:53 +0000 (10:47 -0400)]
implement basic listing method...no filters yet.

16 years agoUse a static member to hold the Kronolith_Driver object
Michael J. Rubinsky [Wed, 19 Aug 2009 14:28:00 +0000 (10:28 -0400)]
Use a static member to hold the Kronolith_Driver object

16 years agoFirst attempt at displaying resource FreeBusy info on the attendee view
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

16 years agoNeed to move the acceptance/denial of requests to the resource object
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.

16 years agoCheck for cases where resource is not found
Michael J. Rubinsky [Tue, 18 Aug 2009 16:19:30 +0000 (12:19 -0400)]
Check for cases where resource is not found

16 years agoFix column name, check for error from DB
Michael J. Rubinsky [Tue, 18 Aug 2009 16:17:18 +0000 (12:17 -0400)]
Fix column name, check for error from DB

16 years agoBetter field name, add method for retrieving resources, supporting code...
Michael J. Rubinsky [Tue, 18 Aug 2009 16:13:20 +0000 (12:13 -0400)]
Better field name, add method for retrieving resources, supporting code...

16 years agoAllow updating of existing resources, some error checking etc...
Michael J. Rubinsky [Tue, 18 Aug 2009 15:10:52 +0000 (11:10 -0400)]
Allow updating of existing resources, some error checking etc...

16 years agoStart fleshing out the code to implement resources
Michael J. Rubinsky [Mon, 17 Aug 2009 21:06:15 +0000 (17:06 -0400)]
Start fleshing out the code to implement resources

16 years agoadd kronolith_resource table
Michael J. Rubinsky [Mon, 17 Aug 2009 18:37:53 +0000 (14:37 -0400)]
add kronolith_resource table

16 years agoadd sql upgrade script and update creation scripts for resource field
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

16 years agoFlesh out some methods in Event and Driver to deal with auto accepting
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

16 years agoStart stubbing out some ideas for Kronolith_Resource implementation
Michael J. Rubinsky [Mon, 17 Aug 2009 17:06:15 +0000 (13:06 -0400)]
Start stubbing out some ideas for Kronolith_Resource implementation

16 years agoAdd stub for Kronolith_Resource
Michael J. Rubinsky [Fri, 14 Aug 2009 18:55:08 +0000 (14:55 -0400)]
Add stub for Kronolith_Resource

16 years agoRecent Searches was mislabeled as Saved Searches
Michael M Slusarz [Tue, 29 Sep 2009 19:36:56 +0000 (13:36 -0600)]
Recent Searches was mislabeled as Saved Searches

16 years agoTicket #6875: Re-add OR searches to advanced search
Michael M Slusarz [Tue, 29 Sep 2009 19:04:25 +0000 (13:04 -0600)]
Ticket #6875: Re-add OR searches to advanced search

16 years agoYet more Search/Virtual Folder fixes/improvements
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.

16 years agoFix thread image positioning in dimp
Michael M Slusarz [Tue, 29 Sep 2009 04:34:08 +0000 (22:34 -0600)]
Fix thread image positioning in dimp

16 years agoFocus on search criteria field after creation.
Michael M Slusarz [Tue, 29 Sep 2009 04:28:11 +0000 (22:28 -0600)]
Focus on search criteria field after creation.

16 years agoFix missing name parameter
Michael M Slusarz [Tue, 29 Sep 2009 04:10:24 +0000 (22:10 -0600)]
Fix missing name parameter

16 years agoAdd deleted vfolders to eltdiff list.
Michael M Slusarz [Tue, 29 Sep 2009 04:09:57 +0000 (22:09 -0600)]
Add deleted vfolders to eltdiff list.

16 years agoFix English and indenting
Michael M Slusarz [Mon, 28 Sep 2009 23:29:55 +0000 (17:29 -0600)]
Fix English and indenting

16 years agoNeed this more complex way to resize the iframe after all images are loaded
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

16 years agoDon't show info message if part is marked as attachment.
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.

16 years agoAdd AND keyword to search UI
Michael M Slusarz [Mon, 28 Sep 2009 22:26:59 +0000 (16:26 -0600)]
Add AND keyword to search UI

16 years agoBetter naming for this function
Michael M Slusarz [Mon, 28 Sep 2009 22:07:12 +0000 (16:07 -0600)]
Better naming for this function

16 years agoRename Virtual Folder section to Saved Searches
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.

16 years agoAbstract out folder tree image generation.
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.

16 years agoBug #8606: Fix dragging over IFRAMEs
Michael M Slusarz [Mon, 28 Sep 2009 19:23:14 +0000 (13:23 -0600)]
Bug #8606: Fix dragging over IFRAMEs

16 years agotrack Horde_Lock changes
Michael J. Rubinsky [Mon, 28 Sep 2009 17:57:45 +0000 (13:57 -0400)]
track Horde_Lock changes

16 years agoFix replacement string
Michael M Slusarz [Mon, 28 Sep 2009 17:46:17 +0000 (11:46 -0600)]
Fix replacement string

16 years agoAnother attempt at sizing correctly - use entire HTML element instead of BODY tag
Michael M Slusarz [Mon, 28 Sep 2009 17:11:13 +0000 (11:11 -0600)]
Another attempt at sizing correctly - use entire HTML element instead of BODY tag

16 years agoFix DOM traversal
Michael M Slusarz [Mon, 28 Sep 2009 17:10:34 +0000 (11:10 -0600)]
Fix DOM traversal

16 years agoFix hover effect over folders in dimp
Michael M Slusarz [Mon, 28 Sep 2009 06:56:33 +0000 (00:56 -0600)]
Fix hover effect over folders in dimp

16 years agochange title for this icon to "Meeting" instead of the attendee count
Michael J. Rubinsky [Mon, 28 Sep 2009 16:45:06 +0000 (12:45 -0400)]
change title for this icon to "Meeting" instead of the attendee count

16 years agoMake sure $end is a Horde_Date object
Michael J. Rubinsky [Mon, 28 Sep 2009 15:43:30 +0000 (11:43 -0400)]
Make sure $end is a Horde_Date object

16 years agoFix calculating bottom event position.
Jan Schneider [Mon, 21 Sep 2009 17:00:18 +0000 (19:00 +0200)]
Fix calculating bottom event position.

16 years agoFix converting all-day events to regular events.
Jan Schneider [Mon, 21 Sep 2009 16:58:36 +0000 (18:58 +0200)]
Fix converting all-day events to regular events.

16 years agoTicket #8592: Fix resizing height
Michael M Slusarz [Mon, 28 Sep 2009 04:04:35 +0000 (22:04 -0600)]
Ticket #8592: Fix resizing height

16 years agoTicket #8592 - More IFRAME/HTML work
Michael M Slusarz [Mon, 28 Sep 2009 03:12:59 +0000 (21:12 -0600)]
Ticket #8592 - More IFRAME/HTML work

IFRAME & IFRAME data are now loaded on the same page; javascript does
the dynamic addition of the text to the IFRAME.  Saves a server access.
Image block display now works again entirely via javascript, rather than
requiring another server access.

16 years agoRemove unused classes.
Michael M Slusarz [Mon, 28 Sep 2009 02:11:04 +0000 (20:11 -0600)]
Remove unused classes.

16 years agoiPhoto (and Aperture) plugins ca only be compiled as 32 bit at the moment.
Michael J. Rubinsky [Sun, 27 Sep 2009 15:46:54 +0000 (11:46 -0400)]
iPhoto (and Aperture) plugins ca only be compiled as 32 bit at the moment.

16 years agoRemove a bunch of NSLog output, set a DEBUG preprocessor macro for the debug build.
Michael J. Rubinsky [Sat, 26 Sep 2009 16:59:31 +0000 (12:59 -0400)]
Remove a bunch of NSLog output, set a DEBUG preprocessor macro for the debug build.

16 years agoAdd compiled installer package to .gitignore
Michael J. Rubinsky [Sat, 26 Sep 2009 15:26:12 +0000 (11:26 -0400)]
Add compiled installer package to .gitignore

16 years agoAdd PackageMaker script
Michael J. Rubinsky [Sat, 26 Sep 2009 15:23:18 +0000 (11:23 -0400)]
Add PackageMaker script

16 years agoFix logic for redisplaying the remote gallery view if it's already loaded.
Michael J. Rubinsky [Sat, 26 Sep 2009 15:18:03 +0000 (11:18 -0400)]
Fix logic for redisplaying the remote gallery view if it's already loaded.
Tweak some return value types.

16 years agoFix build path (Plugins -> Plug-Ins). Why this isn't standard across Apple's applicat...
Michael J. Rubinsky [Sat, 26 Sep 2009 15:15:36 +0000 (11:15 -0400)]
Fix build path (Plugins -> Plug-Ins). Why this isn't standard across Apple's applications, I don't know.

16 years agoChanges for compiling a native 10.6 version of these plugins.
Michael J. Rubinsky [Sat, 26 Sep 2009 14:23:33 +0000 (10:23 -0400)]
Changes for compiling a native 10.6 version of these plugins.

Replace some method calls that were deprecated in the 10.6 SDK,
add some interface declarations that are now required in 10.6. Add
preprocessor directives to make sure the proper methods are used.

16 years agotweak the build path to work along with the packaging script
Michael J. Rubinsky [Fri, 25 Sep 2009 21:00:04 +0000 (17:00 -0400)]
tweak the build path to work along with the packaging script

16 years agoIf iPhoto cannot locate the original image file, we won't have a valid
Michael J. Rubinsky [Fri, 25 Sep 2009 20:58:23 +0000 (16:58 -0400)]
If iPhoto cannot locate the original image file, we won't have a valid
NSData object for the image data. Also, silence the last compiler warning.

16 years agoRevert "Play around with some bordering in the dimp message list"
Chuck Hagenbuch [Fri, 25 Sep 2009 20:17:52 +0000 (16:17 -0400)]
Revert "Play around with some bordering in the dimp message list"

This reverts commit 8771de77aeb56f74372962183ac89535882762fa.

16 years agoUpdate .gitignore to only ingore top-level lib/ and libs/ directories
Chuck Hagenbuch [Fri, 25 Sep 2009 20:16:02 +0000 (16:16 -0400)]
Update .gitignore to only ingore top-level lib/ and libs/ directories

16 years agoClean up build options, standardize plist entries, add initial try
Michael J. Rubinsky [Fri, 25 Sep 2009 19:02:32 +0000 (15:02 -0400)]
Clean up build options, standardize plist entries, add initial try
at a PackageMaker installer script for iPhoto plugin.

16 years agoInclude these in the main header also
Michael J. Rubinsky [Fri, 25 Sep 2009 18:51:33 +0000 (14:51 -0400)]
Include these in the main header also

16 years agoClean up #import, protect against invalid selectedIndex in combo box.
Michael J. Rubinsky [Fri, 25 Sep 2009 18:50:35 +0000 (14:50 -0400)]
Clean up #import, protect against invalid selectedIndex in combo box.

16 years agoSync changes to AnselKit from iPhoto2Ansel.
Michael J. Rubinsky [Fri, 25 Sep 2009 18:43:45 +0000 (14:43 -0400)]
Sync changes to AnselKit from iPhoto2Ansel.

Don't assume we have a server response.