horde.git
15 years agoMerge branch 'setter-injection'
Chuck Hagenbuch [Mon, 26 Apr 2010 00:27:51 +0000 (20:27 -0400)]
Merge branch 'setter-injection'

15 years agoAdd object creation filters, and provide one that injects annotated setter dependencies.
Chuck Hagenbuch [Mon, 26 Apr 2010 00:26:40 +0000 (20:26 -0400)]
Add object creation filters, and provide one that injects annotated setter dependencies.

15 years agoOnly save the stat structure, and make sure it has a mod time entry.
Michael J. Rubinsky [Sun, 25 Apr 2010 20:41:31 +0000 (16:41 -0400)]
Only save the stat structure, and make sure it has a mod time entry.

15 years agoRevert "first pass at automatic setter injection"
Chuck Hagenbuch [Sun, 25 Apr 2010 18:53:32 +0000 (14:53 -0400)]
Revert "first pass at automatic setter injection"

This reverts commit f92b1b61098f5cfdd4eb786f1fbacdedf5c38824. Going to do this
with post-creation filters, instead of baking a specific method into the default
Implementation binder.

15 years agows
Chuck Hagenbuch [Sun, 25 Apr 2010 18:51:56 +0000 (14:51 -0400)]
ws

15 years agomake sure pingState is always an array
Michael J. Rubinsky [Sun, 25 Apr 2010 18:22:26 +0000 (14:22 -0400)]
make sure pingState is always an array

15 years agotypo
Michael J. Rubinsky [Sun, 25 Apr 2010 18:19:02 +0000 (14:19 -0400)]
typo

15 years agoinitial work on supporting the SUPPORTED tag in SYNC requests.
Michael J. Rubinsky [Sun, 25 Apr 2010 17:24:41 +0000 (13:24 -0400)]
initial work on supporting the SUPPORTED tag in SYNC requests.

This is needed to avoid deleting field values when the PIM doesn't support/send a
particular value when editing an entry on the PIM.  This commit just adds support for
persisting the SUPPORTED (non-ghosted) fields.

15 years agows
Michael J. Rubinsky [Sun, 25 Apr 2010 14:56:19 +0000 (10:56 -0400)]
ws

15 years agoNo need to stat each change if we know for sure we don't have any PIM originated...
Michael J. Rubinsky [Sun, 25 Apr 2010 14:53:03 +0000 (10:53 -0400)]
No need to stat each change if we know for sure we don't have any PIM originated chagnes.

If we don't have any entries in the map table for this device, no need to check each change. This makes
another big improvement in syncing - this time during the initial sync.

15 years agoMove the autogenerated thrift code into Horde/Thrift/thrift_root to avoid any confusi...
Chuck Hagenbuch [Sun, 25 Apr 2010 14:33:18 +0000 (10:33 -0400)]
Move the autogenerated thrift code into Horde/Thrift/thrift_root to avoid any confusion if we add any Horde-written classes in the future.

15 years agophpdoc fixes
Michael J. Rubinsky [Sun, 25 Apr 2010 13:25:56 +0000 (09:25 -0400)]
phpdoc fixes

15 years agoadd the start of a administrative-level device management screen
Michael J. Rubinsky [Sat, 24 Apr 2010 22:43:34 +0000 (18:43 -0400)]
add the start of a administrative-level device management screen

Not fully functionaly yet, but will provide the means for an admin to request
a remote wipe or reset the device state for any device we know about. Also
provides a means to just get an idea of how many devices are syncing with your server.

15 years agoAdd some methods to get bulk device info and last sync times
Michael J. Rubinsky [Sat, 24 Apr 2010 22:42:36 +0000 (18:42 -0400)]
Add some methods to get bulk device info and last sync times

15 years agoneed to cast the theme objects too
Michael J. Rubinsky [Sat, 24 Apr 2010 21:59:07 +0000 (17:59 -0400)]
need to cast the theme objects too

