Browse Source

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

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

+ 8
- 8
Makefile View File

@ -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/*


+ 1
- 1
README.md View File

@ -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


chrome/_locales/en/messages.json → addon/_locales/en/messages.json View File


chrome/background.js → addon/background.js View File


chrome/content/TbContacts.js → addon/content/TbContacts.js View File


chrome/content/TbHelper.js → addon/content/TbHelper.js View File


chrome/content/TbSync.js → addon/content/TbSync.js View File


chrome/content/constants.js → addon/content/constants.js View File


chrome/content/detectAdapter.js → addon/content/detectAdapter.js View File


chrome/content/dialogs/common.css → addon/content/dialogs/common.css View File


chrome/content/dialogs/options.css → addon/content/dialogs/options.css View File


chrome/content/dialogs/options.js → addon/content/dialogs/options.js View File


chrome/content/dialogs/options.xhtml → addon/content/dialogs/options.xhtml View File


chrome/content/dialogs/privacy_status.css → addon/content/dialogs/privacy_status.css View File


chrome/content/dialogs/privacy_status.js → addon/content/dialogs/privacy_status.js View File


chrome/content/dialogs/privacy_status.xhtml → addon/content/dialogs/privacy_status.xhtml View File


chrome/content/dialogs/sync_wizard.css → addon/content/dialogs/sync_wizard.css View File


chrome/content/dialogs/sync_wizard.js → addon/content/dialogs/sync_wizard.js View File


chrome/content/dialogs/sync_wizard.xhtml → addon/content/dialogs/sync_wizard.xhtml View File


chrome/content/modules/handshake.js → addon/content/modules/handshake.js View File


chrome/content/modules/pEp.js → addon/content/modules/pEp.js View File


chrome/content/modules/pEpAdapter.js → addon/content/modules/pEpAdapter.js View File


chrome/content/modules/pEpFiles.js → addon/content/modules/pEpFiles.js View File


chrome/content/modules/pEpServer.js → addon/content/modules/pEpServer.js View File


chrome/content/modules/sync.js → addon/content/modules/sync.js View File


chrome/content/modules/utils.js → addon/content/modules/utils.js View File


chrome/content/modules/xhrQueue.js → addon/content/modules/xhrQueue.js View File


chrome/content/pEpController.js → addon/content/pEpController.js View File


chrome/content/pEpFactory.js → addon/content/pEpFactory.js View File


chrome/content/pEpForThunderbird.js → addon/content/pEpForThunderbird.js View File


chrome/content/pEpLogger.js → addon/content/pEpLogger.js View File


chrome/content/pEpMimeDecrypt.js → addon/content/pEpMimeDecrypt.js View File


chrome/content/pEpMimeEncrypt.js → addon/content/pEpMimeEncrypt.js View File


chrome/content/pepmessengercompose.js → addon/content/pepmessengercompose.js View File


chrome/content/pepmsghdrview.js → addon/content/pepmsghdrview.js View File


chrome/content/resources/images/green-disabled-shield.svg → addon/content/resources/images/green-disabled-shield.svg View File


chrome/content/resources/images/green-shield-white.svg → addon/content/resources/images/green-shield-white.svg View File


chrome/content/resources/images/green-shield.svg → addon/content/resources/images/green-shield.svg View File


chrome/content/resources/images/logo.svg → addon/content/resources/images/logo.svg View File


chrome/content/resources/images/logo128.svg → addon/content/resources/images/logo128.svg View File


chrome/content/resources/images/no-color.svg → addon/content/resources/images/no-color.svg View File


chrome/content/resources/images/red-shield-white.svg → addon/content/resources/images/red-shield-white.svg View File


chrome/content/resources/images/red-shield.svg → addon/content/resources/images/red-shield.svg View File


chrome/content/resources/images/sync-grouped-multiple-devices.png → addon/content/resources/images/sync-grouped-multiple-devices.png View File


chrome/content/resources/images/sync-grouped-two-devices.png → addon/content/resources/images/sync-grouped-two-devices.png View File


chrome/content/resources/images/sync-syncing-multiple-devices.png → addon/content/resources/images/sync-syncing-multiple-devices.png View File


chrome/content/resources/images/sync-syncing-two-devices.png → addon/content/resources/images/sync-syncing-two-devices.png View File


chrome/content/resources/images/sync-ungrouped-multiple-devices.png → addon/content/resources/images/sync-ungrouped-multiple-devices.png View File


chrome/content/resources/images/sync-ungrouped-two-devices.png → addon/content/resources/images/sync-ungrouped-two-devices.png View File


chrome/content/resources/images/yellow-disabled-shield.svg → addon/content/resources/images/yellow-disabled-shield.svg View File


chrome/content/resources/images/yellow-shield-white.svg → addon/content/resources/images/yellow-shield-white.svg View File


chrome/content/resources/images/yellow-shield.svg → addon/content/resources/images/yellow-shield.svg View File


chrome/content/resources/stylesheets/pEp.css → addon/content/resources/stylesheets/pEp.css View File


chrome/content/sendMessage.js → addon/content/sendMessage.js View File


chrome/content/syncWizard.js → addon/content/syncWizard.js View File


chrome/experiments.js → addon/experiments.js View File


chrome/manifest.json → addon/manifest.json View File


chrome/schema.json → addon/schema.json View File


+ 0
- 7
chrome/makeXPI.bat View File

@ -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

+ 11
- 0
makeXPI.bat View File

@ -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

+ 2
- 2
package.json View File

@ -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