A clone of ssh://git@git.pep-security.lu:23000/thunderbird/pEpForThunderbird.git, until that one is open source again.
 
 
 
 
Go to file
Jörg Knobloch 34f9200a49 Follow-up to commit 7b603eec, adjust tests: outgoing_message_rating() as "OUT" as out parameter. 2021-03-16 14:01:38 +01:00
addon Finalise "(do not) protect subject" functionality. 2021-03-10 21:22:45 +01:00
tests Follow-up to commit 7b603eec, adjust tests: outgoing_message_rating() as "OUT" as out parameter. 2021-03-16 14:01:38 +01:00
.eslintrc.json Restore "airbnb-base". Oops. See rev. 1f567b1a286a and rev. 224ec02c1e9e. 2020-04-23 01:37:38 +02:00
.gitconfig Add .gitconfig with LESSCHARSET=utf-8 2021-02-04 23:14:10 +01:00
.gitignore Add patches-master/ to .gitignore 2021-02-08 00:50:25 +01:00
.mocharc.json Move forward Decrypt/Encrypt 2019-01-11 09:46:30 +01:00
DEVELOPMENT.md Picked up some text from the old documentation branch. Still mostly out of date. 2021-02-22 10:45:57 +01:00
Dockerfile Show privacy ratings on emails on decrypt and on composing 2019-03-19 14:50:18 +01:00
Makefile Renamed `chrome` directory to `addon` and related changes. No idea why it was called `chrome` in the first place. 2020-06-27 21:41:41 +02:00
README.md Picked up some text from the old documentation branch. Still mostly out of date. 2021-02-22 10:45:57 +01:00
makeXPI.bat Switch from hg to git and stop copying into no longer existent profile. 2021-02-04 22:43:56 +01:00
manual-and-test.md P4TB-73 use identity `protectionDisabled` for disabled accounts 2019-11-21 13:35:53 +01:00
package-lock.json Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 2020-03-20 22:34:01 +01:00
package.json Lint all the tests, even the dead ones. 2021-01-23 22:23:03 +01:00

README.md

MOSTLY OUT-OF-DATE (Feb. 2021)

p≡p for Thunderbird

This is a Thunderbird extension providing p≡privacy to your mail. It relies on the p≡p JSON adapter to access the key management, synchronisation and automation logic provided by the p≡p engine.

How To Build

Using bash

Just run make to build from the current source, producing a file in build/p4t.xpi that can be installed from Thunderbird's add-ons manager page clicking on "Install from file". For information about building and running the engine adapter see its repo.

cd addon ; zip -r ../build/pEp4Tb@pEp.security.xpi . ; cd ..

Check syntax statically

You can parse the code with Babel in order to catch syntax errors. After installing with npm install just run:

npm run syntaxCheck

Run ESLint

You can run ESLint to check the style guides defined in .eslintrc.json with the npm script:

npm run lint

ESLint can auto fix some problems with the option --fix but most of them must be fixed manually:

npm run lint --fix
npm run lint -- --fix (on Windows)

Tests

To run tests first is needed to install all dependencies

npm install

Run

npm run test
npm run linttest

More info

Check the DEVELOPMENT.md file here for a collection of development notes. See also our dev wiki.