mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 23:12:40 +00:00
propagate from branch 'ca.inverse.sogo.1_3_18' (head 1447a01e5c74f601142742ed11b455e307cc9051)
to branch 'ca.inverse.sogo' (head 22a3b958acddeb274e788d95f5da332880c64d78) Monotone-Parent: 1447a01e5c74f601142742ed11b455e307cc9051 Monotone-Parent: 22a3b958acddeb274e788d95f5da332880c64d78 Monotone-Revision: f418b89e20c4272dbbbddf4ef8ec5de8e414c52e Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-08-14T14:42:37 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
commit
a01ddf2156
117 files changed
+6311
-3035
No files matched your search
@@ -1,3 +1,118 @@
|
||||
2012-08-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m (sogo_properties_get_uri): removed
|
||||
useless backend method.
|
||||
|
||||
* OpenChange/MAPIStoreFolder.m (-createFolder:withRow:andFID:):
|
||||
append a "/" to the new folder url when registering with the
|
||||
url/id mapper.
|
||||
|
||||
* OpenChange/MAPIStoreDBFolder.m (-moveToFolder:withNewName:):
|
||||
implemented method.
|
||||
|
||||
* OpenChange/MAPIStoreMailFolder.m (-moveToFolder:withNewName:):
|
||||
invoke changePathTo: on the dbFolder.
|
||||
|
||||
* OpenChange/SOGoMAPIDBFolder.m (-changePathTo:): overriden method
|
||||
in order to update children records too.
|
||||
|
||||
* OpenChange/SOGoMAPIDBObject.m (-performBatchSQLQueries:) new
|
||||
method to perform void queries under a transaction.
|
||||
(-changePathTo:) new method that updates the references for the
|
||||
object record in the dbfs table.
|
||||
|
||||
* SoObjects/SOGo/NSString+Utilities.m
|
||||
(-stringByReplacingPrefix:withPrefix:): new self-explicit method.
|
||||
|
||||
* OpenChange/SOGoMAPIDBFolder.m
|
||||
(-childKeysOfType:includeDeleted:matchingQualifier:andSortOrderings:):
|
||||
records now have a c_parent_path column in order to avoid fetch
|
||||
the children of children due to the nature of our "LIKE" clause.
|
||||
|
||||
* OpenChange/SOGoMAPIDBObject.m (-save): records now have a
|
||||
c_parent_path.
|
||||
|
||||
* OpenChange/MAPIStoreMailFolder.m (-supportsSubFolders):
|
||||
overriden method to return YES.
|
||||
|
||||
2012-08-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreMailFolder.m (-moveToFolder:withName:): if
|
||||
the new name is not provided (unlikely), the computed new name
|
||||
must not have the "folder" prefix.
|
||||
We now also make use of -[MAPIStoreMapping updateID:withURL:] to
|
||||
change the references in the mapping database.
|
||||
|
||||
* OpenChange/MAPIStoreFolder.m (-objectId): folder keys always end
|
||||
with a "/" by convention.
|
||||
|
||||
* OpenChange/MAPIStoreMapping.m (-updateID:withURL:): new method
|
||||
that perform a change of url on container and leaf entries.
|
||||
|
||||
2012-08-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m (sogo_properties_get_uri): new
|
||||
backend method.
|
||||
|
||||
2012-08-10 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* Changed OpenChange/SOGoMAPIDBObject.m so we use
|
||||
GNUstep's binary encoding - which is an order or
|
||||
magnitude faster at encoding data than any other formats.
|
||||
|
||||
2012-08-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m (sogo_folder_move_folder)
|
||||
(sogo_folder_copy_folder): the object on which the backend method
|
||||
is invoked is now the folder being moved rather than its parent.
|
||||
|
||||
2012-08-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreMailFolder.m
|
||||
(-moveFolderWithFID:fromFolder:withNewName:): first implementation
|
||||
for IMAP folders.
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m (sogo_folder_move_folder)
|
||||
(sogo_folder_copy_folder): new backend methods.
|
||||
(sogo_folder_move_folder): do not instantiate an NSString from a
|
||||
NULL "new_folder_name" parameter.
|
||||
|
||||
2012-08-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessage.m (-save): generate a
|
||||
"nameInContainer" for the new object iif it is not set yet. If
|
||||
set, we generate a new UID from it instead.
|
||||
|
||||
* OpenChange/MAPIStoreMessage.m (-saveMessage): make sure that the
|
||||
PidTagChangeKey and PidTagChangeNumber props are no longer set in
|
||||
the properties dict after the save occurred.
|
||||
|
||||
* OpenChange/MAPIApplication.m (-shouldSetupSignalHandlers):
|
||||
overriden method by returning "NO".
|
||||
|
||||
2012-08-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAptMailNotification.m (-setupValues):
|
||||
test whether each value is non-nil before adding it to the
|
||||
dictionary.
|
||||
|
||||
* OpenChange/MAPIStoreMailVolatileMessage.m (-save): restored
|
||||
registration of message url when saved.
|
||||
|
||||
2012-08-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreRecurrenceUtils.m (-[iCalRecurrenceRule
|
||||
fillRecurrencePattern:withEvent:inTimeZone:inMemCtx:]): fixed a
|
||||
crash occurring when the exception has no recurrence-id and
|
||||
ignore the specific occurrence.
|
||||
|
||||
* OpenChange/MAPIStoreMailVolatileMessage.m (MakeMessageBody):
|
||||
take "attachmentParts" parameter, deduced from the ivar with the
|
||||
corresponding name.
|
||||
|
||||
* OpenChange/MAPIStoreSOGoObject.m (-objectId): force generation
|
||||
of objectId by parent, whether it is a folder or not.
|
||||
|
||||
2012-08-07 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/Contacts/UIxListEditor.m (-setReferencesValue:): check for
|
||||
@@ -6,9 +121,15 @@
|
||||
2012-08-03 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/LDAPSource.m (changePasswordForLogin):
|
||||
if userPasswordAlgorithm was not set or was set to "none",
|
||||
use the plaintext password directly instead of using '{none}plaintext'
|
||||
which isn't valid.
|
||||
if userPasswordAlgorithm was not set or was set to "none",
|
||||
use the plaintext password directly instead of using '{none}plaintext'
|
||||
which isn't valid.
|
||||
|
||||
2012-08-02 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreUserContext.m (-_readUserPassword:)
|
||||
We now read per-user passwords instead of relying on
|
||||
a global file.
|
||||
|
||||
2012-07-31 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
@@ -21,6 +142,22 @@
|
||||
(-sieveScriptWithRequirements:): filters must not be conditional
|
||||
to each other.
|
||||
|
||||
2012-07-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/iCalTimeZone+MAPIStore.[hm]: new category module.
|
||||
(-asTimeZoneStructInMemCtx:): new method that returns a struct
|
||||
TimeZoneStruct as a binary blob from an iCalTimeZone object.
|
||||
|
||||
* OpenChange/MAPIStoreAppointmentWrapper.m
|
||||
(-getPidLidTimeZoneStruct:inMemCtx:): new property getter that
|
||||
returns the equivalent of the iCalTimeZone of the current event.
|
||||
|
||||
2012-07-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreDBFolder.m (-createFolder:withFID:andKey:):
|
||||
invoke "reloadIfNeeded" on the created folder object in order to
|
||||
initialize it.
|
||||
|
||||
2012-07-25 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoMailFolder.m
|
||||
@@ -38,6 +175,15 @@
|
||||
* UI/WebServerResources/MailerUI.js (initMailer): define default
|
||||
columns widths when not set.
|
||||
|
||||
2012-07-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreUserContext.m
|
||||
(-initWithUsername:andTDBIndexing:): attempt to read the user
|
||||
password from a property list.
|
||||
|
||||
* OpenChange/samba-get-config.py: new utility taking a samba
|
||||
configuration variable and prints the value on stdout
|
||||
|
||||
2012-07-24 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/UIxPreferences.js (savePreferences):
|
||||
@@ -56,8 +202,115 @@
|
||||
(_shouldDisplayAsAttachment:): refactored to consider
|
||||
the "bodyId" parameter only for non text/* parts.
|
||||
|
||||
2012-07-20 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/MailerUI.js (onEmailTo): append the email
|
||||
address from the href attribute if it doesn't appear in the link content.
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartHTMLViewer.m
|
||||
(-startElement:namespace:rawName:attributes:): don't skip "mailto:"
|
||||
href.
|
||||
|
||||
* SoObjects/Appointments/SOGoAptMailReceipt.m (aptSummary-): new
|
||||
method that returns a properly formatted string of the event title
|
||||
with respect to the current operation (creation/deletion/update).
|
||||
|
||||
2012-07-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m (-getSMTPAddrType:inMemCtx:):
|
||||
new helper getter.
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m
|
||||
(sogo_message_attachment_create_embedded_message): new backend method.
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m
|
||||
(+fillAvailableProperties:withExclusions:): new method that fills
|
||||
an existing array of properties with properties existing in
|
||||
another class, as long as they are not listed in the array of
|
||||
exclusions.
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-init): assigned a mutable array
|
||||
to "proxies"
|
||||
(-canGetProperty:): test the proxies for the availability of
|
||||
properties so that -getAvailableProperties:inMemCtx: can return an
|
||||
accurate result.
|
||||
|
||||
* OpenChange/MAPIStoreMessage.m (-getPidTagSubject:inMemCtx:): now
|
||||
compute the return value based on PidTagNormalizedSubject and
|
||||
PidTagSubjectPrefix as PidTagSubject is never actually set from
|
||||
the client.
|
||||
|
||||
2012-07-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-nameInContainer): moved method
|
||||
from MAPIStoreSOGoObject and made mandatory for subclasses.
|
||||
(-url): new methed moved from MAPIStoreSOGoObject.
|
||||
|
||||
* OpenChange/MAPIStoreAppointmentWrapper.m: now a subclass of
|
||||
MAPIStoreObjectProxy.
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessage.m
|
||||
(-initWithSOGoObject:inContainer:): we now register our
|
||||
appointment wrapper as a proxy.
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-addProxy:): new method that keeps
|
||||
proxy objects in the new "proxies" ivar.
|
||||
(-getProperty:withTag:inMemCtx:): added code that pass the request
|
||||
to the available object proxies, when the property getters have
|
||||
not been found in the local class.
|
||||
|
||||
* OpenChange/MAPIStoreObjectProxy.[hm]: new class module that
|
||||
provide a facility for providing property getters in the name of
|
||||
another class, working around the fact that Objective-C does not
|
||||
provide multiple-inheritance.
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m
|
||||
(+getAvailableProperties:inMemCtx:)
|
||||
(-getAvailableProperties:inMemCtx:, canGetProperty:): methods
|
||||
moved from MAPIStoreObject.m
|
||||
|
||||
2012-07-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarFolder.m (-createMessage): attach a
|
||||
WOContext to the newEntry in order to enable page templates
|
||||
resolution when notifications are sent.
|
||||
|
||||
* OpenChange/MAPIApplication.m (-init): a WEResourceManager is
|
||||
setup for the application so that page templates can be properly
|
||||
be initialized.
|
||||
|
||||
* OpenChange/MAPIStoreDBMessage.m (-objectVersion): shift the
|
||||
version number by 16 bits, instead of doing it in -save.
|
||||
(-save): don t swap the bytes of the version number as it would
|
||||
return a wrong change number and a wrong change key for DB objects.
|
||||
|
||||
####### Ancestor
|
||||
======= end
|
||||
2012-07-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m (-getSMTPAddrType:inMemCtx:):
|
||||
new helper getter.
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m
|
||||
(sogo_message_attachment_create_embedded_message): new backend method.
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m
|
||||
(+fillAvailableProperties:withExclusions:): new method that fills
|
||||
an existing array of properties with properties existing in
|
||||
another class, as long as they are not listed in the array of
|
||||
exclusions.
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-init): assigned a mutable array
|
||||
to "proxies"
|
||||
(-canGetProperty:): test the proxies for the availability of
|
||||
properties so that -getAvailableProperties:inMemCtx: can return an
|
||||
accurate result.
|
||||
|
||||
* OpenChange/MAPIStoreMessage.m (-getPidTagSubject:inMemCtx:): now
|
||||
compute the return value based on PidTagNormalizedSubject and
|
||||
PidTagSubjectPrefix as PidTagSubject is never actually set from
|
||||
the client.
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
(_appendCycleException:firstInstanceCalendarDateRange:fromRow:forRange:withTimeZone:toArray:):
|
||||
return immediately if the occurrence does not have a valid
|
||||
@@ -76,6 +329,52 @@
|
||||
method that returns a properly formatted string of the event title
|
||||
with respect to the current operation (creation/deletion/update).
|
||||
|
||||
2012-07-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-nameInContainer): moved method
|
||||
from MAPIStoreSOGoObject and made mandatory for subclasses.
|
||||
(-url): new methed moved from MAPIStoreSOGoObject.
|
||||
|
||||
* OpenChange/MAPIStoreAppointmentWrapper.m: now a subclass of
|
||||
MAPIStoreObjectProxy.
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessage.m
|
||||
(-initWithSOGoObject:inContainer:): we now register our
|
||||
appointment wrapper as a proxy.
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-addProxy:): new method that keeps
|
||||
proxy objects in the new "proxies" ivar.
|
||||
(-getProperty:withTag:inMemCtx:): added code that pass the request
|
||||
to the available object proxies, when the property getters have
|
||||
not been found in the local class.
|
||||
|
||||
* OpenChange/MAPIStoreObjectProxy.[hm]: new class module that
|
||||
provide a facility for providing property getters in the name of
|
||||
another class, working around the fact that Objective-C does not
|
||||
provide multiple-inheritance.
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m
|
||||
(+getAvailableProperties:inMemCtx:)
|
||||
(-getAvailableProperties:inMemCtx:, canGetProperty:): methods
|
||||
moved from MAPIStoreObject.m
|
||||
|
||||
2012-07-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarFolder.m (-createMessage): attach a
|
||||
WOContext to the newEntry in order to enable page templates
|
||||
resolution when notifications are sent.
|
||||
|
||||
* OpenChange/MAPIApplication.m (-init): a WEResourceManager is
|
||||
setup for the application so that page templates can be properly
|
||||
be initialized.
|
||||
|
||||
* OpenChange/MAPIStoreDBMessage.m (-objectVersion): shift the
|
||||
version number by 16 bits, instead of doing it in -save.
|
||||
(-save): don t swap the bytes of the version number as it would
|
||||
return a wrong change number and a wrong change key for DB objects.
|
||||
|
||||
####### Ancestor
|
||||
======= end
|
||||
2012-07-18 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentObject.m
|
||||
@@ -253,6 +552,25 @@
|
||||
Show all addresses returned from secondaryEmails.
|
||||
This still need some css tweaks.
|
||||
|
||||
2012-07-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreRecurrenceUtils.m
|
||||
(-setupRecurrenceWithMasterEntity:fromRecurrencePattern:): add
|
||||
exception dates to master entity based on the
|
||||
"DeletedInstanceDates" member of the struct.
|
||||
(-fillRecurrencePattern:withEvent:inTimeZone:inMemCtx:): new name
|
||||
for fillRecurrencePattern:withStartDate:andEndDate:, add exception
|
||||
dates to struct.
|
||||
|
||||
* OpenChange/NSDate+MAPIStore.m (NSDateCompare): new comparison
|
||||
function for sorting array of NSDate instances.
|
||||
|
||||
2012-06-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.h: renamed
|
||||
MAPIStoreTallocWrapper.MAPIStoreSOGoObject to .instance, to avoid
|
||||
confusion in certain versions of GCC with our new class type.
|
||||
|
||||
2012-06-29 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/WORequest+SOGo.[mh]
|
||||
@@ -263,6 +581,23 @@
|
||||
Let sogo append system sources if the request comes from an android
|
||||
client even if its user agent matches the IPhoneAddressBook
|
||||
|
||||
2012-06-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m
|
||||
(sogo_message_attachment_open_embedded_message): added the "mode"
|
||||
parameter.
|
||||
|
||||
* OpenChange/SOGoMAPIDBObject.m: new class module that replaced
|
||||
SOGoMAPIFSMessage.
|
||||
|
||||
* OpenChange/SOGoMAPIDBFolder.m: new class module that replaced
|
||||
SOGoMAPIFSFolder.
|
||||
|
||||
2012-06-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoObject.m (-initWithName:inContainer:): make
|
||||
sure that "_name" is neither nil nor empty.
|
||||
|
||||
2012-06-27 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentObject.m
|
||||
|
||||
Reference in new issue
Block a user