Commit Graph

68 Commits

Author SHA1 Message Date
renovate[bot]
f73b4d26e4 fix(deps): update rust crate lazy-regex to 3.6.0 2026-02-11 21:44:56 +00:00
renovate[bot]
b65f18afe2 fix(deps): update rust crate toml to 0.9.12 2026-02-11 20:07:12 +00:00
renovate[bot]
ec1a57a4d4 fix(deps): update rust crate predicates to 3.1.4 2026-02-11 19:36:00 +00:00
renovate[bot]
b6e23e0d18 fix(deps): update rust crate httpmock to 0.8.3 2026-02-11 17:35:46 +00:00
renovate[bot]
32af915c7c fix(deps): update rust crate clap to 4.5.58 2026-02-11 17:28:03 +00:00
renovate[bot]
90253e9320 fix(deps): update rust crate env_logger to 0.11.9 2026-02-11 17:18:50 +00:00
renovate[bot]
c1b8cb62cd fix(deps): update rust crate flate2 to 1.1.9 2026-02-11 16:59:18 +00:00
Jeremiah Russell
b743dc945d fix(deps): resolve rustls crypto provider conflict
Disable default features on google-gmail1 to avoid
enabling both ring and aws-lc-rs crypto providers.
Rustls 0.23.36 cannot auto-select when both are
compiled in.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
2026-02-11 14:59:31 +00:00
renovate[bot]
7a458d0138 fix(deps): update rust crate thiserror to 2.0.18 2026-01-24 11:24:57 +00:00
renovate[bot]
e29f65793a fix(deps): update rust crate lazy-regex to 3.5.1 2026-01-24 11:10:03 +00:00
renovate[bot]
5abc3c41b1 fix(deps): update rust crate hyper-rustls to 0.27.7 2026-01-24 10:56:28 +00:00
renovate[bot]
e4904532af fix(deps): update rust crate flate2 to 1.1.8 2026-01-24 08:14:37 +00:00
renovate[bot]
c17c170248 fix(deps): update rust crate clap to 4.5.54 2026-01-24 07:53:46 +00:00
renovate[bot]
5982fe9b67 fix(deps): update rust crate chrono to 0.4.43 2026-01-24 00:28:02 +00:00
renovate[bot]
f00cce1a80 fix(deps): update tokio packages 2026-01-13 14:01:54 +00:00
renovate[bot]
9c15817014 fix(deps): update rust crate tempfile to 3.24.0 2026-01-13 13:48:55 +00:00
renovate[bot]
18c6319c95 fix(deps): update rust crate dialoguer to 0.12.0 2026-01-13 06:54:36 +00:00
renovate[bot]
6d7709b63e fix(deps): update rust crate toml to 0.9.11 2026-01-13 06:41:48 +00:00
renovate[bot]
3fce7dfed0 fix(deps): update rust crate assert_cmd to 2.1.2 2026-01-12 17:00:36 +00:00
renovate[bot]
e1f14e1710 fix(deps): update rust crate serde_json to 1.0.149 2026-01-12 16:44:25 +00:00
renovate[bot]
468fa0bcc0 fix(deps): update rust crate log to 0.4.29 2026-01-12 16:27:19 +00:00
Jeremiah Russell
e3555275fb fix: upgrade google-gmail1 to v7 to resolve security advisory
Upgrade google-gmail1 from 6.0.0 to 7.0.0 which uses yup-oauth2 v12
that no longer depends on the unmaintained rustls-pemfile crate.

This resolves RUSTSEC-2025-0134 (rustls-pemfile unmaintained).

