* feat(notification): ✨ Add notification removal feature
Implemented a new method `RemoveNotificationAsync` in the `INotificationBuilder` interface to allow the removal of toast notifications for specific emails identified by a unique ID.
This change enhances the notification management by ensuring that notifications can be cleared when emails are marked as read. The `NotificationBuilder` class has been updated to include logic for removing existing notifications and to use the unique ID as a tag for the toast notifications, facilitating their removal. Additionally, the `AppShellViewModel` has been modified to call this new method when an email is updated and marked as read.
This improvement aims to provide a better user experience by keeping the notification area relevant and up-to-date.
* feat(notification): ✨ Add MailReadStatusChanged event handling
Introduced a new event system for handling email read status changes. This includes the addition of a listener in `NotificationBuilder` that removes notifications when an email is marked as read.
• Added `MailReadStatusChanged` record to represent the event.
• Registered a listener in `NotificationBuilder` to handle notification removal.
• Removed the `OnMailUpdated` method from `AppShellViewModel`, delegating notification management to the new event system.
• Updated `MailService` to send `MailReadStatusChanged` events when emails are marked as read.
This change improves the communication between components and enhances the notification management system.
* refactor: Remove comments
* Little cleanup.
---------
Co-authored-by: Burak Kaan Köse <bkaankose@outlook.com>
* feat: Enhanced sender avatars with gravatar and favicons integration
* chore: Remove unused known companies thumbnails
* feat(thumbnail): add IThumbnailService and refactor usage
- Introduced a new interface `IThumbnailService` for handling thumbnail-related functionalities.
- Registered `IThumbnailService` with its implementation `ThumbnailService` in the service container.
- Updated `NotificationBuilder` to use an instance of `IThumbnailService` instead of static methods.
- Refactored `ThumbnailService` from a static class to a regular class with instance methods and variables.
- Modified `ImagePreviewControl` to utilize the new `IThumbnailService` instance.
- Completed integration of `IThumbnailService` in the application by registering it in `App.xaml.cs`.
* style: Show favicons as squares
- Changed `hintCrop` in `NotificationBuilder` to `None` for app logo display.
- Added `FaviconSquircle`, `FaviconImage`, and `isFavicon` to `ImagePreviewControl` for favicon handling.
- Updated `UpdateInformation` method to manage favicon visibility.
- Introduced `GetBitmapImageAsync` for converting Base64 to Bitmap images.
- Enhanced XAML to include `FaviconSquircle` for improved UI appearance.
* refactor thumbnail service
* Removed old code and added clear method
* added prefetch function
* Change key from host to email
* Remove redundant code
* Test event
* Fixed an issue with the thumbnail updated event.
* Fix cutted favicons
* exclude some domain from favicons
* add yandex.ru
* fix buttons in settings
* remove prefetch method
* Added thumbnails propagation to mailRenderingPage
* Revert MailItemViewModel to object
* Remove redundant code
* spaces
* await load parameter added
* fix spaces
* fix case sensativity for mail list thumbnails
* change duckdns to google
* Some cleanup.
---------
Co-authored-by: Aleh Khantsevich <aleh.khantsevich@gmail.com>
Co-authored-by: Burak Kaan Köse <bkaankose@outlook.com>
* Separation of messages. Introducing Wino.Messages library.
* Wino.Server and Wino.Packaging projects. Enabling full trust for UWP and app service connection manager basics.
* Remove debug code.
* Enable generating assembly info to deal with unsupported os platform warnings.
* Fix server-client connection.
* UIMessage communication. Single instancing for server and re-connection mechanism on suspension.
* Removed IWinoSynchronizerFactory from UWP project.
* Removal of background task service from core.
* Delegating changes to UI and triggering new background synchronization.
* Fix build error.
* Moved core lib messages to Messaging project.
* Better client-server communication. Handling of requests in the server. New synchronizer factory in the server.
* WAM broker and MSAL token caching for OutlookAuthenticator. Handling account creation for Outlook.
* WinoServerResponse basics.
* Delegating protocol activation for Gmail authenticator.
* Adding margin to searchbox to match action bar width.
* Move libraries into lib folder.
* Storing base64 encoded mime on draft creation instead of MimeMessage object. Fixes serialization/deserialization issue with S.T.Json
* Scrollbar adjustments
* WınoExpander for thread expander layout ıssue.
* Handling synchronizer state changes.
* Double init on background activation.
* FIxing packaging issues and new Wino Mail launcher protocol for activation from full thrust process.
* Remove debug deserialization.
* Remove debug code.
* Making sure the server connection is established when the app is launched.
* Thrust -> Trust string replacement...
* Rename package to Wino Mail
* Enable translated values in the server.
* Fixed an issue where toast activation can't find the clicked mail after the folder is initialized.
* Revert debug code.
* Change server background sync to every 3 minute and Inbox only synchronization.
* Revert google auth changes.
* App preferences page.
* Changing tray icon visibility on preference change.
* Start the server with invisible tray icon if set to invisible.
* Reconnect button on the title bar.
* Handling of toast actions.
* Enable x86 build for server during packaging.
* Get rid of old background tasks and v180 migration.
* Terminate client when Exit clicked in server.
* Introducing SynchronizationSource to prevent notifying UI after server tick synchronization.
* Remove confirmAppClose restricted capability and unused debug code in manifest.
* Closing the reconnect info popup when reconnect is clicked.
* Custom RetryHandler for OutlookSynchronizer and separating client/server logs.
* Running server on Windows startup.
* Fix startup exe.
* Fix for expander list view item paddings.
* Force full sync on app launch instead of Inbox.
* Fix draft creation.
* Fix an issue with custom folder sync logic.
* Reporting back account sync progress from server.
* Fix sending drafts and missing notifications for imap.
* Changing imap folder sync requirements.
* Retain file count is set to 3.
* Disabled swipe gestures temporarily due to native crash
with SwipeControl
* Save all attachments implementation.
* Localization for save all attachments button.
* Fix logging dates for logs.
* Fixing ARM64 build.
* Add ARM64 build config to packaging project.
* Comment out OutOfProcPDB for ARM64.
* Hnadling GONE response for Outlook folder synchronization.