horde.git
15 years agoDocument why we need this.
Jan Schneider [Wed, 11 Aug 2010 21:11:20 +0000 (23:11 +0200)]
Document why we need this.

15 years agoAdd missing lightbox graphics to silver and tango-blue themes
Chuck Hagenbuch [Thu, 12 Aug 2010 04:12:55 +0000 (00:12 -0400)]
Add missing lightbox graphics to silver and tango-blue themes

15 years agoHave Kronolith_Event_Resource:: extend Kronolith_Event_Sql
Michael J. Rubinsky [Thu, 12 Aug 2010 01:01:22 +0000 (21:01 -0400)]
Have Kronolith_Event_Resource:: extend Kronolith_Event_Sql

The original idea was to prune the properties that didn't make sense
for resource events (such as alarms, attendees etc...) but seeing how
the UI for creating events currently still allows adding those properties,
just extend the sql event object for now.

15 years agoUse Horde::endBuffer() - there might not be an active buffer to flush.
Michael J. Rubinsky [Thu, 12 Aug 2010 00:59:51 +0000 (20:59 -0400)]
Use Horde::endBuffer() - there might not be an active buffer to flush.

15 years agoThrow exception on redirect() failure
Michael M Slusarz [Wed, 11 Aug 2010 22:34:51 +0000 (16:34 -0600)]
Throw exception on redirect() failure

15 years agoAdd Horde_Url_Exception::
Michael M Slusarz [Wed, 11 Aug 2010 22:33:46 +0000 (16:33 -0600)]
Add Horde_Url_Exception::

15 years agoClean up delete.php script
Michael M Slusarz [Wed, 11 Aug 2010 22:26:02 +0000 (16:26 -0600)]
Clean up delete.php script

Fix obtaining URL for redirect, since Horde_Util::getFormData() only
uses the default if the parameter is NULL (here, URL might be the
empty string).

15 years agoFix typo
Michael M Slusarz [Wed, 11 Aug 2010 22:25:53 +0000 (16:25 -0600)]
Fix typo

15 years agoRevert "Remove unnecessary wrapper."
Jan Schneider [Wed, 11 Aug 2010 21:07:32 +0000 (23:07 +0200)]
Revert "Remove unnecessary wrapper."

This reverts commit c7375893b2adaf104954d3513a3cc48a17da9fb1.

Conflicts:

kronolith/lib/Driver/Sql.php

15 years agoNeed full URLs here, because the ajaxui parameter is needed
Michael M Slusarz [Wed, 11 Aug 2010 20:50:22 +0000 (14:50 -0600)]
Need full URLs here, because the ajaxui parameter is needed

15 years agoFix typos
Michael M Slusarz [Wed, 11 Aug 2010 20:43:48 +0000 (14:43 -0600)]
Fix typos

15 years agoIgnore more backup files in config directory
Michael M Slusarz [Wed, 11 Aug 2010 18:37:21 +0000 (12:37 -0600)]
Ignore more backup files in config directory

15 years agoClean up tree_folders script
Michael M Slusarz [Wed, 11 Aug 2010 18:21:01 +0000 (12:21 -0600)]
Clean up tree_folders script

15 years agoUse injector to load IMP_Filter
Michael M Slusarz [Wed, 11 Aug 2010 17:24:55 +0000 (11:24 -0600)]
Use injector to load IMP_Filter

15 years agoMake sure node names don't have bad characters (e.g. null)
Michael M Slusarz [Wed, 11 Aug 2010 17:19:21 +0000 (11:19 -0600)]
Make sure node names don't have bad characters (e.g. null)

15 years agoRemove output array after joining.
Michael M Slusarz [Wed, 11 Aug 2010 17:18:33 +0000 (11:18 -0600)]
Remove output array after joining.

No need to carry around this (potentially) large data structure after we
are done with it.

15 years agoPunctuation fixes.
Jan Schneider [Wed, 11 Aug 2010 20:40:46 +0000 (22:40 +0200)]
Punctuation fixes.

15 years agoRename method to toProperties().
Jan Schneider [Wed, 11 Aug 2010 20:38:43 +0000 (22:38 +0200)]
Rename method to toProperties().

15 years agoRevert "Remove unused code. Michael, I guess the fromDriver() stuff can go too?"
Jan Schneider [Wed, 11 Aug 2010 20:36:49 +0000 (22:36 +0200)]
Revert "Remove unused code. Michael, I guess the fromDriver() stuff can go too?"

This reverts commit 734fe073b1bfd49a3c5c9cf438db6555292193b1.

