1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00
Commit Graph

274 Commits

Author SHA1 Message Date
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
b6a9d36282 Fixed bug in restarter command line that cause restarting to fail 2017-09-06 12:18: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
d00fcffcf8 [KOE-133] Added checks for null accounts and explorers, which happens when an email is sent through another application. 2017-08-02 12:16:01 +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
b17ebb2ec4 [KOE-125] Fixed selection of separator borders in drop list 2017-06-30 12:35:52 +02:00
Patrick Simpson
02410c65ef [KOE-115] Enabled sync stall detection by default 2017-06-30 11:56:14 +02:00
Patrick Simpson
334aeabc9d [KOE-125] Fixed mouse wheel handling for combo box 2017-06-29 18:57:13 +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
a27f65e3d1 Added owner drawing of combo box items 2017-06-29 15:50:21 +02:00
Patrick Simpson
27f1eb7b8a Implemented basic filtering for combo box items 2017-06-29 15:01:35 +02:00
Patrick Simpson
acfc47f018 Fixed keyboard handling in combo box 2017-06-29 13:37:55 +02:00
Patrick Simpson
fdf8350afb Clean ups to combobox 2017-06-29 13:07:14 +02:00
Patrick Simpson
af97aae748 Clean ups to combo box code 2017-06-29 12:36:56 +02:00
Patrick Simpson
a0640739e8 Finalised mouse handling for combo box 2017-06-29 11:35:44 +02:00
Patrick Simpson
5371e0ee43 Fixed dimensions of combo box dropdown 2017-06-28 14:47:12 +02:00
Patrick Simpson
2490952c0b Simplified event handling for combo box, without message filter 2017-06-28 11:58:25 +02:00
Patrick Simpson
ddec4f5bfc Added highlight of dropdown items on mouse move 2017-06-28 10:10:34 +02:00
Patrick Simpson
500499a67e Implemented key forwarding from combo box edit to list 2017-06-28 08:54:51 +02:00
Patrick Simpson
72fa30189e Exposed list properties on KComboBox 2017-06-21 16:08:38 +02:00
Patrick Simpson
ed1892b3d7 Fixed disabled sync stall test 2017-06-21 16:07:32 +02:00
Patrick Simpson
7b67b64e07 Added focused visual style to combobox 2017-06-21 09:11:33 +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
3502a6ffa6 [KOE-22] Changed string if no shared folders are available to indicate this might be a permission issue 2017-06-14 14:47:25 +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
b5ee982bc7 Added extra null checks to event registration, caused an exception when clicking around during full resync 2017-05-31 12:07:20 +02:00
Patrick Simpson
86b2144e22 [KOE-117] Improved layout of reminders query trace logging 2017-05-31 12:06:40 +02:00
Patrick Simpson
8110fab096 [KOE-23] Added MimeKit (https://github.com/jstedfast/MimeKit, MIT licensed) to properly parse RFC2047 headers in BCC fields 2017-05-24 17:02:38 +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
ef92888586 [KOE-113] Made restarter retry several times if there's an exception while removing the store. Also now logs the version on start. 2017-05-22 10:02:52 +02:00
Patrick Simpson
3ac0e4e58d Made 'Version' internal rather than public to prevent conflicts. 2017-05-22 10:02:16 +02:00
Patrick Simpson
c0b990f52b [KOE-113] Removed old debug code from restarter, added logging. Also now including version numbers in OutlookRestarter and PluginDebugger. 2017-05-18 11:06:18 +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
ebc4e807a9 [KOE-109] Removed all current TraceExtra messages 2017-05-03 14:16:21 +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
28b613af14 [KOE-105] Constants for delivery and read receipt flags. 2017-04-28 11:59:32 +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
8d79f9f2ee [KOE-92] Turns out item Add and Change events pass a handle to a COM object that must be released. Changed the event handler to release it, with the global option ReleaseItemEventWrappers (default true) to revert back to old behaviour. 2017-04-12 11:53:09 +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
94e51f3a9f Cleaned up some undisposed wrappers 2017-04-05 14:31:05 +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
99c93d8d1f [KOE-94] Fixed rendering of & in tree nodes for shared folders. Fixed encoding of strings in SOAP requests, which caused shared folders with special characters to fail. 2017-04-05 10:55:02 +02:00
Patrick Simpson
4b0df802c4 [KOE-96] Added XML escaping to OOF messages. 2017-04-05 10:28:24 +02:00
Patrick Simpson
c88750ac7f Added additional log for missing parent 2017-03-22 13:49:55 +01:00
Patrick Simpson
5daff1dc44 Exception while loading shared folder tree nodes is now logged. Any nodes whose parents are missing are silently ignored. 2017-03-22 13:44:52 +01: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
0c254f44d0 Merge branch 'master' of https://stash.kopano.io/scm/koe/kopano_ol_extension_source 2017-03-22 11:08:37 +01:00
Patrick Simpson
e08b730fc4 Stripping weird UNC prefix from local path 2017-03-22 11:07:53 +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
70d9d00ea8 [KOE-87] Changed the event used to initialize the plugin. The original event was sometimes invoked after the ribbon was initialised, which meant buttons did not show up. 2017-03-15 11:27:35 +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
0fa8b2b949 Restored DeviceId to debug dialog 2017-03-14 13:08:24 +01:00
Patrick Simpson
dbf278f910 Replacement %title in signature now linked to "job title". 2017-03-10 12:14:22 +01:00
Patrick Simpson
6b7ec839b0 Restarter command line now adds profile key, if possible 2017-03-08 11:18:37 +01:00
Patrick Simpson
8fcf78ec4a [KOE-42] Added scrollbar to OOF dialog 2017-03-02 11:35:29 +01:00
Patrick Simpson
fbd899cc50 [KOE-70] Added explicit BOM to HTML signature files, to prevent encoding errors 2017-03-02 11:27:39 +01:00
Patrick Simpson
8746702052 [KOE-14] Restarter now waits for the Outlook process to finish before starting a new one. 2017-03-01 11:28:57 +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
7a885acb71 32-bit fixes for encoding of search criteria 2017-02-28 14:02:52 +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
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