horde.git
15 years agoRemove newly-added prefs.php cruft
Michael M Slusarz [Mon, 12 Apr 2010 20:01:13 +0000 (14:01 -0600)]
Remove newly-added prefs.php cruft

15 years agoMerge branch 'master' into newprefs
Michael M Slusarz [Mon, 12 Apr 2010 20:00:45 +0000 (14:00 -0600)]
Merge branch 'master' into newprefs

15 years agoSave user IMAP flags in separate array.
Michael M Slusarz [Mon, 12 Apr 2010 19:46:05 +0000 (13:46 -0600)]
Save user IMAP flags in separate array.

Allows for easier changing of system flags in the future, instead of
having to traverse through all user pref entries.

15 years agoremove obsolete file
Michael J. Rubinsky [Mon, 12 Apr 2010 19:24:13 +0000 (15:24 -0400)]
remove obsolete file

15 years agoNo need for nls in this test.
Michael J. Rubinsky [Mon, 12 Apr 2010 19:21:42 +0000 (15:21 -0400)]
No need for nls in this test.

15 years agoDon't run these tests if the NLS system cannot be initialized
Michael J. Rubinsky [Mon, 12 Apr 2010 18:55:15 +0000 (14:55 -0400)]
Don't run these tests if the NLS system cannot be initialized

15 years agoFix the Horde_String side effect in the Kolab_Format event test. Add corresponding...
Gunnar Wrobel [Mon, 12 Apr 2010 18:49:47 +0000 (20:49 +0200)]
Fix the Horde_String side effect in the Kolab_Format event test. Add corresponding TODO item.

15 years agoAllow no prefGroups to be defined
Michael M Slusarz [Mon, 12 Apr 2010 18:46:26 +0000 (12:46 -0600)]
Allow no prefGroups to be defined

15 years agoClean up chora prefs file
Michael M Slusarz [Mon, 12 Apr 2010 18:45:12 +0000 (12:45 -0600)]
Clean up chora prefs file

15 years agoFix alarm preference display
Michael M Slusarz [Mon, 12 Apr 2010 18:44:55 +0000 (12:44 -0600)]
Fix alarm preference display

15 years agoTurba prefs UI fixes
Michael M Slusarz [Mon, 12 Apr 2010 18:40:50 +0000 (12:40 -0600)]
Turba prefs UI fixes

15 years agoUnselect search fields when removing selected addressbook
Michael M Slusarz [Mon, 12 Apr 2010 18:33:25 +0000 (12:33 -0600)]
Unselect search fields when removing selected addressbook

15 years agoFix some copy/paste errors
Michael M Slusarz [Mon, 12 Apr 2010 18:26:59 +0000 (12:26 -0600)]
Fix some copy/paste errors

15 years agoOnly update prefs if they contain non-default values
Michael M Slusarz [Mon, 12 Apr 2010 18:23:16 +0000 (12:23 -0600)]
Only update prefs if they contain non-default values

15 years agoMerge branch 'master' into newprefs
Michael M Slusarz [Mon, 12 Apr 2010 18:15:42 +0000 (12:15 -0600)]
Merge branch 'master' into newprefs

Conflicts:
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde.php
framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php
framework/ActiveSync/lib/Horde/ActiveSync/Request/Ping.php
framework/ActiveSync/lib/Horde/ActiveSync/Request/Sync.php
framework/ActiveSync/lib/Horde/ActiveSync/State/File.php
kronolith/lib/Event.php

15 years agoNo longer any need for this mock importer. Also, fix some class constants
Michael J. Rubinsky [Mon, 12 Apr 2010 17:55:30 +0000 (13:55 -0400)]
No longer any need for this mock importer. Also, fix some class constants

15 years agoAdd initial tests for testing the FolderSync command.
Michael J. Rubinsky [Mon, 12 Apr 2010 17:43:18 +0000 (13:43 -0400)]
Add initial tests for testing the FolderSync command.

Use a file stream to mimick the php input stream, use a memory stream to hold
the output data to check for validity.

15 years agoSeperate the header output from the wbxml header data.
Michael J. Rubinsky [Mon, 12 Apr 2010 17:42:14 +0000 (13:42 -0400)]
Seperate the header output from the wbxml header data.

15 years agoremove obsolete members
Michael J. Rubinsky [Mon, 12 Apr 2010 17:41:37 +0000 (13:41 -0400)]
remove obsolete members

15 years agoClass constant, add method for retrieving the currently loaded synckey
Michael J. Rubinsky [Mon, 12 Apr 2010 17:40:13 +0000 (13:40 -0400)]
Class constant, add method for retrieving the currently loaded synckey

