Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Updating wallet.ethereum.org with master changes #431

Merged
merged 118 commits into from
Nov 22, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
fcfa74f
added @frozeman's fix (#328)
luclu Dec 15, 2016
23aacfe
added @frozeman's fix (#328) (#329)
luclu Dec 15, 2016
52d9685
updates for gh-pages (#331)
luclu Dec 15, 2016
a73dfdc
updates for gh-pages (#332)
luclu Dec 15, 2016
bcf1e17
Update README (#335)
Projjol Jan 12, 2017
522b63b
Set placeholder contract's pragma version using Mist-API (#337)
luclu Jan 23, 2017
78dba9e
added missing 0x
frozeman Jan 23, 2017
f5dda54
merged master
frozeman Jan 23, 2017
54f6989
build
frozeman Jan 23, 2017
d192c0d
Merge Develop (#338)
frozeman Jan 23, 2017
c50ae83
Merge branch 'gh-pages' into master
frozeman Jan 23, 2017
d056bf3
reverted network id storage on accounts package
frozeman Jan 23, 2017
663000d
merged develop
frozeman Jan 23, 2017
cb31978
Merge branch 'gh-pages'
frozeman Jan 23, 2017
400ff5d
re-build
frozeman Jan 23, 2017
3c0bb8a
Error handling for previous versions of Mist (#342)
evertonfraga Jan 24, 2017
aaa83b5
rebuild
frozeman Jan 24, 2017
283e52d
Merge branch 'develop'
frozeman Jan 24, 2017
62abeab
remove amount param from coinbase widget (#347)
alexvansande Feb 8, 2017
eb917fa
sticky bar is failing to stick. terrible sticky bar, fake sticky (#348)
alexvansande Feb 9, 2017
cf317e1
Warning when trying to transfer a token to an empty recipient (#346)
evertonfraga Mar 2, 2017
0f1141a
authorize accounts callback fix
frozeman Mar 30, 2017
f04fd18
Merge branch 'develop' of github.com:ethereum/meteor-dapp-wallet into…
frozeman Mar 30, 2017
1050bb3
Add caret operator to contract example (#345)
luclu Apr 5, 2017
4f4e98a
Addresses need quotes (#351)
Apr 5, 2017
16e6425
[i18n] add missing meteor package; improve error message (#357)
luclu Apr 5, 2017
5180dd7
fix russian translation (#356)
ygun Apr 6, 2017
90572dc
fix renaming bug (#358)
luclu Apr 12, 2017
e889b50
update token contract link (#360)
luclu Apr 12, 2017
4cb9dc0
minor typo and other text corrections (#359)
JohnDoe389 Apr 12, 2017
42d5aba
fixes token selection when sending via the zebra-token-list (#361)
luclu Apr 12, 2017
3e64b51
fix (#362)
luclu Apr 12, 2017
23a5dfc
initialize send view correctly when switching from deploy view (#363)
luclu Apr 12, 2017
80f952a
update TX link: testnet.etherscan.io -> ropsten.etherscan.io (#364)
luclu Apr 12, 2017
c35592f
numeral.js: console.warn instead of console.error (#366)
luclu Apr 20, 2017
fb85462
Add ES6 support; correction to fr translation (#365)
iquidus Apr 24, 2017
fb4dec6
update i18n string 'accountNote' (#372)
luclu Apr 28, 2017
99daa14
remove whitespaces from address on token.add() (#370)
luclu Apr 28, 2017
16f1ee4
fix packages (#369)
luclu Apr 28, 2017
49a7010
Adding out of sync warning (#374)
evertonfraga Jun 2, 2017
98c2605
Changed http:// to https:// on one link (#384)
sandakersmann Jun 2, 2017
309eec5
update 'allow-deny' package to avert download timeout (#383)
luclu Jun 2, 2017
1cd03b2
build wallet
frozeman Jun 2, 2017
905b540
Darken network info font (#388)
evertonfraga Jun 13, 2017
1910914
Quick wallet fixes (#389)
alexvansande Jun 21, 2017
54cca96
some typo fixes; adjust some of the supporting text (#385)
JohnDoe389 Jun 21, 2017
9b8fec3
Adding two more currencies to price ticker (#387)
evertonfraga Jun 22, 2017
81a7c7d
Update coinbase success message (#390)
evertonfraga Jun 24, 2017
3430dc2
Removed disabled wallets (#393)
alexvansande Jun 28, 2017
a3bc1a1
Temporarily removing ES6 support: fixing indexeddb driver bug (#395)
evertonfraga Jun 29, 2017
d20a1d2
Including file to prevent 404 error (#394)
evertonfraga Jun 29, 2017
e24b3b3
add reactive (#396)
alexvansande Jun 29, 2017
8448f85
add ens support to input fields (#398)
alexvansande Jul 6, 2017
665c9d8
Creating travis file (#402)
evertonfraga Jul 10, 2017
91a1c31
Updating ethereum-elements; building for production (#405)
evertonfraga Jul 11, 2017
7646263
Adding travis badge
evertonfraga Jul 11, 2017
67589b9
reverse ENS lookup (#403)
alexvansande Jul 11, 2017
e932df0
Merge branch 'develop' of https://github.com/ethereum/meteor-dapp-wal…
evertonfraga Jul 11, 2017
f04ab9f
remove amount param from coinbase widget (#347)
alexvansande Feb 8, 2017
a0fdde0
sticky bar is failing to stick. terrible sticky bar, fake sticky (#348)
alexvansande Feb 9, 2017
ede224d
Warning when trying to transfer a token to an empty recipient (#346)
evertonfraga Mar 2, 2017
b5e6fef
authorize accounts callback fix
frozeman Mar 30, 2017
6c6552a
Add caret operator to contract example (#345)
luclu Apr 5, 2017
c70d1ab
Addresses need quotes (#351)
Apr 5, 2017
de7cdd3
[i18n] add missing meteor package; improve error message (#357)
luclu Apr 5, 2017
6410351
fix russian translation (#356)
ygun Apr 6, 2017
964c423
fix renaming bug (#358)
luclu Apr 12, 2017
f4c6634
update token contract link (#360)
luclu Apr 12, 2017
7b91854
minor typo and other text corrections (#359)
JohnDoe389 Apr 12, 2017
707a022
fixes token selection when sending via the zebra-token-list (#361)
luclu Apr 12, 2017
fe79f2e
fix (#362)
luclu Apr 12, 2017
d83feec
initialize send view correctly when switching from deploy view (#363)
luclu Apr 12, 2017
d747bf5
update TX link: testnet.etherscan.io -> ropsten.etherscan.io (#364)
luclu Apr 12, 2017
1ccf8c0
numeral.js: console.warn instead of console.error (#366)
luclu Apr 20, 2017
fe478b4
Add ES6 support; correction to fr translation (#365)
iquidus Apr 24, 2017
66ec29c
update i18n string 'accountNote' (#372)
luclu Apr 28, 2017
84c0373
remove whitespaces from address on token.add() (#370)
luclu Apr 28, 2017
731953f
fix packages (#369)
luclu Apr 28, 2017
a6fc78e
Adding out of sync warning (#374)
evertonfraga Jun 2, 2017
3841407
Changed http:// to https:// on one link (#384)
sandakersmann Jun 2, 2017
380623f
update 'allow-deny' package to avert download timeout (#383)
luclu Jun 2, 2017
853bf07
build wallet
frozeman Jun 2, 2017
6a614ac
Darken network info font (#388)
evertonfraga Jun 13, 2017
a874395
Quick wallet fixes (#389)
alexvansande Jun 21, 2017
8c1a446
some typo fixes; adjust some of the supporting text (#385)
JohnDoe389 Jun 21, 2017
28a1dc2
Adding two more currencies to price ticker (#387)
evertonfraga Jun 22, 2017
06d5f08
Update coinbase success message (#390)
evertonfraga Jun 24, 2017
b3921a2
Removed disabled wallets (#393)
alexvansande Jun 28, 2017
ff3c552
Temporarily removing ES6 support: fixing indexeddb driver bug (#395)
evertonfraga Jun 29, 2017
5092cc2
Including file to prevent 404 error (#394)
evertonfraga Jun 29, 2017
5e107db
add reactive (#396)
alexvansande Jun 29, 2017
c4819c5
add ens support to input fields (#398)
alexvansande Jul 6, 2017
70753c0
Creating travis file (#402)
evertonfraga Jul 10, 2017
0b9f4be
Updating ethereum-elements; building for production (#405)
evertonfraga Jul 11, 2017
114c061
Adding travis badge
evertonfraga Jul 11, 2017
393b984
reverse ENS lookup (#403)
alexvansande Jul 11, 2017
2975915
Merge branch 'gh-pages' into master
evertonfraga Jul 11, 2017
f33b38b
merged master
frozeman Jul 12, 2017
87a5011
Release fixes (#408)
frozeman Jul 12, 2017
ab0641b
Release fixes (#409)
frozeman Jul 12, 2017
0482b3b
Release fixes (#411)
frozeman Jul 12, 2017
717cd81
Merge branch 'gh-pages' into develop
frozeman Jul 12, 2017
6cc2808
removed uncencesary brace
frozeman Jul 12, 2017
23cc7e8
Merge branch 'develop' of github.com:ethereum/meteor-dapp-wallet into…
frozeman Jul 12, 2017
302945c
fixing grammar/whitespace on token transfer (#413)
vogelito Jul 20, 2017
9b8568b
Catalan language support. (#423)
nigeon Oct 23, 2017
ffd4445
Changed placeholder text for Token Symbol input from $ to Token Symbo…
graph1994 Oct 23, 2017
dde580f
Fix stuck creating wallets on LES (#427)
evertonfraga Nov 16, 2017
7d6dd54
Complete Albanian translation (#424)
alter2000 Nov 20, 2017
2bc8c3b
Adds method visibility in placeholder contract (#429)
evertonfraga Nov 20, 2017
0d2f099
Fixing JSON syntax error
evertonfraga Nov 20, 2017
3a31638
Up to date built wallet
evertonfraga Nov 20, 2017
bf544ea
Reverting package update
evertonfraga Nov 20, 2017
3afdb7f
Updates to master (#430)
evertonfraga Nov 20, 2017
966e6f1
Merge branch 'gh-pages' into master
evertonfraga Nov 20, 2017
37b9ab3
Performing additional check
evertonfraga Nov 21, 2017
f229c4d
Build for production
evertonfraga Nov 21, 2017
326faa8
Build for production
evertonfraga Nov 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updates to master (#430)
* Updating production wallet (#407)

* added @frozeman's fix (#328)

* added @frozeman's fix (#328) (#329)

* updates for gh-pages (#331)

* updates for gh-pages (#332)

* added @frozeman's fix (#328)

* updates for gh-pages (#331)

* Update README (#335)

Changes wall to wallet

* Set placeholder contract's pragma version using Mist-API (#337)

* Set placeholder contract's pragma version using Mist-API

* add comment

* improvements

* add further conditions

* added missing 0x

* build

* Merge Develop (#338)

* added @frozeman's fix (#328)

* updates for gh-pages (#331)

* Update README (#335)

Changes wall to wallet

* Set placeholder contract's pragma version using Mist-API (#337)

* Set placeholder contract's pragma version using Mist-API

* add comment

* improvements

* add further conditions

* added missing 0x

* build

* reverted network id storage on accounts package

* re-build

* Error handling for previous versions of Mist (#342)

* Error handling for previous versions of Mist

* Better checking of Mist object

* rebuild

* remove amount param from coinbase widget (#347)

* sticky bar is failing to stick. terrible sticky bar, fake sticky (#348)

* Warning when trying to transfer a token to an empty recipient (#346)

* authorize accounts callback fix

* Add caret operator to contract example (#345)

* Addresses need quotes (#351)

I'm inferring from #118 that address parameters need quotes.

* [i18n] add missing meteor package; improve error message (#357)

* fix russian translation (#356)

* fix renaming bug (#358)

* update token contract link (#360)

* minor typo and other text corrections (#359)

* fixes token selection when sending via the zebra-token-list (#361)

* fix

* update deployContract

* fix (#362)

* initialize send view correctly when switching from deploy view (#363)

* update TX link: testnet.etherscan.io -> ropsten.etherscan.io (#364)

* numeral.js: console.warn instead of console.error (#366)

* Add ES6 support; correction to fr translation (#365)

* make correction to fr translation

* meteor: add ES6 support

* update i18n string 'accountNote' (#372)

* remove whitespaces from address on token.add() (#370)

* fix packages (#369)

* Adding out of sync warning (#374)

* Adding out of sync warning to EN and PT

* Adding etherscan button on sidebar

* Translations

* added german

* Changed http:// to https:// on one link (#384)

Changed http:// to https:// on one link in README.md

* update 'allow-deny' package to avert download timeout (#383)

* build wallet

* Darken network info font (#388)

* Quick wallet fixes (#389)

* fix contract ordering

* check if function payable

* remove console log

* some typo fixes; adjust some of the supporting text (#385)

* Adding two more currencies to price ticker (#387)

* Adding two more currencies to price ticker

* updating ethereum:tools package to 0.7.0

* Update coinbase success message (#390)

* Updating coinbase success message

Signed-off-by: Everton Fraga <[email protected]>

* Updating coinbase success message

* Removed disabled wallets (#393)

* remove disabled wallets

* removed disabled wallets

* Temporarily removing ES6 support: fixing indexeddb driver bug (#395)

* Including file to prevent 404 error (#394)

* add reactive (#396)

* add ens support to input fields (#398)

* add ens support

* make regex case insensitive

* Creating travis file (#402)

* Creating travis file

* renaming travis file

* Specifying node version

* Debug 1

* Adding sudo: meteor installation

* Updating ethereum-elements; building for production (#405)

* Adding travis badge

* reverse ENS lookup (#403)

* add ens support

* make regex case insensitive

* fix dbissue

* update files

* do not pull etherscan or show currencies if on testnet

* fix block watch

* parenthesis

* remove amount param from coinbase widget (#347)

* sticky bar is failing to stick. terrible sticky bar, fake sticky (#348)

* Warning when trying to transfer a token to an empty recipient (#346)

* authorize accounts callback fix

* Addresses need quotes (#351)

I'm inferring from #118 that address parameters need quotes.

* Add caret operator to contract example (#345)

* [i18n] add missing meteor package; improve error message (#357)

* fix russian translation (#356)

* minor typo and other text corrections (#359)

* fix renaming bug (#358)

* update token contract link (#360)

* fixes token selection when sending via the zebra-token-list (#361)

* fix

* update deployContract

* fix (#362)

* initialize send view correctly when switching from deploy view (#363)

* update TX link: testnet.etherscan.io -> ropsten.etherscan.io (#364)

* numeral.js: console.warn instead of console.error (#366)

* Add ES6 support; correction to fr translation (#365)

* make correction to fr translation

* meteor: add ES6 support

* update i18n string 'accountNote' (#372)

* remove whitespaces from address on token.add() (#370)

* fix packages (#369)

* Adding out of sync warning (#374)

* Adding out of sync warning to EN and PT

* Adding etherscan button on sidebar

* Translations

* added german

* update 'allow-deny' package to avert download timeout (#383)

* build wallet

* Changed http:// to https:// on one link (#384)

Changed http:// to https:// on one link in README.md

* Darken network info font (#388)

* Quick wallet fixes (#389)

* fix contract ordering

* check if function payable

* remove console log

* some typo fixes; adjust some of the supporting text (#385)

* Adding two more currencies to price ticker (#387)

* Adding two more currencies to price ticker

* updating ethereum:tools package to 0.7.0

* Update coinbase success message (#390)

* Updating coinbase success message

Signed-off-by: Everton Fraga <[email protected]>

* Updating coinbase success message

* Removed disabled wallets (#393)

* remove disabled wallets

* removed disabled wallets

* Temporarily removing ES6 support: fixing indexeddb driver bug (#395)

* Including file to prevent 404 error (#394)

* add reactive (#396)

* add ens support to input fields (#398)

* add ens support

* make regex case insensitive

* Creating travis file (#402)

* Creating travis file

* renaming travis file

* Specifying node version

* Debug 1

* Adding sudo: meteor installation

* Updating ethereum-elements; building for production (#405)

* Adding travis badge

* reverse ENS lookup (#403)

* add ens support

* make regex case insensitive

* fix dbissue

* update files

* do not pull etherscan or show currencies if on testnet

* fix block watch

* parenthesis

* Release fixes (#408)

* fixes from the PR407 review

* makes header work in mist properly

* makes wallet header work in mist properly, only is small now in the wallet #2

* remove not existing reactiveData template helper

* Editor formatting

* Fixing token selection bug

* fixes token switching

* Release fixes (#409)

* fixes from the PR407 review

* makes header work in mist properly

* makes wallet header work in mist properly, only is small now in the wallet #2

* remove not existing reactiveData template helper

* Editor formatting

* Fixing token selection bug

* fixes token switching

* build files

* fixing grammar/whitespace on token transfer (#413)

* Catalan language support. (#423)

* Changed placeholder text for Token Symbol input from $ to Token Symbol on the AddToken.html modal (#420)

* Fix stuck creating wallets on LES (#427)

* Code legibility

* Catching up wallets stuck in creating stage

* Updating package version

* Reverting package version

* Complete Albanian translation (#424)

* Add Albanian language code

* Add app.sq.i18n.json

* Backup

* backup

* completed wallet.sq translation

* corrections

* Adds method visibility in placeholder contract (#429)

* Fixing JSON syntax error

* Up to date built wallet

* Reverting package update
  • Loading branch information
evertonfraga authored Nov 20, 2017
commit 3afdb7f243a4e130227dfc8541acb2ddaf35b0f5
25 changes: 21 additions & 4 deletions app/client/lib/ethereum/observeBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,32 @@ updateBalances = function() {
}, 1000);
}
}

});


// WALLETS STUCK IN CREATE STATE
// issue found when using the light client mode on Mist 0.9.1 and 0.9.2
var creatingWallets = Wallets.find({
transactionHash: {$exists: true},
address: {$exists: false}
}).fetch();

_.each(creatingWallets, function(wallet){
// Fetches transactionReceipt looking for contractAddress
web3.eth.getTransactionReceipt(wallet.transactionHash, function(error, receipt) {
if (receipt.contractAddress !== null) {
// Updates the wallet
var r = Wallets.update(wallet._id, {$set: {
address: receipt.contractAddress
}});
}
});
});

// UPDATE ENS
var allAccounts = EthAccounts.find().fetch().concat(walletsAndContracts);
_.each(allAccounts, function(account){

// Only check ENS names every N minutes
var now = Date.now();
if (!account.ensCheck || (account.ensCheck && now - account.ensCheck > 10*60*1000)) {
Expand Down Expand Up @@ -98,7 +116,6 @@ updateBalances = function() {
set['balances.'+ account._id] = '';
Tokens.update(token._id, {$unset: set});
}

}
});
});
Expand Down Expand Up @@ -132,4 +149,4 @@ observeLatestBlocks = function(){
peerCountIntervalId = setInterval(function() {
getPeerCount()
}, 1000);
};
};
2 changes: 1 addition & 1 deletion app/client/lib/helpers/helperFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Get the default contract example
@method getDefaultContractExample
**/
Helpers.getDefaultContractExample = function(withoutPragma) {
var source = 'contract MyContract {\n /* Constructor */\n function MyContract() {\n\n }\n}';
var source = 'contract MyContract {\n /* Constructor */\n function MyContract() public {\n\n }\n}';

if (withoutPragma) {
return source;
Expand Down
9 changes: 7 additions & 2 deletions app/client/templates/elements/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@ Template['elements_account'].helpers({
@method (creating)
*/
'creating': function(){
return (!this.address || this.imported || (blocksForConfirmation >= EthBlocks.latest.number - (this.creationBlock - 1) && EthBlocks.latest.number - (this.creationBlock - 1) >= 0));
var noAddress = !this.address;
var isImported = this.imported;
var belowReorgThreshold = (blocksForConfirmation >= EthBlocks.latest.number - (this.creationBlock - 1));
var blockNumberCheck = EthBlocks.latest.number - (this.creationBlock - 1) >= 0;

return (noAddress || isImported || (belowReorgThreshold && blockNumberCheck));
},
/**
Returns the confirmations
Expand Down Expand Up @@ -138,7 +143,7 @@ Template['elements_account'].helpers({
Template['elements_account'].events({
/**
Field test the speed wallet is rendered

@event click button.show-data
*/
'click .wallet-box': function(e){
Expand Down
6 changes: 3 additions & 3 deletions app/client/templates/views/modals/addToken.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ <h3>{{i18n "wallet.modals.addToken.tokenName"}}</h3>
<input type="string" value="{{name}}" name="name" placeholder="Token name" class="name">

<h3>{{i18n "wallet.modals.addToken.tokenSymbol"}}</h3>
<input type="string" value="{{symbol}}" name="symbol" placeholder="$" class="symbol">
<input type="string" value="{{symbol}}" name="symbol" placeholder="Token symbol" class="symbol">



<h3>{{i18n "wallet.modals.addToken.decimalPlaces"}}</h3>
<input type="number" min="0" step="1" name="division" value="{{decimals}}" placeholder="2" class="decimals">

Expand All @@ -24,4 +24,4 @@ <h3>{{i18n "wallet.modals.addToken.preview"}}</h3>

{{> elements_tokenBox previewToken}}

</template>
</template>
33 changes: 33 additions & 0 deletions app/i18n/app.ca.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"app": {
"loading": "Carregant...",
"offline": "No s'ha pogut connectar, estàs desconectat?",
"logginIn": "Iniciant sessió.."
},
"error": {
"insufficientRights": "No tens prous drets per aquesta acció."
},
"buttons": {
"ok": "OK",
"cancel": "Cancel·lar",
"save": "Desa",
"edit": "edita",
"send": "Envia",
"sending": "Enviant...",
"create": "Crea",
"select": "Selecciona",
"tryToReconnect": "Intenta reconnectar"
},
"commonWords": {
"you": "Tu",
"send": "Envia",
"or": "o",
"of": "de",
"with": "amb",
"and": "i",
"on": "a",
"per": "per",
"total":"total",
"at": "a"
}
}
33 changes: 33 additions & 0 deletions app/i18n/app.sq.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"app": {
"loading": "Duke u ngarkuar...",
"offline": "Nuk mund të lidhet. Mos nuk jeni të lidhur me internetin?",
"logginIn": "Duke u kyçur..."
},
"error": {
"insufficientRights": "Nuk keni të drejta të mjaftueshme për të kryer këtë veprim."
},
"buttons": {
"ok": "OK",
"cancel": "Anulo",
"save": "Ruaj",
"edit": "redakto",
"send": "Dërgo",
"sending": "Duke dërguar...",
"create": "Krijo",
"select": "Përzgjidh",
"tryToReconnect": "Provo të rilidhesh"
},
"commonWords": {
"you": "Ju",
"send": "Dërgo",
"or": "ose",
"of": "nga",
"with": "me",
"and": "dhe",
"on": "në",
"per": "për",
"total":"total",
"at": "te"
}
}
Loading