15 years agoactually set the username
Michael J. Rubinsky [Sat, 24 Apr 2010 20:40:23 +0000 (16:40 -0400)]
actually set the username

15 years agostore the username for each device
Michael J. Rubinsky [Sat, 24 Apr 2010 20:34:24 +0000 (16:34 -0400)]
store the username for each device

15 years agoadd username to the device table
Michael J. Rubinsky [Sat, 24 Apr 2010 20:28:54 +0000 (16:28 -0400)]
add username to the device table

15 years agoAdd configuration switch for forcing the server heartbeat interval.
Michael J. Rubinsky [Sat, 24 Apr 2010 19:30:51 +0000 (15:30 -0400)]
Add configuration switch for forcing the server heartbeat interval.

For those of us who don't like devices telling us what we have to do...allow
overriding the heartbeat interval so we can force it to be shorter then most
devices would request...useful for managing load on the server.

15 years agoNeed to supply the mod time for ALL new entries, not just calendars.
Michael J. Rubinsky [Sat, 24 Apr 2010 18:48:46 +0000 (14:48 -0400)]
Need to supply the mod time for ALL new entries, not just calendars.

New entries will not have an existing mod time in history, so need to supply
it here, for the purposes of remembering the time this change was made and
not mirroring it back to the PIM.

15 years agofix adding new tasks from activesync messages
Michael J. Rubinsky [Sat, 24 Apr 2010 18:38:46 +0000 (14:38 -0400)]
fix adding new tasks from activesync messages

$storage->add() returns an array, not the uid.

15 years agoKeep individual implementations for now...
Michael J. Rubinsky [Sat, 24 Apr 2010 16:48:59 +0000 (12:48 -0400)]
Keep individual implementations for now...

15 years agoimplement the folderdata methods for older as versions.
Michael J. Rubinsky [Sat, 24 Apr 2010 16:47:16 +0000 (12:47 -0400)]
implement the folderdata methods for older as versions.

Not really tested, as I haven't found a client that uses these yet, but
similar functionality was present in the diff driver from z-push, so it's here
just in case.

15 years agoneed this for BC with older devices
Michael J. Rubinsky [Sat, 24 Apr 2010 16:38:03 +0000 (12:38 -0400)]
need this for BC with older devices

15 years agoFix persisting foldersync state
Michael J. Rubinsky [Sat, 24 Apr 2010 16:22:00 +0000 (12:22 -0400)]
Fix persisting foldersync state

15 years agoMove these to the base activesync class so the Provision class doesn't need to be...
Michael J. Rubinsky [Sat, 24 Apr 2010 13:48:06 +0000 (09:48 -0400)]
Move these to the base activesync class so the Provision class doesn't need to be loaded
just to check rwstatus

15 years agoConfiguration for new history based state driver. Further clean up.
Michael J. Rubinsky [Sat, 24 Apr 2010 13:29:57 +0000 (09:29 -0400)]
Configuration for new history based state driver. Further clean up.

15 years agophpdoc, cleanup the base abstract methods etc...
Michael J. Rubinsky [Sat, 24 Apr 2010 00:14:52 +0000 (20:14 -0400)]
phpdoc, cleanup the base abstract methods etc...

15 years agoMore stuff to move to the base class, implement the remaining methods for the history...
Michael J. Rubinsky [Sat, 24 Apr 2010 00:03:30 +0000 (20:03 -0400)]
More stuff to move to the base class, implement the remaining methods for the history driver.

15 years agostyle, phpdoc, some logic tweaks
Michael J. Rubinsky [Fri, 23 Apr 2010 23:34:37 +0000 (19:34 -0400)]
style, phpdoc, some logic tweaks

15 years agoMove to base class
Michael J. Rubinsky [Fri, 23 Apr 2010 22:13:07 +0000 (18:13 -0400)]
Move to base class

15 years agoNo need to gc this table on every addition.
Michael J. Rubinsky [Fri, 23 Apr 2010 22:09:32 +0000 (18:09 -0400)]
No need to gc this table on every addition.

