Skip to content

Re-implement using TypeScript under new name Gmail Processor #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 248 commits into from
Aug 15, 2023
Merged

Conversation

ahochsteger
Copy link
Owner

Gmail Processor is an open-source project that automates the processing of Gmail messages and attachments using Google Apps Script and execute actions (e.g. store attachments in a GDrive folder, log information in a spreadsheet) depending on matching criteria.

It is the successor of Gmail2GDrive with vastly enhanced functionality, completely re-written in TypeScript with extensibility and stability in mind, using a modern development setup and automation all over the place (dependency updates, tests, documentation, releases, deployments). There's a convenient migration available to convert your old configuration to the new format (see Getting Started: Migrating from GMail2GDrive v1).

* list has been extracted from all issues and PRs
* new script 'pre-commit' to ensure consistency before committing
ahochsteger and others added 27 commits July 12, 2023 23:12
* remove markProcessedMethod to prevent type type error in *.ts specs
* add logging actions to e2e01 test
* add *ConvertConfig to v1 examples
* add one empty thread to the minimal config (is required now)
* move some processing-independent values from procMeta to envMeta
* add envMeta support to PatternUtil
* add essential config functions to get json without defaults
* no more auto-generated config names (conflict with essential config)
* add config validation (e.g. at least one thread config - helps mocks)
* add url meta info to thread and message meta data
* fix: add missing markProcessedMethod in v1 converter
* add support for essential config, envMeta and E2E tests to index.ts
* adjust tests to refactoring changes
* initialize all adapter with SettingsConfig
* pass context to sheetLog action
* use appendRow instead of getLastRow/getRange/setValues
* use meta info instead of hard-wiring logging data
* add tests if sheet logging is enabled at all
* re-use existing spreadsheet file if available
* use pattern substitution for logsheet location
* use context for logging methods
* add findFilesByLocation to DriveUtils
* disable logsheet logging by default in settings
* adjust GDriveMocks for improved logsheet mocking
* add mock names to EnvMocks + SpreadsheetMocks
* fix mock initialization issues
* add json5 for validating json with comments
* cleanup unused dependencies
* simplify handling of config schema versions
* project rebranding: gmail2gdrive -> gmail-processor
* full update to README.md
* BREAKING CHANGE marker to trigger major version increment
@ahochsteger ahochsteger temporarily deployed to dev August 15, 2023 20:07 — with GitHub Actions Inactive
@ahochsteger ahochsteger merged commit 1ce5710 into master Aug 15, 2023
@ahochsteger ahochsteger deleted the v2 branch August 15, 2023 20:16
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