Michael M Slusarz [Tue, 6 Apr 2010 23:26:40 +0000 (17:26 -0600)]
Convert Ansel to new preferences UI code
Michael M Slusarz [Thu, 25 Mar 2010 17:55:04 +0000 (11:55 -0600)]
Preferences UI rewrite.
Goals of the rewrite:
1. Make ALL preference page display across ALL applications handled by a
single point: the horde services preference page. This means moving all
application specifc preference handling to inside of
Horde_Registry_Application functions. NO page, other than
horde/services/prefs.php, should be using the Horde Prefs UI functions
anymore.
2. Move Horde Prefs UI code out of Prefs package and into the Core
package. UI handling is not something that should be handled by a
library (will eventually move other things out of Prefs too, including
Category Management and Identity code, since this is code that overlays
the Prefs driver in a Horde-specific manner)
3. Simplify the prefs UI configuration. Don't require 'shared' or
'locked' entries (default to false) or 'type' entry (default to
'implicit'). Remove some unneeded types (select). Improve documentation.
4. Handle dynamic population of entries and suppression of prefGroups
and specific preferences in Application::prefsInit(). This code confuses
the prefs.php file.
5. Abstract out some common 'special' preference handlers. For
example, identical addressbook selection code is used in several
applications (imp, kronolith, whups). Move this code to a prefs UI
widgets class so it can be reused.
6. Convert prefs templates to Horde_Template. As always, I know the
arguments against HT, but the simple fact is that is still the only
time-tested method that we used and it does produce a template file that
is easy to edit. Not to mention that the PHP code polluting the old
include files made these files absolutely unreadable and/or
maintainable.
7. Remove credentials code. It wasn't being used anywhere in the code (I
believe it used to be a hack for IMP-related auth in Horde 3.x, but
shouldn't be needed anymore due to new authentication code).
8. Other improvements that have escaped my mind since I have been
working on this code for several weeks now...
Reasons for the rewrite:
1. The old Prefs UI code was ancient and a mess. It was a static file
and globals were used all over the place. New UI code is OO-based and
allows us to pass the object around, making these like suppression of
groups/prefs, hiding buttons, and current state identification much
easier and cleaner.
2. There is a need to redo the UI itself, especially for dynamic
apps, to allow for a different/better preferences experience. Thus, the
UI will eventually be able to be themed based on the current view type
(dynamic, standard, mobile/minimal). To do this, all UI needs to be
controlled from a single source, rather than disparate scripts.
3. Add ability to mark preferences as 'advanced' so they are not shown
by default. This is prefereable to the current method of 'locking'
advanced prefs. Admins may very well want users to be able to change a
pref, but they don't want that pref shown to basic users.
Michael M Slusarz [Tue, 6 Apr 2010 19:23:07 +0000 (13:23 -0600)]
Update help documentation
Michael M Slusarz [Tue, 6 Apr 2010 19:15:45 +0000 (13:15 -0600)]
Add another level to disposition_send_mdn pref
Given that many spam messages are sent requesting MDNs, it is probably
best no to have MDNs sent out automatically by default. So add a "MDNs
allowed, but prompt first", which will be the default.
Michael M Slusarz [Tue, 6 Apr 2010 19:08:04 +0000 (13:08 -0600)]
Add IMP_Compose::getMailOb()
Michael M Slusarz [Tue, 6 Apr 2010 18:56:32 +0000 (12:56 -0600)]
Fix mailer parameter when sending MDNs
Michael M Slusarz [Tue, 6 Apr 2010 17:19:03 +0000 (11:19 -0600)]
Bug #8949: Fix contacts popup javascript
Michael J. Rubinsky [Tue, 6 Apr 2010 00:43:40 +0000 (20:43 -0400)]
Allow for configuring a separate log file specifically for activesync requests
Michael J. Rubinsky [Mon, 5 Apr 2010 21:57:25 +0000 (17:57 -0400)]
Default value
Michael J. Rubinsky [Mon, 5 Apr 2010 21:51:31 +0000 (17:51 -0400)]
Default this value to an empty array
Jan Schneider [Mon, 5 Apr 2010 21:15:01 +0000 (23:15 +0200)]
Print paths where we looked for the autoloader.
Jan Schneider [Mon, 5 Apr 2010 16:16:58 +0000 (18:16 +0200)]
MFB: Accounts block needs File_Fstab for localhost driver.
Jan Schneider [Thu, 1 Apr 2010 17:33:57 +0000 (19:33 +0200)]
Don't hardcode supported HTTP methods.
Michael J. Rubinsky [Mon, 5 Apr 2010 21:37:01 +0000 (17:37 -0400)]
Don't throw an exception here.
This might be an end tag instead of content...some clients seem to send
tag pairs even when there is no content...this allows them to continue working
withoug throwing fatal errors
Michael J. Rubinsky [Mon, 5 Apr 2010 21:36:34 +0000 (17:36 -0400)]
Fix logging level.
if I had a dime...
Michael J. Rubinsky [Mon, 5 Apr 2010 21:25:39 +0000 (17:25 -0400)]
this method lives in the state object now
Ben Klang [Mon, 5 Apr 2010 20:12:41 +0000 (16:12 -0400)]
Shout: Improve adding numbers without menus
Ben Klang [Sat, 3 Apr 2010 02:30:09 +0000 (22:30 -0400)]
Shout: highlight the dial-in number
Michael M Slusarz [Mon, 5 Apr 2010 19:47:05 +0000 (13:47 -0600)]
Fix javascript error on IE (see prototype bug 38)
Michael M Slusarz [Mon, 5 Apr 2010 19:46:34 +0000 (13:46 -0600)]
IE7 CSS fixes
Michael J. Rubinsky [Mon, 5 Apr 2010 17:30:58 +0000 (13:30 -0400)]
fix parse error
Michael J. Rubinsky [Mon, 5 Apr 2010 15:52:35 +0000 (11:52 -0400)]
add type and status to the Attendee message object
Michael J. Rubinsky [Mon, 5 Apr 2010 15:50:58 +0000 (11:50 -0400)]
Fix constant names
Michael J. Rubinsky [Mon, 5 Apr 2010 15:48:16 +0000 (11:48 -0400)]
Obsolete phpdoc
Michael J. Rubinsky [Mon, 5 Apr 2010 15:47:05 +0000 (11:47 -0400)]
Better name for this variable
Michael J. Rubinsky [Mon, 5 Apr 2010 15:46:34 +0000 (11:46 -0400)]
Fix variable name
Michael J. Rubinsky [Mon, 5 Apr 2010 15:45:17 +0000 (11:45 -0400)]
Add missing wbxml values for AttendeeStatus and AttendeeType
Michael M Slusarz [Mon, 5 Apr 2010 05:18:25 +0000 (23:18 -0600)]
Bug #8943: Fix function name
Michael J. Rubinsky [Sun, 4 Apr 2010 03:51:20 +0000 (23:51 -0400)]
Finish up support for recurring events with exceptions.
Recurring events now support exceptions both from server->pim and from pim->server
This *should* complete support for calendar syncing :-)
Michael J. Rubinsky [Sun, 4 Apr 2010 03:43:52 +0000 (23:43 -0400)]
Add support for a exceptionoriginaldate field.
This field tracks the start date of the instance of the recurring event that
an exception is for. This is needed for sync clients to be able to know
if a specific recurring event instance has been deleted. Since if the exception
starts on a different date (and not just a different time), it's impossible to
match up the events representing exceptions with the list of exceptions in the
Kronolith_Event object.
Now that we have this information, we can get the list of events that represent
exceptions (i.e. event_baseid == the uid of the original recurring event) and
match them up with the list of exceptions in the $event->exceptions. Any left
over dates in $event->exceptions represent instances of the recurring event
that have been deleted.
Michael J. Rubinsky [Sat, 3 Apr 2010 21:54:14 +0000 (17:54 -0400)]
Request headers are to be handled in a case-insensitive manner per RFC2616.
As a bonus, this simplifies parsing the $_SERVER array for headers...
Michael J. Rubinsky [Sat, 3 Apr 2010 21:34:13 +0000 (17:34 -0400)]
Fix delete link generation.
Need to pass datetime and url parameters to getDeleteUrl() as well. Deleting the
'current' recurrence fails without the datetime parameter, and returning to the
previous view after deletion fails without the url parameter.
Ben Klang [Sat, 3 Apr 2010 02:28:31 +0000 (22:28 -0400)]
Shout: direct to wizard with no menus present
Ben Klang [Sat, 3 Apr 2010 02:13:31 +0000 (22:13 -0400)]
Fix deleting the menu; correct SQL error on accounts
Ben Klang [Sat, 3 Apr 2010 01:58:20 +0000 (21:58 -0400)]
Shout: Clean up menu <-> number associations on delete
Ben Klang [Sat, 3 Apr 2010 01:56:28 +0000 (21:56 -0400)]
Shout: Remove debugging
Ben Klang [Sat, 3 Apr 2010 01:51:56 +0000 (21:51 -0400)]
Shout: re-active the wizard. It works!
Ben Klang [Sat, 3 Apr 2010 01:51:22 +0000 (21:51 -0400)]
Shout: fix admin paths for account management
Ben Klang [Sat, 3 Apr 2010 01:50:49 +0000 (21:50 -0400)]
Shout: Allow selecting numbers by account
Ben Klang [Sat, 3 Apr 2010 00:36:01 +0000 (20:36 -0400)]
Shout: mv accounts admin files into place
Ben Klang [Sat, 3 Apr 2010 00:31:41 +0000 (20:31 -0400)]
Shout: Fix adding/editing numbers
Michael M Slusarz [Sat, 3 Apr 2010 01:01:54 +0000 (19:01 -0600)]
This must be a fatal error - nothing we can do about it
Michael M Slusarz [Fri, 2 Apr 2010 21:38:54 +0000 (15:38 -0600)]
Fix registry logging events on shutdown
Michael M Slusarz [Fri, 2 Apr 2010 04:10:37 +0000 (22:10 -0600)]
Make sure 'sortdate' has a default value
Ben Klang [Fri, 2 Apr 2010 23:34:44 +0000 (19:34 -0400)]
Shout: Update the DB schema
Yes, this will need to be cleaned up...
Ben Klang [Fri, 2 Apr 2010 23:34:32 +0000 (19:34 -0400)]
Shout: refine the wizard UI
Ben Klang [Fri, 2 Apr 2010 23:34:02 +0000 (19:34 -0400)]
Shout: begin work on admin screen to manage numbers
Ben Klang [Fri, 2 Apr 2010 22:34:44 +0000 (18:34 -0400)]
Shout: Prettify the wizard some more
Ben Klang [Fri, 2 Apr 2010 22:34:27 +0000 (18:34 -0400)]
Shout: One more place to catch empty arrays
Ben Klang [Fri, 2 Apr 2010 21:09:35 +0000 (17:09 -0400)]
Shout: Try again to make the buttons behave better
Ben Klang [Fri, 2 Apr 2010 21:08:48 +0000 (17:08 -0400)]
Shout: Add some animation to the dialplan manager
Ben Klang [Fri, 2 Apr 2010 21:08:25 +0000 (17:08 -0400)]
Shout: Convert adding extensions to AJAX
Ben Klang [Fri, 2 Apr 2010 19:34:04 +0000 (15:34 -0400)]
Shout: Get rid of actions in favor of AJAX
Michael J. Rubinsky [Fri, 2 Apr 2010 18:53:07 +0000 (14:53 -0400)]
Only return multiday events once, not on every day it spans.
Returning these events on every day they span will mess up the change counts
and cause a race condition
Michael J. Rubinsky [Fri, 2 Apr 2010 18:52:21 +0000 (14:52 -0400)]
Allow passing the $coverEvents parameter from the listEvents API call
Ben Klang [Fri, 2 Apr 2010 16:49:34 +0000 (12:49 -0400)]
Shout: Continue working on first-run wizard
Start working on merging extensions editor with wizard.
Ben Klang [Fri, 2 Apr 2010 16:49:16 +0000 (12:49 -0400)]
Shout: make sure we pass the account code
Ben Klang [Fri, 2 Apr 2010 16:48:55 +0000 (12:48 -0400)]
Shout: a bit of error checking
Ben Klang [Fri, 2 Apr 2010 14:56:42 +0000 (10:56 -0400)]
Shout: using float on buttons was a bad idea
Michael J. Rubinsky [Fri, 2 Apr 2010 16:47:35 +0000 (12:47 -0400)]
Fix the PurgeEvents login task
Michael J. Rubinsky [Fri, 2 Apr 2010 00:31:09 +0000 (20:31 -0400)]
Fix recurrences when it has a recurInterval other than 1
Michael M Slusarz [Thu, 1 Apr 2010 21:02:34 +0000 (15:02 -0600)]
Update some RFC documentation
Michael M Slusarz [Thu, 1 Apr 2010 18:12:10 +0000 (12:12 -0600)]
Simplify CSS formatting
Michael M Slusarz [Thu, 1 Apr 2010 05:00:32 +0000 (23:00 -0600)]
Fix typo.
Michael J. Rubinsky [Thu, 1 Apr 2010 20:12:51 +0000 (16:12 -0400)]
Pass the rest of the policy parameters to the activesync server.
Simplify this a little while I'm at it..
Michael J. Rubinsky [Thu, 1 Apr 2010 20:11:34 +0000 (16:11 -0400)]
Fix setting provisioning parameter.
Michael J. Rubinsky [Thu, 1 Apr 2010 18:16:19 +0000 (14:16 -0400)]
..actually allow the horde config to control the provisioning setting.
Forgot to add this, it was defaulting to Off regardless of this setting. Still need
to pass the rest of the params...the code is there to use them, just need to hook them up.
Michael J. Rubinsky [Thu, 1 Apr 2010 18:04:23 +0000 (14:04 -0400)]
Put this in the security policies section
Ben Klang [Thu, 1 Apr 2010 02:40:51 +0000 (22:40 -0400)]
Shout: keep working on first-run wizard
Michael J. Rubinsky [Thu, 1 Apr 2010 00:44:16 +0000 (20:44 -0400)]
Cleanup Wbxml Encoder, phpdoc, cs, remove dead code...
Michael J. Rubinsky [Thu, 1 Apr 2010 00:16:36 +0000 (20:16 -0400)]
No need to pass the dtd into the decoder/encoder objects - just put it in the base object.
Michael J. Rubinsky [Wed, 31 Mar 2010 21:57:09 +0000 (17:57 -0400)]
Clean up Connector objects:
phpdoc, ws, variablenames, remove obsolete parameters, class constants etc...
Michael M Slusarz [Wed, 31 Mar 2010 22:41:20 +0000 (16:41 -0600)]
Don't highlight header row
Michael M Slusarz [Wed, 31 Mar 2010 22:27:24 +0000 (16:27 -0600)]
Passphrase input fixes
Michael M Slusarz [Wed, 31 Mar 2010 21:22:33 +0000 (15:22 -0600)]
Fix adding addressbooks.
Ben Klang [Wed, 31 Mar 2010 22:21:06 +0000 (18:21 -0400)]
Shout: Auto-create default menu and recording
Ben Klang [Wed, 31 Mar 2010 22:02:11 +0000 (18:02 -0400)]
Shout: One more round of tweaks to handling curaccount
Ben Klang [Wed, 31 Mar 2010 21:53:12 +0000 (17:53 -0400)]
Shout: Work on new-account wizard
Ben Klang [Wed, 31 Mar 2010 19:58:16 +0000 (15:58 -0400)]
Shout: Reduce information stored in the session
Michael J. Rubinsky [Wed, 31 Mar 2010 21:43:53 +0000 (17:43 -0400)]
Refactor the Exporter/Streamer/Importer/HierarchyCache mess....
Rename a bunch of classes and combine a few to better reflect what is happening here.
As a bonus, cleans up the main directory of the package a bit.
Michael J. Rubinsky [Wed, 31 Mar 2010 19:44:50 +0000 (15:44 -0400)]
Change filename in package.xml
Michael J. Rubinsky [Wed, 31 Mar 2010 19:43:47 +0000 (15:43 -0400)]
...and rename the file appropriately
Michael J. Rubinsky [Wed, 31 Mar 2010 19:40:36 +0000 (15:40 -0400)]
Rename Horde_ActiveSync_Exporter to Horde_ActiveSync_Sync to reflect it's real function.
Name is left over from legacy z-push code. This class is now only responsible for iterating
changesets and sending changes to PIM when appropriate.
Michael J. Rubinsky [Wed, 31 Mar 2010 19:07:07 +0000 (15:07 -0400)]
Fix initialStateTest
Michael J. Rubinsky [Wed, 31 Mar 2010 18:54:47 +0000 (14:54 -0400)]
Mark incomplete tests in FileStateTest.php (these still really need to be written), and
fix HordeDriverTest related to changes in storing dates as Horde_Date
Michael J. Rubinsky [Wed, 31 Mar 2010 18:47:09 +0000 (14:47 -0400)]
oops - device info is a stdClass, not an array
Michael J. Rubinsky [Wed, 31 Mar 2010 18:43:55 +0000 (14:43 -0400)]
Add header for the policy section
Michael J. Rubinsky [Wed, 31 Mar 2010 18:36:27 +0000 (14:36 -0400)]
Move (and implement) the set/getDeviceRWStatus methods to the state object
Michael J. Rubinsky [Wed, 31 Mar 2010 18:17:57 +0000 (14:17 -0400)]
phpdoc
Michael J. Rubinsky [Wed, 31 Mar 2010 18:12:07 +0000 (14:12 -0400)]
Move policykey generation to the state object
Michael J. Rubinsky [Wed, 31 Mar 2010 00:23:26 +0000 (20:23 -0400)]
Use passed in configuration to build the policies string
Michael J. Rubinsky [Wed, 31 Mar 2010 00:22:06 +0000 (20:22 -0400)]
Another place to ensure the state directory exists
Michael J. Rubinsky [Wed, 31 Mar 2010 00:21:45 +0000 (20:21 -0400)]
cs
Michael J. Rubinsky [Wed, 31 Mar 2010 00:04:54 +0000 (20:04 -0400)]
remove duplicate parameter
Michael J. Rubinsky [Tue, 30 Mar 2010 23:27:08 +0000 (19:27 -0400)]
Add configuration for supported policy settings.
Not connected to the code yet...
Michael M Slusarz [Tue, 30 Mar 2010 19:09:15 +0000 (13:09 -0600)]
message list CSS tweaks in imp
Michael M Slusarz [Tue, 30 Mar 2010 18:58:58 +0000 (12:58 -0600)]
Ticket #8936: Allow switching back to no sort (i.e. sequence sort)
Michael M Slusarz [Tue, 30 Mar 2010 18:29:47 +0000 (12:29 -0600)]
Better indication that these top level menu items are not clickable themselves
Michael M Slusarz [Tue, 30 Mar 2010 18:25:02 +0000 (12:25 -0600)]
Bug #8942: Fix bad log level error
Need to always use Horde_Core_Log_Logger, even with the null driver,
because priority may need to be converted from a string.
Michael M Slusarz [Tue, 30 Mar 2010 18:24:14 +0000 (12:24 -0600)]
Improved error message.