This gets gc'd during the next SYNC operation anyway, don't do it explicitly here
for each entry.

15 years agostyle
Michael J. Rubinsky [Fri, 23 Apr 2010 22:00:49 +0000 (18:00 -0400)]
style

15 years agoadd sql creation script for the activesync tables
Michael J. Rubinsky [Fri, 23 Apr 2010 21:58:13 +0000 (17:58 -0400)]
add sql creation script for the activesync tables

15 years agoImplement a working history state driver.
Michael J. Rubinsky [Fri, 23 Apr 2010 21:56:03 +0000 (17:56 -0400)]
Implement a working history state driver.

15 years agoMatch the default value with the one Nag::listTaskLists() uses
Michael J. Rubinsky [Fri, 23 Apr 2010 21:54:00 +0000 (17:54 -0400)]
Match the default value with the one Nag::listTaskLists() uses

15 years agofix typo
Michael J. Rubinsky [Thu, 22 Apr 2010 14:25:24 +0000 (10:25 -0400)]
fix typo

15 years agoHave the state object be responsible for stating the message if needed.
Michael J. Rubinsky [Thu, 22 Apr 2010 14:23:15 +0000 (10:23 -0400)]
Have the state object be responsible for stating the message if needed.

This allows different state drivers to omit the stat if it's not necessary for
determining changes.

15 years agoclarify what this does
Michael J. Rubinsky [Thu, 22 Apr 2010 13:55:22 +0000 (09:55 -0400)]
clarify what this does

15 years agoHorde_Thrift package
Chuck Hagenbuch [Sat, 24 Apr 2010 16:13:48 +0000 (12:13 -0400)]
Horde_Thrift package

This wraps the auto-generated thrift-0.2.0 libraries and makes them
autoloadable. Services that use thrift can extend the Horde_Thrift class to
cause all of the thrift support code to be included. The thrift code itself is
unmodified (and under its original license/copyright), and we will update it
when there are new thrift releases.

15 years agoFirst try converting Luxor to H4-git
Chuck Hagenbuch [Sat, 24 Apr 2010 16:00:04 +0000 (12:00 -0400)]
First try converting Luxor to H4-git

15 years ago__toString can't throw an exception or PHP dies, so wrap registry calls in try/catch
Chuck Hagenbuch [Sat, 24 Apr 2010 01:53:03 +0000 (21:53 -0400)]
__toString can't throw an exception or PHP dies, so wrap registry calls in try/catch

15 years agoFix typos
Michael M Slusarz [Fri, 23 Apr 2010 22:15:57 +0000 (16:15 -0600)]
Fix typos

15 years agoUse short-form HTML colors
Michael M Slusarz [Fri, 23 Apr 2010 22:11:38 +0000 (16:11 -0600)]
Use short-form HTML colors

15 years agoFix capability name
Chuck Hagenbuch [Sat, 24 Apr 2010 01:45:31 +0000 (21:45 -0400)]
Fix capability name

15 years agoAdd support for CATENATE extension (RFC 4469).
Michael M Slusarz [Fri, 23 Apr 2010 05:08:53 +0000 (23:08 -0600)]
Add support for CATENATE extension (RFC 4469).

15 years agoAdd support for parsing relative IMAP URLs
Michael M Slusarz [Fri, 23 Apr 2010 19:01:40 +0000 (13:01 -0600)]
Add support for parsing relative IMAP URLs

15 years agoMake message header string more translation friendly
Michael M Slusarz [Fri, 23 Apr 2010 18:18:11 +0000 (12:18 -0600)]
Make message header string more translation friendly

15 years agoClean up message template/output
Michael M Slusarz [Fri, 23 Apr 2010 18:12:59 +0000 (12:12 -0600)]
Clean up message template/output

