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 8a82a71599 Cleaned out unnecessary content from .hgignore 2020-06-27 21:09:13 +02:00
chrome P4TB-229: Follow-up to rev. 6d1bd872768c: Localise "please restart" warning and delay it to show on top of window. 2020-06-26 00:03:56 +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 Restore "airbnb-base". Oops. See rev. 1f567b1a286a and rev. 224ec02c1e9e. 2020-04-23 01:37:38 +02:00
.hgignore Cleaned out unnecessary content from .hgignore 2020-06-27 21:09:13 +02: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 More linting (object-curly-spacing). 2020-04-15 12:35:12 +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
npm run lint -- --fix (on Windows)

Tests

To run tests first is needed to install all dependencies

npm install

Run

npm run test