Commit Graph

156 Commits

Author SHA1 Message Date
Patrick Simpson 06e90bed30 [KOE-142] Added exception to checking of shared folder renaming for secondary contacts, as that renames the folder. 2017-09-26 16:34:23 +02:00
Patrick Simpson 20ebda3e8c [KOE-116] Added configuration of display names for shared folders 2017-09-26 16:01:53 +02:00
Patrick Simpson f1937cd3d6 [KOE-142] Now suppressing moving of any shared folder or into a shared folder. This prevents deletion of folders moved into shared folders. Also added the SuppressHierarchyChanges property to enable/disable it. 2017-09-20 14:56:54 +03:00
Patrick Simpson c57c995b82 [KOE-142] Added suppression and undo of local hierarchy changes to shared folders 2017-09-18 15:47:20 +03:00
Patrick Simpson 6afaa7aeba [KOE-132] Added test to prevent crash when sending email through other applications. 2017-09-06 15:17:45 +03:00
Patrick Simpson d9cd9e4521 [KOE-107] Added GAB lookup for send-as sender in case Outlook fails to resolve it, with option GABLookup to disable it. 2017-09-06 13:01:42 +03:00
Patrick Simpson 4ea8432f0f [KOE-123] Added basic code to register an account on startup. Not working fully yet, just creates a store. 2017-09-06 09:32:09 +03:00
Patrick Simpson 4d21e18641 [KOE-103] Added full logging of wrapper/item events using the TraceExtra log level 2017-07-31 15:11:18 +03:00
Patrick Simpson e05768a399 [KOE-103] Improvements to tracing: added property logging and explicit gc to item events log. 2017-07-31 11:27:08 +03:00
Patrick Simpson d8b09c1d9d [KOE-23] Fixed for multiple BCC recipients 2017-07-31 10:13:55 +03:00
Patrick Simpson 0d42105f93 [KOE-130] Cleanup and fixes for disabling wrapper tracing 2017-07-05 17:33:17 +02:00
Patrick Simpson 4ba62b1e1d [KOE-130] Removed cached property accessor, as that seems to keep the wrapper alive when it's no longer used. 2017-07-05 16:21:23 +02:00
Patrick Simpson 59ad301b03 [KOE-130] Added wrapper tracing feature 2017-07-05 12:12:43 +02:00
Patrick Simpson ac0634c2d3 [KOE-125] Fixed initial focus handling for shared folders dialog. Also no longer automatically opening when user tabs away from dialog. 2017-06-30 15:26:45 +02:00
Patrick Simpson 008c27026d [KOE-125] Added focused border to tree control 2017-06-30 14:55:51 +02:00
Patrick Simpson 02410c65ef [KOE-115] Enabled sync stall detection by default 2017-06-30 11:56:14 +02:00
Patrick Simpson 1b509495c8 Implemented selection of GAB users. Added fallback item if no users are found. 2017-06-29 18:46:37 +02:00
Patrick Simpson d7c7c94a7e Implemented GABLookupControl using new combo box 2017-06-29 18:27:48 +02:00
Patrick Simpson ed1892b3d7 Fixed disabled sync stall test 2017-06-21 16:07:32 +02:00
Patrick Simpson 03e27943f6 Started on combobox fixes for shared folders dialog 2017-06-20 15:26:16 +02:00
Patrick Simpson 833cb6e4d3 Added edit and button portion of custom combo box. 2017-06-19 15:51:23 +02:00
Patrick Simpson 4b2795d7f4 Changed display name of ZPush Accounts to the STMP address, as it defaulted to full name, which may be in multiple accounts 2017-06-15 13:10:42 +02:00
Patrick Simpson 30f460184f [KOE-115] Added lastsynctime to automatic resync check. 2017-06-14 16:08:11 +02:00
Patrick Simpson 1efaa3e711 Revert "[KOE-115] Added check to sync stall detection to see if anything has synced. If not, it's considered a startup delay and doesn't trigger the warning"
This reverts commit 21c5da59e6.

