Skip to content

Commit

Permalink
Merge branch 'dev' into release/1.1.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
pciavald committed Jan 23, 2018
2 parents b6f0558 + b558cbd commit 8941707
Show file tree
Hide file tree
Showing 7 changed files with 722 additions and 220 deletions.
59 changes: 30 additions & 29 deletions package.json
@@ -1,8 +1,9 @@
{
"name": "particl",
"version": "1.1.0-RC3",

"name": "particl-desktop",
"version": "1.1.0",
"license": "GPL-2.0",
"description": "Particl Electron GUI - The source for the Particl GUI.",
"description": "Particl Desktop - decentralized marketplace, private currency, messaging & self-governance",
"keywords": [
"particl",
"angular2",
Expand Down Expand Up @@ -37,10 +38,10 @@
"compodoc": "compodoc -p tsconfig.json -d docs",
"generate-release": "node ./modules/clientBinaries/generateVersions.js"
},
"productName": "particl",
"productName": "Particl Desktop",
"build": {
"electronVersion": "1.7.10",
"appId": "io.particl.wallet",
"appId": "io.particl.desktop",
"directories": {
"buildResources": "resources",
"output": "packages"
Expand All @@ -53,8 +54,8 @@
"resources/**"
],
"mac": {
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"category": "public.app-category.wallet",
"artifactName": "${name}-${version}-${os}.${ext}",
"appCategoryType": "public.app-category.wallet",
"target": [
"dmg",
"zip"
Expand Down Expand Up @@ -102,7 +103,7 @@
}
],
"desktop": {
"Comment": "Particl, P2P Privacy project",
"Comment": "Particl, P2P Privacy ecosystem",
"Exec": "/opt/particl/particl %U",
"Icon": "particl",
"Name": "Particl",
Expand All @@ -119,34 +120,34 @@
"asar": true
},
"dependencies": {
"@angular/animations": "^5.2.0",
"@angular/cdk": "^5.0.4",
"@angular/common": "^5.2.0",
"@angular/compiler": "^5.2.0",
"@angular/core": "^5.2.0",
"@angular/animations": "^5.2.1",
"@angular/cdk": "^5.1.0",
"@angular/common": "^5.2.1",
"@angular/compiler": "^5.2.1",
"@angular/core": "^5.2.1",
"@angular/flex-layout": "^2.0.0-beta.12",
"@angular/forms": "^5.2.0",
"@angular/http": "^5.2.0",
"@angular/material": "^5.0.4",
"@angular/platform-browser": "^5.2.0",
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/platform-server": "^5.2.0",
"@angular/router": "^5.2.0",
"@angular/forms": "^5.2.1",
"@angular/http": "^5.2.1",
"@angular/material": "^5.1.0",
"@angular/platform-browser": "^5.2.1",
"@angular/platform-browser-dynamic": "^5.2.1",
"@angular/platform-server": "^5.2.1",
"@angular/router": "^5.2.1",
"angular2-qrcode": "^2.0.1",
"bluebird": "^3.4.7",
"buffered-spawn": "^3.3.2",
"cli-progress": "^1.7.0",
"core-js": "^2.4.1",
"electron-log": "^2.2.14",
"font-awesome": "^4.7.0",
"got": "^8.0.2",
"got": "^8.0.3",
"hammerjs": "^2.0.8",
"lodash": "^4.17.4",
"lodash.get": "^4.4.2",
"lodash.isempty": "^4.4.0",
"lodash.values": "^4.3.0",
"ng2-logger": "^1.0.11",
"ngx-clipboard": "^9.1.0",
"ngx-clipboard": "^9.1.3",
"node-unzip-2": "^0.2.1",
"open-sans-all": "^0.1.3",
"rx-ipc-electron": "^0.1.2",
Expand All @@ -155,17 +156,17 @@
"zone.js": "^0.8.20"
},
"devDependencies": {
"@angular/cli": "^1.6.4",
"@angular/compiler-cli": "^5.2.0",
"@angular/cli": "^1.6.5",
"@angular/compiler-cli": "^5.2.1",
"@compodoc/compodoc": "^1.0.4",
"@types/jasmine": "^2.8.4",
"@types/jasmine": "^2.8.5",
"@types/node": "^9.3.0",
"codelyzer": "^4.0.0",
"codelyzer": "^4.1.0",
"coveralls": "^3.0.0",
"electron": "1.7.10",
"electron-builder": "^19.54.0",
"electron": "1.7.11",
"electron-builder": "^19.55.2",
"htmlhint": "^0.9.13",
"jasmine-core": "^2.8.0",
"jasmine-core": "^2.9.1",
"jasmine-spec-reporter": "^4.2.0",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
Expand Down
10 changes: 10 additions & 0 deletions src/app/wallet/overview/widgets/coldstake/coldstake.component.ts
Expand Up @@ -30,6 +30,16 @@ export class ColdstakeComponent implements OnDestroy {
hotstakingamount: number = 0.0;
coldstakingamount: number = 0.0;

hotstaking: any = {
txs: [],
amount: 0
};

coldstaking: any = {
txs: [],
amount: 0
};

constructor(
private dialog: MatDialog,
private _modals: ModalsService,
Expand Down
Expand Up @@ -6,7 +6,7 @@ <h2 mat-dialog-title>Disable Cold Staking</h2>
Note that you don't need to disable Cold Staking to spend your coins.
</p>
<p>
Staked coin won't be affected. If the outputs you want to move are in your staked balance you must wait for them to mature.
Staked coins won't be affected. If the outputs you want to move are in your staked balance, you must wait for them to mature.
</p>
<!--p>
Alternatively, you can just disable Cold Staking activation. That will stop sending staked coins to your staking device. Coins already there will stay there.
Expand Down
Expand Up @@ -48,6 +48,7 @@ export class RevertColdstakingComponent implements OnInit {
return;
};
this.address = sxAddrs[0]['Address'];

this.log.d('return address', this.address);

let sentTXs = 0;
Expand Down
Expand Up @@ -8,7 +8,7 @@ <h2 mat-dialog-title>Cold Stake Zap</h2>
Be warned, that this decreases your financial privacy, as it bundles all your remaining coins into one big transaction. It is advised to zap only the small remaining part of your coins (last ~10 %) &ndash; those that take ages to get processed.
</p>
<p>
Staked coin won't be affected. If the outputs you want to move are in your staked balance you must wait for them to mature.
Staked coins won't be affected. If the outputs you want to move are in your staked balance, you must wait for them to mature.
</p>
<p class="warning">
<mat-icon fontSet="partIcon" fontIcon="part-alert"></mat-icon>
Expand Down
3 changes: 2 additions & 1 deletion src/app/wallet/wallet/send/send.service.ts
Expand Up @@ -118,7 +118,8 @@ export class SendService {

// Truncate the address to 16 characters only
const trimAddress = this.address.substring(0, 16) + '...';
this.flashNotification.open(`Succesfully sent ${this.amount} PART to ${trimAddress}!\nTransaction id: ${json}`, 'warn');
const txsId = json.substring(0, 45) + '...';
this.flashNotification.open(`Succesfully sent ${this.amount} PART to ${trimAddress}!\nTransaction id: ${txsId}`, 'warn');
}

rpc_send_failed(json: any) {
Expand Down

0 comments on commit 8941707

Please sign in to comment.