15 years agoclass constant
Michael J. Rubinsky [Mon, 12 Apr 2010 17:39:41 +0000 (13:39 -0400)]
class constant

15 years agows, variable names
Michael J. Rubinsky [Mon, 12 Apr 2010 17:38:27 +0000 (13:38 -0400)]
ws, variable names

15 years agows, class constants, no need to check for different cases of headers anymore
Michael J. Rubinsky [Mon, 12 Apr 2010 17:37:20 +0000 (13:37 -0400)]
ws, class constants, no need to check for different cases of headers anymore

15 years agoReset snooze when updating the alarm.
Jan Schneider [Mon, 12 Apr 2010 15:30:35 +0000 (17:30 +0200)]
Reset snooze when updating the alarm.

15 years agoThese should pass now
Michael J. Rubinsky [Mon, 12 Apr 2010 14:41:43 +0000 (10:41 -0400)]
These should pass now

15 years agoDon't convert to timestamp for comparison here, it will give different values
Michael J. Rubinsky [Mon, 12 Apr 2010 14:36:58 +0000 (10:36 -0400)]
Don't convert to timestamp for comparison here, it will give different values
in different tz.

15 years agoOnly show up to 3 events in all-day row of week view, and link to day view, where...
Jan Schneider [Mon, 12 Apr 2010 14:28:12 +0000 (16:28 +0200)]
Only show up to 3 events in all-day row of week view, and link to day view, where the all-day events are floating now.

15 years agodoc
Jan Schneider [Mon, 12 Apr 2010 13:48:25 +0000 (15:48 +0200)]
doc

15 years agoAdd link to default notification settings.
Jan Schneider [Mon, 12 Apr 2010 12:04:33 +0000 (13:04 +0100)]
Add link to default notification settings.

15 years agoBind this.
Jan Schneider [Mon, 12 Apr 2010 13:39:47 +0000 (15:39 +0200)]
Bind this.

15 years agoAdd button titles.
Jan Schneider [Mon, 12 Apr 2010 12:04:32 +0000 (13:04 +0100)]
Add button titles.

15 years agoShort notations don't work in Safari yet.
Jan Schneider [Mon, 12 Apr 2010 12:27:27 +0000 (14:27 +0200)]
Short notations don't work in Safari yet.

15 years agoFix method signature to match recent changes
Michael J. Rubinsky [Mon, 12 Apr 2010 13:50:52 +0000 (09:50 -0400)]
Fix method signature to match recent changes

15 years agoDo not explicitely check on null but rather on the code being empty. This adapts...
Gunnar Wrobel [Mon, 12 Apr 2010 08:55:16 +0000 (10:55 +0200)]
Do not explicitely check on null but rather on the code being empty. This adapts to the last commit switching the code default argument from null to integer 0.

15 years agoThis is failing for me. I assume "morgen" matches the "morgens?" regex rather than...
Gunnar Wrobel [Mon, 12 Apr 2010 08:52:42 +0000 (10:52 +0200)]
This is failing for me. I assume "morgen" matches the "morgens?" regex rather than indicating tomorrow (which would explain the result I see). Is there actually code to match the german "morgen" to "tomorrow"?

15 years agoTesting should not rely on a network connection.
Gunnar Wrobel [Mon, 12 Apr 2010 08:51:26 +0000 (10:51 +0200)]
Testing should not rely on a network connection.

15 years agoThe tests in the Feed package seem to be the only ones using the Mock Response. And...
Gunnar Wrobel [Mon, 12 Apr 2010 08:51:07 +0000 (10:51 +0200)]
The tests in the Feed package seem to be the only ones using the Mock Response. And they expect the class to have a constructor (which has been removed at some point in the Base class).

15 years agoEnsure the correct timezone here.
Gunnar Wrobel [Mon, 12 Apr 2010 08:49:08 +0000 (10:49 +0200)]
Ensure the correct timezone here.

15 years agoIf these are not passing yet, they should be marked as incomplete.
Gunnar Wrobel [Mon, 12 Apr 2010 08:48:47 +0000 (10:48 +0200)]
If these are not passing yet, they should be marked as incomplete.

15 years agoFix for strict testing.
Gunnar Wrobel [Mon, 12 Apr 2010 08:48:19 +0000 (10:48 +0200)]
Fix for strict testing.

15 years agoE_DEPRECATED does not exist for below 5.3.
Gunnar Wrobel [Mon, 12 Apr 2010 08:47:53 +0000 (10:47 +0200)]
E_DEPRECATED does not exist for below 5.3.

After fixing this all three tests were still failing for various reasons. Is that just me or are they failing for others also? I marked them "incomplete" for now.