15 years agoConvert all help files to UTF-8.
Jan Schneider [Wed, 11 Aug 2010 16:31:54 +0000 (18:31 +0200)]
Convert all help files to UTF-8.

15 years agoFix NLS access.
Jan Schneider [Wed, 11 Aug 2010 16:31:33 +0000 (18:31 +0200)]
Fix NLS access.

15 years agoAllow to pass an error object or exception to Horde_Cli#fatal().
Jan Schneider [Wed, 11 Aug 2010 16:10:58 +0000 (18:10 +0200)]
Allow to pass an error object or exception to Horde_Cli#fatal().

15 years agoUpdate method name.
Jan Schneider [Wed, 11 Aug 2010 15:48:02 +0000 (17:48 +0200)]
Update method name.

15 years agostyle
Jan Schneider [Wed, 11 Aug 2010 15:34:37 +0000 (17:34 +0200)]
style

15 years agoSimplify
Jan Schneider [Wed, 11 Aug 2010 15:32:53 +0000 (17:32 +0200)]
Simplify

15 years agoFix property name.
Jan Schneider [Wed, 11 Aug 2010 15:27:04 +0000 (17:27 +0200)]
Fix property name.

15 years agoEXDATE can be a DATE-TIME field.
Jan Schneider [Wed, 11 Aug 2010 15:26:38 +0000 (17:26 +0200)]
EXDATE can be a DATE-TIME field.

15 years agoRevert back to let the drivers decide which kind of IDs they want.
Jan Schneider [Wed, 11 Aug 2010 15:14:17 +0000 (17:14 +0200)]
Revert back to let the drivers decide which kind of IDs they want.

15 years agoAdd PUT support, CalDAV event can now be created and updated too.
Jan Schneider [Wed, 11 Aug 2010 15:09:39 +0000 (17:09 +0200)]
Add PUT support, CalDAV event can now be created and updated too.

15 years agoUse calendar-delegator-separator that can't appear in calendar URLs.
Jan Schneider [Wed, 11 Aug 2010 14:29:01 +0000 (16:29 +0200)]
Use calendar-delegator-separator that can't appear in calendar URLs.

15 years agoRemove unnecessary toDriver() method.
Jan Schneider [Wed, 11 Aug 2010 14:28:06 +0000 (16:28 +0200)]
Remove unnecessary toDriver() method.

15 years agoOnly set geolocation if it has been submitted.
Jan Schneider [Wed, 11 Aug 2010 14:25:49 +0000 (16:25 +0200)]
Only set geolocation if it has been submitted.

15 years agoFix typos.
Jan Schneider [Wed, 11 Aug 2010 14:24:53 +0000 (16:24 +0200)]
Fix typos.

15 years agoNeed $notification too.
Jan Schneider [Wed, 11 Aug 2010 13:48:16 +0000 (15:48 +0200)]
Need $notification too.

15 years agoRemove unused code. Michael, I guess the fromDriver() stuff can go too?
Jan Schneider [Wed, 11 Aug 2010 13:39:22 +0000 (15:39 +0200)]
Remove unused code. Michael, I guess the fromDriver() stuff can go too?

15 years agoSplit up saveEvent() into _addEvent() and _updateEvent().
Jan Schneider [Wed, 11 Aug 2010 13:18:32 +0000 (15:18 +0200)]
Split up saveEvent() into _addEvent() and _updateEvent().

15 years agoUpdate for new Kronolith_Calendar classes, etc.
Jan Schneider [Wed, 11 Aug 2010 11:09:11 +0000 (13:09 +0200)]
Update for new Kronolith_Calendar classes, etc.

15 years agoRemove unnecessary wrapper.
Jan Schneider [Wed, 11 Aug 2010 10:25:44 +0000 (12:25 +0200)]
Remove unnecessary wrapper.

15 years agoUse str_replace() instead of strtr()
Michael M Slusarz [Wed, 11 Aug 2010 07:44:47 +0000 (01:44 -0600)]
Use str_replace() instead of strtr()

15 years agoFix typo
Michael M Slusarz [Wed, 11 Aug 2010 07:21:36 +0000 (01:21 -0600)]
Fix typo

15 years agoBug #9138: Fix sentmail selection
Michael M Slusarz [Wed, 11 Aug 2010 06:58:56 +0000 (00:58 -0600)]
Bug #9138: Fix sentmail selection

15 years agoFix determination of mailbox on context clicks
Michael M Slusarz [Wed, 11 Aug 2010 06:28:39 +0000 (00:28 -0600)]
Fix determination of mailbox on context clicks

