A clone of ssh://git@git.pep-security.lu:23000/thunderbird/pEpForThunderbird.git, until that one is open source again.
 
 
 
 
Go to file
Jorg Knobloch 47226a2ee8 P4TB-201: Add menu item to launch options. 2020-04-15 11:27:51 +02:00
chrome P4TB-201: Add menu item to launch options. 2020-04-15 11:27:51 +02:00
tests Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 2020-03-20 22:34:01 +01:00
.eslintrc.json Skip Feed, Chat and News accounts (dogfooding, issue 1). 2020-04-11 22:18:37 +02:00
.hgignore Ignore .idea folder 2020-02-27 12:14:17 +01:00
.mocharc.json Move forward Decrypt/Encrypt 2019-01-11 09:46:30 +01:00
DEVELOPMENT.md P4TB-131 add a disclaimer option 2019-10-16 16:33:19 +02:00
Dockerfile Show privacy ratings on emails on decrypt and on composing 2019-03-19 14:50:18 +01:00
Makefile Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 2020-03-20 22:34:01 +01:00
README.md Add test section to README.md 2020-04-06 10:06:20 +02: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 Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 2020-03-20 22:34:01 +01:00

README.md

p≡p for Thunderbird

HOW TO BUILD

Using docker

docker build -t <image_tag> . && docker run -v build:/usr/src/app/build <image_tag>

Using bash

zip -r build/pEp4Tb@pEp.security.xpi chrome

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

Tests

To run tests first is needed to install all dependencies

npm install

Run

npm run test