Renamed `chrome` directory to `addon` and related changes. No idea why it was called `chrome` in the first place.

1.1.101
Jorg Knobloch 2 years ago
parent 8a82a71599
commit 4cbff14000
  1. 16
      Makefile
  2. 2
      README.md
  3. 0
      addon/_locales/en/messages.json
  4. 0
      addon/background.js
  5. 0
      addon/content/TbContacts.js
  6. 0
      addon/content/TbHelper.js
  7. 0
      addon/content/TbSync.js
  8. 0
      addon/content/constants.js
  9. 0
      addon/content/detectAdapter.js
  10. 0
      addon/content/dialogs/common.css
  11. 0
      addon/content/dialogs/options.css
  12. 0
      addon/content/dialogs/options.js
  13. 0
      addon/content/dialogs/options.xhtml
  14. 0
      addon/content/dialogs/privacy_status.css
  15. 0
      addon/content/dialogs/privacy_status.js
  16. 0
      addon/content/dialogs/privacy_status.xhtml
  17. 0
      addon/content/dialogs/sync_wizard.css
  18. 0
      addon/content/dialogs/sync_wizard.js
  19. 0
      addon/content/dialogs/sync_wizard.xhtml
  20. 0
      addon/content/modules/handshake.js
  21. 0
      addon/content/modules/pEp.js
  22. 0
      addon/content/modules/pEpAdapter.js
  23. 0
      addon/content/modules/pEpFiles.js
  24. 0
      addon/content/modules/pEpServer.js
  25. 0
      addon/content/modules/sync.js
  26. 0
      addon/content/modules/utils.js
  27. 0
      addon/content/modules/xhrQueue.js
  28. 0
      addon/content/pEpController.js
  29. 0
      addon/content/pEpFactory.js
  30. 0
      addon/content/pEpForThunderbird.js
  31. 0
      addon/content/pEpLogger.js
  32. 0
      addon/content/pEpMimeDecrypt.js
  33. 0
      addon/content/pEpMimeEncrypt.js
  34. 0
      addon/content/pepmessengercompose.js
  35. 0
      addon/content/pepmsghdrview.js
  36. 0
      addon/content/resources/images/green-disabled-shield.svg
  37. 0
      addon/content/resources/images/green-shield-white.svg
  38. 0
      addon/content/resources/images/green-shield.svg
  39. 0
      addon/content/resources/images/logo.svg
  40. 0
      addon/content/resources/images/logo128.svg
  41. 0
      addon/content/resources/images/no-color.svg
  42. 0
      addon/content/resources/images/red-shield-white.svg
  43. 0
      addon/content/resources/images/red-shield.svg
  44. 0
      addon/content/resources/images/sync-grouped-multiple-devices.png
  45. 0
      addon/content/resources/images/sync-grouped-two-devices.png
  46. 0
      addon/content/resources/images/sync-syncing-multiple-devices.png
  47. 0
      addon/content/resources/images/sync-syncing-two-devices.png
  48. 0
      addon/content/resources/images/sync-ungrouped-multiple-devices.png
  49. 0
      addon/content/resources/images/sync-ungrouped-two-devices.png
  50. 0
      addon/content/resources/images/yellow-disabled-shield.svg
  51. 0
      addon/content/resources/images/yellow-shield-white.svg
  52. 0
      addon/content/resources/images/yellow-shield.svg
  53. 0
      addon/content/resources/stylesheets/pEp.css
  54. 0
      addon/content/sendMessage.js
  55. 0
      addon/content/syncWizard.js
  56. 0
      addon/experiments.js
  57. 0
      addon/manifest.json
  58. 0
      addon/schema.json
  59. 7
      chrome/makeXPI.bat
  60. 11
      makeXPI.bat
  61. 4
      package.json

@ -1,16 +1,16 @@
xpi:
mkdir -p build
cd chrome; zip -r pEp4Tb@pEp.security.xpi . ; cd ..
mv chrome/pEp4Tb@pEp.security.xpi build
cd addon; zip -r pEp4Tb@pEp.security.xpi . ; cd ..
mv addon/pEp4Tb@pEp.security.xpi build
runtime:
mkdir -p build
mkdir -p runtime-chrome
cp -R chrome/ runtime-chrome
cp tests/runtime/*.js runtime-chrome/content
cd runtime-chrome; zip -r runtime.xpi . ; cd ..
mv runtime-chrome/runtime.xpi build
rm -r runtime-chrome
mkdir -p runtime-addon
cp -R addon/ runtime-addon
cp tests/runtime/*.js runtime-addon/content
cd runtime-addon; zip -r runtime.xpi . ; cd ..
mv runtime-addon/runtime.xpi build
rm -r runtime-addon
clean:
rm build/*

@ -7,7 +7,7 @@ Using docker
Using bash
```zip -r build/pEp4Tb@pEp.security.xpi chrome```
```cd addon ; zip -r ../build/pEp4Tb@pEp.security.xpi . ; cd ..```
## Check syntax statically

Before

Width:  |  Height:  |  Size: 676 B

After

Width:  |  Height:  |  Size: 676 B

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 245 B

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 519 B

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 505 B

@ -1,7 +0,0 @@
REM Handy script to create the XPI on Windows
zip -r pEp4Tb@pEp.security.xpi . -x makeXPI.bat
REM Jörg's personal use:
copy pEp4Tb@pEp.security.xpi C:\Users\jorgk\AppData\Roaming\Thunderbird\Profiles\qciyaj3h.off42-peptest.ch\extensions\pEp4Tb@pEp.security.xpi
copy pEp4Tb@pEp.security.xpi "C:\Users\jorgk\AppData\Roaming\Thunderbird\Profiles\lhqs21u5.off42-peptest.ch for 75\extensions\pEp4Tb@pEp.security.xpi"
copy pEp4Tb@pEp.security.xpi P:\MAIL-THUNDERBIRD\extensions\pEp4Tb@pEp.security.xpi

@ -0,0 +1,11 @@
REM Handy script to create the XPI on Windows
if not exist build mkdir build
del build\pEp4Tb@pEp.security.xpi
cd addon
zip -r ../build/pEp4Tb@pEp.security.xpi .
cd ..
REM Jörg's personal use:
copy build\pEp4Tb@pEp.security.xpi C:\Users\jorgk\AppData\Roaming\Thunderbird\Profiles\qciyaj3h.off42-peptest.ch\extensions\pEp4Tb@pEp.security.xpi
copy build\pEp4Tb@pEp.security.xpi "C:\Users\jorgk\AppData\Roaming\Thunderbird\Profiles\lhqs21u5.off42-peptest.ch for 75\extensions\pEp4Tb@pEp.security.xpi"
copy build\pEp4Tb@pEp.security.xpi P:\MAIL-THUNDERBIRD\extensions\pEp4Tb@pEp.security.xpi

@ -24,7 +24,7 @@
},
"scripts": {
"test": "./node_modules/.bin/mocha tests/unit/*.js tests/features/*.js",
"syntaxCheck": "./node_modules/.bin/babel chrome -d /tmp/babelOutput",
"lint": "./node_modules/.bin/eslint chrome"
"syntaxCheck": "./node_modules/.bin/babel addon -d /tmp/babelOutput",
"lint": "./node_modules/.bin/eslint addon"
}
}

Loading…
Cancel
Save