Commit Graph

280 Commits

Author SHA1 Message Date
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 12e8f65265 Fix for undisposed wrapper. 2017-02-27 12:36:17 +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 c8a3c3e04b [KOE-67] Added offline check to periodic tasks 2017-02-23 17:41:54 +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 4a57e014c2 Fixed undisposed wrapper on folder remove event 2017-02-22 11:56:55 +01:00
Patrick Simpson f5ea05189c Partial implementation of raw MAPI access. 2017-02-22 10:20:20 +01:00
Patrick Simpson 5dd43d2e6e Added build year to about dialog 2017-02-15 15:16:23 +01:00
Patrick Simpson 4847fda8cb Added license comments 2017-02-15 12:01:04 +01:00
Patrick Simpson 16f791818f Fixes to small store init issues 2017-02-15 11:53:56 +01:00
Patrick Simpson 66601246b1 More small cleanups 2017-02-15 11:40:34 +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 9e0603e22f Fixed ownership issue in folder watching startup 2017-02-15 10:15:10 +01:00
Patrick Simpson 026f537dae Backup commit, not compiling at the moment 2017-02-14 18:30:48 +01:00
Patrick Simpson dc12b73bbc Reimplements folders and items events 2017-02-14 18:05:25 +01:00
Patrick Simpson cbf9207ff7 Tiny code cleanup 2017-02-14 15:48:22 +01:00
Patrick Simpson 33e38f16dc Removed debug logging 2017-02-14 15:48:13 +01:00
Patrick Simpson 80735cbaa0 Switched to ReleaseComObject instead of FinalReleaseComObject, as that releases objects that may actually be shared (e.g. app.ActiveExplorer). 2017-02-14 15:47:52 +01:00
Patrick Simpson bcd743a4c4 Fixed exception when creating new local store 2017-02-14 15:38:18 +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 d4b03c2eb9 Cleaned up ZPushSync. 2017-02-14 10:47:51 +01:00
Patrick Simpson f913ed5a01 Made HookItemEvents default option 2017-02-13 15:49:37 +01:00
Patrick Simpson 49efb68298 Further fixes for item events 2017-02-13 15:20:18 +01:00
Patrick Simpson b3c0aae951 Further event hooking tests 2017-02-13 14:02:37 +01:00
Patrick Simpson 50147d3c4b MailEvents experiment 2017-02-13 13:03:37 +01:00
Patrick Simpson 94d1db275c Revert "Switched to pfx for signing"
This reverts commit 1bf1c846f1.
2017-02-10 14:51:33 +01:00
Patrick Simpson dff661914d Small fix for release build 2017-02-10 14:42:32 +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 297efe023b Made wrappers simpler by moving some functionality to ComWrapper. Does not currently build, backup commit before attempting to clean up ZPushFolder 2017-02-10 14:42:32 +01:00
Patrick Simpson 9eb6d2026e Cleaned up OutlookImageList 2017-02-10 14:42:31 +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 4307e4a0f7 Fixed double release of item event objects 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 ac56b301b4 Small cleanup to folder item iteration 2017-02-10 14:42:29 +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 1bf1c846f1 Switched to pfx for signing 2017-02-07 10:07:50 +01:00
Patrick Simpson 3a517e9d52 Added temporary key 2017-02-07 10:05:21 +01:00
Patrick Simpson 7ccedbe9e6 [KOE-39] More aggressive release of COM objects. 2017-02-07 10:02:40 +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 99e939a5b2 [KOE-50] Showing information dialog if password is not available. 2017-02-01 13:15:54 +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 5806ee9b80 Made "Background" the default threading option 2017-01-18 14:13:22 +01:00
Patrick Simpson ab37b666df Made "Send-As" feature enabled by default 2017-01-18 14:06:58 +01:00
Patrick Simpson 9e05601fe9 [KOE-14] Initial version of patcher. Does all the patching, but somehow doesn't work 2017-01-18 14:06:18 +01:00
Patrick Simpson 6d135c0ddc [KOE-62] Added Tls1.1 and Tls1.2 as allowed protocols 2017-01-18 11:45:52 +01:00
Patrick Simpson 1e690a63e6 Exception handling for some folder events, which are sometimes invoked with deleted folders. 2017-01-18 10:35:17 +01:00
Patrick Simpson 7a4a534901 [KOE-61] Updated names for client capabilities 2017-01-18 10:34:45 +01:00
Patrick Simpson 0c7af26b6b [KOE-61] Added plugin capabilities header to Z-Push calls. May still need some renaming to match server capabilities. 2017-01-18 10:13:24 +01:00
Patrick Simpson 51cb0c7fa1 [KOE-57] Moved test projects to build repository 2017-01-02 13:19:41 +01:00
Patrick Simpson 07ee7405d5 [KOE-32] Updated "About" ribbon icon 2016-12-23 15:27:08 +01:00
Patrick Simpson f3525d5c31 [KOE-56] Changed default names for shared folders 2016-12-21 16:57:09 +01:00
Patrick Simpson 22c86df5b5 Removed license from translations 2016-12-21 15:46:11 +01:00
Patrick Simpson 4542b465c0 Initial import 2016-12-21 12:53:16 +01:00