15 years agoCan't reuse Horde_Template instance.
Michael M Slusarz [Fri, 23 Apr 2010 17:26:07 +0000 (11:26 -0600)]
Can't reuse Horde_Template instance.

15 years agoFurther cleanup of mailbox template output
Michael M Slusarz [Fri, 23 Apr 2010 16:55:27 +0000 (10:55 -0600)]
Further cleanup of mailbox template output

Makes things a bit more templateable - move CSS-related stuff out of PHP
script. Also, try to remove some complexity/wordiness/excessive layout.

15 years agoFix typo.
Michael M Slusarz [Fri, 23 Apr 2010 16:34:25 +0000 (10:34 -0600)]
Fix typo.

15 years agoFurther improvements to contextmenu generation/initialization
Michael M Slusarz [Fri, 23 Apr 2010 16:28:27 +0000 (10:28 -0600)]
Further improvements to contextmenu generation/initialization

15 years agoFix positioning of message loading image
Michael M Slusarz [Fri, 23 Apr 2010 15:59:58 +0000 (09:59 -0600)]
Fix positioning of message loading image

Not sure if this is due to recent prototypejs changes. But it does fix
things.

15 years agoFind the framework libs one level up from test.php as well
Chuck Hagenbuch [Fri, 23 Apr 2010 19:44:24 +0000 (15:44 -0400)]
Find the framework libs one level up from test.php as well

15 years agoMove some javascript out of PHP script file
Michael M Slusarz [Fri, 23 Apr 2010 06:40:27 +0000 (00:40 -0600)]
Move some javascript out of PHP script file

15 years agoClean up tasks/notes creation
Michael M Slusarz [Fri, 23 Apr 2010 06:10:31 +0000 (00:10 -0600)]
Clean up tasks/notes creation

15 years agoRemove messageid parameter to append()
Michael M Slusarz [Fri, 23 Apr 2010 05:38:31 +0000 (23:38 -0600)]
Remove messageid parameter to append()

15 years agoHandle binary literal data in a single location.
Michael M Slusarz [Thu, 22 Apr 2010 22:45:09 +0000 (16:45 -0600)]
Handle binary literal data in a single location.

Benefit: cleans up append() implementation, and allows append data to be
handled entirely via streams.

15 years agoBug #8880: Close contextmenu when clicking on any element that activates the same...
Michael M Slusarz [Thu, 22 Apr 2010 21:18:09 +0000 (15:18 -0600)]
Bug #8880: Close contextmenu when clicking on any element that activates the same contextmenu

15 years agoImprove clarity of popdown generation code
Michael M Slusarz [Thu, 22 Apr 2010 20:57:12 +0000 (14:57 -0600)]
Improve clarity of popdown generation code

15 years agoUse prototypejs' sub()/gsub()
Michael M Slusarz [Thu, 22 Apr 2010 20:21:37 +0000 (14:21 -0600)]
Use prototypejs' sub()/gsub()

15 years agoBetter way of grabbing viewport rows (ignores empty message rows)
Michael M Slusarz [Thu, 22 Apr 2010 18:43:22 +0000 (12:43 -0600)]
Better way of grabbing viewport rows (ignores empty message rows)

15 years agoFix ViewPort:clear firing
Michael M Slusarz [Thu, 22 Apr 2010 18:43:18 +0000 (12:43 -0600)]
Fix ViewPort:clear firing

15 years agoNeed a more unique DOM ID
Michael M Slusarz [Thu, 22 Apr 2010 18:27:14 +0000 (12:27 -0600)]
Need a more unique DOM ID

15 years agoDisable test script by default
Michael M Slusarz [Thu, 22 Apr 2010 17:47:35 +0000 (11:47 -0600)]
Disable test script by default

15 years agoBug #8984: Always encode address headers using Horde_Mime::encodeAddress()
Michael M Slusarz [Thu, 22 Apr 2010 17:33:15 +0000 (11:33 -0600)]
Bug #8984: Always encode address headers using Horde_Mime::encodeAddress()

