horde.git
16 years agoyet more IFRAME HTML tweaking
Michael M Slusarz [Fri, 9 Oct 2009 22:34:06 +0000 (16:34 -0600)]
yet more IFRAME HTML tweaking

16 years agoFix some parse/undefined variable errors.
Michael M Slusarz [Fri, 9 Oct 2009 22:33:39 +0000 (16:33 -0600)]
Fix some parse/undefined variable errors.

16 years agoImproved threading display in MIMP
Michael M Slusarz [Fri, 9 Oct 2009 22:12:18 +0000 (16:12 -0600)]
Improved threading display in MIMP

16 years agoadd resoruce fields/tables to the schema file
Michael J. Rubinsky [Sun, 11 Oct 2009 19:19:38 +0000 (15:19 -0400)]
add resoruce fields/tables to the schema file

16 years agoAdd hook to retrieve public S/MIME and PGP keys.
Jan Schneider [Fri, 9 Oct 2009 13:15:04 +0000 (15:15 +0200)]
Add hook to retrieve public S/MIME and PGP keys.

16 years agoDon't need this file anymore
Michael M Slusarz [Fri, 9 Oct 2009 07:10:51 +0000 (01:10 -0600)]
Don't need this file anymore

16 years agostart cleaning up this documentation
Michael M Slusarz [Fri, 9 Oct 2009 07:10:34 +0000 (01:10 -0600)]
start cleaning up this documentation

16 years agoThis call is not needed
Michael M Slusarz [Fri, 9 Oct 2009 06:43:21 +0000 (00:43 -0600)]
This call is not needed

16 years agoDestructor fixes.
Michael M Slusarz [Thu, 8 Oct 2009 22:15:21 +0000 (16:15 -0600)]
Destructor fixes.

Destructors have no access to the session - need to do these tasks in a
function registered via register_shutdown_function().

16 years agoFix firebug console detection
Michael M Slusarz [Thu, 8 Oct 2009 22:00:43 +0000 (16:00 -0600)]
Fix firebug console detection

16 years agoAllow qsearch close icon to clear qsearch text
Michael M Slusarz [Thu, 8 Oct 2009 17:51:33 +0000 (11:51 -0600)]
Allow qsearch close icon to clear qsearch text

16 years agoImprove dimpactions buttons styling
Michael M Slusarz [Thu, 8 Oct 2009 17:08:39 +0000 (11:08 -0600)]
Improve dimpactions buttons styling

16 years agoCSS tweaks
Michael M Slusarz [Wed, 7 Oct 2009 22:07:07 +0000 (16:07 -0600)]
CSS tweaks

16 years ago #message -> #composeMessage
Michael M Slusarz [Wed, 7 Oct 2009 21:12:22 +0000 (15:12 -0600)]
 #message -> #composeMessage

16 years agoWe want to be greedy for this match
Michael M Slusarz [Wed, 7 Oct 2009 18:41:54 +0000 (12:41 -0600)]
We want to be greedy for this match

Remove incorrect comment.