15 years agoSetting the timezone when including the file has undesired side effects when running...
Gunnar Wrobel [Mon, 12 Apr 2010 04:29:13 +0000 (06:29 +0200)]
Setting the timezone when including the file has undesired side effects when running the complete test suite. The tests need to ensure that they clean up afterwards.

15 years agoThis init() call is required in AllTests.php to correctly initialize the class and...
Gunnar Wrobel [Mon, 12 Apr 2010 04:28:01 +0000 (06:28 +0200)]
This init() call is required in AllTests.php to correctly initialize the class and inform it about its own location.

15 years agoRevert "Do app pushing entirely within Registry."
Michael M Slusarz [Sun, 11 Apr 2010 18:42:48 +0000 (12:42 -0600)]
Revert "Do app pushing entirely within Registry."

This partially reverts commit 9fc391d83bad2e00b3a72c48e70d169362a5f54f.

15 years agoSimplify, phpdoc
Michael J. Rubinsky [Sun, 11 Apr 2010 16:22:21 +0000 (12:22 -0400)]
Simplify, phpdoc

15 years agoMissed this file in last commit - adds support for ActiveSync to Nag.
Michael J. Rubinsky [Sun, 11 Apr 2010 15:44:20 +0000 (11:44 -0400)]
Missed this file in last commit - adds support for ActiveSync to Nag.

15 years agoAdd support for synching with ActiveSync devices
Michael J. Rubinsky [Sun, 11 Apr 2010 15:22:33 +0000 (11:22 -0400)]
Add support for synching with ActiveSync devices

15 years agoCheck for errors
Michael J. Rubinsky [Sun, 11 Apr 2010 15:20:43 +0000 (11:20 -0400)]
Check for errors

15 years agooutput the values in the log too
Michael J. Rubinsky [Sun, 11 Apr 2010 15:20:23 +0000 (11:20 -0400)]
output the values in the log too

15 years agoAdd support for synching tasks
Michael J. Rubinsky [Sun, 11 Apr 2010 15:19:48 +0000 (11:19 -0400)]
Add support for synching tasks

15 years agoremove cruft
Michael J. Rubinsky [Sun, 11 Apr 2010 15:00:38 +0000 (11:00 -0400)]
remove cruft

15 years agoConsolidate code run when switching applications
Michael M Slusarz [Sun, 11 Apr 2010 01:42:24 +0000 (19:42 -0600)]
Consolidate code run when switching applications

15 years agoNeed to push app on stack earlier to prevent loop
Michael M Slusarz [Sun, 11 Apr 2010 01:37:21 +0000 (19:37 -0600)]
Need to push app on stack earlier to prevent loop

15 years agoDo app pushing entirely within Registry.
Michael M Slusarz [Sun, 11 Apr 2010 01:27:52 +0000 (19:27 -0600)]
Do app pushing entirely within Registry.

This reverts commit 2b647b8ef7bb3be67b3b63616b9988de697744f6.

15 years agofix file name
Michael J. Rubinsky [Sat, 10 Apr 2010 19:35:45 +0000 (15:35 -0400)]
fix file name

15 years agoNeed to push $app onto the stack before loading it's preferences.
Michael J. Rubinsky [Sat, 10 Apr 2010 17:41:57 +0000 (13:41 -0400)]
Need to push $app onto the stack before loading it's preferences.

Prevents fatal errors due to autoloading not being setup for the app.

15 years agoMake sure we have the APIs needed for each folder class
Michael J. Rubinsky [Sat, 10 Apr 2010 17:22:09 +0000 (13:22 -0400)]
Make sure we have the APIs needed for each folder class

15 years agoAdd a Task message object in preperation for task synch support
Michael J. Rubinsky [Sat, 10 Apr 2010 16:32:54 +0000 (12:32 -0400)]
Add a Task message object in preperation for task synch support

...also consistently use self:: for these constants where appropriate

15 years agoset the activesync MEETINGSTATUS property accordingly.
Michael J. Rubinsky [Sat, 10 Apr 2010 16:10:16 +0000 (12:10 -0400)]
set the activesync MEETINGSTATUS property accordingly.

15 years agoRemove stale syncstate if we have a key mismatch
Michael J. Rubinsky [Sat, 10 Apr 2010 15:50:08 +0000 (11:50 -0400)]
Remove stale syncstate if we have a key mismatch

15 years agothis method is now obsolete
Michael J. Rubinsky [Sat, 10 Apr 2010 14:58:40 +0000 (10:58 -0400)]
this method is now obsolete