15 years agoMake sure deleted folders are strings
Michael M Slusarz [Wed, 11 Aug 2010 06:22:42 +0000 (00:22 -0600)]
Make sure deleted folders are strings

Or else, javascript functions may fail since Number.prototype does not
have the same method list as String.prototype.

15 years agoBug #9169: Fix altering trash/spam/drafts folders
Michael M Slusarz [Wed, 11 Aug 2010 06:14:12 +0000 (00:14 -0600)]
Bug #9169: Fix altering trash/spam/drafts folders

15 years agoRequest #7962: PGP reply validate preference
Michael M Slusarz [Wed, 11 Aug 2010 05:57:51 +0000 (23:57 -0600)]
Request #7962: PGP reply validate preference

Add preference to control if we check for recipient PGP public
keys when replying.

15 years agoBug #7669: On invalid token during logout, redirect to initial page
Michael M Slusarz [Wed, 11 Aug 2010 05:35:24 +0000 (23:35 -0600)]
Bug #7669: On invalid token during logout, redirect to initial page

15 years agoThis function does not need to return anything
Michael M Slusarz [Wed, 11 Aug 2010 05:29:24 +0000 (23:29 -0600)]
This function does not need to return anything

15 years agoMove prefs javascript to its own file
Michael M Slusarz [Wed, 11 Aug 2010 02:44:48 +0000 (20:44 -0600)]
Move prefs javascript to its own file

15 years agoFix deleting message flags
Michael M Slusarz [Wed, 11 Aug 2010 02:33:22 +0000 (20:33 -0600)]
Fix deleting message flags

15 years agoTweaks to new randomid algorithm
Michael M Slusarz [Wed, 11 Aug 2010 02:25:57 +0000 (20:25 -0600)]
Tweaks to new randomid algorithm

15 years agoThere is no longer a length parameter
Michael M Slusarz [Wed, 11 Aug 2010 01:58:56 +0000 (19:58 -0600)]
There is no longer a length parameter

15 years agofix parse error
Michael J. Rubinsky [Wed, 11 Aug 2010 00:31:25 +0000 (20:31 -0400)]
fix parse error

15 years agoBetter randomid generation (?)
Michael M Slusarz [Wed, 11 Aug 2010 00:05:34 +0000 (18:05 -0600)]
Better randomid generation (?)

Since uniqid() is essentially microtime(), adding microtime()
information does not get us anything. So use uniqid/mt_rand exclusively,
add a bit more entropy with the current PID, and encode with base64 -
packs even more info into the characters.

15 years agoMake sure we record the user when updating the map table. Fixes Bug: 9168.
Michael J. Rubinsky [Tue, 10 Aug 2010 23:59:00 +0000 (19:59 -0400)]
Make sure we record the user when updating the map table. Fixes Bug: 9168.

15 years agoAdd light wrappers classes for individual calendars, so that we have a
Jan Schneider [Tue, 10 Aug 2010 22:53:29 +0000 (00:53 +0200)]
Add light wrappers classes for individual calendars, so that we have a
common calendar API independent of the underlying driver.
Prepare to edit/add events in drivers other than the internal drivers.

15 years agoFix toggling holiday off and on if there is a maximum event limit.
Jan Schneider [Tue, 10 Aug 2010 22:51:31 +0000 (00:51 +0200)]
Fix toggling holiday off and on if there is a maximum event limit.

15 years agoImplement CalDAV DELETE.
Jan Schneider [Mon, 9 Aug 2010 18:43:41 +0000 (20:43 +0200)]
Implement CalDAV DELETE.

15 years agoRead WebDAV ACL for permission checking.
Jan Schneider [Mon, 9 Aug 2010 16:26:32 +0000 (18:26 +0200)]
Read WebDAV ACL for permission checking.

15 years agoFix method name.
Jan Schneider [Tue, 10 Aug 2010 23:21:24 +0000 (01:21 +0200)]
Fix method name.

15 years agoAdd some uniqueness tests for random id generation
Michael M Slusarz [Tue, 10 Aug 2010 23:09:26 +0000 (17:09 -0600)]
Add some uniqueness tests for random id generation

15 years agoRequest #6455: Spam reporting on mailbox move.
Michael M Slusarz [Tue, 10 Aug 2010 22:38:35 +0000 (16:38 -0600)]
Request #6455: Spam reporting on mailbox move.

Add preference to allow for automatic spam reporting when explicitly
moving messages to the Spam mailbox.

15 years agoPlace prefs options under correct header
Michael M Slusarz [Tue, 10 Aug 2010 22:22:51 +0000 (16:22 -0600)]
Place prefs options under correct header