16 years agoAdd PostgreSQL-specific upgrade script (Request #8630).
Jan Schneider [Thu, 8 Oct 2009 17:08:15 +0000 (19:08 +0200)]
Add PostgreSQL-specific upgrade script (Request #8630).

16 years agoTweak HTML regexs
Michael M Slusarz [Wed, 7 Oct 2009 18:23:38 +0000 (12:23 -0600)]
Tweak HTML regexs

For tags, need to do a non-consuming match rather than a consuming match
or else attributes may not be caught at the beginning of a tag.

Additionally, most browsers (except Opera) have trouble with tables set
to height="100%". In these cases, the calculated height will never be
proper since the table will always grow to the given height and will
hide any text below it.  We need to strip out these definitions (100%
height for tables doesn't make much sense anyway).

16 years agoFix displaying HTML forwarded body text
Michael M Slusarz [Wed, 7 Oct 2009 18:00:48 +0000 (12:00 -0600)]
Fix displaying HTML forwarded body text

16 years agoEnsure there is always an ability to bottom post
Michael M Slusarz [Wed, 7 Oct 2009 17:59:01 +0000 (11:59 -0600)]
Ensure there is always an ability to bottom post

16 years agoThis title adds no information.
Michael M Slusarz [Wed, 7 Oct 2009 17:55:06 +0000 (11:55 -0600)]
This title adds no information.

16 years agoMake sure this is 'html', since there is a case where it won't be
Michael M Slusarz [Wed, 7 Oct 2009 17:52:23 +0000 (11:52 -0600)]
Make sure this is 'html', since there is a case where it won't be

16 years agoAlter flag text color based on background color in dimp
Michael M Slusarz [Wed, 7 Oct 2009 09:11:15 +0000 (03:11 -0600)]
Alter flag text color based on background color in dimp

16 years agoMore improvements to HTML IFRAME viewing
Michael M Slusarz [Wed, 7 Oct 2009 09:04:26 +0000 (03:04 -0600)]
More improvements to HTML IFRAME viewing

16 years agoAdd a Turba_Driver::canAdd() method for indicating the driver's ability
Michael J. Rubinsky [Wed, 7 Oct 2009 15:51:01 +0000 (11:51 -0400)]
Add a Turba_Driver::canAdd() method for indicating the driver's ability
to add a new contact.

Needed because we don't have perms on individual contacts, just on the
contact's address book. So for sources such as a virtual address book,
we may be able to edit the contact, but we can't add new contacts to
the address book.

16 years agoChange the Turba_Driver_*::_save method to take an $object instead of the values
Michael J. Rubinsky [Wed, 7 Oct 2009 15:34:51 +0000 (11:34 -0400)]
Change the Turba_Driver_*::_save method to take an $object instead of the values
derived from the object. This also fixes permission checking for Vbooks.

Adds 2 more lines per subclass, but is necessary for drivers that are composed with
another driver (like the Share driver or Vbook driver) since they call the composed
driver's non-public _save method.

16 years agoAdd ability to reload folder list in dimp.
Michael M Slusarz [Wed, 7 Oct 2009 05:16:33 +0000 (23:16 -0600)]
Add ability to reload folder list in dimp.

Should never be needed, but if folder list does somehow manage to become
corrupt, this will fix things.

16 years agoMove reload graphic to CSS.
Michael M Slusarz [Wed, 7 Oct 2009 05:10:04 +0000 (23:10 -0600)]
Move reload graphic to CSS.

16 years agoBetter display of this search criteria
Michael M Slusarz [Wed, 7 Oct 2009 04:55:50 +0000 (22:55 -0600)]
Better display of this search criteria

16 years agoFix positioning of flags in IMP on webkit
Michael M Slusarz [Wed, 7 Oct 2009 04:53:29 +0000 (22:53 -0600)]
Fix positioning of flags in IMP on webkit

16 years agoMore tweaking of various config options
Michael M Slusarz [Wed, 7 Oct 2009 04:43:51 +0000 (22:43 -0600)]
More tweaking of various config options

16 years agoFix variable typo
Michael M Slusarz [Tue, 6 Oct 2009 23:32:59 +0000 (17:32 -0600)]
Fix variable typo

16 years agoFix Bug #8616
Michael M Slusarz [Tue, 6 Oct 2009 23:15:20 +0000 (17:15 -0600)]
Fix Bug #8616

16 years agoSome fixes to make FF2 work properly
Michael M Slusarz [Tue, 6 Oct 2009 22:32:15 +0000 (16:32 -0600)]
Some fixes to make FF2 work properly

16 years agoAnother IE fix.
Michael M Slusarz [Tue, 6 Oct 2009 21:16:11 +0000 (15:16 -0600)]
Another IE fix.

16 years agoMore fixes for HTML IFRAME display
Michael M Slusarz [Tue, 6 Oct 2009 20:33:41 +0000 (14:33 -0600)]
More fixes for HTML IFRAME display

Heights are not correctly calculated for some HTML messages - this
appears to be a browser issue.  Adjusting the iframe size causes a
re-render of the internal contents which causes the internal contents
height to increase.  This prevents display of content at the very bottom
of the data - thus, we need to display scrollbars for these messages.
Ugly, but necessary.

Also, fix a few annoying IE issues with display heights/widths.

16 years agoConvert to new Horde::addScriptFile() usage
Michael M Slusarz [Tue, 6 Oct 2009 18:56:44 +0000 (12:56 -0600)]
Convert to new Horde::addScriptFile() usage

16 years agoRemove duplicate code.
Jan Schneider [Tue, 6 Oct 2009 16:24:22 +0000 (18:24 +0200)]
Remove duplicate code.

16 years agoLog DB errors.
Jan Schneider [Tue, 6 Oct 2009 16:01:47 +0000 (18:01 +0200)]
Log DB errors.

16 years agoBFN
Michael J. Rubinsky [Mon, 5 Oct 2009 22:23:36 +0000 (18:23 -0400)]
BFN

16 years agoTweak function phpdoc
Michael J. Rubinsky [Mon, 5 Oct 2009 22:07:01 +0000 (18:07 -0400)]
Tweak function phpdoc

16 years agoCheck permissions against the underlaying turba driver, not the share.
Michael J. Rubinsky [Mon, 5 Oct 2009 22:06:12 +0000 (18:06 -0400)]
Check permissions against the underlaying turba driver, not the share.

16 years agoFix browse().
Jan Schneider [Mon, 5 Oct 2009 17:17:04 +0000 (19:17 +0200)]
Fix browse().

16 years agoFix browse().
Jan Schneider [Mon, 5 Oct 2009 17:16:40 +0000 (19:16 +0200)]
Fix browse().

16 years agoFix browse().
Jan Schneider [Mon, 5 Oct 2009 16:59:44 +0000 (18:59 +0200)]
Fix browse().

16 years agoFix methods definitions
Duck (Jakob Munih) [Sat, 3 Oct 2009 14:17:17 +0000 (16:17 +0200)]
Fix methods definitions

16 years agoComment out passwd capability for now
Duck (Jakob Munih) [Fri, 2 Oct 2009 07:50:23 +0000 (09:50 +0200)]
Comment out passwd capability for now

16 years agoNot used anymore
Duck (Jakob Munih) [Fri, 2 Oct 2009 07:20:33 +0000 (09:20 +0200)]
Not used anymore

16 years agoFix argument setting so that all phpunit command line args work
Chuck Hagenbuch [Fri, 2 Oct 2009 03:01:24 +0000 (23:01 -0400)]
Fix argument setting so that all phpunit command line args work

16 years agoAdd bin/ scripts to hatchery.
Chuck Hagenbuch [Fri, 2 Oct 2009 02:58:34 +0000 (22:58 -0400)]
Add bin/ scripts to hatchery.

16 years agoRemove Horde_Provider (superceded by Horde_Injector)
Chuck Hagenbuch [Fri, 2 Oct 2009 02:47:20 +0000 (22:47 -0400)]
Remove Horde_Provider (superceded by Horde_Injector)

16 years agoMore refactoring to use exceptions
Michael J. Rubinsky [Thu, 1 Oct 2009 20:43:29 +0000 (16:43 -0400)]
More refactoring to use exceptions

Fixes issue in Bug: 8623 as well.

16 years agoRe-add text-indent increase from 8a595316276fe4f8773db442aec331856891b4c6
Michael M Slusarz [Thu, 1 Oct 2009 19:41:09 +0000 (13:41 -0600)]
Re-add text-indent increase from 8a595316276fe4f8773db442aec331856891b4c6

16 years agoRevert "More dimp row tweaking: use stripes and increase whitespace a bit"
Michael M Slusarz [Thu, 1 Oct 2009 19:40:33 +0000 (13:40 -0600)]
Revert "More dimp row tweaking: use stripes and increase whitespace a bit"

This reverts commit 8a595316276fe4f8773db442aec331856891b4c6.

16 years agoCSS tweaks
Michael M Slusarz [Thu, 1 Oct 2009 19:39:38 +0000 (13:39 -0600)]
CSS tweaks

16 years agoThis is required to be UTF-8 since JSON data is always UTF-8
Michael M Slusarz [Thu, 1 Oct 2009 18:08:40 +0000 (12:08 -0600)]
This is required to be UTF-8 since JSON data is always UTF-8

16 years agoHorde_Auth::authenticateFailure
Duck (Jakob Munih) [Thu, 1 Oct 2009 16:12:16 +0000 (18:12 +0200)]
Horde_Auth::authenticateFailure

16 years agoUpdate deleted attributes during synchronization (lst_hoe02@kwsoft.de, Request #6658).
Jan Schneider [Thu, 1 Oct 2009 12:00:55 +0000 (14:00 +0200)]
Update deleted attributes during synchronization (lst_hoe02@kwsoft.de, Request #6658).

16 years agoMerged, partially.
Jan Schneider [Thu, 1 Oct 2009 10:36:46 +0000 (12:36 +0200)]
Merged, partially.

16 years agoMFB
Jan Schneider [Thu, 1 Oct 2009 10:02:01 +0000 (12:02 +0200)]
MFB

16 years agoMFB: Avoid notices (Bug #8523).
Jan Schneider [Thu, 1 Oct 2009 10:01:32 +0000 (12:01 +0200)]
MFB: Avoid notices (Bug #8523).

16 years agoFix bug #8523 - Photo attribute is corrupted after a move or a copy
Ryu [Wed, 30 Sep 2009 19:51:26 +0000 (21:51 +0200)]
Fix bug #8523 - Photo attribute is corrupted after a move or a copy

Signed-off-by: Jan Schneider <jan@horde.org>
16 years agouse Horde::serviceLink
Duck (Jakob Munih) [Thu, 1 Oct 2009 08:45:45 +0000 (10:45 +0200)]
use Horde::serviceLink

16 years agoDon't access protected data directly
Duck (Jakob Munih) [Thu, 1 Oct 2009 07:33:14 +0000 (09:33 +0200)]
Don't access protected data directly

16 years agofckeditor -> Fckeditor
Duck (Jakob Munih) [Thu, 1 Oct 2009 06:46:13 +0000 (08:46 +0200)]
fckeditor -> Fckeditor

16 years agoMore dimp row tweaking: use stripes and increase whitespace a bit
Michael M Slusarz [Wed, 30 Sep 2009 18:20:22 +0000 (12:20 -0600)]
More dimp row tweaking: use stripes and increase whitespace a bit

16 years agostripe functions have moved inside of Horde namespace
Michael M Slusarz [Wed, 30 Sep 2009 18:17:55 +0000 (12:17 -0600)]
stripe functions have moved inside of Horde namespace

16 years agoTweak positioning of quicksearch box
Michael M Slusarz [Wed, 30 Sep 2009 18:13:58 +0000 (12:13 -0600)]
Tweak positioning of quicksearch box

16 years agoIndicate current quicksearch field in search box
Michael M Slusarz [Wed, 30 Sep 2009 08:29:07 +0000 (02:29 -0600)]
Indicate current quicksearch field in search box

16 years agoBetter uidvalidity checking in dimp ajax handler
Michael M Slusarz [Wed, 30 Sep 2009 06:19:28 +0000 (00:19 -0600)]
Better uidvalidity checking in dimp ajax handler

16 years agoMore places to check uidvalidity.
Michael M Slusarz [Wed, 30 Sep 2009 05:50:19 +0000 (23:50 -0600)]
More places to check uidvalidity.

16 years agoCorrectly catch errors
Duck (Jakob Munih) [Wed, 30 Sep 2009 16:13:30 +0000 (18:13 +0200)]
Correctly catch errors

16 years agotypo
Duck (Jakob Munih) [Wed, 30 Sep 2009 15:29:53 +0000 (17:29 +0200)]
typo

16 years agoWe must throw an exeption on bad login
Duck (Jakob Munih) [Wed, 30 Sep 2009 14:59:11 +0000 (16:59 +0200)]
We must throw an exeption on bad login

16 years agoTry the grid with vertical lines only.
Michael M Slusarz [Thu, 17 Sep 2009 21:58:46 +0000 (15:58 -0600)]
Try the grid with vertical lines only.

16 years agoIncrease readability.
Jan Schneider [Tue, 29 Sep 2009 13:21:51 +0000 (15:21 +0200)]
Increase readability.

16 years agoFix some things from a pretty mangled merge
Michael J. Rubinsky [Tue, 29 Sep 2009 20:51:47 +0000 (16:51 -0400)]
Fix some things from a pretty mangled merge

16 years agoRemove listResources from Kronolth_Resource and refactor code to
Michael J. Rubinsky [Mon, 28 Sep 2009 16:53:22 +0000 (12:53 -0400)]
Remove listResources from Kronolth_Resource and refactor code to
use Kronolith_Driver_Resource::listResources instead.

16 years agoUI support for creating and maintaining resource groups.
Michael J. Rubinsky [Sat, 26 Sep 2009 21:07:29 +0000 (17:07 -0400)]
UI support for creating and maintaining resource groups.

16 years agoMove this to the base class.
Michael J. Rubinsky [Tue, 22 Sep 2009 00:00:00 +0000 (20:00 -0400)]
Move this to the base class.

16 years agoCorrect conditional that catches conflicts.
Michael J. Rubinsky [Mon, 21 Sep 2009 23:53:27 +0000 (19:53 -0400)]
Correct conditional that catches conflicts.

Allow the next event to start at the end time of the previous event.

16 years agoStart fleshing out the K_Resource_Group stuff.
Michael J. Rubinsky [Fri, 18 Sep 2009 04:38:48 +0000 (00:38 -0400)]
Start fleshing out the K_Resource_Group stuff.

16 years agospelling
Michael J. Rubinsky [Fri, 18 Sep 2009 04:38:23 +0000 (00:38 -0400)]
spelling

16 years agoRefactor a bit.
Michael J. Rubinsky [Fri, 18 Sep 2009 04:35:11 +0000 (00:35 -0400)]
Refactor a bit.

Move Kronolith_Resource::checkResources to Kronolith_Resource_*::getResponse()
and remove the responsibilty of adding the event.

16 years agoRemoved some cruft from original testing
Michael J. Rubinsky [Thu, 17 Sep 2009 23:08:28 +0000 (19:08 -0400)]
Removed some cruft from original testing

16 years agoClean up a bit.
Michael J. Rubinsky [Thu, 17 Sep 2009 23:06:58 +0000 (19:06 -0400)]
Clean up a bit.

Remove unused factory, add some phpdoc etc...

16 years agoRemove max_reservations.
Michael J. Rubinsky [Thu, 17 Sep 2009 23:04:34 +0000 (19:04 -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.

16 years agoProvide feedback on resource availability as soon as it's added to the attendees...
Michael J. Rubinsky [Thu, 17 Sep 2009 00:32:21 +0000 (20:32 -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?

16 years agoDon't open resource calendars in _blank, use the same window
Michael J. Rubinsky [Wed, 16 Sep 2009 22:18:47 +0000 (18:18 -0400)]
Don't open resource calendars in _blank, use the same window

16 years agoNotify for acceptance as well
Michael J. Rubinsky [Sat, 12 Sep 2009 16:22:04 +0000 (12:22 -0400)]
Notify for acceptance as well

16 years agoNeed to move this comparison after the loop.
Michael J. Rubinsky [Sat, 12 Sep 2009 16:20:54 +0000 (12:20 -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.

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

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

16 years agoMore additions based on some discussion with Gunnar in IRC:
Michael J. Rubinsky [Sat, 12 Sep 2009 15:06:36 +0000 (11:06 -0400)]
More additions based on some discussion with Gunnar in IRC:
 - Allow specifying if a resource is required or optional
 - Add a response_type property to resources. Specifies if REQUESTS are
   either always accepted, always denied, automatically accepted/denied
   based on actual availability, handled manually (still todo), or simply
   ignored (set response to NONE).

Also, try to clean up the implementation - trying to make it more likely
to be able to be extened for kolab. No idea if this helps of not though ;)

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

16 years agoLots of stuff:
Michael J. Rubinsky [Fri, 11 Sep 2009 19:09:15 +0000 (15:09 -0400)]
Lots of stuff:

- Move resource viewing/CRUD related pages to resources/*
- Have Kronolith_Resource objects present a Horde_Share_Object-like interface
- Remove the Resource link from the menu - put it in the panel under the "Manage My Calendars" link
- Various tweaks/corrections

16 years agoAdd a link in Kronolith's menu for the resource page
Michael J. Rubinsky [Fri, 11 Sep 2009 16:03:49 +0000 (12:03 -0400)]
Add a link in Kronolith's menu for the resource page

16 years agoOnly attempt to remove resources from the event if they have actually
Michael J. Rubinsky [Thu, 10 Sep 2009 16:12:20 +0000 (12:12 -0400)]
Only attempt to remove resources from the event if they have actually
accepted the event.

16 years agonotify user if a requested resource rejects invitation when saving event
Michael J. Rubinsky [Thu, 10 Sep 2009 16:11:12 +0000 (12:11 -0400)]
notify user if a requested resource rejects invitation when saving event

16 years agoInitial adding of resource to an event from the attendees page.
Michael J. Rubinsky [Thu, 10 Sep 2009 14:28:57 +0000 (10:28 -0400)]
Initial adding of resource to an event from the attendees page.

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