Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

chore: merge develop to master #1304

Merged
merged 57 commits into from Jun 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
7002c25
fix: improve validation for epoch format (#1164)
alexbarnsley Apr 3, 2019
80b647e
chore: upgrade Vue and other dependencies and use Node 11 on CI (#1160)
luciorubeens Apr 4, 2019
e42290f
feat: allow using a pool of background workers and use create a unifi…
j-a-m-l Apr 5, 2019
df2212d
fix: `InputSelect` dropdowns (#1174)
j-a-m-l Apr 10, 2019
4a6f562
fix: other network fees when higher than ARK default static fees (#1172)
alexbarnsley Apr 11, 2019
86b28ce
fix: main sidebar menus (settings and peers/networks) (#1175)
j-a-m-l Apr 11, 2019
9429041
fix: the wallet selection dropdown and the wallet sidebar filters (#1…
j-a-m-l Apr 12, 2019
5468a82
fix: do not fail when navigating to other page while loading transact…
j-a-m-l Apr 12, 2019
6ec06b1
fix: use of getStruct in ledger transactions (#1190)
luciorubeens Apr 17, 2019
df506ae
chore: add ItsANameToo as code owner
faustbrian Apr 18, 2019
4cc587e
fix: add network modal validation (#1173)
alexbarnsley Apr 18, 2019
8723e80
chore: remove mario from contributors (#1196)
ItsANameToo Apr 18, 2019
7e8fb5c
chore: add Altilly Exchange Wallet (#1199)
NayiemWillems Apr 20, 2019
1424487
fix: align the add profile placeholder (#1202)
j-a-m-l Apr 23, 2019
c1ada89
fix: days on the X axis of the market chart (#1203)
j-a-m-l Apr 23, 2019
0ca228c
fix: fetch fees only if the network is available (#1206)
luciorubeens Apr 29, 2019
3871288
fix: stop hover from displacing address container (#1242)
dated May 14, 2019
e903c2d
fix: vue-i18n-extract commands (#1247)
dated May 14, 2019
835c74e
refactor: require user action when generating 2nd passphrase (#1229)
dated May 17, 2019
74af1ba
feat: store sidebar sorting and filters (#1148)
dated May 17, 2019
3413628
feat: add option to hide the wallet button text (#1146)
dated May 20, 2019
3f21c5a
fix: get children of TransitionGroup when available & word-break of v…
dated May 21, 2019
dc24795
feat: show remaining bytes in vendorfield helper text (#1259)
dated May 21, 2019
4640a1a
Merge remote-tracking branch 'origin/develop' into next
alexbarnsley May 22, 2019
2d0eaaa
chore: use organization-wide GitHub Configuration (#1267)
faustbrian May 27, 2019
125c23a
Merge branch 'develop' into next-develop
faustbrian May 27, 2019
9a95ad3
chore: merge next into develop (#1263)
faustbrian May 27, 2019
ff90d59
misc: Italian language update (#1268)
danielstc May 29, 2019
919e846
fix: tidy permission method names & check exists (#1260)
alexbarnsley May 29, 2019
9f4d5ef
feat: add option to export wallets (#1244)
dated May 29, 2019
4450d62
feat: use the theme colours for the wallet filters instead of white (…
j-a-m-l May 30, 2019
b3d948a
deps: upgrade `axios` (CVE-2019-10742) (#1271)
j-a-m-l May 30, 2019
719e259
fix: saving of invalid profile name on leave (#1101)
kalgoop May 31, 2019
be6a6b6
fix: display the wallet sidebar filters on the right position (#1201)
j-a-m-l May 31, 2019
d5d582c
refactor: add the status icon and plus/minus sign in the transaction …
luciorubeens May 31, 2019
d2c786d
fix: use webview instead of iframe for changelly (#1277)
ItsANameToo Jun 6, 2019
5208ee0
revert: worker changes from commit e42290
alexbarnsley Jun 12, 2019
e165d03
refactor: use nock to mock tests (#1291)
alexbarnsley Jun 17, 2019
cd2876d
Merge branch 'develop' into revert/worker-changes-e42290
alexbarnsley Jun 17, 2019
d18dd37
fix: add options mock requests
alexbarnsley Jun 17, 2019
dee2b2d
fix: tests not mocking api
alexbarnsley Jun 17, 2019
c2b4644
revert: worker commit e42290 & add fixes (#1282)
alexbarnsley Jun 18, 2019
8842cae
fix: duplicated key warning on `WalletNew`
j-a-m-l Jun 19, 2019
8182cb3
Update src/renderer/pages/Wallet/WalletNew.vue
j-a-m-l Jun 19, 2019
86e6a3b
fix: ledger options on build (#1300)
alexbarnsley Jun 24, 2019
8c096b2
Merge branch 'develop' into fix-duplicated-key-warning
j-a-m-l Jun 24, 2019
64c5c9a
fix: change order of arguments in uniqBy call (#1297)
dated Jun 24, 2019
e93a6d0
Merge branch 'develop' into fix-duplicated-key-warning
alexbarnsley Jun 24, 2019
4c7a3ce
fix: duplicated key warning on new wallet page (#1294)
alexbarnsley Jun 24, 2019
44f5e25
fix: don't close custom peer modal when clicking inside (#1204)
j-a-m-l Jun 24, 2019
d3f8e22
refactor: wallet address & balance clickable on WalletAll page (#1301)
kalgoop Jun 24, 2019
f891ed2
fix: ledger wallet sidebar filter (#1292)
j-a-m-l Jun 24, 2019
7e7c0a2
fix: ledger whitescreen (#1296)
alexbarnsley Jun 25, 2019
0ab7762
fix: open transaction modal on dashboard (#1281)
luciorubeens Jun 25, 2019
91df102
fix: don't switch twice when selecting wallet on WalletSidebar (#1302)
j-a-m-l Jun 26, 2019
16d7210
chore: bump version to 2.5.0 (#1303)
alexbarnsley Jun 26, 2019
3e63cbc
Merge branch 'master' into develop
alexbarnsley Jun 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions .circleci/config.yml
Expand Up @@ -3,7 +3,7 @@ jobs:
test-node-11:
working_directory: ~/new-desktop-wallet
docker:
- image: circleci/node:11.10.1-browsers
- image: circleci/node:11-browsers
steps:
- checkout
- run:
Expand All @@ -23,9 +23,6 @@ jobs:
- run:
name: Unit tests
command: yarn test:unit --ci --coverage --maxWorkers 4
- run:
name: e2e tests
command: yarn test:e2e:full --coverage
- run:
name: Lint
command: yarn lint
Expand Down
71 changes: 0 additions & 71 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/CONTRIBUTING.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/Bug_report.md

This file was deleted.

16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/Feature_request.md

This file was deleted.

35 changes: 0 additions & 35 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion __tests__/e2e.jest.conf.js
Expand Up @@ -20,6 +20,6 @@ module.exports = {
'<rootDir>/__tests__/e2e/pages',
'<rootDir>/__tests__/unit'
],
setupTestFrameworkScriptFile: 'jest-extended',
setupFilesAfterEnv: ['jest-extended'],
watchman: false
}
2 changes: 1 addition & 1 deletion __tests__/unit.jest.conf.js
Expand Up @@ -37,6 +37,6 @@ module.exports = {
collectCoverageFrom: [
'src/renderer/**/*.{js,vue}'
],
setupTestFrameworkScriptFile: 'jest-extended',
setupFilesAfterEnv: ['jest-extended'],
watchman: false
}
@@ -1,7 +1,8 @@
export default {
create: jest.fn(() => {
return {
close: jest.fn()
close: jest.fn(),
disconected: false
}
})
}
76 changes: 76 additions & 0 deletions __tests__/unit/components/Modal/ModalExportWallets.spec.js
@@ -0,0 +1,76 @@
import Vue from 'vue'
import Vuelidate from 'vuelidate'
import { shallowMount } from '@vue/test-utils'
import useI18nGlobally from '../../__utils__/i18n'
import ModalExportWallets from '@/components/Modal/ModalExportWallets'
import StringMixin from '@/mixins/strings'
import WalletMixin from '@/mixins/wallet'

Vue.use(Vuelidate)

const i18n = useI18nGlobally()

describe('ModalExportWallets', () => {
const mountComponent = () => {
const wallets = [
{ address: 'A1', name: null, balance: 0 },
{ address: 'A2', name: '', balance: 1 },
{ address: 'A3', name: 'wallet_a3', balance: 0 },
{ address: 'A4', name: 'wallet_a4', balance: 1 }
]

const ledgerWallets = [
{ address: 'A5', name: null, balance: 0 },
{ address: 'A6', name: 'ledger_a6', balance: 1 }
]

return shallowMount(ModalExportWallets, {
i18n,
mixins: [StringMixin, WalletMixin],
mocks: {
session_network: {
knownWallets: {}
},
$store: {
getters: {
'delegate/byAddress': jest.fn(),
'wallet/contactsByProfileId': () => [],
'wallet/byProfileId': () => wallets,
'ledger/wallets': () => ledgerWallets
}
}
}
})
}

it('should render modal', () => {
const wrapper = mountComponent()
expect(wrapper.isVueInstance()).toBeTrue()
})

describe('toggleOption', () => {
it('should exclude empty wallets', () => {
const wrapper = mountComponent()
wrapper.vm.toggleOption('excludeEmpty')

const walletsWithBalance = [
{ address: 'A2', name: '', balance: 1 },
{ address: 'A4', name: 'wallet_a4', balance: 1 }
]

expect(wrapper.vm.wallets).toEqual(walletsWithBalance)
})

it('should exclude wallets with no name', () => {
const wrapper = mountComponent()
wrapper.vm.toggleOption('excludeUnnamed')

const walletsWithName = [
{ address: 'A3', name: 'wallet_a3', balance: 0 },
{ address: 'A4', name: 'wallet_a4', balance: 1 }
]

expect(wrapper.vm.wallets).toEqual(walletsWithName)
})
})
})
Expand Up @@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils'
import { useI18nGlobally } from '../../__utils__/i18n'
import Vue from 'vue'
import Vuelidate from 'vuelidate'
import { NetworkCustomPeer } from '@/components/Network'
import { NetworkCustomPeerModal } from '@/components/Network'

const i18n = useI18nGlobally()

Expand All @@ -16,9 +16,9 @@ const mocks = {

Vue.use(Vuelidate)

describe('NetworkCustomPeer', () => {
describe('NetworkCustomPeerModal', () => {
it('should render modal', () => {
const wrapper = shallowMount(NetworkCustomPeer, {
const wrapper = shallowMount(NetworkCustomPeerModal, {
i18n,
mocks
})
Expand Down
@@ -1,11 +1,11 @@
import { shallowMount } from '@vue/test-utils'
import useI18nGlobally from '../../../__utils__/i18n'
import { WalletButtonAdditionalLedgers } from '@/components/Wallet/WalletButtons'
import { WalletButtonLedgerSettings } from '@/components/Wallet/WalletButtons'

const i18n = useI18nGlobally()
let wrapper
beforeEach(() => {
wrapper = shallowMount(WalletButtonAdditionalLedgers, {
wrapper = shallowMount(WalletButtonLedgerSettings, {
i18n,
mocks: {
$store: {
Expand All @@ -19,8 +19,8 @@ beforeEach(() => {
})
})

describe('WalletButtonAdditionalLedgers', () => {
it('should render modal', () => {
describe('WalletButtonLedgerSettings', () => {
it('should render', () => {
expect(wrapper.isVueInstance()).toBeTrue()
})
})