15 years agoNot needed
Michael M Slusarz [Thu, 22 Apr 2010 17:19:41 +0000 (11:19 -0600)]
Not needed

15 years agoIf marked as updated, need to re-add the viewport row
Michael M Slusarz [Thu, 22 Apr 2010 17:13:45 +0000 (11:13 -0600)]
If marked as updated, need to re-add the viewport row

15 years agoSuppress fopen() errors for IMAP debugging
Michael M Slusarz [Thu, 22 Apr 2010 16:55:01 +0000 (10:55 -0600)]
Suppress fopen() errors for IMAP debugging

15 years agoFallback to STATUS if LIST-STATUS doesn't work properly
Michael M Slusarz [Thu, 22 Apr 2010 16:54:48 +0000 (10:54 -0600)]
Fallback to STATUS if LIST-STATUS doesn't work properly

15 years agoRewrite IMAP command generator.
Michael M Slusarz [Wed, 21 Apr 2010 00:04:46 +0000 (18:04 -0600)]
Rewrite IMAP command generator.

An unfortunate IMAP implementation detail is the various ways strings
are handled.  Depending on the command, and different portions of the
command, different quoting styles are needed.  And to make things worse,
literals are always needed in certain cases (if CR or LF is present in
the string; if 8-bit characters are present).

Refactor the _sendLine() function to accept array input, with the
various elements of the array identified as the various IMAP string
types.  Then, in a central location, figure out how to quote/send the
command to the server.

15 years agoescape() should only add quotes if string needs to be quoted
Michael M Slusarz [Wed, 21 Apr 2010 21:00:28 +0000 (15:00 -0600)]
escape() should only add quotes if string needs to be quoted

15 years ago[jan] Delete Horde alarms when resetting an event alarm.
Jan Schneider [Thu, 22 Apr 2010 10:53:29 +0000 (12:53 +0200)]
[jan] Delete Horde alarms when resetting an event alarm.
[jan] Set an alarm to one minute, if users try to set an alarm without time.

