add author

This commit is contained in:
Florian Dold 2016-03-01 19:46:20 +01:00
parent 5c600904f5
commit 1cca800254
16 changed files with 69 additions and 11 deletions

View File

@ -16,6 +16,8 @@
/** /**
* Entry point for the background page. * Entry point for the background page.
*
* @author Florian Dold
*/ */
"use strict"; "use strict";
@ -34,4 +36,4 @@ System.import("../lib/wallet/wxMessaging")
.catch((e) => { .catch((e) => {
console.log("wallet failed"); console.log("wallet failed");
console.error(e.stack); console.error(e.stack);
}); });

View File

@ -14,16 +14,19 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/ */
/// <reference path="../lib/decl/chrome/chrome.d.ts" />
"use strict";
/** /**
* Script that is injected into (all!) pages to allow them * Script that is injected into (all!) pages to allow them
* to interact with the GNU Taler wallet via DOM Events. * to interact with the GNU Taler wallet via DOM Events.
*
* @author Florian Dold
*/ */
/// <reference path="../lib/decl/chrome/chrome.d.ts" />
"use strict";
// Make sure we don't pollute the namespace too much. // Make sure we don't pollute the namespace too much.
namespace TalerNotify { namespace TalerNotify {
const PROTOCOL_VERSION = 1; const PROTOCOL_VERSION = 1;

View File

@ -25,6 +25,8 @@
* development * development
* - package: create Chrome extension zip file in * - package: create Chrome extension zip file in
* build/. * build/.
*
* @author Florian Dold
*/ */
const gulp = require("gulp"); const gulp = require("gulp");

View File

@ -17,6 +17,8 @@
/** /**
* Boilerplate to initialize the module system and call main() * Boilerplate to initialize the module system and call main()
*
* @author Florian Dold
*/ */
"use strict"; "use strict";
@ -75,4 +77,4 @@ System.import(me)
.catch((e) => { .catch((e) => {
console.log("trampoline failed"); console.log("trampoline failed");
console.error(e.stack); console.error(e.stack);
}); });

View File

@ -15,6 +15,12 @@
*/ */
/**
* API to access the Taler crypto worker thread.
* @author Florian Dold
*/
import {PreCoin} from "./types"; import {PreCoin} from "./types";
import {Reserve} from "./types"; import {Reserve} from "./types";
import {Denomination} from "./types"; import {Denomination} from "./types";
@ -90,4 +96,4 @@ export class CryptoApi {
rsaUnblind(sig: string, bk: string, pk: string): Promise<string> { rsaUnblind(sig: string, bk: string, pk: string): Promise<string> {
return this.doRpc("rsaUnblind", sig, bk, pk); return this.doRpc("rsaUnblind", sig, bk, pk);
} }
} }

View File

@ -14,7 +14,6 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/ */
import {Denomination} from "./types";
/** /**
* Web worker for crypto operations. * Web worker for crypto operations.
* @author Florian Dold * @author Florian Dold
@ -28,6 +27,7 @@ import create = chrome.alarms.create;
import {Offer} from "./wallet"; import {Offer} from "./wallet";
import {CoinWithDenom} from "./wallet"; import {CoinWithDenom} from "./wallet";
import {CoinPaySig} from "./types"; import {CoinPaySig} from "./types";
import {Denomination} from "./types";
export function main(worker: Worker) { export function main(worker: Worker) {

View File

@ -18,6 +18,8 @@
/** /**
* Smaller helper functions that do not depend * Smaller helper functions that do not depend
* on the emscripten machinery. * on the emscripten machinery.
*
* @author Florian Dold
*/ */
import {AmountJson} from "./types"; import {AmountJson} from "./types";

View File

@ -81,4 +81,4 @@ export class RequestException {
constructor(detail) { constructor(detail) {
} }
} }

View File

@ -21,6 +21,8 @@
* are defined in types.ts are intended to be used by components * are defined in types.ts are intended to be used by components
* that do not depend on the whole wallet implementation (which depends on * that do not depend on the whole wallet implementation (which depends on
* emscripten). * emscripten).
*
* @author Florian Dold
*/ */
import {Checkable} from "./checkable"; import {Checkable} from "./checkable";

View File

@ -19,6 +19,7 @@ import {ReserveCreationInfo} from "./types";
/** /**
* Interface to the wallet through WebExtension messaging. * Interface to the wallet through WebExtension messaging.
* @author Florian Dold
*/ */
@ -37,4 +38,4 @@ export function getReserveCreationInfo(baseUrl: string,
resolve(resp); resolve(resp);
}); });
}); });
} }

View File

@ -14,6 +14,13 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/ */
/**
* Page shown to the user to confirm entering
* a contract.
*
* @author Florian Dold
*/
/// <reference path="../lib/decl/handlebars/handlebars.d.ts" /> /// <reference path="../lib/decl/handlebars/handlebars.d.ts" />
"use strict"; "use strict";
@ -79,4 +86,4 @@ export function main() {
offer); offer);
}); });
} }
} }

View File

@ -14,6 +14,14 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/ */
/**
* Page shown to the user to confirm creation
* of a reserve, usually requested by the bank.
*
* @author Florian Dold
*/
/// <reference path="../lib/decl/mithril.d.ts" /> /// <reference path="../lib/decl/mithril.d.ts" />
import {amountToPretty, canonicalizeBaseUrl} from "../lib/wallet/helpers"; import {amountToPretty, canonicalizeBaseUrl} from "../lib/wallet/helpers";

View File

@ -15,6 +15,12 @@
*/ */
/**
* Wallet database dump for debugging.
*
* @author Florian Dold
*/
function replacer(match, pIndent, pKey, pVal, pEnd) { function replacer(match, pIndent, pKey, pVal, pEnd) {
var key = '<span class=json-key>'; var key = '<span class=json-key>';
var val = '<span class=json-value>'; var val = '<span class=json-value>';

View File

@ -20,6 +20,8 @@
* *
* Note that duplicate message IDs are NOT merged, to get the same output as * Note that duplicate message IDs are NOT merged, to get the same output as
* you would from xgettext, just run msguniq. * you would from xgettext, just run msguniq.
*
* @author Florian Dold
*/ */
/// <reference path="../lib/decl/node.d.ts" /> /// <reference path="../lib/decl/node.d.ts" />

View File

@ -1,3 +1,10 @@
/**
* @author Gabor X. Toth
* @author Marcello Stanisci
* @author Florian Dold
*/
body { body {
min-height: 20em; min-height: 20em;
width: 30em; width: 30em;

View File

@ -15,6 +15,14 @@
*/ */
/**
* Popup shown to the user when they click
* the Taler browser action button.
*
* @author Florian Dold
*/
/// <reference path="../lib/decl/mithril.d.ts" /> /// <reference path="../lib/decl/mithril.d.ts" />
/// <reference path="../lib/decl/lodash.d.ts" /> /// <reference path="../lib/decl/lodash.d.ts" />