This approach didn't work
2017-06-14 15:14:12 +02:00
Patrick Simpson 8b8845e95b [KOE-114] Fixed undisposed wrapper when cancelling modification to private events 2017-06-14 13:14:19 +02:00
Patrick Simpson 6f94cc8409 Added comment for unused string 2017-06-14 11:18:53 +02:00
Patrick Simpson 21c5da59e6 [KOE-115] Added check to sync stall detection to see if anything has synced. If not, it's considered a startup delay and doesn't trigger the warning 2017-06-14 09:38:46 +02:00
Patrick Simpson 862e0ddd04 [KOE-24] Added null check for folder id in stall detection 2017-06-08 09:31:01 +02:00
Patrick Simpson 4e91672227 [KOE-114] Added extra logging to private appointment modification suppression 2017-06-08 09:29:37 +02:00
Patrick Simpson d21eb821a4 [KOE-114] Added change suppression for private events in shared folders. 2017-06-07 13:18:40 +02:00
Patrick Simpson 16cb96699e [KOE-115] Implemented automatic full resync trigger. Disabled by default for now. 2017-06-07 11:57:26 +02:00
Patrick Simpson 158be43e11 [KOE-119] Added explicit check for deleted folders when warning about secondary contacts. 2017-06-07 10:38:36 +02:00
Patrick Simpson 747de0d6c1 [KOE-24] Switched to using folder ids for sync keys, as they are stable between sessions. 2017-06-07 10:36:01 +02:00
Patrick Simpson dd837caba5 Merge branch 'master' of https://stash.kopano.io/scm/koe/kopano_ol_extension_source 2017-06-07 09:19:50 +02:00
Patrick Simpson e806928db6 [KOE-117] Rewrote search query encoding in an attempt to prevent reminders from popping up. Also limiting rewriting of query to prevent writing back if unchanged. Added the "RemindersKeepRunning" option to make it possible to stop the query when updating. 2017-06-01 15:03:51 +02:00
Patrick Simpson dba708e147 [KOE-24] SyncState feature enabled by default 2017-05-31 12:14:17 +02:00
Patrick Simpson 4e4046ce43 [KOE-24] Fixed sync dialog to refresh more often, and also updates the ribbon while in progress. Now also records the sync session, to deal with folders that are synced and removed from the list. 2017-05-24 15:29:42 +02:00
Patrick Simpson 4a222d45ca [KOE-24] Removed old resync buttons on settings dialog.
[KOE-112] Added sync fax number option to GAB settings, disabled by default.
2017-05-17 17:31:07 +02:00
Patrick Simpson edf48b595d [KOE-24] Added per-account GAB resync and synchronous GAB resync. 2017-05-17 17:24:47 +02:00
Patrick Simpson c5fcf62e35 [KOE-113][KOE-24] Added functionality to Sync dialog. Added ability to delete .ost during restart to perform a full resync. 2017-05-17 16:35:05 +02:00
Patrick Simpson 420868106c [KOE-24] Added dialog layout, not functional yet 2017-05-17 13:48:29 +02:00
Patrick Simpson 489da51e51 [KOE-24] Added proper progress indication in ribbon 2017-05-17 11:52:03 +02:00
Patrick Simpson d7185cdbcf [KOE-104] Added PeriodThrottle property to ZPush sync tasks, to throttle the number of requests to the server. Defaults to 15 minutes, meaning the server will not be contacted more than once every 15 minutes. 2017-05-17 10:10:58 +02:00
Patrick Simpson 1279a62e42 [KOE-24] Partial implementation of sync state display. Committing with disabled feature for backup and to allow build to succeed. 2017-05-03 14:43:36 +02:00
Patrick Simpson 55e4109c8c [KOE-106] Transporting the delivery receipt request in the X-Push-Receipts header. 2017-05-03 14:36:55 +02:00
Patrick Simpson 4bf4539bda [KOE-108] Copying contacts out of the GAB failed as it triggers a write event that is rejected. Fixed by rejecting write events only if there are preceding property changes on the same item. Also fixed a bug that the rejection dialog box was sometimes not shown by setting the parent window explicitly. 2017-05-03 14:15:14 +02:00
Patrick Simpson 7a31f1c9fb [KOE-65] Removed MeetingRequest/FeatureMeetingRequest, as it turns out the issue was in WebApp. 2017-04-12 14:03:40 +02:00
Patrick Simpson 9a37708b53 [KOE-244] Added basic progress feature to ribbon, and disabled sync feature that just increases progress periodically. 2017-04-12 10:23:52 +02:00
Patrick Simpson 5bbec31cab [KOE-65] Adding meeting UID as X-Push-Meeting-UID header in outgoing request. 2017-04-05 14:09:10 +02:00
Patrick Simpson e9ec0cd855 [KOE-42] Out-of-office dialog now shows progress inline, like shared folders. 2017-03-22 13:37:28 +01:00
Patrick Simpson effdc32f9e Merge branch 'master' of https://stash.kopano.io/scm/koe/kopano_ol_extension_source 2017-03-20 11:33:44 +01:00
Patrick Simpson 7700d68b47 [KOE-89] Improved handling of expired time-based Out-of-Office 2017-03-20 11:29:24 +01:00
Patrick Simpson df356741d5 [KOE-23] BCC field is now parsed from the transport headers and displayed in sent items 2017-03-15 16:13:15 +01:00
Patrick Simpson a1117d6b44 Removed whitespace 2017-03-15 11:22:19 +01:00
Patrick Simpson 35ef86d5f0 Small clean up to FreeBusy webserver to allow it to be used for different purposes in the future. 2017-03-15 09:23:47 +01:00
Patrick Simpson dbf278f910 Replacement %title in signature now linked to "job title". 2017-03-10 12:14:22 +01:00
Patrick Simpson 8fcf78ec4a [KOE-42] Added scrollbar to OOF dialog 2017-03-02 11:35:29 +01:00
Patrick Simpson c0170bf856 Removed workaround for Z-Push not sending parent ids of shared folders. 2017-03-01 10:21:48 +01:00
Patrick Simpson 08c771d762 [KOE-12] Added debug option to disable COM code, which is the one bit that might cause a crash. 2017-02-28 16:08:57 +01:00
Patrick Simpson 0cda2fa0c1 [KOE-12] Hooked reminder query manipulation into sync of shared folder state; this makes it work for new shares too. 2017-02-28 12:44:33 +01:00
Patrick Simpson 43e0d9b02d [KOE-12] Basic implementation of reminder query modification. For now only works when existing shares are modified, as the new shares do not have a sync id yet. This will be added.
Added SharedFoldersManager as a wrapper around the API; it manages the API and syncing with the reminder query.
Also untested on 32-bit for now, which will most likely crash, as the COM interface has some size-specific fields.
2017-02-28 12:14:13 +01:00
Patrick Simpson 8f5c08e4a9 [KOE-12] Finished encoding of search criteria for COM. Added code to modify search query to exclude shared folders, still need to add code to allow for selected folders. 2017-02-27 19:04:41 +01:00
Patrick Simpson e0356b0321 Permission label is now hidden for shared folders when permissions are not yet known. 2017-02-27 16:24:01 +01:00
Patrick Simpson ddcd9764ea [KOE-17] Added null check to prevent exception in log 2017-02-27 16:05:09 +01:00
Patrick Simpson ad03e67961 [KOE-14] Secondary contacts are now displayed with the correct icon and start syncing. This means the restart is now less urgent, hence the warning has been modified. Also added a debug option to disable the warning. If the dialog is used to restart Outlook, it will now close any open KOE forms. 2017-02-27 16:04:42 +01:00
Patrick Simpson e98240ab47 [KOE-17] Added settings dialog with resynchronise button. Added option to overwrite local signatures. 2017-02-27 13:51:42 +01:00
Patrick Simpson f44e092ca0 [KOE-17] signatures now include smtp address of account for uniqueness. Signatures are also synced periodically. 2017-02-27 13:16:53 +01:00
Patrick Simpson 7773d7f973 [KOE-51] Added tracking of changed names. To this end, the flag "TrackShareName" (=2) has been added. If this is set, and the name does not match the original folder's name, the name will be updated. The flag is set automatically when shares are applied and the share name matches the original name. Note that this flag does not cause the apply button to become enabled, to prevent having changes on existing shares. 2017-02-27 12:36:04 +01:00
Patrick Simpson ce6d62167f [KOE-17] Small fix to lookup of current user 2017-02-23 17:17:50 +01:00
Patrick Simpson 6daac784c3 [KOE-17] Added replacement of placeholders in signatures based on GAB. To detect GAB changes, added the FeatureGAB.SyncFinished event, and CompletionTracker to track completion with asynchronous tasks. 2017-02-23 17:07:39 +01:00
Patrick Simpson e735aafc72 [KOE-17] Basic infrastructure is working, still need replacement of placeholders 2017-02-23 15:29:53 +01:00
Patrick Simpson 629bfd371b Fallback commit, some files were missed 2017-02-23 10:20:48 +01:00
Patrick Simpson 2f0e46f18d Merge branch 'master' of https://stash.kopano.io/scm/koe/kopano_ol_extension_source
Conflicts:
	src/AcaciaZPushPlugin/AcaciaZPushPlugin/AcaciaZPushPlugin.csproj
	src/AcaciaZPushPlugin/AcaciaZPushPlugin/Native/MAPI/Property.cs
	src/AcaciaZPushPlugin/AcaciaZPushPlugin/Native/MAPI/Restriction.cs
	src/AcaciaZPushPlugin/AcaciaZPushPlugin/SearchQuery.cs
	src/AcaciaZPushPlugin/AcaciaZPushPlugin/Stubs/IFolder.cs
	src/AcaciaZPushPlugin/AcaciaZPushPlugin/Stubs/OutlookWrappers/FolderWrapper.cs