15 years agoWord wrapping
Michael M Slusarz [Tue, 10 Aug 2010 22:20:51 +0000 (16:20 -0600)]
Word wrapping

15 years agoDon't show compressed contents info in full mode.
Michael M Slusarz [Tue, 10 Aug 2010 20:29:55 +0000 (14:29 -0600)]
Don't show compressed contents info in full mode.

This is informational data only.  Full mode is meant for a viewable
representation of the data itself, not information about the data.

15 years agoClean up MS-TNEF handling.
Michael M Slusarz [Tue, 10 Aug 2010 19:19:11 +0000 (13:19 -0600)]
Clean up MS-TNEF handling.

Don't show winmail.dat entry - instead, make any embedded attachments
look like attachments to the main e-mail message.  The one negative - it
is not possible to strip the attachments from the message since
winmail.dat no longer appears in attachment lists.  But IMHO this is a
fair tradeoff to reduce complexity/confustion when showing the message
parts (and ms-tnef is not really a valid/viable standard anyway).

15 years agoLoad Mime_Viewer through an injector.
Michael M Slusarz [Tue, 10 Aug 2010 18:30:09 +0000 (12:30 -0600)]
Load Mime_Viewer through an injector.

NOTE: THE FORMAT OF config/mime_drivers.php HAS CHANGED. YOU MUST UPDATE
YOUR MIME CONFIGURATION.

This change has removed a bunch of complexity from the mime_drivers
configuration files (no need to explicit identify the application in the
files anymore; removed the 'registered' and 'override' options since
they can be handled solely within driver config; made the enable/inline
config parameters optional).

15 years agoUnneeded globals usage.
Michael M Slusarz [Tue, 10 Aug 2010 06:03:24 +0000 (00:03 -0600)]
Unneeded globals usage.

15 years agoHorde::link -> Horde_Url#link()
Michael M Slusarz [Mon, 9 Aug 2010 20:24:32 +0000 (14:24 -0600)]
Horde::link -> Horde_Url#link()

15 years agoAdd reference to RFC 2392
Michael M Slusarz [Sun, 8 Aug 2010 21:40:19 +0000 (15:40 -0600)]
Add reference to RFC 2392

15 years agoThis element won't exist if the event is a detached recurrence.
Michael J. Rubinsky [Tue, 10 Aug 2010 17:08:21 +0000 (13:08 -0400)]
This element won't exist if the event is a detached recurrence.

Love it when no JS errors are thrown for stuff like this...

15 years agoadd event tags to CSV export
Michael J. Rubinsky [Tue, 10 Aug 2010 15:45:31 +0000 (11:45 -0400)]
add event tags to CSV export

15 years agoDon't return detached recurrences when exporting to iCalendar.
Michael J. Rubinsky [Tue, 10 Aug 2010 15:38:38 +0000 (11:38 -0400)]
Don't return detached recurrences when exporting to iCalendar.

15 years agoOops. We need Randomid here, not Uuid.
Michael J. Rubinsky [Tue, 10 Aug 2010 15:03:54 +0000 (11:03 -0400)]
Oops. We need Randomid here, not Uuid.

15 years agoFix class name
Michael J. Rubinsky [Tue, 10 Aug 2010 15:02:47 +0000 (11:02 -0400)]
Fix class name

15 years agoAdd test for getting nextRecurrence of an event with a start date < 2010 and
Michael J. Rubinsky [Mon, 9 Aug 2010 22:01:49 +0000 (18:01 -0400)]
Add test for getting nextRecurrence of an event with a start date < 2010 and
a recurs after date of 1/1/2010.

15 years agoThere might be 53 weeks in the (ISO-8601) year.
Michael J. Rubinsky [Mon, 9 Aug 2010 21:52:08 +0000 (17:52 -0400)]
There might be 53 weeks in the (ISO-8601) year.

15 years agoremove commented out code
Michael J. Rubinsky [Mon, 9 Aug 2010 21:01:47 +0000 (17:01 -0400)]
remove commented out code

15 years agoUse Horde::endBuffer() here since we might not have an ob to flush.
Michael J. Rubinsky [Mon, 9 Aug 2010 21:00:06 +0000 (17:00 -0400)]
Use Horde::endBuffer() here since we might not have an ob to flush.

15 years agoPrune dead code
Michael J. Rubinsky [Mon, 9 Aug 2010 18:28:48 +0000 (14:28 -0400)]
Prune dead code

15 years agoEven better, use the new Horde_Date#toIcalendar() method instead.
Michael J. Rubinsky [Mon, 9 Aug 2010 18:27:58 +0000 (14:27 -0400)]
Even better, use the new Horde_Date#toIcalendar() method instead.

