GithubHelp home page GithubHelp logo

metasansana / thunderbird-account-copy Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 116 KB

A Thunderbird plugin for copying data between mail accounts.

License: Apache License 2.0

JavaScript 71.60% HTML 25.38% CSS 2.62% Makefile 0.40%

thunderbird-account-copy's People

Contributors

joeharr4 avatar metasansana avatar

Watchers

 avatar  avatar  avatar

Forkers

joeharr4

thunderbird-account-copy's Issues

Establish extension base UI and chrome integration.

The purpose of this extension is to allow the following types of data to be copied between mail accounts:

  1. Tags
  2. Mail Messages
  3. Message Filters

The workflow I envision for this is a single tab containing a wizard the user steps through to configure and start the copy. The copy process itself will be executed via a background script.

The diagram below gives an idea of the workflow from a user's perspective.

workflow

Support copying filters between accounts.

This issues serves as a meta issue for all the tasks needed to implement filter copying.

As far as I am aware and can tell. Filters are stored on the local machine in the msgFilterRules.dat file. It's a little confusing whether filters are associated to folders/identities/accounts but code such as this suggest they are tied to the nsIMsgIncomingServer of an nsIMsgAccount. This is also evident by the file location on the file system.

Everywhere I searched for the property canHaveFilters, it seems to be set to true, so I'm pretty confident they are only stored locally.
https://searchfox.org/comm-central/search?q=canHaveFilters%7Cm_canhaveFilters&path=&case=true&regexp=true

A quick win is to probably copy the msgFilterRules.dat file between accounts but we are interested in detecting collisions here so I'll look further into using the internal APIs so we can easily detect what's being overwritten.

The following tasks need to be complete to close this issue (more will be added as we progress).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.