horde.git
15 years agoNo need to pass UI object to widget code
Michael M Slusarz [Wed, 7 Apr 2010 14:19:29 +0000 (08:19 -0600)]
No need to pass UI object to widget code

15 years agoCatch messages with no date header
Michael M Slusarz [Wed, 7 Apr 2010 13:59:58 +0000 (07:59 -0600)]
Catch messages with no date header

15 years agoConvert mnemo to new preferences UI
Michael M Slusarz [Wed, 7 Apr 2010 13:33:58 +0000 (07:33 -0600)]
Convert mnemo to new preferences UI

15 years agoMerge branch 'master' into newprefs
Michael M Slusarz [Wed, 7 Apr 2010 13:26:00 +0000 (07:26 -0600)]
Merge branch 'master' into newprefs

Conflicts:
framework/Prefs/lib/Horde/Prefs/Ui.php

15 years agoImprovements to addressbook pref handling
Michael M Slusarz [Wed, 7 Apr 2010 13:04:06 +0000 (07:04 -0600)]
Improvements to addressbook pref handling

15 years agoMigrate to H4 (imp (at) lx-soft (dot) com, Request #8950).
Jan Schneider [Wed, 7 Apr 2010 07:56:23 +0000 (09:56 +0200)]
Migrate to H4 (imp (at) lx-soft (dot) com, Request #8950).

15 years agoImport Mnemo from CVS.
Jan Schneider [Wed, 7 Apr 2010 07:51:45 +0000 (09:51 +0200)]
Import Mnemo from CVS.

15 years agoConvert fima to new preferences UI code
Michael M Slusarz [Wed, 7 Apr 2010 07:04:15 +0000 (01:04 -0600)]
Convert fima to new preferences UI code

15 years agoConvert gollem to new preferences UI code
Michael M Slusarz [Wed, 7 Apr 2010 06:49:08 +0000 (00:49 -0600)]
Convert gollem to new preferences UI code

15 years agoConvert Ansel to new preferences UI code
Michael M Slusarz [Tue, 6 Apr 2010 23:26:40 +0000 (17:26 -0600)]
Convert Ansel to new preferences UI code

15 years ago$_FILES is always set.
Jan Schneider [Tue, 6 Apr 2010 15:25:32 +0000 (17:25 +0200)]
$_FILES is always set.

15 years agoFix saving multienum prefs that have their enums provided by prefsInit().
Jan Schneider [Tue, 6 Apr 2010 14:41:13 +0000 (16:41 +0200)]
Fix saving multienum prefs that have their enums provided by prefsInit().

15 years agoPreferences UI rewrite.
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.

15 years agoUpdate help documentation
Michael M Slusarz [Tue, 6 Apr 2010 19:23:07 +0000 (13:23 -0600)]
Update help documentation

15 years agoAdd another level to disposition_send_mdn pref
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.

15 years agoAdd IMP_Compose::getMailOb()
Michael M Slusarz [Tue, 6 Apr 2010 19:08:04 +0000 (13:08 -0600)]
Add IMP_Compose::getMailOb()

15 years agoFix mailer parameter when sending MDNs
Michael M Slusarz [Tue, 6 Apr 2010 18:56:32 +0000 (12:56 -0600)]
Fix mailer parameter when sending MDNs

15 years agoBug #8949: Fix contacts popup javascript
Michael M Slusarz [Tue, 6 Apr 2010 17:19:03 +0000 (11:19 -0600)]
Bug #8949: Fix contacts popup javascript

15 years agoAllow for configuring a separate log file specifically for activesync requests
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

15 years agoDefault value
Michael J. Rubinsky [Mon, 5 Apr 2010 21:57:25 +0000 (17:57 -0400)]
Default value

15 years agoDefault this value to an empty array
Michael J. Rubinsky [Mon, 5 Apr 2010 21:51:31 +0000 (17:51 -0400)]
Default this value to an empty array

15 years agoPrint paths where we looked for the autoloader.
Jan Schneider [Mon, 5 Apr 2010 21:15:01 +0000 (23:15 +0200)]
Print paths where we looked for the autoloader.

15 years agoMFB: Accounts block needs File_Fstab for localhost driver.
Jan Schneider [Mon, 5 Apr 2010 16:16:58 +0000 (18:16 +0200)]
MFB: Accounts block needs File_Fstab for localhost driver.

15 years agoDon't hardcode supported HTTP methods.
Jan Schneider [Thu, 1 Apr 2010 17:33:57 +0000 (19:33 +0200)]
Don't hardcode supported HTTP methods.

15 years agoDon't throw an exception here.
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

15 years agoFix logging level.
Michael J. Rubinsky [Mon, 5 Apr 2010 21:36:34 +0000 (17:36 -0400)]
Fix logging level.

if I had a dime...

15 years agothis method lives in the state object now
Michael J. Rubinsky [Mon, 5 Apr 2010 21:25:39 +0000 (17:25 -0400)]
this method lives in the state object now

15 years agoShout: Improve adding numbers without menus
Ben Klang [Mon, 5 Apr 2010 20:12:41 +0000 (16:12 -0400)]
Shout: Improve adding numbers without menus

15 years agoShout: highlight the dial-in number
Ben Klang [Sat, 3 Apr 2010 02:30:09 +0000 (22:30 -0400)]
Shout: highlight the dial-in number

15 years agoFix javascript error on IE (see prototype bug 38)
Michael M Slusarz [Mon, 5 Apr 2010 19:47:05 +0000 (13:47 -0600)]
Fix javascript error on IE (see prototype bug 38)

15 years agoIE7 CSS fixes
Michael M Slusarz [Mon, 5 Apr 2010 19:46:34 +0000 (13:46 -0600)]
IE7 CSS fixes

15 years agofix parse error
Michael J. Rubinsky [Mon, 5 Apr 2010 17:30:58 +0000 (13:30 -0400)]
fix parse error

15 years agoadd type and status to the Attendee message object
Michael J. Rubinsky [Mon, 5 Apr 2010 15:52:35 +0000 (11:52 -0400)]
add type and status to the Attendee message object

15 years agoFix constant names
Michael J. Rubinsky [Mon, 5 Apr 2010 15:50:58 +0000 (11:50 -0400)]
Fix constant names

15 years agoObsolete phpdoc
Michael J. Rubinsky [Mon, 5 Apr 2010 15:48:16 +0000 (11:48 -0400)]
Obsolete phpdoc

15 years agoBetter name for this variable
Michael J. Rubinsky [Mon, 5 Apr 2010 15:47:05 +0000 (11:47 -0400)]
Better name for this variable

15 years agoFix variable name
Michael J. Rubinsky [Mon, 5 Apr 2010 15:46:34 +0000 (11:46 -0400)]
Fix variable name

15 years agoAdd missing wbxml values for AttendeeStatus and AttendeeType
Michael J. Rubinsky [Mon, 5 Apr 2010 15:45:17 +0000 (11:45 -0400)]
Add missing wbxml values for AttendeeStatus and AttendeeType

15 years agoBug #8943: Fix function name
Michael M Slusarz [Mon, 5 Apr 2010 05:18:25 +0000 (23:18 -0600)]
Bug #8943: Fix function name

15 years agoFinish up support for recurring events with exceptions.
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 :-)

15 years agoAdd support for a exceptionoriginaldate field.
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.

15 years agoRequest headers are to be handled in a case-insensitive manner per RFC2616.
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...

15 years agoFix delete link generation.
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.

15 years agoShout: direct to wizard with no menus present
Ben Klang [Sat, 3 Apr 2010 02:28:31 +0000 (22:28 -0400)]
Shout: direct to wizard with no menus present

15 years agoFix deleting the menu; correct SQL error on accounts
Ben Klang [Sat, 3 Apr 2010 02:13:31 +0000 (22:13 -0400)]
Fix deleting the menu; correct SQL error on accounts

15 years agoShout: Clean up menu <-> number associations on delete
Ben Klang [Sat, 3 Apr 2010 01:58:20 +0000 (21:58 -0400)]
Shout: Clean up menu <-> number associations on delete

15 years agoShout: Remove debugging
Ben Klang [Sat, 3 Apr 2010 01:56:28 +0000 (21:56 -0400)]
Shout: Remove debugging

15 years agoShout: re-active the wizard. It works!
Ben Klang [Sat, 3 Apr 2010 01:51:56 +0000 (21:51 -0400)]
Shout: re-active the wizard.  It works!

15 years agoShout: fix admin paths for account management
Ben Klang [Sat, 3 Apr 2010 01:51:22 +0000 (21:51 -0400)]
Shout: fix admin paths for account management

15 years agoShout: Allow selecting numbers by account
Ben Klang [Sat, 3 Apr 2010 01:50:49 +0000 (21:50 -0400)]
Shout: Allow selecting numbers by account

15 years agoShout: mv accounts admin files into place
Ben Klang [Sat, 3 Apr 2010 00:36:01 +0000 (20:36 -0400)]
Shout: mv accounts admin files into place

15 years agoShout: Fix adding/editing numbers
Ben Klang [Sat, 3 Apr 2010 00:31:41 +0000 (20:31 -0400)]
Shout: Fix adding/editing numbers

15 years agoThis must be a fatal error - nothing we can do about it
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

15 years agoFix registry logging events on shutdown
Michael M Slusarz [Fri, 2 Apr 2010 21:38:54 +0000 (15:38 -0600)]
Fix registry logging events on shutdown

15 years agoMake sure 'sortdate' has a default value
Michael M Slusarz [Fri, 2 Apr 2010 04:10:37 +0000 (22:10 -0600)]
Make sure 'sortdate' has a default value

15 years agoShout: Update the DB schema
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...

15 years agoShout: refine the wizard UI
Ben Klang [Fri, 2 Apr 2010 23:34:32 +0000 (19:34 -0400)]
Shout: refine the wizard UI

15 years agoShout: begin work on admin screen to manage numbers
Ben Klang [Fri, 2 Apr 2010 23:34:02 +0000 (19:34 -0400)]
Shout: begin work on admin screen to manage numbers

15 years agoShout: Prettify the wizard some more
Ben Klang [Fri, 2 Apr 2010 22:34:44 +0000 (18:34 -0400)]
Shout: Prettify the wizard some more

15 years agoShout: One more place to catch empty arrays
Ben Klang [Fri, 2 Apr 2010 22:34:27 +0000 (18:34 -0400)]
Shout: One more place to catch empty arrays

15 years agoShout: Try again to make the buttons behave better
Ben Klang [Fri, 2 Apr 2010 21:09:35 +0000 (17:09 -0400)]
Shout: Try again to make the buttons behave better

15 years agoShout: Add some animation to the dialplan manager
Ben Klang [Fri, 2 Apr 2010 21:08:48 +0000 (17:08 -0400)]
Shout: Add some animation to the dialplan manager

15 years agoShout: Convert adding extensions to AJAX
Ben Klang [Fri, 2 Apr 2010 21:08:25 +0000 (17:08 -0400)]
Shout: Convert adding extensions to AJAX

15 years agoShout: Get rid of actions in favor of AJAX
Ben Klang [Fri, 2 Apr 2010 19:34:04 +0000 (15:34 -0400)]
Shout: Get rid of actions in favor of AJAX

15 years agoOnly return multiday events once, not on every day it spans.
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

15 years agoAllow passing the $coverEvents parameter from the listEvents API call
Michael J. Rubinsky [Fri, 2 Apr 2010 18:52:21 +0000 (14:52 -0400)]
Allow passing the $coverEvents parameter from the listEvents API call

15 years agoShout: Continue working on first-run wizard
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.

15 years agoShout: make sure we pass the account code
Ben Klang [Fri, 2 Apr 2010 16:49:16 +0000 (12:49 -0400)]
Shout: make sure we pass the account code

15 years agoShout: a bit of error checking
Ben Klang [Fri, 2 Apr 2010 16:48:55 +0000 (12:48 -0400)]
Shout: a bit of error checking

15 years agoShout: using float on buttons was a bad idea
Ben Klang [Fri, 2 Apr 2010 14:56:42 +0000 (10:56 -0400)]
Shout: using float on buttons was a bad idea

15 years agoFix the PurgeEvents login task
Michael J. Rubinsky [Fri, 2 Apr 2010 16:47:35 +0000 (12:47 -0400)]
Fix the PurgeEvents login task

15 years agoFix recurrences when it has a recurInterval other than 1
Michael J. Rubinsky [Fri, 2 Apr 2010 00:31:09 +0000 (20:31 -0400)]
Fix recurrences when it has a recurInterval other than 1

15 years agoUpdate some RFC documentation
Michael M Slusarz [Thu, 1 Apr 2010 21:02:34 +0000 (15:02 -0600)]
Update some RFC documentation

15 years agoSimplify CSS formatting
Michael M Slusarz [Thu, 1 Apr 2010 18:12:10 +0000 (12:12 -0600)]
Simplify CSS formatting

15 years agoFix typo.
Michael M Slusarz [Thu, 1 Apr 2010 05:00:32 +0000 (23:00 -0600)]
Fix typo.

15 years agoPass the rest of the policy parameters to the activesync server.
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..

15 years agoFix setting provisioning parameter.
Michael J. Rubinsky [Thu, 1 Apr 2010 20:11:34 +0000 (16:11 -0400)]
Fix setting provisioning parameter.

15 years ago..actually allow the horde config to control the provisioning setting.
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.

15 years agoPut this in the security policies section
Michael J. Rubinsky [Thu, 1 Apr 2010 18:04:23 +0000 (14:04 -0400)]
Put this in the security policies section

15 years agoShout: keep working on first-run wizard
Ben Klang [Thu, 1 Apr 2010 02:40:51 +0000 (22:40 -0400)]
Shout: keep working on first-run wizard

15 years agoCleanup Wbxml Encoder, phpdoc, cs, remove dead code...
Michael J. Rubinsky [Thu, 1 Apr 2010 00:44:16 +0000 (20:44 -0400)]
Cleanup Wbxml Encoder, phpdoc, cs, remove dead code...

15 years agoNo need to pass the dtd into the decoder/encoder objects - just put it in the base...
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.

15 years agoClean up Connector objects:
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...

15 years agoDon't highlight header row
Michael M Slusarz [Wed, 31 Mar 2010 22:41:20 +0000 (16:41 -0600)]
Don't highlight header row

15 years agoPassphrase input fixes
Michael M Slusarz [Wed, 31 Mar 2010 22:27:24 +0000 (16:27 -0600)]
Passphrase input fixes

15 years agoFix adding addressbooks.
Michael M Slusarz [Wed, 31 Mar 2010 21:22:33 +0000 (15:22 -0600)]
Fix adding addressbooks.

15 years agoShout: Auto-create default menu and recording
Ben Klang [Wed, 31 Mar 2010 22:21:06 +0000 (18:21 -0400)]
Shout: Auto-create default menu and recording

15 years agoShout: One more round of tweaks to handling curaccount
Ben Klang [Wed, 31 Mar 2010 22:02:11 +0000 (18:02 -0400)]
Shout: One more round of tweaks to handling curaccount

15 years agoShout: Work on new-account wizard
Ben Klang [Wed, 31 Mar 2010 21:53:12 +0000 (17:53 -0400)]
Shout: Work on new-account wizard

15 years agoShout: Reduce information stored in the session
Ben Klang [Wed, 31 Mar 2010 19:58:16 +0000 (15:58 -0400)]
Shout: Reduce information stored in the session

15 years agoRefactor the Exporter/Streamer/Importer/HierarchyCache mess....
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.

15 years agoChange filename in package.xml
Michael J. Rubinsky [Wed, 31 Mar 2010 19:44:50 +0000 (15:44 -0400)]
Change filename in package.xml

15 years ago...and rename the file appropriately
Michael J. Rubinsky [Wed, 31 Mar 2010 19:43:47 +0000 (15:43 -0400)]
...and rename the file appropriately

15 years agoRename Horde_ActiveSync_Exporter to Horde_ActiveSync_Sync to reflect it's real function.
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.

15 years agoFix initialStateTest
Michael J. Rubinsky [Wed, 31 Mar 2010 19:07:07 +0000 (15:07 -0400)]
Fix initialStateTest

15 years agoMark incomplete tests in FileStateTest.php (these still really need to be written...
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

15 years agooops - device info is a stdClass, not an array
Michael J. Rubinsky [Wed, 31 Mar 2010 18:47:09 +0000 (14:47 -0400)]
oops - device info is a stdClass, not an array

15 years agoAdd header for the policy section
Michael J. Rubinsky [Wed, 31 Mar 2010 18:43:55 +0000 (14:43 -0400)]
Add header for the policy section

15 years agoMove (and implement) the set/getDeviceRWStatus methods to the state object
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

15 years agophpdoc
Michael J. Rubinsky [Wed, 31 Mar 2010 18:17:57 +0000 (14:17 -0400)]
phpdoc