15 years agoWhen performing remotewipe, only send <status> and <remotewipe />
Michael J. Rubinsky [Sat, 10 Apr 2010 14:53:04 +0000 (10:53 -0400)]
When performing remotewipe, only send <status> and <remotewipe />

We were sending the entire provision section - it should be ignored by
clients...but the spec clearly states it should only contain <remotewipe />

15 years agoremove todo and obsolete constants
Michael J. Rubinsky [Sat, 10 Apr 2010 14:52:40 +0000 (10:52 -0400)]
remove todo and obsolete constants

15 years agoThrow exception if synckey is mangled, and return appropriate status code to PIM
Michael J. Rubinsky [Sat, 10 Apr 2010 14:09:42 +0000 (10:09 -0400)]
Throw exception if synckey is mangled, and return appropriate status code to PIM

15 years agoRemove a bunch of @todo
Michael J. Rubinsky [Sat, 10 Apr 2010 14:02:22 +0000 (10:02 -0400)]
Remove a bunch of @todo

15 years agoFix case of method name, remove deprecated code
Michael J. Rubinsky [Sat, 10 Apr 2010 13:48:22 +0000 (09:48 -0400)]
Fix case of method name, remove deprecated code

15 years agoInitial implementation of the sendMail method.
Michael J. Rubinsky [Sat, 10 Apr 2010 13:42:39 +0000 (09:42 -0400)]
Initial implementation of the sendMail method.

sendMail receives a rfc822 string from the PIM, parses it and sends it through Horde's configured mailer.
Currently only used when the PIM initiates sending appointment invitations. Still need to fill in the rest of the
implementation before it can be used more widely.

15 years agoInject a mailer instance into the activesync driver
Michael J. Rubinsky [Sat, 10 Apr 2010 13:42:01 +0000 (09:42 -0400)]
Inject a mailer instance into the activesync driver

15 years agoAdd SendMail.php to package.xml
Michael J. Rubinsky [Fri, 9 Apr 2010 22:55:11 +0000 (18:55 -0400)]
Add SendMail.php to package.xml

15 years agoWe need to implement SendMail:
Michael J. Rubinsky [Fri, 9 Apr 2010 22:50:34 +0000 (18:50 -0400)]
We need to implement SendMail:

Seems that some clients automatically call SendMail when creating a new appointment with attendees and send
them a meeting invitation. Implement the request class, but the driver currently discards the email rec'd. Need
to figure out what to do with this...

15 years agoThe last of the (currently implemented) constants.
Michael J. Rubinsky [Fri, 9 Apr 2010 22:39:06 +0000 (18:39 -0400)]
The last of the (currently implemented) constants.

..also comment out the defines for constants used in commands that are not yet implemented.

15 years agoRemove deprecated defines
Michael J. Rubinsky [Fri, 9 Apr 2010 22:08:47 +0000 (18:08 -0400)]
Remove deprecated defines

15 years agoMove Request related constants to the main Horde_ActiveSync class.
Michael J. Rubinsky [Fri, 9 Apr 2010 22:06:36 +0000 (18:06 -0400)]
Move Request related constants to the main Horde_ActiveSync class.

These are used in various places, avoid loading other files just to get
at these constants.

15 years agoFix constant name
Michael J. Rubinsky [Fri, 9 Apr 2010 22:06:10 +0000 (18:06 -0400)]
Fix constant name

15 years agoMore constant fixes
Michael J. Rubinsky [Fri, 9 Apr 2010 21:53:38 +0000 (17:53 -0400)]
More constant fixes

15 years agoDon't output any body, just the header. Devices won't show this anyway
Michael J. Rubinsky [Fri, 9 Apr 2010 21:52:03 +0000 (17:52 -0400)]
Don't output any body, just the header. Devices won't show this anyway

15 years agoTRUNCATION constants
Michael J. Rubinsky [Fri, 9 Apr 2010 20:13:20 +0000 (16:13 -0400)]
TRUNCATION constants

15 years agoClass constants for various sync request tags
Michael J. Rubinsky [Fri, 9 Apr 2010 20:07:15 +0000 (16:07 -0400)]
Class constants for various sync request tags

15 years agoStart moving these to class constants.
Michael J. Rubinsky [Fri, 9 Apr 2010 19:15:49 +0000 (15:15 -0400)]
Start moving these to class constants.

This one moves the POOMCONTACTS and POOMCONTACTS2 constants

15 years agoCorrectly determine if we are creating a session or not when calling rpc.php.
Michael J. Rubinsky [Fri, 9 Apr 2010 18:01:00 +0000 (14:01 -0400)]
Correctly determine if we are creating a session or not when calling rpc.php.

