[commits] Horde-Hatchery branch master updated. a8cc7e6530013a631585a6399f3a37d1ed56c932
Michael Rubinsky
mike at theupstairsroom.com
Tue Sep 29 20:56:29 UTC 2009
The branch "master" has been updated.
The following is a summary of the commits.
from: 0b0306b7fcc26d001ed67b687c26de4cd587a9e8
ae03e26... Add stub for Kronolith_Resource
87d8d94... Start stubbing out some ideas for Kronolith_Resource implementation
2b79e79... Flesh out some methods in Event and Driver to deal with auto accepting resource requests
735c6fd... add sql upgrade script and update creation scripts for resource field
fa82a4c... add kronolith_resource table
666b591... Start fleshing out the code to implement resources
7713b8e... Allow updating of existing resources, some error checking etc...
0c8e207... Better field name, add method for retrieving resources, supporting code...
076235b... Fix column name, check for error from DB
4418d59... Check for cases where resource is not found
809ffc7... Need to move the acceptance/denial of requests to the resource object itself...otherwise, the internal properties array won't be serialized before saving.
6b8c1d5... First attempt at displaying resource FreeBusy info on the attendee view
f8288c2... Use a static member to hold the Kronolith_Driver object
0847363... implement basic listing method...no filters yet.
651112a... listObjects API blurb
b5382cb... Some ideas on feeling out a UI for administration...some of this will likely change
73dd31d... Clarify the use of the display_cal parameter
9e46d9d... Replace calendar panel with a "Return to my calendars" link when displaying display_cals.
e7e9487... tweak panel display when displaying display_cals.
0492dfb... Large bit of work on Kronolith Resources.
fb76e6e... Fix method name
a8e9439... More tweaks/fleshing out:
4aedf37... Actually remove this code
a50a715... Be sure to load the empty resources array when creating a new event.
da2812a... resource event delettion, start building a useful resource page...
591fd87... For now, don't use autocomplete for resource adding to attendees.inc - we will need the resource's uid.
4949ce6... Stqrt hashing out the isFree() method. Remove deprecated Resource.php file, phpdoc
2b5eb29... Properly pass the calender_id to ::listEvents() is_a -> instanceof check for error
62ca84c... parse error
d002f01... Fix passing the event date to the attendee form.
7d70a1a... Clarify why we are doing this bit of code here...
1562b7f... No autocompletion for resources (yet??)
86603fa... Easier way of exlcuding the current event from checking resource availability.
1917b4e... Add resources to list of attendees returned from this method
b048e13... listEvents:: isn't detailed enough for this...manually compare start/end times to determine if an event collides.
7ac69a8... Experiment with getting either a share or resource here
e6b967b... use Kronolith::getInternalCalendar() here as well
5e585df... typos
10bffed... Move hasPermisson to the base class, implement ::get() to behave like a share.
eae9bd8... remove commented out code
1d59877... Add a setResources() method similar to setAttendees() for bulk setting the local resources array
3108dda... Add basic permission checking to Kronolith::listResources()
f270745... Show only resource calendars on the event form when we are editing a resource's calendar.
d4cebfe... Initial adding of resource to an event from the attendees page.
79c28d4... notify user if a requested resource rejects invitation when saving event
cf36209... Only attempt to remove resources from the event if they have actually accepted the event.
2c967b6... Remove some cruft now that we can do this via the UI properly now.
3a4ca91... Tweak labels now that these are for resources as well
a2c8c5a... Clear resources when clearing attendees page as well
46478a2... Fix logic and implement a delete() method for removing resources from storage
3f40ace... Add a link in Kronolith's menu for the resource page
a4703c1... Lots of stuff:
35426f8... Rename sql script
04069c8... Move checkResources() to Kronolith::, and out of the concrete Event_Sql driver.
6323202... 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).
b1a2a58... Move static resource related methods to Kronolith_Resource::
7817346... Make this "Response", just like the attendee's column
b12e031... Remove already added resources from the select list.
b44d18f... Need to move this comparison after the loop.
a185f5b... Notify for acceptance as well
a0f618d... Fix sequence name.
e67e388... Don't open resource calendars in _blank, use the same window
4215f05... Provide feedback on resource availability as soon as it's added to the attendees form.
906fd1b... use Horde_Support_GUID
29b0fd4... Remove max_reservations.
e0f6c64... Clean up a bit.
579ebe8... Removed some cruft from original testing
3a6e9ee... Remove cruft
2037348... Fix variable name
5937926... Refactor a bit.
3878c95... spelling
e65e035... Start fleshing out the K_Resource_Group stuff.
84203ef... typo
6aeb366... remove an errant var_dump
f29ddd0... Split up the checking resoruce response and adding the (accepted) event to the resource's calendar.
59a36c0... Correct conditional that catches conflicts.
ecf39dc... Protect against infinite recursion in case someone is silly enough to add a resource to one of the resource's own events.
c909aaf... Move this to the base class.
79218fe... More work on resource groups. Most of the backend support for resource groups is implemented, but there is no GUI support yet.
61fdc49... Better check for valid resource
1e83f8d... UI support for creating and maintaining resource groups.
9818f96... Add resources to the event view as well
175d88f... Remove listResources from Kronolth_Resource and refactor code to use Kronolith_Driver_Resource::listResources instead.
2ca9b6f... Use Horde_Lock to lock the resource calendar.
b0e1d67... Add sql script updates
09797b5... resource scheduling blurb
dc92c55... listEvents:: isn't detailed enough for this...manually compare start/end times to determine if an event collides.
a8bb05d... Experiment with getting either a share or resource here
ad0cf53... typos
8487abd... Move hasPermisson to the base class, implement ::get() to behave like a share.
cca9cd6... Add basic permission checking to Kronolith::listResources()
881f186... Initial adding of resource to an event from the attendees page.
51de749... notify user if a requested resource rejects invitation when saving event
ce180f2... Only attempt to remove resources from the event if they have actually accepted the event.
1455101... Add a link in Kronolith's menu for the resource page
91ee4c1... Lots of stuff:
3939417... Rename sql script
638ca83... 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).
7103f47... Move static resource related methods to Kronolith_Resource::
db71a33... Make this "Response", just like the attendee's column
38efa34... Need to move this comparison after the loop.
3b23a72... Notify for acceptance as well
a20266f... Don't open resource calendars in _blank, use the same window
133abb3... Provide feedback on resource availability as soon as it's added to the attendees form.
adff9b1... Remove max_reservations.
2cb7da5... Clean up a bit.
8b175c0... Removed some cruft from original testing
e076395... Refactor a bit.
0fda7b8... spelling
17d9c0a... Start fleshing out the K_Resource_Group stuff.
1bc45e1... Correct conditional that catches conflicts.
9203540... Move this to the base class.
dd10be6... UI support for creating and maintaining resource groups.
3a1be0c... Remove listResources from Kronolth_Resource and refactor code to use Kronolith_Driver_Resource::listResources instead.
a8cc7e6... Fix some things from a pretty mangled merge
-----------------------------------------------------------------------
commit ae03e2682f2804db78487c01168b5a9058e07fb7
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Aug 14 14:55:08 2009 -0400
Add stub for Kronolith_Resource
kronolith/lib/Resource/Resource.php | 89 +++++++++++++++++++++++++++++++++++
1 files changed, 89 insertions(+), 0 deletions(-)
create mode 100644 kronolith/lib/Resource/Resource.php
http://git.horde.org/co.php/kronolith/lib/Resource/Resource.php?rt=horde-hatchery&r=ae03e2682f2804db78487c01168b5a9058e07fb7
-----------------------------------------------------------------------
commit 87d8d94f8dd51f118828972bb269505df88da5cd
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 17 13:06:15 2009 -0400
Start stubbing out some ideas for Kronolith_Resource implementation
kronolith/lib/Resource.php | 40 ++++++++++++++++
kronolith/lib/Resource/Base.php | 76 +++++++++++++++++++++++++++++
kronolith/lib/Resource/Resource.php | 89 -----------------------------------
3 files changed, 116 insertions(+), 89 deletions(-)
create mode 100644 kronolith/lib/Resource.php
create mode 100644 kronolith/lib/Resource/Base.php
delete mode 100644 kronolith/lib/Resource/Resource.php
http://git.horde.org/co.php/kronolith/lib/Resource.php?rt=horde-hatchery&r=87d8d94f8dd51f118828972bb269505df88da5cd
http://git.horde.org/co.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r=87d8d94f8dd51f118828972bb269505df88da5cd
http://git.horde.org/diff.php/kronolith/lib/Resource/Resource.php?rt=horde-hatchery&r1=ae03e2682f2804db78487c01168b5a9058e07fb7&r2=87d8d94f8dd51f118828972bb269505df88da5cd
-----------------------------------------------------------------------
commit 2b79e7914be31c9181abcce664520d5e26366712
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 17 13:40:06 2009 -0400
Flesh out some methods in Event and Driver to deal with auto accepting
resource requests
kronolith/lib/Driver/Sql.php | 10 ++++++
kronolith/lib/Event.php | 68 +++++++++++++++++++++++++++++++++++++++
kronolith/lib/Event/Sql.php | 4 ++
kronolith/lib/Resource/Base.php | 5 +--
4 files changed, 83 insertions(+), 4 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=faf3dd69fb00ec2f73046aa5f29968af9648d734&r2=2b79e7914be31c9181abcce664520d5e26366712
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=dd6d2b6d58fd06d75f82895c3cca4a1caffb3f66&r2=2b79e7914be31c9181abcce664520d5e26366712
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=8c43935f46a0c8968926cb413d5fa6e726d2805b&r2=2b79e7914be31c9181abcce664520d5e26366712
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=87d8d94f8dd51f118828972bb269505df88da5cd&r2=2b79e7914be31c9181abcce664520d5e26366712
-----------------------------------------------------------------------
commit 735c6fdfbd2844064ca101cd49887b8dc7388015
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 17 13:43:18 2009 -0400
add sql upgrade script and update creation scripts for resource field
kronolith/scripts/sql/kronolith.mssql.sql | 1 +
kronolith/scripts/sql/kronolith.mysql.sql | 1 +
kronolith/scripts/sql/kronolith.oci8.sql | 1 +
kronolith/scripts/sql/kronolith.pgsql.sql | 1 +
kronolith/scripts/sql/kronolith.sql | 1 +
kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql | 1 +
6 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.mssql.sql?rt=horde-hatchery&r1=294035fefa8db80d8ccdf2b7fb86fbea44f60808&r2=735c6fdfbd2844064ca101cd49887b8dc7388015
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.mysql.sql?rt=horde-hatchery&r1=294035fefa8db80d8ccdf2b7fb86fbea44f60808&r2=735c6fdfbd2844064ca101cd49887b8dc7388015
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.oci8.sql?rt=horde-hatchery&r1=294035fefa8db80d8ccdf2b7fb86fbea44f60808&r2=735c6fdfbd2844064ca101cd49887b8dc7388015
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.pgsql.sql?rt=horde-hatchery&r1=294035fefa8db80d8ccdf2b7fb86fbea44f60808&r2=735c6fdfbd2844064ca101cd49887b8dc7388015
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.sql?rt=horde-hatchery&r1=294035fefa8db80d8ccdf2b7fb86fbea44f60808&r2=735c6fdfbd2844064ca101cd49887b8dc7388015
http://git.horde.org/co.php/kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql?rt=horde-hatchery&r=735c6fdfbd2844064ca101cd49887b8dc7388015
-----------------------------------------------------------------------
commit fa82a4caa07630ba88a7761ef90bce5bed625cc8
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 17 14:37:53 2009 -0400
add kronolith_resource table
kronolith/scripts/sql/kronolith.sql | 10 ++++++++++
kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql | 9 +++++++++
2 files changed, 19 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.sql?rt=horde-hatchery&r1=735c6fdfbd2844064ca101cd49887b8dc7388015&r2=fa82a4caa07630ba88a7761ef90bce5bed625cc8
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql?rt=horde-hatchery&r1=735c6fdfbd2844064ca101cd49887b8dc7388015&r2=fa82a4caa07630ba88a7761ef90bce5bed625cc8
-----------------------------------------------------------------------
commit 666b5915371bc69503a72018a8df6a04b8f5f1a8
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Aug 17 17:06:15 2009 -0400
Start fleshing out the code to implement resources
kronolith/lib/Driver/Sql.php | 9 +++++
kronolith/lib/Resource.php | 5 +++
kronolith/lib/Resource/Single.php | 69 +++++++++++++++++++++++++++++++++++++
3 files changed, 83 insertions(+), 0 deletions(-)
create mode 100644 kronolith/lib/Resource/Single.php
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=2b79e7914be31c9181abcce664520d5e26366712&r2=666b5915371bc69503a72018a8df6a04b8f5f1a8
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=87d8d94f8dd51f118828972bb269505df88da5cd&r2=666b5915371bc69503a72018a8df6a04b8f5f1a8
http://git.horde.org/co.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r=666b5915371bc69503a72018a8df6a04b8f5f1a8
-----------------------------------------------------------------------
commit 7713b8e5047c35f794e8c15080be330fff3e28ae
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Aug 18 11:10:52 2009 -0400
Allow updating of existing resources, some error checking etc...
kronolith/lib/Driver/Sql.php | 34 +++++++++++++++++++++++++++++-----
kronolith/lib/Resource.php | 2 +-
kronolith/lib/Resource/Base.php | 21 +++++++++++++++++++--
kronolith/lib/Resource/Single.php | 9 +++++++++
kronolith/resources.php | 17 +++++++++++++++++
5 files changed, 75 insertions(+), 8 deletions(-)
create mode 100644 kronolith/resources.php
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=666b5915371bc69503a72018a8df6a04b8f5f1a8&r2=7713b8e5047c35f794e8c15080be330fff3e28ae
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=666b5915371bc69503a72018a8df6a04b8f5f1a8&r2=7713b8e5047c35f794e8c15080be330fff3e28ae
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=2b79e7914be31c9181abcce664520d5e26366712&r2=7713b8e5047c35f794e8c15080be330fff3e28ae
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=666b5915371bc69503a72018a8df6a04b8f5f1a8&r2=7713b8e5047c35f794e8c15080be330fff3e28ae
http://git.horde.org/co.php/kronolith/resources.php?rt=horde-hatchery&r=7713b8e5047c35f794e8c15080be330fff3e28ae
-----------------------------------------------------------------------
commit 0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Aug 18 12:13:20 2009 -0400
Better field name, add method for retrieving resources, supporting code...
kronolith/lib/Driver/Sql.php | 17 ++++++++-
kronolith/lib/Resource.php | 7 ++++
kronolith/lib/Resource/Base.php | 10 +++---
kronolith/lib/Resource/Single.php | 6 ++--
kronolith/resources.php | 9 +++--
kronolith/scripts/sql/kronolith.sql | 2 +-
kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql | 4 +-
7 files changed, 39 insertions(+), 16 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=7713b8e5047c35f794e8c15080be330fff3e28ae&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=7713b8e5047c35f794e8c15080be330fff3e28ae&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=7713b8e5047c35f794e8c15080be330fff3e28ae&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=7713b8e5047c35f794e8c15080be330fff3e28ae&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=7713b8e5047c35f794e8c15080be330fff3e28ae&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.sql?rt=horde-hatchery&r1=fa82a4caa07630ba88a7761ef90bce5bed625cc8&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql?rt=horde-hatchery&r1=fa82a4caa07630ba88a7761ef90bce5bed625cc8&r2=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8
-----------------------------------------------------------------------
commit 076235bd39232c88c29d57b4e97059f3b7781210
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Aug 18 12:17:18 2009 -0400
Fix column name, check for error from DB
kronolith/lib/Driver/Sql.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=076235bd39232c88c29d57b4e97059f3b7781210
-----------------------------------------------------------------------
commit 4418d5928d589b01336504e9c3db5aae52f11013
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Aug 18 12:19:30 2009 -0400
Check for cases where resource is not found
kronolith/lib/Driver/Sql.php | 4 ++++
kronolith/resources.php | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=076235bd39232c88c29d57b4e97059f3b7781210&r2=4418d5928d589b01336504e9c3db5aae52f11013
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=4418d5928d589b01336504e9c3db5aae52f11013
-----------------------------------------------------------------------
commit 809ffc71da48c8709266c77bb0ee5e659ff32463
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Aug 18 16:05:19 2009 -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.
kronolith/lib/Driver/Sql.php | 13 +----------
kronolith/lib/Event.php | 2 +-
kronolith/lib/Event/Sql.php | 22 +++++++++++++++++++
kronolith/lib/Resource.php | 15 ++++++++++++-
kronolith/lib/Resource/Base.php | 8 +++---
kronolith/lib/Resource/Single.php | 41 +++++++++++++++++++++---------------
kronolith/resources.php | 8 +++++-
7 files changed, 73 insertions(+), 36 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=4418d5928d589b01336504e9c3db5aae52f11013&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=2b79e7914be31c9181abcce664520d5e26366712&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=2b79e7914be31c9181abcce664520d5e26366712&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=4418d5928d589b01336504e9c3db5aae52f11013&r2=809ffc71da48c8709266c77bb0ee5e659ff32463
-----------------------------------------------------------------------
commit 6b8c1d5c45edc2e5f30c2ba081f81022cb434380
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Aug 18 20:16:39 2009 -0400
First attempt at displaying resource FreeBusy info on the attendee view
kronolith/attendees.php | 13 ++++++++++++
kronolith/lib/Driver/Sql.php | 20 +++++++++++++++--
kronolith/lib/FreeBusy.php | 15 ++++++++++---
kronolith/lib/FreeBusy/View.php | 27 +++++++++++++++++++++++++
kronolith/lib/Resource.php | 8 +++++++
kronolith/lib/Resource/Single.php | 6 ++++-
kronolith/lib/View/EditEvent.php | 2 +-
kronolith/resources.php | 4 ++-
kronolith/templates/attendees/attendees.inc | 29 +++++++++++++++++++++++++++
9 files changed, 114 insertions(+), 10 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=7faf233d51498eb0122c4efd6bf23bb2138a0419&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/lib/FreeBusy.php?rt=horde-hatchery&r1=44dbd7abb8dfa3815ef26950d6c9c079e3a04fe4&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/lib/FreeBusy/View.php?rt=horde-hatchery&r1=9c92eb52a1b55e618db1b84fe3304dcdc6238494&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/lib/View/EditEvent.php?rt=horde-hatchery&r1=afcc04310270e40f5383c6269003d56aedbf79b9&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=78fd3f9eaf63e8d7c79a458a73e2a14a3ae7ca97&r2=6b8c1d5c45edc2e5f30c2ba081f81022cb434380
-----------------------------------------------------------------------
commit f8288c29f868f731287609a2cb60b3e462dc28fa
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Aug 19 10:28:00 2009 -0400
Use a static member to hold the Kronolith_Driver object
kronolith/lib/Resource.php | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=f8288c29f868f731287609a2cb60b3e462dc28fa
-----------------------------------------------------------------------
commit 084736318e52e00e7024405dc8ae136fea68be15
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Aug 19 10:47:53 2009 -0400
implement basic listing method...no filters yet.
kronolith/lib/Driver/Sql.php | 35 +++++++++++++++++++++++++++++++++++
kronolith/lib/Resource.php | 10 ++++++++--
kronolith/lib/Resource/Single.php | 5 ++---
kronolith/resources.php | 15 +++++++++------
4 files changed, 54 insertions(+), 11 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=084736318e52e00e7024405dc8ae136fea68be15
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=f8288c29f868f731287609a2cb60b3e462dc28fa&r2=084736318e52e00e7024405dc8ae136fea68be15
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=084736318e52e00e7024405dc8ae136fea68be15
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=084736318e52e00e7024405dc8ae136fea68be15
-----------------------------------------------------------------------
commit 651112a55f84493799f59ec7b5bdcc8aa61361f0
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Aug 20 16:57:19 2009 -0400
listObjects API blurb
turba/docs/CHANGES | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/turba/docs/CHANGES?rt=horde-hatchery&r1=9f18210886cb226b13faeaeecd7f02a40091282a&r2=651112a55f84493799f59ec7b5bdcc8aa61361f0
-----------------------------------------------------------------------
commit b5382cbf825a3e75d48c01bb20423f18f3d6581e
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Aug 20 19:13:36 2009 -0400
Some ideas on feeling out a UI for administration...some of this will likely change
kronolith/attendees.php | 4 ++++
kronolith/lib/Driver/Sql.php | 6 +++---
kronolith/lib/Kronolith.php | 6 ++++++
kronolith/lib/Resource.php | 11 ++++-------
kronolith/resources.php | 18 +++++++++---------
kronolith/templates/attendees/attendees.inc | 21 +++++++++++++++++++--
6 files changed, 45 insertions(+), 21 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=b5382cbf825a3e75d48c01bb20423f18f3d6581e
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=084736318e52e00e7024405dc8ae136fea68be15&r2=b5382cbf825a3e75d48c01bb20423f18f3d6581e
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=94553bd518124a2f1d9347f618077e313b1dcb5c&r2=b5382cbf825a3e75d48c01bb20423f18f3d6581e
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=084736318e52e00e7024405dc8ae136fea68be15&r2=b5382cbf825a3e75d48c01bb20423f18f3d6581e
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=084736318e52e00e7024405dc8ae136fea68be15&r2=b5382cbf825a3e75d48c01bb20423f18f3d6581e
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=b5382cbf825a3e75d48c01bb20423f18f3d6581e
-----------------------------------------------------------------------
commit 73dd31d6b5185e9bbc0f755c11234e793516f43e
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 2 12:43:31 2009 -0400
Clarify the use of the display_cal parameter
kronolith/lib/Kronolith.php | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=b5382cbf825a3e75d48c01bb20423f18f3d6581e&r2=73dd31d6b5185e9bbc0f755c11234e793516f43e
-----------------------------------------------------------------------
commit 9e46d9def4c5dd494757c6276b41a9a103a661ac
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 2 15:24:47 2009 -0400
Replace calendar panel with a "Return to my calendars" link when displaying display_cals.
kronolith/templates/panel.inc | 5 +++++
kronolith/themes/screen.css | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/templates/panel.inc?rt=horde-hatchery&r1=2658747347eb37cb74a565bf151b407fe4f25283&r2=9e46d9def4c5dd494757c6276b41a9a103a661ac
http://git.horde.org/diff.php/kronolith/themes/screen.css?rt=horde-hatchery&r1=cdae8ba3523118676196d6bb6f2ed7685d760c6a&r2=9e46d9def4c5dd494757c6276b41a9a103a661ac
-----------------------------------------------------------------------
commit e7e948765b1e4abd018e8ef161132c48ae2c6313
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 2 16:18:57 2009 -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.
kronolith/templates/panel.inc | 5 -----
kronolith/themes/screen.css | 2 +-
2 files changed, 1 insertions(+), 6 deletions(-)
http://git.horde.org/diff.php/kronolith/templates/panel.inc?rt=horde-hatchery&r1=9e46d9def4c5dd494757c6276b41a9a103a661ac&r2=e7e948765b1e4abd018e8ef161132c48ae2c6313
http://git.horde.org/diff.php/kronolith/themes/screen.css?rt=horde-hatchery&r1=9e46d9def4c5dd494757c6276b41a9a103a661ac&r2=e7e948765b1e4abd018e8ef161132c48ae2c6313
-----------------------------------------------------------------------
commit 0492dfb98baa33c58936ebcb087439ac58128e5b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 3 13:23:22 2009 -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::)
kronolith/lib/Driver/Resource.php | 467 +++++++++++++++++++++++++++++++
kronolith/lib/Driver/Sql.php | 107 +-------
kronolith/lib/Event.php | 2 +-
kronolith/lib/Event/Kolab.php | 20 ++
kronolith/lib/Event/Resource.php | 219 +++++++++++++++
kronolith/lib/Event/Sql.php | 2 +-
kronolith/lib/FreeBusy.php | 2 +-
kronolith/lib/Kronolith.php | 75 +++++-
kronolith/lib/Resource.php | 88 ------
kronolith/lib/Resource/Single.php | 9 +-
kronolith/lib/View/Month.php | 2 +-
kronolith/resources.php | 18 +-
kronolith/templates/calendar_titles.inc | 6 +
13 files changed, 805 insertions(+), 212 deletions(-)
create mode 100644 kronolith/lib/Driver/Resource.php
create mode 100644 kronolith/lib/Event/Resource.php
delete mode 100644 kronolith/lib/Resource.php
http://git.horde.org/co.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=b5382cbf825a3e75d48c01bb20423f18f3d6581e&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Event/Kolab.php?rt=horde-hatchery&r1=8c43935f46a0c8968926cb413d5fa6e726d2805b&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/co.php/kronolith/lib/Event/Resource.php?rt=horde-hatchery&r=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/FreeBusy.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=73dd31d6b5185e9bbc0f755c11234e793516f43e&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=b5382cbf825a3e75d48c01bb20423f18f3d6581e&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=084736318e52e00e7024405dc8ae136fea68be15&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/lib/View/Month.php?rt=horde-hatchery&r1=87077bc57ebac466431554555675917990bc4289&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=b5382cbf825a3e75d48c01bb20423f18f3d6581e&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
http://git.horde.org/diff.php/kronolith/templates/calendar_titles.inc?rt=horde-hatchery&r1=c55a8e85b3baa9773aacc458cb381d9dbf87c8a5&r2=0492dfb98baa33c58936ebcb087439ac58128e5b
-----------------------------------------------------------------------
commit fb76e6ed89f97ba7696140725a15c8083d591a25
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 3 14:27:34 2009 -0400
Fix method name
kronolith/attendees.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=b5382cbf825a3e75d48c01bb20423f18f3d6581e&r2=fb76e6ed89f97ba7696140725a15c8083d591a25
-----------------------------------------------------------------------
commit a8e9439900529aab7a9d3d1ede3e80c7de6184e1
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 3 16:34:20 2009 -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.
kronolith/attendees.php | 12 +++++---
kronolith/calendars/index.php | 6 ++++
kronolith/delete.php | 26 ++++++++++++++++---
kronolith/lib/Driver/Resource.php | 35 ++++++++++++++++++++-----
kronolith/lib/Driver/Sql.php | 9 ++++++
kronolith/lib/Event/Kolab.php | 20 --------------
kronolith/lib/Event/Sql.php | 2 +-
kronolith/lib/Kronolith.php | 35 +++++++++++++++----------
kronolith/lib/Resource.php | 42 +++++++++++++++++++++++++++++++
kronolith/lib/Resource/Base.php | 1 +
kronolith/templates/calendar_list.php | 19 ++++++++++++++
kronolith/templates/calendar_titles.inc | 3 +-
12 files changed, 158 insertions(+), 52 deletions(-)
create mode 100644 kronolith/lib/Resource.php
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=fb76e6ed89f97ba7696140725a15c8083d591a25&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/calendars/index.php?rt=horde-hatchery&r1=8411e034963701c9c289e49421d05154f3fcdf57&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/delete.php?rt=horde-hatchery&r1=9ce0efd60fe3c67658b828cb41a36f332b7918c1&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Event/Kolab.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=809ffc71da48c8709266c77bb0ee5e659ff32463&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/templates/calendar_list.php?rt=horde-hatchery&r1=0ef9cfbfe2160bdf9a08349210eca82b15daf72f&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
http://git.horde.org/diff.php/kronolith/templates/calendar_titles.inc?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=a8e9439900529aab7a9d3d1ede3e80c7de6184e1
-----------------------------------------------------------------------
commit 4aedf3771e023bf2586c2b684069650cd420f667
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 3 16:36:15 2009 -0400
Actually remove this code
kronolith/lib/Kronolith.php | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=4aedf3771e023bf2586c2b684069650cd420f667
-----------------------------------------------------------------------
commit a50a71538f2c36350fe57197e13273db73223b4c
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 3 18:39:30 2009 -0400
Be sure to load the empty resources array when creating a new event.
kronolith/new.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/new.php?rt=horde-hatchery&r1=afcc04310270e40f5383c6269003d56aedbf79b9&r2=a50a71538f2c36350fe57197e13273db73223b4c
-----------------------------------------------------------------------
commit da2812a55a55da147580f9ca3002c42a307fb1f9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 3 20:08:49 2009 -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.
kronolith/calendars/index.php | 6 ----
kronolith/lib/Driver/Resource.php | 32 ++++++++++++++++---
kronolith/lib/Driver/Sql.php | 3 +-
kronolith/lib/Event.php | 4 +-
kronolith/lib/Event/Sql.php | 2 +-
kronolith/lib/Kronolith.php | 3 ++
kronolith/lib/Resource/Single.php | 6 ++-
kronolith/lib/View/Week.php | 2 +-
kronolith/resources.php | 60 +++++++++++++++++++++++++++++++++++--
9 files changed, 97 insertions(+), 21 deletions(-)
http://git.horde.org/diff.php/kronolith/calendars/index.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=4aedf3771e023bf2586c2b684069650cd420f667&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/lib/View/Week.php?rt=horde-hatchery&r1=87077bc57ebac466431554555675917990bc4289&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=da2812a55a55da147580f9ca3002c42a307fb1f9
-----------------------------------------------------------------------
commit 591fd87a2e24037f4178ada02f6b553c16bfc462
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 12:43:07 2009 -0400
For now, don't use autocomplete for resource adding to attendees.inc -
we will need the resource's uid.
kronolith/templates/attendees/attendees.inc | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=b5382cbf825a3e75d48c01bb20423f18f3d6581e&r2=591fd87a2e24037f4178ada02f6b553c16bfc462
-----------------------------------------------------------------------
commit 4949ce6b5caaae40c3a32d541aa18450b7330bc6
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 12:44:47 2009 -0400
Stqrt hashing out the isFree() method. Remove deprecated Resource.php file, phpdoc
kronolith/lib/Event/Sql.php | 2 +-
kronolith/lib/Resource.php | 42 -------------------------------------
kronolith/lib/Resource/Single.php | 26 ++++++++++++++++++++++
kronolith/resources.php | 8 +++---
4 files changed, 31 insertions(+), 47 deletions(-)
delete mode 100644 kronolith/lib/Resource.php
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=4949ce6b5caaae40c3a32d541aa18450b7330bc6
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=4949ce6b5caaae40c3a32d541aa18450b7330bc6
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=4949ce6b5caaae40c3a32d541aa18450b7330bc6
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=4949ce6b5caaae40c3a32d541aa18450b7330bc6
-----------------------------------------------------------------------
commit 2b5eb29a822d89788c042db15c756aa320c26ca9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 13:20:27 2009 -0400
Properly pass the calender_id to ::listEvents()
is_a -> instanceof
check for error
kronolith/lib/Resource/Single.php | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=4949ce6b5caaae40c3a32d541aa18450b7330bc6&r2=2b5eb29a822d89788c042db15c756aa320c26ca9
-----------------------------------------------------------------------
commit 62ca84c277915c8b9065f347988d14bf819aecae
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 13:22:18 2009 -0400
parse error
kronolith/lib/Resource/Single.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=2b5eb29a822d89788c042db15c756aa320c26ca9&r2=62ca84c277915c8b9065f347988d14bf819aecae
-----------------------------------------------------------------------
commit d002f01be42b28d3dba555d34d39d611663d6133
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 19:57:42 2009 -0400
Fix passing the event date to the attendee form.
kronolith/attendees.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=d002f01be42b28d3dba555d34d39d611663d6133
-----------------------------------------------------------------------
commit 7d70a1a4e7ed86835311d9fad21235e8d0bcd5be
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 20:01:02 2009 -0400
Clarify why we are doing this bit of code here...
kronolith/lib/Event/Sql.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=4949ce6b5caaae40c3a32d541aa18450b7330bc6&r2=7d70a1a4e7ed86835311d9fad21235e8d0bcd5be
-----------------------------------------------------------------------
commit 1562b7f88259fcc5800807c7376ae7c21203abbb
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 20:01:29 2009 -0400
No autocompletion for resources (yet??)
kronolith/attendees.php | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=d002f01be42b28d3dba555d34d39d611663d6133&r2=1562b7f88259fcc5800807c7376ae7c21203abbb
-----------------------------------------------------------------------
commit 86603fa19971fc310bf10ccf074688d35a93a22f
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 8 20:02:28 2009 -0400
Easier way of exlcuding the current event from checking resource availability.
kronolith/lib/Resource/Single.php | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=62ca84c277915c8b9065f347988d14bf819aecae&r2=86603fa19971fc310bf10ccf074688d35a93a22f
-----------------------------------------------------------------------
commit 1917b4e44444d469e6876b31af3622c5a230a201
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 14:48:21 2009 -0400
Add resources to list of attendees returned from this method
kronolith/lib/Kronolith.php | 28 ++++++++++++++++++++--------
1 files changed, 20 insertions(+), 8 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=1917b4e44444d469e6876b31af3622c5a230a201
-----------------------------------------------------------------------
commit b048e13c30b7ed700cc234b109f629ca465bb60c
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 14:49:02 2009 -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.
kronolith/lib/Resource/Single.php | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=86603fa19971fc310bf10ccf074688d35a93a22f&r2=b048e13c30b7ed700cc234b109f629ca465bb60c
-----------------------------------------------------------------------
commit 7ac69a8d7cadb211b89821e39011447d04ff0590
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:10:56 2009 -0400
Experiment with getting either a share or resource here
kronolith/edit.php | 7 ++++---
kronolith/lib/Kronolith.php | 12 ++++++++++++
2 files changed, 16 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/edit.php?rt=horde-hatchery&r1=d58245fa6817cbbf97fc5169615794d0232ff08f&r2=7ac69a8d7cadb211b89821e39011447d04ff0590
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=1917b4e44444d469e6876b31af3622c5a230a201&r2=7ac69a8d7cadb211b89821e39011447d04ff0590
-----------------------------------------------------------------------
commit e6b967bde6ef65d16d9bbe6b94c9c7347473b868
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:30:28 2009 -0400
use Kronolith::getInternalCalendar() here as well
kronolith/add.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/add.php?rt=horde-hatchery&r1=9ce0efd60fe3c67658b828cb41a36f332b7918c1&r2=e6b967bde6ef65d16d9bbe6b94c9c7347473b868
-----------------------------------------------------------------------
commit 5e585dfa024e5170927b30d9ce06355301c4cd1b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:30:54 2009 -0400
typos
kronolith/lib/Kronolith.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=7ac69a8d7cadb211b89821e39011447d04ff0590&r2=5e585dfa024e5170927b30d9ce06355301c4cd1b
-----------------------------------------------------------------------
commit 10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:31:28 2009 -0400
Move hasPermisson to the base class, implement ::get() to behave like
a share.
kronolith/lib/Resource/Base.php | 32 ++++++++++++++++++++++++++++++++
kronolith/lib/Resource/Single.php | 17 -----------------
kronolith/resources.php | 8 ++++----
kronolith/templates/edit/edit.inc | 34 ++++++++++++++++++++++------------
4 files changed, 58 insertions(+), 33 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=b048e13c30b7ed700cc234b109f629ca465bb60c&r2=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=4949ce6b5caaae40c3a32d541aa18450b7330bc6&r2=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211
http://git.horde.org/diff.php/kronolith/templates/edit/edit.inc?rt=horde-hatchery&r1=2255ebdd05701fdcc59b1cde670ada1d0a1cad45&r2=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211
-----------------------------------------------------------------------
commit eae9bd8d7790d2099582fe5da36ba070f8accc05
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:12:52 2009 -0400
remove commented out code
kronolith/edit.php | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/edit.php?rt=horde-hatchery&r1=7ac69a8d7cadb211b89821e39011447d04ff0590&r2=eae9bd8d7790d2099582fe5da36ba070f8accc05
-----------------------------------------------------------------------
commit 1d598770fdcc34eb9af87af62283dcd0519c1443
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:13:52 2009 -0400
Add a setResources() method similar to setAttendees() for bulk setting
the local resources array
kronolith/lib/Event.php | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=1d598770fdcc34eb9af87af62283dcd0519c1443
-----------------------------------------------------------------------
commit 3108ddac250929b6237f299d53a96bcdea819272
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:26:20 2009 -0400
Add basic permission checking to Kronolith::listResources()
kronolith/lib/Kronolith.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=5e585dfa024e5170927b30d9ce06355301c4cd1b&r2=3108ddac250929b6237f299d53a96bcdea819272
-----------------------------------------------------------------------
commit f270745159f84577ab4a82235a4a3b8cf171c730
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:27:44 2009 -0400
Show only resource calendars on the event form when we are editing a
resource's calendar.
kronolith/templates/edit/edit.inc | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/templates/edit/edit.inc?rt=horde-hatchery&r1=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211&r2=f270745159f84577ab4a82235a4a3b8cf171c730
-----------------------------------------------------------------------
commit d4cebfefd4aebb852405d500720dc2300735ab92
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:28:57 2009 -0400
Initial adding of resource to an event from the attendees page.
kronolith/attendees.php | 138 +++++++++++++++------------
kronolith/templates/attendees/attendees.inc | 16 +++-
2 files changed, 92 insertions(+), 62 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=1562b7f88259fcc5800807c7376ae7c21203abbb&r2=d4cebfefd4aebb852405d500720dc2300735ab92
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=591fd87a2e24037f4178ada02f6b553c16bfc462&r2=d4cebfefd4aebb852405d500720dc2300735ab92
-----------------------------------------------------------------------
commit 79c28d4533a4d50b7e92aa7a4c5dd4b4388c961a
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 12:11:12 2009 -0400
notify user if a requested resource rejects invitation when saving event
kronolith/add.php | 1 +
kronolith/edit.php | 2 ++
kronolith/lib/Kronolith.php | 23 +++++++++++++++++++++++
3 files changed, 26 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/add.php?rt=horde-hatchery&r1=e6b967bde6ef65d16d9bbe6b94c9c7347473b868&r2=79c28d4533a4d50b7e92aa7a4c5dd4b4388c961a
http://git.horde.org/diff.php/kronolith/edit.php?rt=horde-hatchery&r1=eae9bd8d7790d2099582fe5da36ba070f8accc05&r2=79c28d4533a4d50b7e92aa7a4c5dd4b4388c961a
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=3108ddac250929b6237f299d53a96bcdea819272&r2=79c28d4533a4d50b7e92aa7a4c5dd4b4388c961a
-----------------------------------------------------------------------
commit cf362090da5b6c4117157e38de1a365317704e58
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 12:12:20 2009 -0400
Only attempt to remove resources from the event if they have actually
accepted the event.
kronolith/lib/Driver/Sql.php | 8 +++++---
kronolith/lib/Resource/Single.php | 11 +++++------
2 files changed, 10 insertions(+), 9 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=cf362090da5b6c4117157e38de1a365317704e58
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211&r2=cf362090da5b6c4117157e38de1a365317704e58
-----------------------------------------------------------------------
commit 2c967b6ad5b0460ced671bb8153cce339ca76731
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 12:13:02 2009 -0400
Remove some cruft now that we can do this via the UI properly now.
kronolith/resources.php | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211&r2=2c967b6ad5b0460ced671bb8153cce339ca76731
-----------------------------------------------------------------------
commit 3a4ca91a8b30d0af71901120ce94b35a0e492b92
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 12:13:46 2009 -0400
Tweak labels now that these are for resources as well
kronolith/templates/attendees/attendees.inc | 2 +-
kronolith/templates/edit/edit.inc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=d4cebfefd4aebb852405d500720dc2300735ab92&r2=3a4ca91a8b30d0af71901120ce94b35a0e492b92
http://git.horde.org/diff.php/kronolith/templates/edit/edit.inc?rt=horde-hatchery&r1=f270745159f84577ab4a82235a4a3b8cf171c730&r2=3a4ca91a8b30d0af71901120ce94b35a0e492b92
-----------------------------------------------------------------------
commit a2c8c5a002b3faf8740380619acb52c45f25e003
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 12:01:38 2009 -0400
Clear resources when clearing attendees page as well
kronolith/attendees.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=d4cebfefd4aebb852405d500720dc2300735ab92&r2=a2c8c5a002b3faf8740380619acb52c45f25e003
-----------------------------------------------------------------------
commit 46478a2724e14804ca94123a050606f39cb28ace
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 12:02:43 2009 -0400
Fix logic and implement a delete() method for removing resources
from storage
kronolith/lib/Driver/Resource.php | 33 ++++++++++++++++++++++++++++++---
1 files changed, 30 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=da2812a55a55da147580f9ca3002c42a307fb1f9&r2=46478a2724e14804ca94123a050606f39cb28ace
-----------------------------------------------------------------------
commit 3f40acee07e3cff4e4adec514137680e7a5aab4a
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 12:03:49 2009 -0400
Add a link in Kronolith's menu for the resource page
kronolith/lib/Kronolith.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=79c28d4533a4d50b7e92aa7a4c5dd4b4388c961a&r2=3f40acee07e3cff4e4adec514137680e7a5aab4a
-----------------------------------------------------------------------
commit a4703c1673eb838b565bd5a416963ade00059eaa
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 15:09:15 2009 -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
kronolith/attendees.php | 2 +-
kronolith/lib/Driver/Resource.php | 12 ++--
kronolith/lib/Event.php | 4 +-
kronolith/lib/Forms/CreateResource.php | 46 +++++++++++++
kronolith/lib/Forms/DeleteResource.php | 62 +++++++++++++++++
kronolith/lib/Forms/EditResource.php | 66 ++++++++++++++++++
kronolith/lib/Kronolith.php | 7 +--
kronolith/lib/Resource/Base.php | 95 ++++++++++++++++++++-------
kronolith/lib/Resource/Single.php | 16 ++--
kronolith/resources.php | 69 -------------------
kronolith/resources/create.php | 41 ++++++++++++
kronolith/resources/delete.php | 53 +++++++++++++++
kronolith/resources/edit.php | 61 +++++++++++++++++
kronolith/resources/index.php | 95 +++++++++++++++++++++++++++
kronolith/templates/attendees/attendees.inc | 4 +-
kronolith/templates/calendar_list.php | 20 ------
kronolith/templates/calendar_titles.inc | 2 +-
kronolith/templates/edit/edit.inc | 2 +-
kronolith/templates/panel.inc | 3 +-
19 files changed, 520 insertions(+), 140 deletions(-)
create mode 100644 kronolith/lib/Forms/CreateResource.php
create mode 100644 kronolith/lib/Forms/DeleteResource.php
create mode 100644 kronolith/lib/Forms/EditResource.php
delete mode 100644 kronolith/resources.php
create mode 100644 kronolith/resources/create.php
create mode 100644 kronolith/resources/delete.php
create mode 100644 kronolith/resources/edit.php
create mode 100644 kronolith/resources/index.php
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=a2c8c5a002b3faf8740380619acb52c45f25e003&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=46478a2724e14804ca94123a050606f39cb28ace&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=1d598770fdcc34eb9af87af62283dcd0519c1443&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/lib/Forms/CreateResource.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/lib/Forms/DeleteResource.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/lib/Forms/EditResource.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=3f40acee07e3cff4e4adec514137680e7a5aab4a&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=10bffed0f8d2bc8bb00c11058e6a6fb8ceb2e211&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=cf362090da5b6c4117157e38de1a365317704e58&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/resources.php?rt=horde-hatchery&r1=2c967b6ad5b0460ced671bb8153cce339ca76731&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/resources/create.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/resources/delete.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/resources/edit.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/co.php/kronolith/resources/index.php?rt=horde-hatchery&r=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=3a4ca91a8b30d0af71901120ce94b35a0e492b92&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/templates/calendar_list.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/templates/calendar_titles.inc?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/templates/edit/edit.inc?rt=horde-hatchery&r1=3a4ca91a8b30d0af71901120ce94b35a0e492b92&r2=a4703c1673eb838b565bd5a416963ade00059eaa
http://git.horde.org/diff.php/kronolith/templates/panel.inc?rt=horde-hatchery&r1=e7e948765b1e4abd018e8ef161132c48ae2c6313&r2=a4703c1673eb838b565bd5a416963ade00059eaa
-----------------------------------------------------------------------
commit 35426f8b5b6c3dd1c2ac4c8a08f383be126ece83
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 15:21:27 2009 -0400
Rename sql script
kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql | 10 ---------
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 11 ++++++++++
2 files changed, 11 insertions(+), 10 deletions(-)
delete mode 100644 kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql
create mode 100644 kronolith/scripts/upgrades/2009-08-17_add_resources.sql
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resource_field.sql?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=35426f8b5b6c3dd1c2ac4c8a08f383be126ece83
http://git.horde.org/co.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r=35426f8b5b6c3dd1c2ac4c8a08f383be126ece83
-----------------------------------------------------------------------
commit 04069c8914935391d3113e93098da03dccc96e8d
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 19:42:07 2009 -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).
kronolith/lib/Driver/Sql.php | 1 -
kronolith/lib/Event.php | 2 ++
kronolith/lib/Event/Sql.php | 23 -----------------------
kronolith/lib/Kronolith.php | 18 ++++++++++++++++++
4 files changed, 20 insertions(+), 24 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=cf362090da5b6c4117157e38de1a365317704e58&r2=04069c8914935391d3113e93098da03dccc96e8d
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=04069c8914935391d3113e93098da03dccc96e8d
http://git.horde.org/diff.php/kronolith/lib/Event/Sql.php?rt=horde-hatchery&r1=7d70a1a4e7ed86835311d9fad21235e8d0bcd5be&r2=04069c8914935391d3113e93098da03dccc96e8d
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=04069c8914935391d3113e93098da03dccc96e8d
-----------------------------------------------------------------------
commit 6323202895a367e7386749b3a09cfb54bae5b48a
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 11:06:36 2009 -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 ;)
kronolith/attendees.php | 50 +++++++++-
kronolith/lib/Driver/Resource.php | 20 ++--
kronolith/lib/Driver/Sql.php | 2 +
kronolith/lib/Forms/CreateResource.php | 12 ++-
kronolith/lib/Forms/EditResource.php | 10 ++-
kronolith/lib/FreeBusy/View.php | 72 +++++++++++++--
kronolith/lib/Kronolith.php | 30 ++++++-
kronolith/lib/Resource.php | 22 +++++
kronolith/lib/Resource/Base.php | 19 +++-
kronolith/lib/Resource/Single.php | 15 +++-
kronolith/resources/edit.php | 2 +
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 2 +
kronolith/templates/attendees/attendees.inc | 27 +++--
13 files changed, 238 insertions(+), 45 deletions(-)
create mode 100644 kronolith/lib/Resource.php
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=04069c8914935391d3113e93098da03dccc96e8d&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Forms/CreateResource.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Forms/EditResource.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/FreeBusy/View.php?rt=horde-hatchery&r1=6b8c1d5c45edc2e5f30c2ba081f81022cb434380&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=04069c8914935391d3113e93098da03dccc96e8d&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=4949ce6b5caaae40c3a32d541aa18450b7330bc6&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/resources/edit.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=35426f8b5b6c3dd1c2ac4c8a08f383be126ece83&r2=6323202895a367e7386749b3a09cfb54bae5b48a
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=6323202895a367e7386749b3a09cfb54bae5b48a
-----------------------------------------------------------------------
commit b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 11:38:48 2009 -0400
Move static resource related methods to Kronolith_Resource::
kronolith/attendees.php | 2 +-
kronolith/delete.php | 2 +-
kronolith/lib/Event.php | 2 +-
kronolith/lib/Forms/CreateResource.php | 2 +-
kronolith/lib/FreeBusy.php | 2 +-
kronolith/lib/Kronolith.php | 90 +---------------------------
kronolith/lib/Resource.php | 101 +++++++++++++++++++++++++++++++-
kronolith/resources/index.php | 4 +-
8 files changed, 111 insertions(+), 94 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/delete.php?rt=horde-hatchery&r1=a8e9439900529aab7a9d3d1ede3e80c7de6184e1&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=04069c8914935391d3113e93098da03dccc96e8d&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/lib/Forms/CreateResource.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/lib/FreeBusy.php?rt=horde-hatchery&r1=0492dfb98baa33c58936ebcb087439ac58128e5b&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b
-----------------------------------------------------------------------
commit 78173464b9007023a38e7d63215d38d138b07a79
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 11:44:07 2009 -0400
Make this "Response", just like the attendee's column
kronolith/attendees.php | 1 -
kronolith/templates/attendees/attendees.inc | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b&r2=78173464b9007023a38e7d63215d38d138b07a79
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=78173464b9007023a38e7d63215d38d138b07a79
-----------------------------------------------------------------------
commit b12e031246f6bc1c46868c62f93799df5bd7df76
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 12:04:25 2009 -0400
Remove already added resources from the select list.
Also have listResources() return the results keyed by the resource_id
kronolith/attendees.php | 7 ++++++-
kronolith/lib/Driver/Resource.php | 6 +++---
kronolith/templates/attendees/attendees.inc | 2 +-
3 files changed, 10 insertions(+), 5 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=78173464b9007023a38e7d63215d38d138b07a79&r2=b12e031246f6bc1c46868c62f93799df5bd7df76
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=b12e031246f6bc1c46868c62f93799df5bd7df76
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=78173464b9007023a38e7d63215d38d138b07a79&r2=b12e031246f6bc1c46868c62f93799df5bd7df76
-----------------------------------------------------------------------
commit b44d18ffb966739902f4fb1eed34454ff2d944b5
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 12:20:54 2009 -0400
Need to move this comparison after the loop.
If we are editing an event that was already accepted, we might hit max_reservations
before we get to the event we are editing.
kronolith/lib/Resource/Single.php | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=b44d18ffb966739902f4fb1eed34454ff2d944b5
-----------------------------------------------------------------------
commit a185f5b6749128cd5bc6baef291cb40cd79f368c
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 12:22:04 2009 -0400
Notify for acceptance as well
kronolith/lib/Kronolith.php | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b&r2=a185f5b6749128cd5bc6baef291cb40cd79f368c
-----------------------------------------------------------------------
commit a0f618d0bfb15b9c816c76069e4bca5dcb6ca4af
Author: Jan Schneider <jan at horde.org>
Date: Tue Sep 15 16:27:49 2009 +0200
Fix sequence name.
kronolith/lib/Driver/Resource.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=b12e031246f6bc1c46868c62f93799df5bd7df76&r2=a0f618d0bfb15b9c816c76069e4bca5dcb6ca4af
-----------------------------------------------------------------------
commit e67e38855a2eeeeea3a4e55387f76f41746386eb
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 16 18:18:47 2009 -0400
Don't open resource calendars in _blank, use the same window
kronolith/resources/index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b&r2=e67e38855a2eeeeea3a4e55387f76f41746386eb
-----------------------------------------------------------------------
commit 4215f05a7283992ea4c2fb83b6733a4c4e06c674
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 16 20:32:21 2009 -0400
Provide feedback on resource availability as soon as it's added to the attendees form.
If response type is Kronolith_Resource::RESPONSETYPE_AUTO then use the start and end datetime
values that are now passed from the event form to determine if the resource is free.
Still need to figure out how to (efficiently) pass the datetime values to take into account
AM/PM. Probably break out the javascript from the onClick handler into it's function and
provide logic to check the am/pm fields? Is there an easier/prettier way?
kronolith/attendees.php | 9 +++++++++
kronolith/lib/Resource/Single.php | 24 +++++++++++++++++++-----
kronolith/templates/attendees/attendees.inc | 3 ++-
kronolith/templates/edit/edit.inc | 2 +-
4 files changed, 31 insertions(+), 7 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=b12e031246f6bc1c46868c62f93799df5bd7df76&r2=4215f05a7283992ea4c2fb83b6733a4c4e06c674
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=b44d18ffb966739902f4fb1eed34454ff2d944b5&r2=4215f05a7283992ea4c2fb83b6733a4c4e06c674
http://git.horde.org/diff.php/kronolith/templates/attendees/attendees.inc?rt=horde-hatchery&r1=b12e031246f6bc1c46868c62f93799df5bd7df76&r2=4215f05a7283992ea4c2fb83b6733a4c4e06c674
http://git.horde.org/diff.php/kronolith/templates/edit/edit.inc?rt=horde-hatchery&r1=a4703c1673eb838b565bd5a416963ade00059eaa&r2=4215f05a7283992ea4c2fb83b6733a4c4e06c674
-----------------------------------------------------------------------
commit 906fd1b4c287d5dc88474f6f1fc6778d4f11a2c9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 16 20:39:05 2009 -0400
use Horde_Support_GUID
kronolith/lib/Driver/Resource.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=a0f618d0bfb15b9c816c76069e4bca5dcb6ca4af&r2=906fd1b4c287d5dc88474f6f1fc6778d4f11a2c9
-----------------------------------------------------------------------
commit 29b0fd42b92810d62887d935000db0a400c9f51a
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 17 19:04:34 2009 -0400
Remove max_reservations.
It's not intuitive and won't be needed in 99.9% of the use cases. For
single resources that may be overbooked, the resource should be created
with a RESPONSETYPE_ALWAYS_EXCEPT responseType instead.
kronolith/lib/Driver/Resource.php | 34 +++++++++++----
kronolith/lib/Forms/CreateResource.php | 4 +-
kronolith/lib/Forms/EditResource.php | 2 -
kronolith/lib/Resource/Single.php | 6 +-
kronolith/resources/edit.php | 1 -
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 3 +-
6 files changed, 30 insertions(+), 20 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=906fd1b4c287d5dc88474f6f1fc6778d4f11a2c9&r2=29b0fd42b92810d62887d935000db0a400c9f51a
http://git.horde.org/diff.php/kronolith/lib/Forms/CreateResource.php?rt=horde-hatchery&r1=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b&r2=29b0fd42b92810d62887d935000db0a400c9f51a
http://git.horde.org/diff.php/kronolith/lib/Forms/EditResource.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=29b0fd42b92810d62887d935000db0a400c9f51a
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=4215f05a7283992ea4c2fb83b6733a4c4e06c674&r2=29b0fd42b92810d62887d935000db0a400c9f51a
http://git.horde.org/diff.php/kronolith/resources/edit.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=29b0fd42b92810d62887d935000db0a400c9f51a
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=29b0fd42b92810d62887d935000db0a400c9f51a
-----------------------------------------------------------------------
commit e0f6c6420d58c161b2e6d5ae31b52363d49065b3
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 17 19:06:58 2009 -0400
Clean up a bit.
Remove unused factory, add some phpdoc etc...
kronolith/lib/Resource.php | 38 +++++++++++++++++++++-----------------
1 files changed, 21 insertions(+), 17 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b&r2=e0f6c6420d58c161b2e6d5ae31b52363d49065b3
-----------------------------------------------------------------------
commit 579ebe8ea506f1dcbab12a7e899e4f33f14b6950
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 17 19:08:28 2009 -0400
Removed some cruft from original testing
kronolith/resources/index.php | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=e67e38855a2eeeeea3a4e55387f76f41746386eb&r2=579ebe8ea506f1dcbab12a7e899e4f33f14b6950
-----------------------------------------------------------------------
commit 3a6e9eed9123988dbddb80fae896d5b35bd2754a
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:31:34 2009 -0400
Remove cruft
kronolith/lib/Driver/Sql.php | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Sql.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=3a6e9eed9123988dbddb80fae896d5b35bd2754a
-----------------------------------------------------------------------
commit 2037348b90dc1983dd8c8ed4d89da5d6c4e15abf
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:32:23 2009 -0400
Fix variable name
kronolith/lib/Forms/CreateResource.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Forms/CreateResource.php?rt=horde-hatchery&r1=29b0fd42b92810d62887d935000db0a400c9f51a&r2=2037348b90dc1983dd8c8ed4d89da5d6c4e15abf
-----------------------------------------------------------------------
commit 5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:35:11 2009 -0400
Refactor a bit.
Move Kronolith_Resource::checkResources to Kronolith_Resource_*::getResponse()
and remove the responsibilty of adding the event.
kronolith/attendees.php | 26 ++++++-------------
kronolith/lib/Event.php | 17 +++++++++++-
kronolith/lib/Resource.php | 50 -------------------------------------
kronolith/lib/Resource/Single.php | 26 +++++++++++++++++++
4 files changed, 49 insertions(+), 70 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=4215f05a7283992ea4c2fb83b6733a4c4e06c674&r2=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=b1a2a58ace0f4c602592cc6f7f64e98c54ab901b&r2=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=e0f6c6420d58c161b2e6d5ae31b52363d49065b3&r2=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=29b0fd42b92810d62887d935000db0a400c9f51a&r2=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84
-----------------------------------------------------------------------
commit 3878c959d6c7a1d813deeac1563b288118ab6bca
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:38:23 2009 -0400
spelling
kronolith/lib/Resource/Single.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84&r2=3878c959d6c7a1d813deeac1563b288118ab6bca
-----------------------------------------------------------------------
commit e65e035882aaa481a4b0a291b5954790642b5d87
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:38:48 2009 -0400
Start fleshing out the K_Resource_Group stuff.
kronolith/lib/Resource/Group.php | 202 +++++++++++++++
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 2 +
2 files changed, 204 insertions(+), 0 deletions(-)
create mode 100644 kronolith/lib/Resource/Group.php
http://git.horde.org/co.php/kronolith/lib/Resource/Group.php?rt=horde-hatchery&r=e65e035882aaa481a4b0a291b5954790642b5d87
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=29b0fd42b92810d62887d935000db0a400c9f51a&r2=e65e035882aaa481a4b0a291b5954790642b5d87
-----------------------------------------------------------------------
commit 84203efe0ed88c6e1ba28e159cb1e9bbbdfd7638
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 19 23:00:07 2009 -0400
typo
kronolith/lib/Resource/Base.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=6323202895a367e7386749b3a09cfb54bae5b48a&r2=84203efe0ed88c6e1ba28e159cb1e9bbbdfd7638
-----------------------------------------------------------------------
commit 6aeb366821cc432ce1d6278d68ae7517acaa32a9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 17:55:25 2009 -0400
remove an errant var_dump
kronolith/lib/Kronolith.php | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=a185f5b6749128cd5bc6baef291cb40cd79f368c&r2=6aeb366821cc432ce1d6278d68ae7517acaa32a9
-----------------------------------------------------------------------
commit f29ddd06c8d6d122d02f2d5ad0c0d2cb7b3f61a0
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 17:59:02 2009 -0400
Split up the checking resoruce response and adding the (accepted) event to
the resource's calendar.
This is needed because we need the event to have a guid when it's added to
the resource's calendar, otherwise they end up with different GUIDs. This also
gives us some protection against an inconsistent state if there were to be an issue
saving the event to storage after it's been added to the resource's calendar.
kronolith/lib/Event.php | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84&r2=f29ddd06c8d6d122d02f2d5ad0c0d2cb7b3f61a0
-----------------------------------------------------------------------
commit 59a36c0b268e01d2928590cb9d863704ffb22099
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 19:53:27 2009 -0400
Correct conditional that catches conflicts.
Allow the next event to start at the end time of the previous event.
kronolith/lib/Resource/Single.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=3878c959d6c7a1d813deeac1563b288118ab6bca&r2=59a36c0b268e01d2928590cb9d863704ffb22099
-----------------------------------------------------------------------
commit ecf39dcf080f1ab0e2feff131087340ea46a2807
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 19:58:35 2009 -0400
Protect against infinite recursion in case someone is silly enough to
add a resource to one of the resource's own events.
kronolith/lib/Event.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=f29ddd06c8d6d122d02f2d5ad0c0d2cb7b3f61a0&r2=ecf39dcf080f1ab0e2feff131087340ea46a2807
-----------------------------------------------------------------------
commit c909aaf0df76dd84894d68eadcd3bb68480e335d
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 20:00:00 2009 -0400
Move this to the base class.
kronolith/lib/Resource/Base.php | 26 ++++++++++++++++++++++++++
kronolith/lib/Resource/Single.php | 26 --------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=84203efe0ed88c6e1ba28e159cb1e9bbbdfd7638&r2=c909aaf0df76dd84894d68eadcd3bb68480e335d
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=59a36c0b268e01d2928590cb9d863704ffb22099&r2=c909aaf0df76dd84894d68eadcd3bb68480e335d
-----------------------------------------------------------------------
commit 79218fe94bde60d6b4360548ad7743a1510a8447
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 20:23:01 2009 -0400
More work on resource groups. Most of the backend support for resource groups is implemented,
but there is no GUI support yet.
kronolith/attendees.php | 2 +-
kronolith/lib/Driver/Resource.php | 20 +++++++++++++-------
kronolith/lib/Resource/Base.php | 12 +++++++-----
kronolith/lib/Resource/Group.php | 36 ++++++++++++++----------------------
4 files changed, 35 insertions(+), 35 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84&r2=79218fe94bde60d6b4360548ad7743a1510a8447
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=29b0fd42b92810d62887d935000db0a400c9f51a&r2=79218fe94bde60d6b4360548ad7743a1510a8447
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=c909aaf0df76dd84894d68eadcd3bb68480e335d&r2=79218fe94bde60d6b4360548ad7743a1510a8447
http://git.horde.org/diff.php/kronolith/lib/Resource/Group.php?rt=horde-hatchery&r1=e65e035882aaa481a4b0a291b5954790642b5d87&r2=79218fe94bde60d6b4360548ad7743a1510a8447
-----------------------------------------------------------------------
commit 61fdc49bea6a1a2a8b4b063aeb3d2f40cea507f9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 23 13:13:40 2009 -0400
Better check for valid resource
kronolith/lib/Driver/Resource.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=79218fe94bde60d6b4360548ad7743a1510a8447&r2=61fdc49bea6a1a2a8b4b063aeb3d2f40cea507f9
-----------------------------------------------------------------------
commit 1e83f8db36394cbfb461e39902b7819ca0134291
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 26 17:07:29 2009 -0400
UI support for creating and maintaining resource groups.
kronolith/lib/Driver/Resource.php | 13 ++--
kronolith/lib/Forms/CreateResourceGroup.php | 53 ++++++++++++++
kronolith/lib/Forms/DeleteResourceGroup.php | 62 ++++++++++++++++
kronolith/lib/Forms/EditResourceGroup.php | 73 +++++++++++++++++++
kronolith/lib/Resource/Base.php | 6 +-
kronolith/lib/Resource/Group.php | 8 ++-
kronolith/lib/Resource/Single.php | 2 +-
kronolith/resources/groups/create.php | 40 ++++++++++
kronolith/resources/groups/delete.php | 53 ++++++++++++++
kronolith/resources/groups/edit.php | 61 ++++++++++++++++
kronolith/resources/groups/index.php | 89 +++++++++++++++++++++++
kronolith/resources/index.php | 3 +-
kronolith/templates/resources/form-header.inc | 14 ++++
kronolith/templates/resources/resource-form.php | 1 +
14 files changed, 464 insertions(+), 14 deletions(-)
create mode 100644 kronolith/lib/Forms/CreateResourceGroup.php
create mode 100644 kronolith/lib/Forms/DeleteResourceGroup.php
create mode 100644 kronolith/lib/Forms/EditResourceGroup.php
create mode 100644 kronolith/resources/groups/create.php
create mode 100644 kronolith/resources/groups/delete.php
create mode 100644 kronolith/resources/groups/edit.php
create mode 100644 kronolith/resources/groups/index.php
create mode 100644 kronolith/templates/resources/form-header.inc
create mode 100644 kronolith/templates/resources/resource-form.php
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=61fdc49bea6a1a2a8b4b063aeb3d2f40cea507f9&r2=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/lib/Forms/CreateResourceGroup.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/lib/Forms/DeleteResourceGroup.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/lib/Forms/EditResourceGroup.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=79218fe94bde60d6b4360548ad7743a1510a8447&r2=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/diff.php/kronolith/lib/Resource/Group.php?rt=horde-hatchery&r1=79218fe94bde60d6b4360548ad7743a1510a8447&r2=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=c909aaf0df76dd84894d68eadcd3bb68480e335d&r2=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/resources/groups/create.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/resources/groups/delete.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/resources/groups/edit.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/resources/groups/index.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=579ebe8ea506f1dcbab12a7e899e4f33f14b6950&r2=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/templates/resources/form-header.inc?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
http://git.horde.org/co.php/kronolith/templates/resources/resource-form.php?rt=horde-hatchery&r=1e83f8db36394cbfb461e39902b7819ca0134291
-----------------------------------------------------------------------
commit 9818f9624d9f3bc6c39fa6d0fa83094e270e69e5
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 28 12:23:30 2009 -0400
Add resources to the event view as well
kronolith/lib/View/Event.php | 2 +-
kronolith/templates/view/view.inc | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/View/Event.php?rt=horde-hatchery&r1=87077bc57ebac466431554555675917990bc4289&r2=9818f9624d9f3bc6c39fa6d0fa83094e270e69e5
http://git.horde.org/diff.php/kronolith/templates/view/view.inc?rt=horde-hatchery&r1=24ed26d4f3114322bbd6e202452ece91501708b0&r2=9818f9624d9f3bc6c39fa6d0fa83094e270e69e5
-----------------------------------------------------------------------
commit 175d88ff8782699347b27161471748c989dffcd6
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 28 12:53:22 2009 -0400
Remove listResources from Kronolth_Resource and refactor code to
use Kronolith_Driver_Resource::listResources instead.
kronolith/attendees.php | 2 +-
kronolith/lib/Driver/Resource.php | 11 ++++++++---
kronolith/lib/Forms/CreateResourceGroup.php | 2 +-
kronolith/lib/Forms/EditResourceGroup.php | 2 +-
kronolith/lib/Resource.php | 19 -------------------
kronolith/resources/groups/index.php | 2 +-
kronolith/resources/index.php | 2 +-
7 files changed, 13 insertions(+), 27 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=79218fe94bde60d6b4360548ad7743a1510a8447&r2=175d88ff8782699347b27161471748c989dffcd6
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=175d88ff8782699347b27161471748c989dffcd6
http://git.horde.org/diff.php/kronolith/lib/Forms/CreateResourceGroup.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=175d88ff8782699347b27161471748c989dffcd6
http://git.horde.org/diff.php/kronolith/lib/Forms/EditResourceGroup.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=175d88ff8782699347b27161471748c989dffcd6
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=5937926c1d1bea87b5e79c5c4cfda4ebfbab9b84&r2=175d88ff8782699347b27161471748c989dffcd6
http://git.horde.org/diff.php/kronolith/resources/groups/index.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=175d88ff8782699347b27161471748c989dffcd6
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=175d88ff8782699347b27161471748c989dffcd6
-----------------------------------------------------------------------
commit 2ca9b6f72c39210abadde2ddd88ed5543dfb58b1
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 28 17:55:08 2009 -0400
Use Horde_Lock to lock the resource calendar.
Lock the resource calnedar right before we check availability, and
unlock it either after the invitation is denied, or if accepted,
after the event is added to the resource's calendar.
kronolith/lib/Event.php | 39 +++++++++++++++++++++++++++++++--------
1 files changed, 31 insertions(+), 8 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Event.php?rt=horde-hatchery&r1=ecf39dcf080f1ab0e2feff131087340ea46a2807&r2=2ca9b6f72c39210abadde2ddd88ed5543dfb58b1
-----------------------------------------------------------------------
commit b0e1d67229578dec7cda7e433a326831cdb14f18
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 29 11:20:15 2009 -0400
Add sql script updates
kronolith/scripts/sql/kronolith.mssql.sql | 13 +++++++++++++
kronolith/scripts/sql/kronolith.oci8.sql | 13 +++++++++++++
kronolith/scripts/sql/kronolith.pgsql.sql | 13 +++++++++++++
kronolith/scripts/sql/kronolith.sql | 10 +++++++---
4 files changed, 46 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.mssql.sql?rt=horde-hatchery&r1=735c6fdfbd2844064ca101cd49887b8dc7388015&r2=b0e1d67229578dec7cda7e433a326831cdb14f18
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.oci8.sql?rt=horde-hatchery&r1=735c6fdfbd2844064ca101cd49887b8dc7388015&r2=b0e1d67229578dec7cda7e433a326831cdb14f18
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.pgsql.sql?rt=horde-hatchery&r1=735c6fdfbd2844064ca101cd49887b8dc7388015&r2=b0e1d67229578dec7cda7e433a326831cdb14f18
http://git.horde.org/diff.php/kronolith/scripts/sql/kronolith.sql?rt=horde-hatchery&r1=0c8e2076fb8ad654405a10c9aecaf7f222fb40f8&r2=b0e1d67229578dec7cda7e433a326831cdb14f18
-----------------------------------------------------------------------
commit 09797b5ba08875de7c6c81ac6339818122e1b80d
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 29 11:21:19 2009 -0400
resource scheduling blurb
kronolith/docs/CHANGES | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/docs/CHANGES?rt=horde-hatchery&r1=e4ba665adeaa70aaf379ac6b62925bdbc095da95&r2=09797b5ba08875de7c6c81ac6339818122e1b80d
-----------------------------------------------------------------------
commit dc92c556788cee3ebdde6f5bcc2e01992311d6ef
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 14:49:02 2009 -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.
kronolith/lib/Resource/Single.php | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=dc92c556788cee3ebdde6f5bcc2e01992311d6ef
-----------------------------------------------------------------------
commit a8bb05de86f9305538fb6ff741d688ae7474b931
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:10:56 2009 -0400
Experiment with getting either a share or resource here
kronolith/lib/Kronolith.php | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=6aeb366821cc432ce1d6278d68ae7517acaa32a9&r2=a8bb05de86f9305538fb6ff741d688ae7474b931
-----------------------------------------------------------------------
commit ad0cf53975d30ad5fa20361f9af0e8e028cb00b9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:30:54 2009 -0400
typos
kronolith/lib/Kronolith.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=a8bb05de86f9305538fb6ff741d688ae7474b931&r2=ad0cf53975d30ad5fa20361f9af0e8e028cb00b9
-----------------------------------------------------------------------
commit 8487abd465deda8e7b3fe1e6f241bfa94e18d83f
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 9 15:31:28 2009 -0400
Move hasPermisson to the base class, implement ::get() to behave like
a share.
kronolith/lib/Resource/Single.php | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=dc92c556788cee3ebdde6f5bcc2e01992311d6ef&r2=8487abd465deda8e7b3fe1e6f241bfa94e18d83f
-----------------------------------------------------------------------
commit cca9cd66a2b726d0823dbe00b6ae1150f29652bc
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:26:20 2009 -0400
Add basic permission checking to Kronolith::listResources()
kronolith/lib/Kronolith.php | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=ad0cf53975d30ad5fa20361f9af0e8e028cb00b9&r2=cca9cd66a2b726d0823dbe00b6ae1150f29652bc
-----------------------------------------------------------------------
commit 881f1860c8eb62e5e22d1cec22dbd2aa355c4674
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 10:28:57 2009 -0400
Initial adding of resource to an event from the attendees page.
kronolith/attendees.php | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=175d88ff8782699347b27161471748c989dffcd6&r2=881f1860c8eb62e5e22d1cec22dbd2aa355c4674
-----------------------------------------------------------------------
commit 51de749fd8c815417fe416822dcae68d6accb4fc
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 12:11:12 2009 -0400
notify user if a requested resource rejects invitation when saving event
kronolith/lib/Kronolith.php | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=cca9cd66a2b726d0823dbe00b6ae1150f29652bc&r2=51de749fd8c815417fe416822dcae68d6accb4fc
-----------------------------------------------------------------------
commit ce180f27f55ef7124c3b78d84ca27946ce524c52
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 10 12:12:20 2009 -0400
Only attempt to remove resources from the event if they have actually
accepted the event.
kronolith/lib/Resource/Single.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=8487abd465deda8e7b3fe1e6f241bfa94e18d83f&r2=ce180f27f55ef7124c3b78d84ca27946ce524c52
-----------------------------------------------------------------------
commit 1455101dbe03dc134d114a92eff26b790947fc66
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 12:03:49 2009 -0400
Add a link in Kronolith's menu for the resource page
kronolith/lib/Kronolith.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=51de749fd8c815417fe416822dcae68d6accb4fc&r2=1455101dbe03dc134d114a92eff26b790947fc66
-----------------------------------------------------------------------
commit 91ee4c1ce7cd882df5137f7925871fc25c71ceaa
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 15:09:15 2009 -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
kronolith/lib/Kronolith.php | 3 ---
kronolith/lib/Resource/Base.php | 12 ++++++++++++
kronolith/lib/Resource/Single.php | 4 +---
kronolith/resources/index.php | 13 ++++++++++---
4 files changed, 23 insertions(+), 9 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=1455101dbe03dc134d114a92eff26b790947fc66&r2=91ee4c1ce7cd882df5137f7925871fc25c71ceaa
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=91ee4c1ce7cd882df5137f7925871fc25c71ceaa
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=ce180f27f55ef7124c3b78d84ca27946ce524c52&r2=91ee4c1ce7cd882df5137f7925871fc25c71ceaa
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=175d88ff8782699347b27161471748c989dffcd6&r2=91ee4c1ce7cd882df5137f7925871fc25c71ceaa
-----------------------------------------------------------------------
commit 39394179bae583a5d8bd46ef918dff02d05dd1e9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 11 15:21:27 2009 -0400
Rename sql script
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=e65e035882aaa481a4b0a291b5954790642b5d87&r2=39394179bae583a5d8bd46ef918dff02d05dd1e9
-----------------------------------------------------------------------
commit 638ca83cbc856d0456d23ce5e00f58cbd94ea81d
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 11:06:36 2009 -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 ;)
kronolith/lib/Resource/Base.php | 12 ------------
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 2 ++
2 files changed, 2 insertions(+), 12 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=91ee4c1ce7cd882df5137f7925871fc25c71ceaa&r2=638ca83cbc856d0456d23ce5e00f58cbd94ea81d
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=39394179bae583a5d8bd46ef918dff02d05dd1e9&r2=638ca83cbc856d0456d23ce5e00f58cbd94ea81d
-----------------------------------------------------------------------
commit 7103f47b66b5bf41478437f18b923b725b298176
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 11:38:48 2009 -0400
Move static resource related methods to Kronolith_Resource::
kronolith/lib/Resource.php | 99 +++++++++++++++++++++++++++++++++++++++++
kronolith/resources/index.php | 4 +-
2 files changed, 101 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=175d88ff8782699347b27161471748c989dffcd6&r2=7103f47b66b5bf41478437f18b923b725b298176
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=91ee4c1ce7cd882df5137f7925871fc25c71ceaa&r2=7103f47b66b5bf41478437f18b923b725b298176
-----------------------------------------------------------------------
commit db71a332181c5be33881911794ebf32431129194
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 11:44:07 2009 -0400
Make this "Response", just like the attendee's column
kronolith/attendees.php | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=881f1860c8eb62e5e22d1cec22dbd2aa355c4674&r2=db71a332181c5be33881911794ebf32431129194
-----------------------------------------------------------------------
commit 38efa3467de3866efce797f8b8072afb8b1a28e0
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 12:20:54 2009 -0400
Need to move this comparison after the loop.
If we are editing an event that was already accepted, we might hit max_reservations
before we get to the event we are editing.
kronolith/lib/Resource/Single.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=91ee4c1ce7cd882df5137f7925871fc25c71ceaa&r2=38efa3467de3866efce797f8b8072afb8b1a28e0
-----------------------------------------------------------------------
commit 3b23a72d5a617abe2381436d5b299fc490049486
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 12 12:22:04 2009 -0400
Notify for acceptance as well
kronolith/lib/Kronolith.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde-hatchery&r1=91ee4c1ce7cd882df5137f7925871fc25c71ceaa&r2=3b23a72d5a617abe2381436d5b299fc490049486
-----------------------------------------------------------------------
commit a20266f77fb04be73ca7c81344139395910ed337
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 16 18:18:47 2009 -0400
Don't open resource calendars in _blank, use the same window
kronolith/resources/index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=7103f47b66b5bf41478437f18b923b725b298176&r2=a20266f77fb04be73ca7c81344139395910ed337
-----------------------------------------------------------------------
commit 133abb38427456f0ef2c8b9868e37e80936c416b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Wed Sep 16 20:32:21 2009 -0400
Provide feedback on resource availability as soon as it's added to the attendees form.
If response type is Kronolith_Resource::RESPONSETYPE_AUTO then use the start and end datetime
values that are now passed from the event form to determine if the resource is free.
Still need to figure out how to (efficiently) pass the datetime values to take into account
AM/PM. Probably break out the javascript from the onClick handler into it's function and
provide logic to check the am/pm fields? Is there an easier/prettier way?
kronolith/lib/Resource/Single.php | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=38efa3467de3866efce797f8b8072afb8b1a28e0&r2=133abb38427456f0ef2c8b9868e37e80936c416b
-----------------------------------------------------------------------
commit adff9b1cbf0cdca503296a89282b088f3b71ba59
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 17 19:04:34 2009 -0400
Remove max_reservations.
It's not intuitive and won't be needed in 99.9% of the use cases. For
single resources that may be overbooked, the resource should be created
with a RESPONSETYPE_ALWAYS_EXCEPT responseType instead.
kronolith/lib/Driver/Resource.php | 1 -
kronolith/lib/Resource/Single.php | 2 +-
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 3 +--
3 files changed, 2 insertions(+), 4 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Driver/Resource.php?rt=horde-hatchery&r1=175d88ff8782699347b27161471748c989dffcd6&r2=adff9b1cbf0cdca503296a89282b088f3b71ba59
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=133abb38427456f0ef2c8b9868e37e80936c416b&r2=adff9b1cbf0cdca503296a89282b088f3b71ba59
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=638ca83cbc856d0456d23ce5e00f58cbd94ea81d&r2=adff9b1cbf0cdca503296a89282b088f3b71ba59
-----------------------------------------------------------------------
commit 2cb7da5a8cc0fbac59d94c9be1a31b2e8ab1264d
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 17 19:06:58 2009 -0400
Clean up a bit.
Remove unused factory, add some phpdoc etc...
kronolith/lib/Resource.php | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=7103f47b66b5bf41478437f18b923b725b298176&r2=2cb7da5a8cc0fbac59d94c9be1a31b2e8ab1264d
-----------------------------------------------------------------------
commit 8b175c078dd22a74ca5ed7fbd409a3623faca318
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Thu Sep 17 19:08:28 2009 -0400
Removed some cruft from original testing
kronolith/resources/index.php | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=a20266f77fb04be73ca7c81344139395910ed337&r2=8b175c078dd22a74ca5ed7fbd409a3623faca318
-----------------------------------------------------------------------
commit e07639582cde389d23cb250a61785b806887b8a9
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:35:11 2009 -0400
Refactor a bit.
Move Kronolith_Resource::checkResources to Kronolith_Resource_*::getResponse()
and remove the responsibilty of adding the event.
kronolith/attendees.php | 1 +
kronolith/lib/Resource.php | 50 -------------------------------------
kronolith/lib/Resource/Single.php | 26 +++++++++++++++++++
3 files changed, 27 insertions(+), 50 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=db71a332181c5be33881911794ebf32431129194&r2=e07639582cde389d23cb250a61785b806887b8a9
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=2cb7da5a8cc0fbac59d94c9be1a31b2e8ab1264d&r2=e07639582cde389d23cb250a61785b806887b8a9
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=adff9b1cbf0cdca503296a89282b088f3b71ba59&r2=e07639582cde389d23cb250a61785b806887b8a9
-----------------------------------------------------------------------
commit 0fda7b8c8ccfd8ff3d276b15e27110e9bbd87192
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:38:23 2009 -0400
spelling
kronolith/lib/Resource/Single.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=e07639582cde389d23cb250a61785b806887b8a9&r2=0fda7b8c8ccfd8ff3d276b15e27110e9bbd87192
-----------------------------------------------------------------------
commit 17d9c0a9bfd94989eed8c146e345c3656e39e23b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Fri Sep 18 00:38:48 2009 -0400
Start fleshing out the K_Resource_Group stuff.
kronolith/lib/Resource/Group.php | 1 -
kronolith/scripts/upgrades/2009-08-17_add_resources.sql | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Group.php?rt=horde-hatchery&r1=1e83f8db36394cbfb461e39902b7819ca0134291&r2=17d9c0a9bfd94989eed8c146e345c3656e39e23b
http://git.horde.org/diff.php/kronolith/scripts/upgrades/2009-08-17_add_resources.sql?rt=horde-hatchery&r1=adff9b1cbf0cdca503296a89282b088f3b71ba59&r2=17d9c0a9bfd94989eed8c146e345c3656e39e23b
-----------------------------------------------------------------------
commit 1bc45e19b8562a5eaaea161c92598b58bdb4462f
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 19:53:27 2009 -0400
Correct conditional that catches conflicts.
Allow the next event to start at the end time of the previous event.
kronolith/lib/Resource/Single.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=0fda7b8c8ccfd8ff3d276b15e27110e9bbd87192&r2=1bc45e19b8562a5eaaea161c92598b58bdb4462f
-----------------------------------------------------------------------
commit 920354079779c9f7cee3035431e1ab3dc26b59d0
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 21 20:00:00 2009 -0400
Move this to the base class.
kronolith/lib/Resource/Base.php | 26 ++++++++++++++++++++++++++
kronolith/lib/Resource/Single.php | 26 --------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=638ca83cbc856d0456d23ce5e00f58cbd94ea81d&r2=920354079779c9f7cee3035431e1ab3dc26b59d0
http://git.horde.org/diff.php/kronolith/lib/Resource/Single.php?rt=horde-hatchery&r1=1bc45e19b8562a5eaaea161c92598b58bdb4462f&r2=920354079779c9f7cee3035431e1ab3dc26b59d0
-----------------------------------------------------------------------
commit dd10be6146b73bb7e78c672c949c364cffdee15b
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Sat Sep 26 17:07:29 2009 -0400
UI support for creating and maintaining resource groups.
kronolith/lib/Forms/EditResourceGroup.php | 1 -
kronolith/resources/index.php | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/diff.php/kronolith/lib/Forms/EditResourceGroup.php?rt=horde-hatchery&r1=175d88ff8782699347b27161471748c989dffcd6&r2=dd10be6146b73bb7e78c672c949c364cffdee15b
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=8b175c078dd22a74ca5ed7fbd409a3623faca318&r2=dd10be6146b73bb7e78c672c949c364cffdee15b
-----------------------------------------------------------------------
commit 3a1be0cc067bd6ee61513e8afc4d10a005bd3cc8
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Mon Sep 28 12:53:22 2009 -0400
Remove listResources from Kronolth_Resource and refactor code to
use Kronolith_Driver_Resource::listResources instead.
kronolith/resources/index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/kronolith/resources/index.php?rt=horde-hatchery&r1=dd10be6146b73bb7e78c672c949c364cffdee15b&r2=3a1be0cc067bd6ee61513e8afc4d10a005bd3cc8
-----------------------------------------------------------------------
commit a8cc7e6530013a631585a6399f3a37d1ed56c932
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date: Tue Sep 29 16:51:47 2009 -0400
Fix some things from a pretty mangled merge
kronolith/attendees.php | 6 +++-
kronolith/lib/Resource.php | 52 --------------------------------------
kronolith/lib/Resource/Base.php | 27 +-------------------
kronolith/lib/Resource/Group.php | 1 -
4 files changed, 5 insertions(+), 81 deletions(-)
http://git.horde.org/diff.php/kronolith/attendees.php?rt=horde-hatchery&r1=e07639582cde389d23cb250a61785b806887b8a9&r2=a8cc7e6530013a631585a6399f3a37d1ed56c932
http://git.horde.org/diff.php/kronolith/lib/Resource.php?rt=horde-hatchery&r1=e07639582cde389d23cb250a61785b806887b8a9&r2=a8cc7e6530013a631585a6399f3a37d1ed56c932
http://git.horde.org/diff.php/kronolith/lib/Resource/Base.php?rt=horde-hatchery&r1=920354079779c9f7cee3035431e1ab3dc26b59d0&r2=a8cc7e6530013a631585a6399f3a37d1ed56c932
http://git.horde.org/diff.php/kronolith/lib/Resource/Group.php?rt=horde-hatchery&r1=17d9c0a9bfd94989eed8c146e345c3656e39e23b&r2=a8cc7e6530013a631585a6399f3a37d1ed56c932
More information about the commits
mailing list