2017-02-23 10:15:51 +01:00
Patrick Simpson c5325b4623 Search criteria encoding 2017-02-23 10:10:31 +01:00
Patrick Simpson 86dbc32b51 [KOE-14] Added possibility to set icon for folder, though this coomes out looking weird. Leaving for now. 2017-02-22 15:17:25 +01:00
Patrick Simpson 5dd43d2e6e Added build year to about dialog 2017-02-15 15:16:23 +01:00
Patrick Simpson 0657c490c8 Cleaned up more TODOs 2017-02-15 11:32:37 +01:00
Patrick Simpson f687ee9f22 Made Search manage returned items, like Folder.Items 2017-02-15 10:53:24 +01:00
Patrick Simpson 10d2bd4d65 Cleaned up item filtering and some other small todos. 2017-02-15 10:38:57 +01:00
Patrick Simpson dc12b73bbc Reimplements folders and items events 2017-02-14 18:05:25 +01:00
Patrick Simpson b3ac1bd6b0 Cleaned up ZPushWatcher.
Small cleanups.
All access to Outlook objects is now contained in wrappers/stubs.
2017-02-14 15:16:13 +01:00
Patrick Simpson cb32513ed3 Cleaned up account checking 2017-02-14 14:46:24 +01:00
Patrick Simpson a56cb98ce8 Small cleanups. Made HookItemEvents disabled by default. Restored DebugSupport buttons. 2017-02-10 14:42:32 +01:00
Patrick Simpson 5842e90203 Cleaned up ZPushFolder, removed Folder subclass. It compiles, but will not run. Event handling code disabled for now. 2017-02-10 14:42:32 +01:00
Patrick Simpson d1bbb221b4 Cleaned up ZPushLocalStore, merged into IStore. 2017-02-10 14:42:31 +01:00
Patrick Simpson 65a46510c1 Cleaned up usage of Recipient/AddressEntry 2017-02-10 14:42:31 +01:00
Patrick Simpson cc51366c7f Added option to disable item event hooking 2017-02-10 14:42:31 +01:00
Patrick Simpson d7df634a3d Cleaned up MailEvent release. Added debug option to GAB to prevent MailEvent hooking. 2017-02-10 14:42:31 +01:00
Patrick Simpson 471b9c80c7 Small fixes, debug tweaks 2017-02-10 14:42:30 +01:00
Patrick Simpson 773f0b07bf Added statistics on tasks. Added debug cycling of gab resync. 2017-02-10 14:42:30 +01:00
Patrick Simpson 3117418785 More debug options 2017-02-10 14:42:30 +01:00
Patrick Simpson 7e05792d8c Added extra GAB debug options 2017-02-10 14:42:30 +01:00
Patrick Simpson a450f6e616 First batch of Com verification update 2017-02-10 14:42:30 +01:00
Patrick Simpson b952f46ff9 Cleaned up user property handling, to prevent leaking COM objects 2017-02-10 14:42:29 +01:00
Patrick Simpson bda1d7908a [KOE-39] Cleaned up chunk determination code, which yields in cleaner release 2017-02-10 14:42:29 +01:00
Patrick Simpson 87f3534a89 [KOE-12] Rough draft of MAPI interfaces for SearchCriteria access. 2017-02-07 09:02:35 +01:00
Patrick Simpson f6495a12f5 Replaced P/Invoke DNS implementation by HijdenDNS pure C# MIT-licensed library, to hopefully prevent crashes caused by WebApp feature. 2017-02-01 10:46:35 +01:00
Patrick Simpson 9ba795d7aa [KOE-14] Added restart dialog to secondary contacts folder sync. 2017-01-25 14:49:00 +01:00
Patrick Simpson 495386dea9 [KOE-14] Patching secondary contact folders now works 2017-01-25 10:46:55 +01:00
Patrick Simpson ab37b666df Made "Send-As" feature enabled by default 2017-01-18 14:06:58 +01:00