Need to determine type of server before calling appInit() and also need to let
Horde_Controller_Request_Http know we don't want a session.  This will probably
be taken care of when we use a full-fledged controller here, but for now we need to
pass the session_control value to the Request const'r.

15 years agoFix check if AS is disabled.
Jan Schneider [Fri, 9 Apr 2010 17:04:20 +0000 (19:04 +0200)]
Fix check if AS is disabled.

15 years agoDisplay subscription URLs.
Jan Schneider [Fri, 9 Apr 2010 15:49:40 +0000 (16:49 +0100)]
Display subscription URLs.

15 years agoTweak alignment and wording.
Jan Schneider [Fri, 9 Apr 2010 15:49:39 +0000 (16:49 +0100)]
Tweak alignment and wording.

15 years agoShow 'no items' notice if a calendar section is empty.
Jan Schneider [Fri, 9 Apr 2010 15:49:38 +0000 (16:49 +0100)]
Show 'no items' notice if a calendar section is empty.

15 years agoRender 'more' links inline.
Jan Schneider [Fri, 9 Apr 2010 15:49:37 +0000 (16:49 +0100)]
Render 'more' links inline.

15 years agoUse "bolder" arrow sign.
Jan Schneider [Fri, 9 Apr 2010 15:42:48 +0000 (17:42 +0200)]
Use "bolder" arrow sign.

15 years agoMFB: Remove deleted list contacts from the same address book too.
Jan Schneider [Fri, 9 Apr 2010 13:36:54 +0000 (15:36 +0200)]
MFB: Remove deleted list contacts from the same address book too.

15 years agoCheck for pear_error being returned from Horde_Share
Michael J. Rubinsky [Thu, 8 Apr 2010 19:53:41 +0000 (15:53 -0400)]
Check for pear_error being returned from Horde_Share

15 years agoNeed to define this variable even if we are wiping
Michael J. Rubinsky [Thu, 8 Apr 2010 19:50:30 +0000 (15:50 -0400)]
Need to define this variable even if we are wiping

15 years agoThese properties are only present in AS versions > 2.5
Michael J. Rubinsky [Thu, 8 Apr 2010 19:49:25 +0000 (15:49 -0400)]
These properties are only present in AS versions > 2.5

15 years agoInitial support for resources to contain email addresses.
Michael J. Rubinsky [Thu, 8 Apr 2010 18:49:05 +0000 (14:49 -0400)]
Initial support for resources to contain email addresses.

No notifications are sent, just stores the email address. Needed for
synch clients that support resource attendees.

15 years agoAvoid &new.
Gunnar Wrobel [Thu, 8 Apr 2010 18:30:11 +0000 (20:30 +0200)]
Avoid &new.

15 years agoRefactor the permission handling in Kolab_Storage.
Gunnar Wrobel [Thu, 8 Apr 2010 17:45:54 +0000 (19:45 +0200)]
Refactor the permission handling in Kolab_Storage.

15 years agoDon't attempt to send categories if none are set
Michael J. Rubinsky [Thu, 8 Apr 2010 17:25:18 +0000 (13:25 -0400)]
Don't attempt to send categories if none are set

15 years agoThis method is called statically
Michael J. Rubinsky [Thu, 8 Apr 2010 16:36:10 +0000 (12:36 -0400)]
This method is called statically

15 years agoFill in the remaining properties for event exceptions - and add missing support for...
Michael J. Rubinsky [Thu, 8 Apr 2010 14:34:09 +0000 (10:34 -0400)]
Fill in the remaining properties for event exceptions - and add missing support for the body (kronolith's Notes field) element.

15 years agoSome clients send a PROVISION command even when it's not told to do so by the server.
Michael J. Rubinsky [Thu, 8 Apr 2010 14:24:44 +0000 (10:24 -0400)]
Some clients send a PROVISION command even when it's not told to do so by the server.

We must check our provision setting when we receive a PROVISION request, and send back
a NOT_DEFINED status code if no policy exists on the server.

15 years agoThe list of internal attributes is just a list and not an association of attribute...
Gunnar Wrobel [Thu, 8 Apr 2010 13:10:24 +0000 (15:10 +0200)]
The list of internal attributes is just a list and not an association of attribute names and corresponding class names.

15 years agoAlways fetch single attributes.
Gunnar Wrobel [Thu, 8 Apr 2010 12:50:19 +0000 (14:50 +0200)]
Always fetch single attributes.

15 years agoMigrate hooks to H4 (Request #8954).
Jan Schneider [Thu, 8 Apr 2010 08:28:39 +0000 (10:28 +0200)]
Migrate hooks to H4 (Request #8954).