gmailctl

Declarative configuration for Gmail filters

MIT License

Downloads
58
Stars
1.7K
Committers
31

Bot releases are hidden (Show)

gmailctl - v0.10.7 Latest Release

Published by mbrt 11 months ago

What's Changed

Maintenance and bug fixing

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.10.6...v0.10.7

gmailctl - v0.10.6

Published by mbrt almost 2 years ago

What's Changed

Maintenance and bug fixing

New Contributors

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.10.5...v0.10.6

gmailctl - v0.10.5

Published by mbrt about 2 years ago

What's Changed

New features

Maintenance and bug fixing

New Contributors

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.10.4...v0.10.5

gmailctl - v0.10.4

Published by mbrt over 2 years ago

What's Changed

Maintenance and bug fixing

New Contributors

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.10.3...v0.10.4

gmailctl - v0.10.3

Published by mbrt over 2 years ago

What's Changed

Maintenance and bug fixing

New Contributors

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.10.2...v0.10.3

gmailctl - v0.10.2

Published by mbrt over 2 years ago

Security fix

Solved a possible XSS attack vector, only present in v0.10.1. This could happen only during a token refresh for a few seconds. Most likely not exploitable, given that the webserver runs only on localhost.

If you are running version v0.10.1 (check with gmailctl version), please update. Otherwise there's no risk for you.

gmailctl - v0.10.1

Published by mbrt over 2 years ago

What's Changed

New features

Maintenance and bug fixing

New Contributors

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.10.0...v0.10.1

gmailctl - v0.10.0

Published by mbrt almost 3 years ago

What's Changed

Breaking Changes

If you're still depending on v1alpha1 or v1alpha2 config files (almost 3 years old by now), please follow the instructions at https://github.com/mbrt/gmailctl/#yaml-config-is-unsupported. A migration tool will convert the old configuration file in the latest format.

New features

Maintenance and bug fixing

New Contributors

Full Changelog: https://github.com/mbrt/gmailctl/compare/v0.9.0...v0.10.0

gmailctl - v0.9.0

Published by mbrt about 3 years ago

Maintenance and bug fixing

  • #181 Add support for Snap builds (thanks to @gjolly).
  • #165 Automatically split long rules in multiple filters in more cases.
  • #164, #183 Fix documentation (thanks to @mig4, @nick-merrill).
  • (various) Updated dependencies.
gmailctl - v0.8.0

Published by mbrt almost 4 years ago

Maintenance and bug fixing

  • Drop some dependencies to keep the project more self-contained. Update all the remaining dependencies.
  • Update documentation (#152, #145, #138)
  • Introduced Github security scanning.
  • #130 Filter color fails if the color is uppercased.
  • #160 Add Gmail API provider customization hooks for library users.
gmailctl - v0.7.0

Published by mbrt over 4 years ago

Upgrading from v0.6.0

This release dropped the vendoring of dependencies, which could cause errors while upgrading gmailctl with go get -u. If you encounter errors while doing so, please delete the old sources (under $GOPATH/src/github.com/mbrt/gmailctl) and update gmailctl again with go get -u github.com/mbrt/gmailctl/cmd/gmailctl.

Maintenance and bug fixing

  • #53 Improve error reporting (fixed by #108).
  • #81 Test failures should show actions diffs.
  • #91 Clearer or updated instructions (fixed by #95).
  • #97 Download command doesn't support filters with HasAttachment (fixed by #105).
  • #101 Added a ToC in README.md.
  • #107 Better error reporting.
  • Bump dependencies (#100, #99, #93, #89, #88, #87, #86, #85, #84, #83).
gmailctl - v0.6.0

Published by mbrt over 4 years ago

New features

  • #56 Add support for forward actions (credits to @slix for most of the implementation!).
  • #65 Add support for bcc filter operator.
  • #76 Add possibility for user config unit tests and a test subcommand (thanks to @lutzky for the idea and @sigma for the POC!). See docs for more details.

Maintenance and bug fixing

  • #69 Fix diff when importing filters with non-empty negatedQuery.
  • #70 Fix support for forward slash in label names.
gmailctl - v0.5.0

Published by mbrt about 5 years ago

Breaking changes

  • Removed the RefName field from the config. This was in the config by mistake and was unused. Configurations with that field set were wrong and will stop working. To migrate, just drop the field.

New features

  • #68 Labels management. This feature is experimental and opt-in. Existing configs will continue to work as before. This is a major (and long standing requested) feature. More details in the README.
  • Automatic labels (thanks to legeana). Note that upgrading gmailctl will not upgrade your copy of the standard library. If you need this feature in your existing configs you have to manually download gmailctl.jsonnet from this repo and overwrite your copy under ~/.gmailctl/gmailctl.jsonnet. See the README for more details.

Maintenance and bug fixing

  • #64 Move to Go modules.
  • #55 Improve documentation for Gmail API scope required.
  • Update dependencies.
gmailctl - v0.4.0

Published by mbrt over 5 years ago

Thanks to all contributors! (@inwinw, @amir-mehler, @studgeek, @slix)

Breaking changes

  • Version bump to the config file, from v1alpha2 to v1alpha3.
    • Removed support for explicitly named filters, used only by YAML configs
    • #60 deprecate YAML format for config

NOTE: The old config files are still supported as is. You need to migrate to the new version (for Jsonnet based config files you just need to change the version tag in the file) only if you need the new functionality. Migrations from older config formats can be trickier and might involve a rewrite.

New features

  • #43 Include an option to continue editing instead of applying filters.
  • #49 Allow downloading filters from Gmail.

Bug fixes

  • #41 diff crashes when a rule has no actions
  • #46 Test URLs don't escape +addresses properly
  • #47 askYN methods default 'N' does not behave as expected
  • #50 Fix subject in Gmail search output
  • #57 Fix typos in "gmailctl edit --help"
  • #59 Fix broken askYN on Windows
gmailctl - v0.3.5

Published by mbrt over 5 years ago

Bug fixes

  • Fix crash when upstream filters are broken #41.
  • Improve feedback when edit is aborted #43.
  • Fix escaping of search URLs in 'debug' command #46.
gmailctl - v0.3.4

Published by mbrt over 5 years ago

Bug fixes

  • Allow args in EDITOR variable #36
  • Edit fails when gmailctl.libsonnet config is used #37
  • Gmail labels are not refreshed when 'continue editing' is chosen #40
gmailctl - v0.3.3

Published by mbrt over 5 years ago

  • Add Jsonnet support.
  • Fix docs.
Package Rankings
Top 23.27% on Formulae.brew.sh
Top 4.85% on Proxy.golang.org
Badges
Extracted from project README
Go Report Card asciicast