diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-02-29 18:03:02 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-02-29 18:03:02 +0100 |
commit | c962e9402123900c53967c14cf809ea10576cdb8 (patch) | |
tree | e7df9cfdd6fceae30fb99c8ec6be5e07c8b153a8 | |
parent | 30ee3320c788129b258ed8b42f4fc63d28431e2f (diff) |
restructure
-rw-r--r-- | Makefile (renamed from extension/Makefile) | 0 | ||||
-rw-r--r-- | background/main.ts (renamed from extension/background/main.ts) | 0 | ||||
-rw-r--r-- | content_scripts/notify.js (renamed from extension/content_scripts/notify.js) | 0 | ||||
-rw-r--r-- | content_scripts/notify.ts (renamed from extension/content_scripts/notify.ts) | 0 | ||||
-rw-r--r-- | extension/.gitignore | 9 | ||||
-rw-r--r-- | gulpfile.js (renamed from extension/gulpfile.js) | 0 | ||||
-rw-r--r-- | header.po (renamed from extension/header.po) | 0 | ||||
-rw-r--r-- | ide/README | 1 | ||||
-rw-r--r-- | ide/codeStyle.xml | 44 | ||||
l--------- | img/icon.png (renamed from extension/img/icon.png) | 0 | ||||
-rw-r--r-- | img/logo-2015-medium.png (renamed from extension/img/logo-2015-medium.png) | bin | 75094 -> 75094 bytes | |||
l--------- | img/logo.png (renamed from extension/img/logo.png) | 0 | ||||
-rw-r--r-- | img/taler-logo-24.png (renamed from extension/img/taler-logo-24.png) | bin | 1452 -> 1452 bytes | |||
-rwxr-xr-x | lib/decl/chrome/chrome.d.ts (renamed from extension/lib/decl/chrome/chrome.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/filesystem/filesystem.d.ts (renamed from extension/lib/decl/filesystem/filesystem.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/filewriter/filewriter.d.ts (renamed from extension/lib/decl/filewriter/filewriter.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/handlebars/handlebars-1.0.0.d.ts (renamed from extension/lib/decl/handlebars/handlebars-1.0.0.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/handlebars/handlebars.d.ts (renamed from extension/lib/decl/handlebars/handlebars.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/jquery/jquery.d.ts (renamed from extension/lib/decl/jquery/jquery.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/lib.es6.d.ts (renamed from extension/lib/decl/lib.es6.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/lodash.d.ts (renamed from extension/lib/decl/lodash.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/mithril.d.ts (renamed from extension/lib/decl/mithril.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/node.d.ts (renamed from extension/lib/decl/node.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/systemjs/systemjs.d.ts (renamed from extension/lib/decl/systemjs/systemjs.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/urijs/URIjs.d.ts (renamed from extension/lib/decl/urijs/URIjs.d.ts) | 0 | ||||
-rw-r--r-- | lib/decl/webrtc/MediaStream.d.ts (renamed from extension/lib/decl/webrtc/MediaStream.d.ts) | 0 | ||||
-rw-r--r-- | lib/emscripten/emsc.d.ts (renamed from extension/lib/emscripten/emsc.d.ts) | 0 | ||||
-rw-r--r-- | lib/emscripten/libwrapper.js (renamed from extension/lib/emscripten/libwrapper.js) | 0 | ||||
-rw-r--r-- | lib/i18n-strings.js (renamed from extension/lib/i18n-strings.js) | 0 | ||||
-rw-r--r-- | lib/i18n.ts (renamed from extension/lib/i18n.ts) | 0 | ||||
-rw-r--r-- | lib/module-trampoline.js (renamed from extension/lib/module-trampoline.js) | 0 | ||||
-rw-r--r-- | lib/refs.ts (renamed from extension/lib/refs.ts) | 0 | ||||
-rw-r--r-- | lib/vendor/URI.js (renamed from extension/lib/vendor/URI.js) | 0 | ||||
l--------- | lib/vendor/jed.js (renamed from extension/lib/vendor/jed.js) | 0 | ||||
-rw-r--r-- | lib/vendor/lodash.core.min.js (renamed from extension/lib/vendor/lodash.core.min.js) | 0 | ||||
-rw-r--r-- | lib/vendor/mithril.js (renamed from extension/lib/vendor/mithril.js) | 0 | ||||
-rw-r--r-- | lib/vendor/system-csp-production.src.js (renamed from extension/lib/vendor/system-csp-production.src.js) | 0 | ||||
-rw-r--r-- | lib/wallet/checkable.ts (renamed from extension/lib/wallet/checkable.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/cryptoApi.ts (renamed from extension/lib/wallet/cryptoApi.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/cryptoLib.ts (renamed from extension/lib/wallet/cryptoLib.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/cryptoWorker.ts (renamed from extension/lib/wallet/cryptoWorker.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/db.ts (renamed from extension/lib/wallet/db.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/emscriptif.ts (renamed from extension/lib/wallet/emscriptif.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/helpers.ts (renamed from extension/lib/wallet/helpers.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/http.ts (renamed from extension/lib/wallet/http.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/query.ts (renamed from extension/lib/wallet/query.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/types.ts (renamed from extension/lib/wallet/types.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/wallet.ts (renamed from extension/lib/wallet/wallet.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/wxApi.ts (renamed from extension/lib/wallet/wxApi.ts) | 0 | ||||
-rw-r--r-- | lib/wallet/wxMessaging.ts (renamed from extension/lib/wallet/wxMessaging.ts) | 0 | ||||
-rw-r--r-- | manifest.json (renamed from extension/manifest.json) | 0 | ||||
-rw-r--r-- | package.json (renamed from extension/package.json) | 0 | ||||
-rw-r--r-- | pages/confirm-contract.html (renamed from extension/pages/confirm-contract.html) | 0 | ||||
-rw-r--r-- | pages/confirm-contract.tsx (renamed from extension/pages/confirm-contract.tsx) | 0 | ||||
-rw-r--r-- | pages/confirm-create-reserve.html (renamed from extension/pages/confirm-create-reserve.html) | 0 | ||||
-rw-r--r-- | pages/confirm-create-reserve.tsx (renamed from extension/pages/confirm-create-reserve.tsx) | 0 | ||||
-rw-r--r-- | pages/debug.html (renamed from extension/pages/debug.html) | 0 | ||||
-rw-r--r-- | pages/show-db.html (renamed from extension/pages/show-db.html) | 0 | ||||
-rw-r--r-- | pages/show-db.ts (renamed from extension/pages/show-db.ts) | 0 | ||||
-rw-r--r-- | pogen/.gitignore (renamed from extension/pogen/.gitignore) | 0 | ||||
-rw-r--r-- | pogen/example/messages.po (renamed from extension/pogen/example/messages.po) | 0 | ||||
-rw-r--r-- | pogen/example/test.ts (renamed from extension/pogen/example/test.ts) | 0 | ||||
-rw-r--r-- | pogen/pogen.ts (renamed from extension/pogen/pogen.ts) | 0 | ||||
-rw-r--r-- | pogen/tsconfig.json (renamed from extension/pogen/tsconfig.json) | 0 | ||||
-rw-r--r-- | popup/popup.css (renamed from extension/popup/popup.css) | 0 | ||||
-rw-r--r-- | popup/popup.html (renamed from extension/popup/popup.html) | 0 | ||||
-rw-r--r-- | popup/popup.tsx (renamed from extension/popup/popup.tsx) | 0 | ||||
-rwxr-xr-x | serve-testpages | 11 | ||||
-rw-r--r-- | style.txt | 49 | ||||
-rw-r--r-- | style/wallet.css (renamed from extension/style/wallet.css) | 0 | ||||
-rw-r--r-- | taler-wallet-de-DE.po (renamed from extension/taler-wallet-de-DE.po) | 0 | ||||
-rw-r--r-- | taler-wallet-en-US.po (renamed from extension/taler-wallet-en-US.po) | 0 | ||||
-rw-r--r-- | taler-wallet-fr-FR.po (renamed from extension/taler-wallet-fr-FR.po) | 0 | ||||
-rw-r--r-- | taler-wallet-it-IT.po (renamed from extension/taler-wallet-it-IT.po) | 0 | ||||
-rw-r--r-- | test/run_tests.js (renamed from extension/test/run_tests.js) | 0 | ||||
-rw-r--r-- | test/tests/taler.ts (renamed from extension/test/tests/taler.ts) | 0 | ||||
-rw-r--r-- | testpages/testpage_merchant.html | 16 | ||||
-rw-r--r-- | tsconfig.json (renamed from extension/tsconfig.json) | 0 |
78 files changed, 0 insertions, 130 deletions
diff --git a/extension/Makefile b/Makefile index cb8e63bf2..cb8e63bf2 100644 --- a/extension/Makefile +++ b/Makefile diff --git a/extension/background/main.ts b/background/main.ts index 746d81a60..746d81a60 100644 --- a/extension/background/main.ts +++ b/background/main.ts diff --git a/extension/content_scripts/notify.js b/content_scripts/notify.js index d81732f10..d81732f10 100644 --- a/extension/content_scripts/notify.js +++ b/content_scripts/notify.js diff --git a/extension/content_scripts/notify.ts b/content_scripts/notify.ts index d300dbc03..d300dbc03 100644 --- a/extension/content_scripts/notify.ts +++ b/content_scripts/notify.ts diff --git a/extension/.gitignore b/extension/.gitignore deleted file mode 100644 index 989b31165..000000000 --- a/extension/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -node_modules/ -*.js.map -background/*.js -lib/wallet/*.js -lib/*.js -!lib/module-trampoline.js -popup/*.js -test/tests/*.js -build/ diff --git a/extension/gulpfile.js b/gulpfile.js index fc0134457..fc0134457 100644 --- a/extension/gulpfile.js +++ b/gulpfile.js diff --git a/extension/header.po b/header.po index 4505870f6..4505870f6 100644 --- a/extension/header.po +++ b/header.po diff --git a/ide/README b/ide/README deleted file mode 100644 index da819ea1e..000000000 --- a/ide/README +++ /dev/null @@ -1 +0,0 @@ -Settings and project files for IDEs and other tools should be stored here. diff --git a/ide/codeStyle.xml b/ide/codeStyle.xml deleted file mode 100644 index efb57f4e2..000000000 --- a/ide/codeStyle.xml +++ /dev/null @@ -1,44 +0,0 @@ -<code_scheme name="GNU Taler"> - <option name="RIGHT_MARGIN" value="80" /> - <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" /> - <TypeScriptCodeStyleSettings> - <option name="SPACE_AFTER_TYPE_COLON" value="true" /> - <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" /> - </TypeScriptCodeStyleSettings> - <XML> - <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> - </XML> - <codeStyleSettings language="HTML"> - <indentOptions> - <option name="INDENT_SIZE" value="2" /> - <option name="CONTINUATION_INDENT_SIZE" value="4" /> - <option name="TAB_SIZE" value="2" /> - </indentOptions> - </codeStyleSettings> - <codeStyleSettings language="JavaScript"> - <indentOptions> - <option name="INDENT_SIZE" value="2" /> - <option name="CONTINUATION_INDENT_SIZE" value="2" /> - <option name="TAB_SIZE" value="2" /> - </indentOptions> - </codeStyleSettings> - <codeStyleSettings language="TypeScript"> - <option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" /> - <option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" /> - <option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true" /> - <option name="CALL_PARAMETERS_WRAP" value="5" /> - <option name="PREFER_PARAMETERS_WRAP" value="true" /> - <option name="METHOD_PARAMETERS_WRAP" value="5" /> - <option name="METHOD_CALL_CHAIN_WRAP" value="5" /> - <option name="FOR_STATEMENT_WRAP" value="5" /> - <option name="ARRAY_INITIALIZER_WRAP" value="5" /> - <option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" /> - <option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" /> - <option name="IF_BRACE_FORCE" value="3" /> - <indentOptions> - <option name="INDENT_SIZE" value="2" /> - <option name="CONTINUATION_INDENT_SIZE" value="2" /> - <option name="TAB_SIZE" value="2" /> - </indentOptions> - </codeStyleSettings> -</code_scheme> diff --git a/extension/img/icon.png b/img/icon.png index 145d1707f..145d1707f 120000 --- a/extension/img/icon.png +++ b/img/icon.png diff --git a/extension/img/logo-2015-medium.png b/img/logo-2015-medium.png Binary files differindex 78159bb21..78159bb21 100644 --- a/extension/img/logo-2015-medium.png +++ b/img/logo-2015-medium.png diff --git a/extension/img/logo.png b/img/logo.png index 1ddb87d2c..1ddb87d2c 120000 --- a/extension/img/logo.png +++ b/img/logo.png diff --git a/extension/img/taler-logo-24.png b/img/taler-logo-24.png Binary files differindex 00a908e79..00a908e79 100644 --- a/extension/img/taler-logo-24.png +++ b/img/taler-logo-24.png diff --git a/extension/lib/decl/chrome/chrome.d.ts b/lib/decl/chrome/chrome.d.ts index 77d2898fd..77d2898fd 100755 --- a/extension/lib/decl/chrome/chrome.d.ts +++ b/lib/decl/chrome/chrome.d.ts diff --git a/extension/lib/decl/filesystem/filesystem.d.ts b/lib/decl/filesystem/filesystem.d.ts index 1b76846b4..1b76846b4 100644 --- a/extension/lib/decl/filesystem/filesystem.d.ts +++ b/lib/decl/filesystem/filesystem.d.ts diff --git a/extension/lib/decl/filewriter/filewriter.d.ts b/lib/decl/filewriter/filewriter.d.ts index a4910d0b1..a4910d0b1 100644 --- a/extension/lib/decl/filewriter/filewriter.d.ts +++ b/lib/decl/filewriter/filewriter.d.ts diff --git a/extension/lib/decl/handlebars/handlebars-1.0.0.d.ts b/lib/decl/handlebars/handlebars-1.0.0.d.ts index c118760c5..c118760c5 100644 --- a/extension/lib/decl/handlebars/handlebars-1.0.0.d.ts +++ b/lib/decl/handlebars/handlebars-1.0.0.d.ts diff --git a/extension/lib/decl/handlebars/handlebars.d.ts b/lib/decl/handlebars/handlebars.d.ts index 54dc7e9ae..54dc7e9ae 100644 --- a/extension/lib/decl/handlebars/handlebars.d.ts +++ b/lib/decl/handlebars/handlebars.d.ts diff --git a/extension/lib/decl/jquery/jquery.d.ts b/lib/decl/jquery/jquery.d.ts index 8401753e3..8401753e3 100644 --- a/extension/lib/decl/jquery/jquery.d.ts +++ b/lib/decl/jquery/jquery.d.ts diff --git a/extension/lib/decl/lib.es6.d.ts b/lib/decl/lib.es6.d.ts index ef3399ba8..ef3399ba8 100644 --- a/extension/lib/decl/lib.es6.d.ts +++ b/lib/decl/lib.es6.d.ts diff --git a/extension/lib/decl/lodash.d.ts b/lib/decl/lodash.d.ts index f9249d16b..f9249d16b 100644 --- a/extension/lib/decl/lodash.d.ts +++ b/lib/decl/lodash.d.ts diff --git a/extension/lib/decl/mithril.d.ts b/lib/decl/mithril.d.ts index c87102260..c87102260 100644 --- a/extension/lib/decl/mithril.d.ts +++ b/lib/decl/mithril.d.ts diff --git a/extension/lib/decl/node.d.ts b/lib/decl/node.d.ts index 8df3d16a7..8df3d16a7 100644 --- a/extension/lib/decl/node.d.ts +++ b/lib/decl/node.d.ts diff --git a/extension/lib/decl/systemjs/systemjs.d.ts b/lib/decl/systemjs/systemjs.d.ts index 1d826aebb..1d826aebb 100644 --- a/extension/lib/decl/systemjs/systemjs.d.ts +++ b/lib/decl/systemjs/systemjs.d.ts diff --git a/extension/lib/decl/urijs/URIjs.d.ts b/lib/decl/urijs/URIjs.d.ts index 23d79218b..23d79218b 100644 --- a/extension/lib/decl/urijs/URIjs.d.ts +++ b/lib/decl/urijs/URIjs.d.ts diff --git a/extension/lib/decl/webrtc/MediaStream.d.ts b/lib/decl/webrtc/MediaStream.d.ts index a2306b621..a2306b621 100644 --- a/extension/lib/decl/webrtc/MediaStream.d.ts +++ b/lib/decl/webrtc/MediaStream.d.ts diff --git a/extension/lib/emscripten/emsc.d.ts b/lib/emscripten/emsc.d.ts index d65bd6dcb..d65bd6dcb 100644 --- a/extension/lib/emscripten/emsc.d.ts +++ b/lib/emscripten/emsc.d.ts diff --git a/extension/lib/emscripten/libwrapper.js b/lib/emscripten/libwrapper.js index 66b78e910..66b78e910 100644 --- a/extension/lib/emscripten/libwrapper.js +++ b/lib/emscripten/libwrapper.js diff --git a/extension/lib/i18n-strings.js b/lib/i18n-strings.js index c58ad2c2d..c58ad2c2d 100644 --- a/extension/lib/i18n-strings.js +++ b/lib/i18n-strings.js diff --git a/extension/lib/i18n.ts b/lib/i18n.ts index 60da6644f..60da6644f 100644 --- a/extension/lib/i18n.ts +++ b/lib/i18n.ts diff --git a/extension/lib/module-trampoline.js b/lib/module-trampoline.js index 22173aa42..22173aa42 100644 --- a/extension/lib/module-trampoline.js +++ b/lib/module-trampoline.js diff --git a/extension/lib/refs.ts b/lib/refs.ts index a9c2c5eb8..a9c2c5eb8 100644 --- a/extension/lib/refs.ts +++ b/lib/refs.ts diff --git a/extension/lib/vendor/URI.js b/lib/vendor/URI.js index c041b4304..c041b4304 100644 --- a/extension/lib/vendor/URI.js +++ b/lib/vendor/URI.js diff --git a/extension/lib/vendor/jed.js b/lib/vendor/jed.js index 181c64459..181c64459 120000 --- a/extension/lib/vendor/jed.js +++ b/lib/vendor/jed.js diff --git a/extension/lib/vendor/lodash.core.min.js b/lib/vendor/lodash.core.min.js index 062e55d49..062e55d49 100644 --- a/extension/lib/vendor/lodash.core.min.js +++ b/lib/vendor/lodash.core.min.js diff --git a/extension/lib/vendor/mithril.js b/lib/vendor/mithril.js index d023ac34c..d023ac34c 100644 --- a/extension/lib/vendor/mithril.js +++ b/lib/vendor/mithril.js diff --git a/extension/lib/vendor/system-csp-production.src.js b/lib/vendor/system-csp-production.src.js index 0887780ca..0887780ca 100644 --- a/extension/lib/vendor/system-csp-production.src.js +++ b/lib/vendor/system-csp-production.src.js diff --git a/extension/lib/wallet/checkable.ts b/lib/wallet/checkable.ts index 27ea9bf74..27ea9bf74 100644 --- a/extension/lib/wallet/checkable.ts +++ b/lib/wallet/checkable.ts diff --git a/extension/lib/wallet/cryptoApi.ts b/lib/wallet/cryptoApi.ts index 300b928db..300b928db 100644 --- a/extension/lib/wallet/cryptoApi.ts +++ b/lib/wallet/cryptoApi.ts diff --git a/extension/lib/wallet/cryptoLib.ts b/lib/wallet/cryptoLib.ts index 869ddbaff..869ddbaff 100644 --- a/extension/lib/wallet/cryptoLib.ts +++ b/lib/wallet/cryptoLib.ts diff --git a/extension/lib/wallet/cryptoWorker.ts b/lib/wallet/cryptoWorker.ts index 958c2de74..958c2de74 100644 --- a/extension/lib/wallet/cryptoWorker.ts +++ b/lib/wallet/cryptoWorker.ts diff --git a/extension/lib/wallet/db.ts b/lib/wallet/db.ts index c7621c5ff..c7621c5ff 100644 --- a/extension/lib/wallet/db.ts +++ b/lib/wallet/db.ts diff --git a/extension/lib/wallet/emscriptif.ts b/lib/wallet/emscriptif.ts index b03bc9bc7..b03bc9bc7 100644 --- a/extension/lib/wallet/emscriptif.ts +++ b/lib/wallet/emscriptif.ts diff --git a/extension/lib/wallet/helpers.ts b/lib/wallet/helpers.ts index 99913e558..99913e558 100644 --- a/extension/lib/wallet/helpers.ts +++ b/lib/wallet/helpers.ts diff --git a/extension/lib/wallet/http.ts b/lib/wallet/http.ts index 3f7244e40..3f7244e40 100644 --- a/extension/lib/wallet/http.ts +++ b/lib/wallet/http.ts diff --git a/extension/lib/wallet/query.ts b/lib/wallet/query.ts index 62411dab3..62411dab3 100644 --- a/extension/lib/wallet/query.ts +++ b/lib/wallet/query.ts diff --git a/extension/lib/wallet/types.ts b/lib/wallet/types.ts index 9c7b21b7c..9c7b21b7c 100644 --- a/extension/lib/wallet/types.ts +++ b/lib/wallet/types.ts diff --git a/extension/lib/wallet/wallet.ts b/lib/wallet/wallet.ts index 92fb92a4a..92fb92a4a 100644 --- a/extension/lib/wallet/wallet.ts +++ b/lib/wallet/wallet.ts diff --git a/extension/lib/wallet/wxApi.ts b/lib/wallet/wxApi.ts index 9871b6e7f..9871b6e7f 100644 --- a/extension/lib/wallet/wxApi.ts +++ b/lib/wallet/wxApi.ts diff --git a/extension/lib/wallet/wxMessaging.ts b/lib/wallet/wxMessaging.ts index 740873d88..740873d88 100644 --- a/extension/lib/wallet/wxMessaging.ts +++ b/lib/wallet/wxMessaging.ts diff --git a/extension/manifest.json b/manifest.json index 9cdd86fa4..9cdd86fa4 100644 --- a/extension/manifest.json +++ b/manifest.json diff --git a/extension/package.json b/package.json index 680a01d30..680a01d30 100644 --- a/extension/package.json +++ b/package.json diff --git a/extension/pages/confirm-contract.html b/pages/confirm-contract.html index 2eac4a8e8..2eac4a8e8 100644 --- a/extension/pages/confirm-contract.html +++ b/pages/confirm-contract.html diff --git a/extension/pages/confirm-contract.tsx b/pages/confirm-contract.tsx index ff6ffba64..ff6ffba64 100644 --- a/extension/pages/confirm-contract.tsx +++ b/pages/confirm-contract.tsx diff --git a/extension/pages/confirm-create-reserve.html b/pages/confirm-create-reserve.html index e14d10221..e14d10221 100644 --- a/extension/pages/confirm-create-reserve.html +++ b/pages/confirm-create-reserve.html diff --git a/extension/pages/confirm-create-reserve.tsx b/pages/confirm-create-reserve.tsx index 224a3e895..224a3e895 100644 --- a/extension/pages/confirm-create-reserve.tsx +++ b/pages/confirm-create-reserve.tsx diff --git a/extension/pages/debug.html b/pages/debug.html index 24682dd24..24682dd24 100644 --- a/extension/pages/debug.html +++ b/pages/debug.html diff --git a/extension/pages/show-db.html b/pages/show-db.html index ee54d0e08..ee54d0e08 100644 --- a/extension/pages/show-db.html +++ b/pages/show-db.html diff --git a/extension/pages/show-db.ts b/pages/show-db.ts index 1c414dde7..1c414dde7 100644 --- a/extension/pages/show-db.ts +++ b/pages/show-db.ts diff --git a/extension/pogen/.gitignore b/pogen/.gitignore index a6c7c2852..a6c7c2852 100644 --- a/extension/pogen/.gitignore +++ b/pogen/.gitignore diff --git a/extension/pogen/example/messages.po b/pogen/example/messages.po index 1addae3f2..1addae3f2 100644 --- a/extension/pogen/example/messages.po +++ b/pogen/example/messages.po diff --git a/extension/pogen/example/test.ts b/pogen/example/test.ts index 2cc15b063..2cc15b063 100644 --- a/extension/pogen/example/test.ts +++ b/pogen/example/test.ts diff --git a/extension/pogen/pogen.ts b/pogen/pogen.ts index 77f7ea3dc..77f7ea3dc 100644 --- a/extension/pogen/pogen.ts +++ b/pogen/pogen.ts diff --git a/extension/pogen/tsconfig.json b/pogen/tsconfig.json index 3d2b2c002..3d2b2c002 100644 --- a/extension/pogen/tsconfig.json +++ b/pogen/tsconfig.json diff --git a/extension/popup/popup.css b/popup/popup.css index 53c9f97ed..53c9f97ed 100644 --- a/extension/popup/popup.css +++ b/popup/popup.css diff --git a/extension/popup/popup.html b/popup/popup.html index c67085c1b..c67085c1b 100644 --- a/extension/popup/popup.html +++ b/popup/popup.html diff --git a/extension/popup/popup.tsx b/popup/popup.tsx index 963556c32..963556c32 100644 --- a/extension/popup/popup.tsx +++ b/popup/popup.tsx diff --git a/serve-testpages b/serve-testpages deleted file mode 100755 index b0451cd1f..000000000 --- a/serve-testpages +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# Start a web server on port 8000 to serve test pages for the wallet extension. - -set +x - -# directory where our script resides -mydir="$(dirname "$(readlink -f "$0")")" - -cd "$mydir/testpages/" -exec python3 -m http.server 8000 diff --git a/style.txt b/style.txt deleted file mode 100644 index d6d96cb7d..000000000 --- a/style.txt +++ /dev/null @@ -1,49 +0,0 @@ -TypeScript style -================ - -Basics: -- Indent with 2 spaces. -- Keep a maximum line length of 120 characters. -- Prefer "double quotes" for strings. -- Never omit optional semicolons. -- Do not put opening braces or brackets on a new line. -- Call functions without spaces: foo(bar) -- Use 'let' instead of 'var' whenever possible. -- Declare "use strict;". -- Use rocket (=>) syntax for anonymous functions. If an anonymous function is - too long, make it a named function. -- Use the strict equality operator (===). -- Document functions with JSDoc comments (http://usejsdoc.org). - - -JavaScript version: -Stick to ES6 features. Do not rely on any vendor-specific extensions (such as -Firefox often offers). ES6 features not yet supported by major browsers are -okay as long as there is a well-supported and reasonable polyfill (such as -babel) available. - - -Names: -- Use PascalCase for classes/types, camelCase for variables, functions and - properties, UPPER_SNAKE_CASE for constants, kebab-case for event names. -- Only capitalize the first letter of an acronym in identifiers (e.g. HttpResponseCode). - - -APIs: -- Prefer 'Promise' to one-shot continuations whenever possible. -- Prefer handlebars templates to poking around in the DOM. - - -Dependency Injection (DI): -DI is a useful pattern when components need to be replaced by mocks or have -multiple co-existing implementations. But DI also makes code overly generic, -bureaucratic and less readble. Only use DI if there is a definite need for it, -do not use it by default. Inject individual dependencies via class -constructors and avoid service locators. - - -Misc: -- Do not use ES6 template strings for constructing HTML, - use TSX/JSX literals instead. -- For everything not covered here, stick to this style guide: - https://github.com/airbnb/javascript. diff --git a/extension/style/wallet.css b/style/wallet.css index 0af2240e0..0af2240e0 100644 --- a/extension/style/wallet.css +++ b/style/wallet.css diff --git a/extension/taler-wallet-de-DE.po b/taler-wallet-de-DE.po index ba76dec8f..ba76dec8f 100644 --- a/extension/taler-wallet-de-DE.po +++ b/taler-wallet-de-DE.po diff --git a/extension/taler-wallet-en-US.po b/taler-wallet-en-US.po index 2f392edd1..2f392edd1 100644 --- a/extension/taler-wallet-en-US.po +++ b/taler-wallet-en-US.po diff --git a/extension/taler-wallet-fr-FR.po b/taler-wallet-fr-FR.po index 63bbd8b5e..63bbd8b5e 100644 --- a/extension/taler-wallet-fr-FR.po +++ b/taler-wallet-fr-FR.po diff --git a/extension/taler-wallet-it-IT.po b/taler-wallet-it-IT.po index 63bbd8b5e..63bbd8b5e 100644 --- a/extension/taler-wallet-it-IT.po +++ b/taler-wallet-it-IT.po diff --git a/extension/test/run_tests.js b/test/run_tests.js index f62810f7e..f62810f7e 100644 --- a/extension/test/run_tests.js +++ b/test/run_tests.js diff --git a/extension/test/tests/taler.ts b/test/tests/taler.ts index 14130f9af..14130f9af 100644 --- a/extension/test/tests/taler.ts +++ b/test/tests/taler.ts diff --git a/testpages/testpage_merchant.html b/testpages/testpage_merchant.html deleted file mode 100644 index 0e9e784a0..000000000 --- a/testpages/testpage_merchant.html +++ /dev/null @@ -1,16 +0,0 @@ -<!doctype html> -<script type="text/javascript"> - "use strict"; - function talerHandshake() { - document.body.addEventListener('taler-wallet-present', function(e) { - var x = document.getElementById('indicator'); - x.innerHTML = 'found!'; - }); - var evt = new Event('taler-checkout-probe'); - document.body.dispatchEvent(evt); - } - - window.onload = (e) => talerHandshake(); -</script> - -Waiting for Taler wallet ... <span id='indicator'></span> diff --git a/extension/tsconfig.json b/tsconfig.json index 0e6337d86..0e6337d86 100644 --- a/extension/tsconfig.json +++ b/tsconfig.json |