15 years agoMFB: Add warning that caching has been removed from eAccelerator 0.9.5 (Request ...
Jan Schneider [Wed, 21 Apr 2010 08:12:11 +0000 (10:12 +0200)]
MFB: Add warning that caching has been removed from eAccelerator 0.9.5 (Request #8979).

15 years agoFurther optimize viewport redraw
Michael M Slusarz [Wed, 21 Apr 2010 19:39:21 +0000 (13:39 -0600)]
Further optimize viewport redraw

Try to reuse existing DOM elements, especially for common actions like
delete and scrolling. This avoids the overhead of removing/creating the
DOM element and the corresponding callbacks (making the element
draggable/attaching context menus).

15 years agoUse more human-readable keyword names, for use with other MUAs
Michael M Slusarz [Tue, 20 Apr 2010 21:14:40 +0000 (15:14 -0600)]
Use more human-readable keyword names, for use with other MUAs

15 years agoFix HTML form variable names.
Michael M Slusarz [Tue, 20 Apr 2010 21:06:44 +0000 (15:06 -0600)]
Fix HTML form variable names.

15 years agoAdd Horde_Imap_Client_Utils::stripNonAtomChars()
Michael M Slusarz [Tue, 20 Apr 2010 21:03:47 +0000 (15:03 -0600)]
Add Horde_Imap_Client_Utils::stripNonAtomChars()

15 years agoAdd preference to show flags created by other MUAs (Request #8882)
Michael M Slusarz [Tue, 20 Apr 2010 08:49:53 +0000 (02:49 -0600)]
Add preference to show flags created by other MUAs (Request #8882)

15 years agoHandle color strings other than #xxxxxx
Michael M Slusarz [Tue, 20 Apr 2010 20:31:09 +0000 (14:31 -0600)]
Handle color strings other than #xxxxxx

15 years agoBug #8980: Don't show 'Show Attachments Only' option
Michael M Slusarz [Tue, 20 Apr 2010 19:18:10 +0000 (13:18 -0600)]
Bug #8980: Don't show 'Show Attachments Only' option

15 years agoBug #8980: Fix displaying all parts
Michael M Slusarz [Tue, 20 Apr 2010 19:14:30 +0000 (13:14 -0600)]
Bug #8980: Fix displaying all parts

15 years agoStart with position of the mousedown event, not of the mouseevent (after
Jan Schneider [Tue, 20 Apr 2010 17:09:39 +0000 (19:09 +0200)]
Start with position of the mousedown event, not of the mouseevent (after
applying the threshold).
This fixes ghosts not being under the mouse pointer when dragging fast.

15 years agoUse Element.Layout to calculate the ghost size.
Jan Schneider [Tue, 20 Apr 2010 16:47:45 +0000 (18:47 +0200)]
Use Element.Layout to calculate the ghost size.

15 years agoTry centering the events a bit.
Jan Schneider [Tue, 20 Apr 2010 16:20:03 +0000 (18:20 +0200)]
Try centering the events a bit.

15 years agoAdd item on blur too.
Jan Schneider [Tue, 20 Apr 2010 15:40:54 +0000 (17:40 +0200)]
Add item on blur too.

15 years agoRemove unused code, style.
Jan Schneider [Tue, 20 Apr 2010 15:37:05 +0000 (17:37 +0200)]
Remove unused code, style.

15 years agoIndention
Jan Schneider [Tue, 20 Apr 2010 15:07:13 +0000 (17:07 +0200)]
Indention

15 years agoAutomatically display new remote calendars.
Jan Schneider [Tue, 20 Apr 2010 14:04:41 +0000 (16:04 +0200)]
Automatically display new remote calendars.

15 years agoNeed some special handling for @ chars in urls.
Jan Schneider [Tue, 20 Apr 2010 13:35:44 +0000 (15:35 +0200)]
Need some special handling for @ chars in urls.

15 years agoFix syntax for IE.
Jan Schneider [Tue, 20 Apr 2010 13:19:03 +0000 (15:19 +0200)]
Fix syntax for IE.

15 years agoA bit easier to read the imap log with this output
Michael M Slusarz [Tue, 20 Apr 2010 08:14:45 +0000 (02:14 -0600)]
A bit easier to read the imap log with this output

15 years agoWe implicitly support RFC 3348 already
Michael M Slusarz [Tue, 20 Apr 2010 07:41:36 +0000 (01:41 -0600)]
We implicitly support RFC 3348 already

15 years agoAdd some margin to the events, so that users can still click next to them to create...
Jan Schneider [Mon, 19 Apr 2010 15:08:51 +0000 (17:08 +0200)]
Add some margin to the events, so that users can still click next to them to create new events.

15 years agoNuke new.js.
Jan Schneider [Mon, 19 Apr 2010 13:02:57 +0000 (15:02 +0200)]
Nuke new.js.
Update end date when using the date picker too.

15 years agoDon't remove original event if saving as new.
Jan Schneider [Mon, 19 Apr 2010 12:49:44 +0000 (14:49 +0200)]
Don't remove original event if saving as new.

15 years agoUse element storage for all-day cell dates.
Jan Schneider [Mon, 19 Apr 2010 12:24:44 +0000 (14:24 +0200)]
Use element storage for all-day cell dates.

15 years agoUpdate changelog.
Jan Schneider [Tue, 20 Apr 2010 08:31:11 +0000 (10:31 +0200)]
Update changelog.

15 years agoAdd a preference to not send notifications to task modifier. If the task is added...
Joel Smith [Mon, 19 Apr 2010 18:26:34 +0000 (12:26 -0600)]
Add a preference to not send notifications to task modifier. If the task is added/updated/deleted by the user, this pref prevents the user from getting notified of his/her own changes. (Addresses Request #8978)

Signed-off-by: Jan Schneider <jan@horde.org>