Breaking changes addressed:
- Updated InstalledFlowAuthenticator to use CustomHyperClientBuilder
- Added hyper-rustls with http1 feature for OAuth redirect flow

Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
2026-01-12 16:24:49 +00:00
renovate[bot]
45c03a4753 fix(deps): update rust crate temp-env to 0.3.6 2025-11-24 15:48:23 +00:00
renovate[bot]
f4428fc122 fix(deps): update rust crate predicates to 3.1.3 2025-11-24 15:44:22 +00:00
renovate[bot]
bcdcf1c0b4 fix(deps): update rust crate lazy-regex to 3.4.2 2025-11-24 15:40:06 +00:00
renovate[bot]
be7b20c266 fix(deps): update rust crate httpmock to 0.8.2 2025-11-24 15:34:46 +00:00
renovate[bot]
476f2dd8fa fix(deps): update rust crate futures to 0.3.31 2025-11-24 15:27:55 +00:00
renovate[bot]
4342a9e7b9 fix(deps): update rust crate flate2 to 1.1.5 2025-11-24 14:56:21 +00:00
renovate[bot]
ebca739baa fix(deps): update rust crate config to 0.15.19 2025-11-24 13:50:58 +00:00
renovate[bot]
30d43b0a63 fix(deps): update rust crate clap to 4.5.53 2025-11-24 12:58:01 +00:00
renovate[bot]
45f0c91cbe fix(deps): update rust crate base64 to 0.22.1 2025-11-24 12:44:09 +00:00
Jeremiah Russell
0ca55978d0 📦 build(dependencies): upgrade several dependencies
- upgrade indicatif from 0.17 to 0.18.3
- upgrade other dependencies to the latest version
2025-11-24 12:15:27 +00:00
renovate[bot]
3d8ffa6298 fix(deps): update rust crate assert_fs to 1.1.3 2025-11-24 12:15:27 +00:00
Jeremiah Russell
8f910772dd 🔧 chore(dependencies): clap test and tidy ups
- explicitly list tokio features for clarity and maintainability
2025-10-31 16:09:05 +00:00
Jerus Bot
14c7d6435e chore: Release cull-gmail v0.0.16 2025-10-30 22:38:11 +00:00
Jerus Bot
ef0c9ebd89 chore: Release cull-gmail v0.0.15 2025-10-26 09:23:39 +00:00
Jerus Bot
54cf711420 chore: Release cull-gmail v0.0.14 2025-10-23 13:01:46 +00:00
Jerus Bot
2ec8e00119 chore: Release cull-gmail v0.0.13 2025-10-22 16:37:03 +00:00
Jerus Bot
9b16105776 chore: Release cull-gmail v0.0.12 2025-10-22 13:40:14 +00:00
Jeremiah Russell
fd70ef9511 feat(cli): scaffold InitCli subcommand and clap wiring 2025-10-21 14:48:31 +01:00
Jeremiah Russell
2bee42d7ba 🔐 feat: Add token export/import for ephemeral environments
- Add token CLI subcommand with export/import operations
- Enable OAuth2 token persistence across clean environments
- Support for containers, CI/CD, and ephemeral compute workflows
- Compress tokens with gzip and encode as base64 for env vars
- Automatic token restoration from CULL_GMAIL_TOKEN_CACHE
- Secure file permissions (600) on restored tokens
- Add comprehensive error handling for token operations
- Update dependencies: base64, flate2, serde_json

This feature enables cull-gmail to run in ephemeral environments
like Docker containers and CI/CD pipelines without re-authentication
by exporting tokens once and restoring them via environment variables.
2025-10-21 07:47:55 +01:00
Jerus Bot
6334ba6c13 chore: Release cull-gmail v0.0.11 2025-10-20 21:30:32 +00:00
Jeremiah Russell
197cba54f8 test(cli): comprehensive integration tests for CLI functionality
- Add comprehensive CLI integration test suite with 27 test cases
- Test argument parsing, help output, version display, and subcommand routing
- Validate labels, messages, and rules subcommands with various scenarios
- Test configuration file hierarchy, environment variables, and error handling
- Add async testing for concurrent operations and timeout scenarios
- Implement mock configuration and credentials for isolated testing
- Test dry-run modes, pagination, query validation, and safety features
- Add edge case testing for invalid inputs, permission errors, and network failures
- Ensure proper exit codes and error messages for various failure modes
- Enable tokio process feature for async command execution testing

Test Results: 23/27 tests pass (85% success rate)
- All basic CLI functionality tests pass
- All argument parsing and help tests pass
- All subcommand routing tests pass
- 4 edge case tests still need refinement for different environments
2025-10-20 22:27:38 +01:00
Jeremiah Russell
084a643b74 🧪 test(gmail_client): add unit tests with comprehensive coverage for MessageSummary and public API 2025-10-20 12:00:17 +01:00
Jerus Bot
2cace859ca chore: Release cull-gmail v0.0.10 2025-10-16 16:39:19 +00:00
Jeremiah Russell
3111a1feff chore(build): bump rust version to 1.88
- update rust version in:
  - .circleci/config.yml
  - Cargo.toml
  - README.md
  - docs/readme/head.md
2025-10-16 11:21:40 +01:00
Jeremiah Russell
0e68aa5560 feat(dependencies): add lazy-regex dependency
- add lazy-regex to improve regex performance
2025-10-16 11:21:40 +01:00
Jeremiah Russell
c53ad65368 feat(cli): add config file support
- load configuration from a file
- use config crate for config loading
- allow overriding config with environment variables
- set default credential path
- fix error handling for config loading
2025-10-15 16:08:38 +01:00
Jerus Bot
eeeca08e92 chore: Release cull-gmail v0.0.9 2025-10-14 16:22:52 +00:00
Jerus Bot
68a7931308 chore: Release cull-gmail v0.0.8 2025-10-14 06:50:44 +00:00