15 years agoUse Horde_Date to do this parsing.
Michael J. Rubinsky [Mon, 9 Aug 2010 16:49:35 +0000 (12:49 -0400)]
Use Horde_Date to do this parsing.

Be more friendly to dates that are past the maximum integer timestamp value.
Fixes an issue for me that was causing corrupted recurenddate values.

Jan, can you take a look and make sure this doesn't break anything else I might be
overlooking. All the .phpt tests are currently passing.

15 years agoImplement reading individual CalDAV events.
Jan Schneider [Mon, 9 Aug 2010 13:30:31 +0000 (15:30 +0200)]
Implement reading individual CalDAV events.

15 years agoOnce again fix parameter names for remote calendars.
Jan Schneider [Mon, 9 Aug 2010 13:07:23 +0000 (15:07 +0200)]
Once again fix parameter names for remote calendars.

15 years agoBubble up the error message from the server.
Jan Schneider [Mon, 9 Aug 2010 13:07:00 +0000 (15:07 +0200)]
Bubble up the error message from the server.

15 years agoFix class name.
Jan Schneider [Mon, 9 Aug 2010 12:54:53 +0000 (14:54 +0200)]
Fix class name.

15 years agoUse Kronolith::(un)subscribeRemoteCalendar().
Jan Schneider [Mon, 9 Aug 2010 12:52:43 +0000 (14:52 +0200)]
Use Kronolith::(un)subscribeRemoteCalendar().

15 years agoAdd (read-only) CalDAV client support.
Jan Schneider [Mon, 9 Aug 2010 12:34:10 +0000 (14:34 +0200)]
Add (read-only) CalDAV client support.

15 years agoEnable track_errors.
Jan Schneider [Thu, 5 Aug 2010 14:12:49 +0000 (16:12 +0200)]
Enable track_errors.

15 years agophpdoc
Jan Schneider [Thu, 5 Aug 2010 13:07:05 +0000 (15:07 +0200)]
phpdoc

15 years agoAdd toiCalendar().
Jan Schneider [Thu, 5 Aug 2010 13:06:56 +0000 (15:06 +0200)]
Add toiCalendar().

15 years agoFix a parse error in the iTip viewer (incomplete conversion to the Horde_iCalendar...
Gunnar Wrobel [Mon, 9 Aug 2010 06:15:39 +0000 (08:15 +0200)]
Fix a parse error in the iTip viewer (incomplete conversion to the Horde_iCalendar H4 changes).

15 years agoMake it possible to set tilesperrow and tilesperpage through the API
Chuck Hagenbuch [Mon, 9 Aug 2010 05:01:59 +0000 (01:01 -0400)]
Make it possible to set tilesperrow and tilesperpage through the API

15 years agoStart fleshing out Horde_Controller_Base more, including the ability to get the reque...
Chuck Hagenbuch [Mon, 9 Aug 2010 04:38:42 +0000 (00:38 -0400)]
Start fleshing out Horde_Controller_Base more, including the ability to get the request and response objects and an UrlWriter.

15 years agoHorde_Controller_Request uses getPath(), not getUri()
Chuck Hagenbuch [Mon, 9 Aug 2010 04:38:14 +0000 (00:38 -0400)]
Horde_Controller_Request uses getPath(), not getUri()

15 years agoCast $routeName to string
Chuck Hagenbuch [Mon, 9 Aug 2010 04:37:54 +0000 (00:37 -0400)]
Cast $routeName to string

15 years agoAdd Horde_Controller_UrlWriter
Chuck Hagenbuch [Mon, 9 Aug 2010 04:37:05 +0000 (00:37 -0400)]
Add Horde_Controller_UrlWriter

15 years agoFix bad caching of share attributes that was causing the wrong shares to be returned...
Chuck Hagenbuch [Sun, 8 Aug 2010 20:27:28 +0000 (16:27 -0400)]
Fix bad caching of share attributes that was causing the wrong shares to be returned in some cases.

15 years agoSmall code cleanups while changing another issue
Chuck Hagenbuch [Sun, 8 Aug 2010 20:27:03 +0000 (16:27 -0400)]
Small code cleanups while changing another issue

15 years agoHorde::link -> Horde_Url#link()
Michael J. Rubinsky [Sun, 8 Aug 2010 16:26:24 +0000 (12:26 -0400)]
Horde::link -> Horde_Url#link()

15 years agofix variable name
Michael J. Rubinsky [Sun, 8 Aug 2010 16:03:18 +0000 (12:03 -0400)]
fix variable name