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

214 Commits

Author SHA1 Message Date
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
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