Skip to content

Dev#145

Merged
felix-schultz merged 2 commits intoalphafrom
dev
Aug 9, 2025
Merged

Dev#145
felix-schultz merged 2 commits intoalphafrom
dev

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces several improvements and additions across the codebase, focusing on dependency updates, code organization, and new mail functionality. The most significant changes are the addition of mail-related modules and dependencies, updates to existing dependencies, and some code reorganization for clarity and maintainability.

Mail functionality and catalog registration

  • Added a new mail module to the catalog, including submodules for IMAP and SMTP functionality, and registered mail-related nodes in the catalog. This enables new mail features in the system. (packages/catalog/src/mail.rs, packages/catalog/src/lib.rs) [1] [2] [3]

Dependency updates and additions

  • Updated several dependencies in packages/catalog/Cargo.toml, including bumping versions for nalgebra and htmd, and adding new dependencies for mail-related features: async-imap, async-native-tls, async-smtp, tokio (with features), and mail-parser. (packages/catalog/Cargo.toml)
  • Updated dependencies in the root Cargo.toml for tokio and other libraries, ensuring compatibility and feature support. (Cargo.toml) [1] [2]

Documentation and test coverage

  • Added a new Cargo.rst file documenting all dependencies and providing basic test cases to verify their presence and configuration, especially for workspace dependencies and feature flags. (packages/catalog/Cargo.rst)

Code organization and cleanup

  • Refactored imports and formatting in apps/desktop/src-tauri/src/functions/app.rs for improved readability and maintainability. [1] [2] [3] [4]
  • Removed the transpilePackages configuration from apps/desktop/next.config.mjs to simplify the build setup.
  • Minor cleanup in binary configuration for Tauri Linux builds.

Sorting logic update

  • Changed sorting logic in apps/desktop/app/library/page.tsx to use secs_since_epoch instead of nanos_since_epoch for created and updated timestamps, improving consistency and possibly performance.

Let me know if you have questions about any specific change or want to dive deeper into the new mail functionality!

… and email fetching

- Introduced `mail` module with IMAP support, including connection handling and inbox management.
- Implemented `ImapConnectNode` for establishing IMAP connections and caching sessions.
- Added `ImapInboxNode` for wrapping IMAP mailboxes and listing available inboxes.
- Created `ListMailsNode` to fetch email UIDs based on search filters.
- Developed `FetchMailNode` to retrieve full email content, including headers and attachments.
- Enhanced email handling with structured data types for emails, mail addresses, and attachments.
- Updated `PinOptions` to include a sensitive flag for secure handling of sensitive data.
- Adjusted Protobuf definitions to accommodate new fields in `PinOptions`.
- Updated dependencies in `Cargo.toml` for compatibility with workspace features.
@felix-schultz felix-schultz merged commit 8601f5f into alpha Aug 9, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant