Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix Windows build #6825

Closed
wants to merge 283 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
8e2f261
fix: remove account pills from staking panels (#2624)
Tuditi Mar 24, 2022
d39f2c6
feat: rewards per account and staking warnings (#2603)
jeeanribeiro Mar 24, 2022
9029886
feat: update electron menu to single wallet (#2622)
begonaalvarezd Mar 24, 2022
d71e17f
Merge branch 'develop' into feat/single-account
Mar 25, 2022
21d575f
fix: create wallet UI (#2627)
jeeanribeiro Mar 25, 2022
94dc1fc
fix: staking tooltips showing each letter as a standalone paragraph (…
begonaalvarezd Mar 25, 2022
f0b5dee
chore: point to latest wallet-rs and add mainnet staking events (#2632)
begonaalvarezd Mar 25, 2022
96e3b92
feat: add governance to sidebar (#2164)
jeeanribeiro Jan 18, 2022
c3be993
feat: (UI) Voting dashboard: power, info & single event (#2178)
jeeanribeiro Jan 20, 2022
35ac57a
feat: validate technical side for basic fetching events and voting (#…
jeeanribeiro Feb 7, 2022
83d2ac9
chore: tmp point wallet.rs to feat/voting
begonaalvarezd Feb 10, 2022
4621d91
feat: add voting flow (#2311)
Tuditi Feb 17, 2022
ce32a65
feat: hardcode staking event id (#2349)
Tuditi Feb 17, 2022
3fb2c01
chore: update voting wallet.rs
begonaalvarezd Feb 18, 2022
2f0b3a8
chore: update voting wallet.rs
begonaalvarezd Feb 18, 2022
d6e78ee
fix: disabled popup if event is ended or inactive (#2372)
Tuditi Feb 21, 2022
a140fa2
fix: replace selectedAccountId with selectedAccount
begonaalvarezd Feb 22, 2022
acbc337
feat: add account reactivity to event details view
begonaalvarezd Feb 22, 2022
d3f0be0
feat: voting event detail (#2387)
jeeanribeiro Feb 23, 2022
73869af
fix: reset governance router upon logout (#2426)
Tuditi Feb 23, 2022
972615b
feat: add loading spinner (#2412)
Tuditi Feb 23, 2022
7aa3520
feat: send unvoting disclaimer (#2432)
jeeanribeiro Feb 28, 2022
7280c0f
fix: only show merge buttons if necessary (#2448)
Tuditi Mar 1, 2022
b42bbf5
fix: Transaction.svelte crash (#2458)
jeeanribeiro Mar 2, 2022
581319c
feat: adds voting ledger UI components (#2455)
jeeanribeiro Mar 3, 2022
85c780a
fix: merge votes button not working (#2466)
Tuditi Mar 4, 2022
720ac3a
fix: adds optional chaining to accountOverview (#2478)
jeeanribeiro Mar 7, 2022
7063ad9
feat: add missing governance locale tab
begonaalvarezd Mar 9, 2022
99e0d81
chore: polish voting (#2563)
jeeanribeiro Mar 24, 2022
722285b
fix: adds missing function
jeeanribeiro Mar 28, 2022
5e0dd39
chore: merge remote-tracking branch 'origin/develop' into feat/single…
begonaalvarezd Mar 29, 2022
d067dc4
Merge remote-tracking branch 'origin/develop' into feat/single-account
begonaalvarezd Mar 29, 2022
f984474
chore: merge branch 'feat/single-account' into feat/voting
begonaalvarezd Mar 29, 2022
e880440
fix: circular dependency (#2675)
begonaalvarezd Mar 30, 2022
4df33c2
fix: wrong sidebar.svelte rebase & add governance (#2673)
begonaalvarezd Mar 30, 2022
548ce2f
chore: merge remote-tracking branch 'origin/develop' into feat/single…
begonaalvarezd Mar 30, 2022
06b70b8
feat: CSS & staking reactivity fixes (#2634)
begonaalvarezd Mar 30, 2022
184c0df
feat: increase popup css z-index (#2682)
begonaalvarezd Mar 30, 2022
a3d13a1
fix: ledger staking (#2680)
begonaalvarezd Mar 30, 2022
e84b7b3
fix: delayed asset warning tooltip (#2676)
begonaalvarezd Mar 30, 2022
256f14b
chore: merge remote-tracking branch 'origin/feat/single-account' into…
begonaalvarezd Mar 31, 2022
06b71b4
chore: merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd Mar 31, 2022
a74d830
chore: merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd Apr 11, 2022
37fc804
feat: remove type from imports and clean imports
begonaalvarezd Apr 11, 2022
d577a27
fix: wrong imports after merge
begonaalvarezd Apr 11, 2022
a8c518e
fix: circular dependency
begonaalvarezd Apr 11, 2022
617c6e4
fix: adds optional chaining to participationOverview (#2840)
jeeanribeiro Apr 11, 2022
9881eb8
fix: adds optional chaining operator to trackedParticipations
jeeanribeiro Apr 11, 2022
5d3abd7
chore: merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd Apr 13, 2022
62c5b5b
feat: add top bar back button to voting detail route (#2873)
begonaalvarezd Apr 13, 2022
47cafda
Feat: UI polish voting welcome view (#2886)
begonaalvarezd Apr 13, 2022
b3baabf
fix: adds empty object fallback to fix errors
jeeanribeiro Apr 13, 2022
47e6d4c
chore: merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd Apr 18, 2022
54077db
Merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd Apr 18, 2022
658cbef
chore: merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd Apr 20, 2022
8f570d9
feat: adds voting tx locale/icon (#2620)
jeeanribeiro Apr 21, 2022
b91b111
Merge branch 'develop' into feat/voting
Apr 21, 2022
4a4b649
feat: adds voting info tooltips (#2890)
jeeanribeiro Apr 21, 2022
0ad8588
fix: duplicate constant imports
Apr 21, 2022
9572e36
fix: reset governance router on logout (#3005)
cvarley100 Apr 21, 2022
406d89f
feat: polish event detail tooltips (#2999)
begonaalvarezd Apr 22, 2022
c071330
feat: add voting app notifications (#3015)
begonaalvarezd Apr 22, 2022
302a4dc
Feat: update voting flows (#3016)
begonaalvarezd Apr 23, 2022
663b445
fix: handle undefined name in account switcher (#3033)
maxwellmattryan Apr 25, 2022
90dae67
enhancement: add backup for retrieving previous airdrop rewards (#3017)
nicole-obrien Apr 25, 2022
86cc366
enhancement: improve wallet switcher by showing balance (#3013)
nicole-obrien Apr 26, 2022
71508bf
feat: unify wallet balance & staking summary panes (#3041)
begonaalvarezd Apr 26, 2022
c5e90c8
feat: adjust voting info (#3044)
cvarley100 Apr 27, 2022
0a2ac2a
enhancement: move voting weight popup tooltip (#3046)
cvarley100 Apr 27, 2022
0597689
fix: refine participation polling (#3071)
cvarley100 Apr 27, 2022
e589272
feat: update voting strings (#3079)
cvarley100 Apr 28, 2022
83bd599
enhancement: fixes voting rate and polishes event details pane (#3083)
cvarley100 Apr 30, 2022
14c1e72
enhancement: polishes voting end state (#3091)
cvarley100 Apr 30, 2022
d86031b
Merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd May 3, 2022
37bd104
feat: add merge votes && fix pending participations (#3080)
begonaalvarezd May 4, 2022
39ed469
refactor: change syncing to per account (#3082)
maxwellmattryan May 5, 2022
2063f65
fix: pending participation subscription (#3119)
begonaalvarezd May 5, 2022
89a1a38
chore: merge remote-tracking branch 'origin/release/desktop-1.5.2' in…
begonaalvarezd May 5, 2022
5382b1b
fix: vote totals calculation and display and other bug fixes (#3142)
cvarley100 May 5, 2022
b3c4d51
fix: refactors getColor (#3086)
jeeanribeiro May 5, 2022
c268987
Merge branch 'release/desktop-1.5.2' into feat/voting
cvarley100 May 5, 2022
e5cc979
fix: account color declaration
cvarley100 May 6, 2022
49e7696
fix: text component refactor color back compatibility (#3157)
begonaalvarezd May 10, 2022
81681be
fix: receive qr responsiveness
begonaalvarezd May 10, 2022
ef7bce4
Merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd May 10, 2022
ea041d0
fix: voting polish and performance (#3154)
cvarley100 May 10, 2022
2ce5fef
fix: handle different decimal separators for deep links (#3163)
maxwellmattryan May 11, 2022
7e2d737
fix: use specific decimal separator in asset tiles (#3165)
maxwellmattryan May 11, 2022
7ade0f2
fix: handle different decimal separators for deep links (#3163)
maxwellmattryan May 11, 2022
79ca42d
fix: use specific decimal separator in asset tiles (#3165)
maxwellmattryan May 11, 2022
acfad0f
Feat: add partial vote sidebar notification (#3156)
begonaalvarezd May 11, 2022
1a821a6
fix: account load processing (#3178)
cvarley100 May 11, 2022
cdc2f4a
chore: resolve conflicts
cvarley100 May 11, 2022
15691af
feat: adjust qr size
begonaalvarezd May 11, 2022
3593216
feat: mobile implement secure filesystem access Capacitor plugin (#2459)
amadeu2 May 12, 2022
7291098
feat: mobile export Stronghold (#2460)
amadeu2 May 12, 2022
db03612
enhancement: improve transaction confirmation detection speed (#3182)
cvarley100 May 12, 2022
b1938e5
chore: resolve conflicts
cvarley100 May 12, 2022
1bcfa90
feat: mobile save recovery kit PDF (#2471)
amadeu2 May 12, 2022
b5e8beb
feat: mobile delete profile folder (#2506)
amadeu2 May 12, 2022
4859de2
chore: fix prettier warnings in mobile (#3185)
rajivshah3 May 12, 2022
ca46d19
fix: make sidebar tab tooltips reactive for locale changes
maxwellmattryan May 12, 2022
136e96a
fix: locale reactivity in back button (#3189)
maxwellmattryan May 12, 2022
0136148
Feat: some polish voting UI (#3161)
begonaalvarezd May 13, 2022
a94a97c
fix: increase QR size slightly
cvarley100 May 13, 2022
ba58f0a
fix: receive qr responsiveness (#3159)
begonaalvarezd May 13, 2022
3db4bc5
chore: resolve conflicts
cvarley100 May 13, 2022
25cd106
Merge branch 'release/desktop-1.5.2' of https://github.com/iotaledger…
cvarley100 May 13, 2022
9571e76
chore: resolve coflicts
cvarley100 May 13, 2022
758af8f
fix: add reactivity for cached staking rewards (#3032)
maxwellmattryan May 13, 2022
4c80c8f
chore: sync strings from Desktop 1.5.2 to develop (#3184)
rajivshah3 May 13, 2022
f713e6d
Merge branch 'release/desktop-1.6.0' into feat/voting
cvarley100 May 13, 2022
21942ec
feat: mobile rename profile (#2512)
amadeu2 May 13, 2022
3fb377e
New Crowdin translations by Github Action (#2964)
github-actions[bot] May 13, 2022
5ffe868
New Crowdin translations by Github Action (#3220)
github-actions[bot] May 13, 2022
a6b07f7
chore: resolve conflicts
cvarley100 May 13, 2022
f465f3f
chore: update version
cvarley100 May 13, 2022
3f0619a
fix: pending participation reset
cvarley100 May 14, 2022
f0d80f3
fix: localisation
cvarley100 May 14, 2022
b66e4cc
fix: Capacitor bindings wallet plugin (#2465)
amadeu2 May 17, 2022
5b0b670
fix: remove duplicate import (#3233)
rajivshah3 May 17, 2022
51e427c
chore: Disable horizontal rotation of the device (#3230)
paul-boegelsack May 17, 2022
927925c
feat: split governance event details code into multiple files (#3255)
cvarley100 May 18, 2022
978478a
Feat: polish governance init UI (#3224)
begonaalvarezd May 18, 2022
c9f3aef
feat: adapt settings for mobile (UI) 2 (#3249)
amadeu2 May 19, 2022
2f8a723
chore: strip Linux backend debug info and upload to Sentry (#3188)
rajivshah3 May 19, 2022
2b06a7e
chore: Launch screen on Android is not keeping aspect ratio (#3257)
paul-boegelsack May 19, 2022
9ae5048
fix: block voting when balance is zero (#3256)
cvarley100 May 20, 2022
005b45c
feat: improve voting info pane (questions) (#3250)
begonaalvarezd May 20, 2022
66b92d4
chore: create Firefly handbook (#3263)
maxwellmattryan May 20, 2022
94e8135
feat: update governance manager flows (#3254)
begonaalvarezd May 20, 2022
abac2dd
New Crowdin translations by Github Action (#3223)
github-actions[bot] May 20, 2022
6d45ffa
fix: fix back button on Stronghold password screen (#3288)
rajivshah3 May 22, 2022
992390a
fix, refactor: Stronghold import screen (#3234)
rajivshah3 May 22, 2022
fa58993
chore: resolve conflicts
cvarley100 May 23, 2022
e6749b8
chore: apply voting strings (#3294)
cvarley100 May 23, 2022
a41375d
chore: remove trailing spaces in strings (#3298)
rajivshah3 May 23, 2022
5e35d1e
chore: resolve conflicts
cvarley100 May 23, 2022
32bbfee
chore: resolve conflicts
cvarley100 May 23, 2022
932920a
fix: disable firefly has changed popup on new profiles (#3299)
cvarley100 May 23, 2022
6e72113
Merge branch 'develop' into feat/voting
cvarley100 May 23, 2022
919dfab
fix: add missing electron `saveStrongholdBackup` (#3306)
amadeu2 May 23, 2022
27b5a45
fix: voting text fixes (#3307)
cvarley100 May 23, 2022
dc513db
fix: add missing `unstyled` prop to button component (#3308)
begonaalvarezd May 24, 2022
a10b9b2
Merge remote-tracking branch 'origin/develop' into feat/voting
begonaalvarezd May 24, 2022
e221afa
Feat: add participation loaders (#3297)
begonaalvarezd May 24, 2022
9b9f447
Fix: `isAccountVoting` included staking participations (#3310)
begonaalvarezd May 24, 2022
e05e148
feat: move voting results to tooltip & update CSS (#3301)
begonaalvarezd May 24, 2022
4328595
feat: disable add new wallet while participating (#3303)
begonaalvarezd May 24, 2022
c3cc998
feat: add participation action literal string search (#3305)
begonaalvarezd May 24, 2022
7819b8f
feat: improve conent fit in staking info pane (#3311)
begonaalvarezd May 24, 2022
a7aee37
Feat: polishing staking man (#3315)
cvarley100 May 24, 2022
7934a9e
fix: voting flows for ledger device (#3314)
begonaalvarezd May 24, 2022
d3d2102
fix: ensure no crash on change vote tabswitch (#3316)
cvarley100 May 24, 2022
0c94f24
chore: update voting strings (#3317)
cvarley100 May 24, 2022
bda5c87
New Crowdin translations by Github Action (#3296)
github-actions[bot] May 24, 2022
b70c6db
Merge branch 'develop' into feat/voting
cvarley100 May 24, 2022
1169cf7
fix: voting CSS winner selected (#3321)
begonaalvarezd May 24, 2022
3f2a2c7
Merge branch 'feat/voting' of https://github.com/iotaledger/firefly i…
cvarley100 May 24, 2022
1d21c7b
fix: wallet duplication on first login (after profile creation) (#3328)
begonaalvarezd May 25, 2022
c2d3517
feat: prevent back button text from breaking words into multiple line…
begonaalvarezd May 25, 2022
e0d47c1
feat: remove governance router reset on tab selection (#3331)
begonaalvarezd May 25, 2022
1275713
feat: prevent wallet creation/switch while changing participation (#3…
begonaalvarezd May 25, 2022
4a296ca
Merge branch 'feat/voting' of https://github.com/iotaledger/firefly i…
cvarley100 May 25, 2022
f763800
fix: fix app icon alignment (#3333)
rajivshah3 May 25, 2022
35c57b5
Merge branch 'develop' into feat/voting
cvarley100 May 25, 2022
7e9a020
New Crowdin translations by Github Action (#3323)
github-actions[bot] May 25, 2022
0df30d7
Merge branch 'develop' into feat/voting
cvarley100 May 25, 2022
ed6692b
chore: update to mainnet event
cvarley100 May 25, 2022
f4f5580
fix: add LAST_MILESTONE_BEFORE_TREASURY_EVENT
cvarley100 May 25, 2022
5e93cfd
chore: update to correct assembly event
cvarley100 May 26, 2022
599645d
Fix: old participations tx history tagging (#3338)
begonaalvarezd May 26, 2022
763f4cb
Update Tangle Bay node (#3337)
no8ody May 26, 2022
4ee2612
New Crowdin translations by Github Action (#3340)
github-actions[bot] May 26, 2022
a1d25e2
Merge branch 'develop' into feat/voting
cvarley100 May 26, 2022
99ef3ae
chore: update wallet.rs
cvarley100 May 31, 2022
cbe6044
enhancement: add warnings for merging vote/stake (#3366)
cvarley100 May 31, 2022
f52fbb7
feat: improve voting timeline in darkmode (#3351)
begonaalvarezd Jun 1, 2022
24a7f46
chore: update version
cvarley100 Jun 1, 2022
8ece643
fix: your counted votes & your maximum votes (#3384)
begonaalvarezd Jun 3, 2022
a8b517a
chore: bump desktop version to 1.6.2
rajivshah3 Jun 3, 2022
7e9a10d
feat: replace voting asset (#3829)
begonaalvarezd Jul 11, 2022
7ba4fe7
Feat: adapt governance to new texts (#3831)
begonaalvarezd Jul 11, 2022
1ddb780
chore: bump desktop version to 1.6.3 (#3832)
begonaalvarezd Jul 11, 2022
50c7d79
chore: use test event in holding phase
maxwellmattryan Jul 11, 2022
cf93f12
chore: replace voting event ID for Shimmer EF vote
maxwellmattryan Jul 11, 2022
d3e7d55
test: add debug logging to Sentry step in CI
maxwellmattryan Jul 12, 2022
8f34ec6
chore: remove Sentry upload step
maxwellmattryan Jul 13, 2022
70a6548
chore: update variables for new staking event
maxwellmattryan Jul 18, 2022
6adb122
chore: update event ID
maxwellmattryan Jul 20, 2022
d2b40cf
fix: SMR token amount formatting (#3988)
maxwellmattryan Jul 22, 2022
70b547c
chore: use test event
maxwellmattryan Jul 25, 2022
43c7a64
chore: update to official event ID
maxwellmattryan Jul 25, 2022
59ae312
chore: cleanup comments and change logic for glow formatting
maxwellmattryan Jul 25, 2022
a21a380
chore: update blog post URL
maxwellmattryan Jul 26, 2022
f4bf730
fix: change logic for when to update reward caches
maxwellmattryan Jul 26, 2022
6ed7647
chore: update event start date
maxwellmattryan Jul 26, 2022
c4ccf8b
enhancement: add tooltip for glow units (#4027)
maxwellmattryan Jul 27, 2022
b4146df
refactor: staking result JSON file storage (#4050)
maxwellmattryan Jul 27, 2022
f1d8c3f
fix: reward discovery and ledger wallet discovery (#4064)
cvarley100 Jul 27, 2022
e7170e3
chore: fix gitignore
maxwellmattryan Jul 27, 2022
4f83ad2
fix: tooltip
maxwellmattryan Jul 27, 2022
360a6cf
enhancement: adjust stylings of tooltip
maxwellmattryan Jul 27, 2022
8ce616e
chore: update build CI
maxwellmattryan Jul 27, 2022
9c73ea1
fix: adjust build CI MacOS version
maxwellmattryan Jul 27, 2022
01a7e98
chore: use macos 11 for CI
maxwellmattryan Jul 27, 2022
ae79be6
Update wallet.rs rev (#4077)
Thoralf-M Jul 28, 2022
cecdd3e
chore: fix tooltip bug
maxwellmattryan Jul 28, 2022
e655826
fix: gap limits and syncing logic (#4078)
cvarley100 Jul 28, 2022
58233b2
fix: null account syncing queue store
maxwellmattryan Jul 28, 2022
505a057
fix: syncing issues (#4092)
cvarley100 Jul 29, 2022
29f7f1f
chore: update version
cvarley100 Jul 29, 2022
2e9b84a
Merge branch 'release/desktop-1.6.4' of https://github.com/iotaledger…
cvarley100 Jul 29, 2022
3f1e4d1
feat: add input boxes (#4546)
Tuditi Sep 19, 2022
4b0bf73
feat: parse deep link (#4566)
Tuditi Sep 26, 2022
fcf7de7
feat: adjust confirmation page (#4758)
Tuditi Oct 3, 2022
6efec96
chore: add --no-sandbox to electron start script (#4794)
begonaalvarezd Oct 3, 2022
0627593
enhancement: polish UI (#4838)
Tuditi Oct 10, 2022
79807b5
feat: validate input fields (#4839)
Tuditi Oct 10, 2022
7afce5f
fix: migration crash and layout (#4901)
begonaalvarezd Oct 17, 2022
5c8f4d1
enhancement: generic tag and metadata (#4923)
Tuditi Oct 28, 2022
c47292b
fix: correct recipient address (#5076)
Tuditi Nov 2, 2022
e9b66a9
feat: tag & metadata support for deep links (#5075)
Tuditi Nov 2, 2022
6034eac
chore: update for next Assembly staking period (#5093)
maxwellmattryan Nov 3, 2022
03464a2
chore: remove locale debris (#5098)
begonaalvarezd Nov 3, 2022
cd7fbb6
fix: QR background colour in dark theme (#4511)
cvarley100 Nov 3, 2022
efdd0df
chore: move address validation to send address (#5099)
Tuditi Nov 3, 2022
c5ab60a
fix: update event (#5100)
Tuditi Nov 3, 2022
5cc2b84
chore: prepare desktop for next Assembly staking period (#5790)
maxwellmattryan Feb 7, 2023
68b818e
fix: pass dist-url flag & update wallet-rs revision hash (#5794)
Tuditi Feb 7, 2023
ec6d24c
fix: new event id (#5798)
nicole-obrien Feb 8, 2023
4f1c51c
chore: update CI for release branch (#6816)
maxwellmattryan May 15, 2023
14d5219
chore: 6th ASMB staking period (#6798)
maxwellmattryan May 16, 2023
680abb3
chore: update ubuntu version in build action
nicole-obrien May 16, 2023
1877c97
chore: update tokio version
Tuditi May 16, 2023
4d25141
chore: update neon version
Tuditi May 16, 2023
acf1fc0
ci: specify rust toolchain v1.67.0
begonaalvarezd May 16, 2023
69d75ea
ci: set override rust toolchain
begonaalvarezd May 16, 2023
ed5db6f
chore: force python version
maxwellmattryan May 16, 2023
2d9895c
ci: Use windows-latest and Visual Studio 2022
rajivshah3 May 16, 2023
a2327c3
ci: Only install Python 2.x on macOS
rajivshah3 May 16, 2023
fc68062
ci: Install node-gyp 9.3.1
rajivshah3 May 17, 2023
2d62ac1
fix: Patch neon-sys and node-gyp
rajivshah3 May 17, 2023
085a3cd
ci: Apply patches during workflow
rajivshah3 May 17, 2023
b81ab9d
Merge branch 'ci/rust-toolchain-v1.67.0' into test-windows-build
rajivshah3 May 17, 2023
0ae1e10
ci: Bug fixes
rajivshah3 May 17, 2023
a647fbd
Debug
rajivshah3 May 17, 2023
d441193
Merge branch 'ci/windows-fixes' into test-windows-build
rajivshah3 May 17, 2023
99135ed
Try fixing bugs
rajivshah3 May 17, 2023
08d8fa6
Patch Cargo.toml on Windows
rajivshah3 May 17, 2023
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
693 changes: 365 additions & 328 deletions .github/workflows/build-desktop.yml

Large diffs are not rendered by default.

21 changes: 17 additions & 4 deletions .github/workflows/ci.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
pull_request:
push:
branches:
- 'develop'
- 'main'

jobs:
rust:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand All @@ -24,8 +24,8 @@ jobs:
run: cargo +nightly fmt -- --check
working-directory: packages/backend

js:
runs-on: ubuntu-18.04
format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand All @@ -40,5 +40,18 @@ jobs:
- name: Format
run: yarn format-check

lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x

- name: Install Dependencies
run: yarn --ignore-scripts

- name: Lint
run: yarn lint
4 changes: 2 additions & 2 deletions .github/workflows/ci.snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- 'develop'
- 'main'

jobs:
test:
# Only run on push events or PRs from iotaledger/firefly, skip on PRs from forks
# Secret variables cannot be exposed to PRs from forks
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Test

on:
on:
pull_request:
push:
branches:
- 'develop'
- 'main'

jobs:
shared:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/handbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Handbook

on:
push:
branches:
- 'develop'

jobs:
publish:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- uses: retypeapp/action-build@v2
with:
config: docs

- uses: retypeapp/action-github-pages@v2
with:
branch: retype
update-branch: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ node_modules
**/public/assets/logos
**/public/assets/patterns
**/public/assets/sounds
**/public/assets/staking-results
**/public/assets/videos

**/public/locales/
Expand Down Expand Up @@ -229,3 +230,6 @@ DerivedData/

# Environment variable files
**/*.env

# Static site generations from Retype
**/.retype
73 changes: 73 additions & 0 deletions docs/glossary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
icon: info
order: 996
---

# Glossary

## 🖇️ Bitcoin Improvement Proposals (BIPs)

Similar to an IOTA TIP ("Tangle Improvement Proposal"), a BIP is a proposed plan for improving or adding functionality to a specific part of the protocol. They are important because they define and iterate on mechanisms, rules, and standards for a compatible DLT's (distributed ledger technology) implementation.

### BIP32 - Hierarchical deterministic (HD) wallet

This proposal acts as a definition for how a wallet should derive encryption keys from any given seed. The hierarchy is described by a BIP32 path, which looks like:

```
m / purpose' / coin_type' / account' / change / address
```

:warning: Sometimes these values are in hexadecimal format (Ledger users will see this when prompted to confirm newly generated addresses).

- `m` - the binary representation of a seed (e.g. 24-word mnemonic)
- `purpose'`* - a fixed value indicating that (usu. `44'` representing [BIP44](#bip44---Multi-account-hierarchy)) should be used as a standard
- `coin_type'`* - the particular number of a cryptocurrency token (IOTA is `4218'` - see [SLIP44](https://github.com/satoshilabs/slips/blob/master/slip-0044.md#registered-coin-types))
- `account'`* - the index for an account, of which there are 2,147,483,648 possible values (in Firefly these are the individual "wallets" in a single profile)
- `change` - `0'` or `1'` depending on if the address was generated for moving a transaction's remainder funds (`1`) or is an external address for receiving funds (`0`)
- `address` - the index for an address, of which there are 2,147,483,648 possible values (in Firefly these are the individual addresses per each wallet in a single profile)

\* _The added apostrophe indicates a hardened derivation at that level, which means that it is not possible to link a public key with its parent or child public keys via the public keys alone. With this mechanism being used at at least the `account` level, the case of an accidental leak of account-specific keys does __NOT__ compromise other accounts or the master (`m`)._

BIP32 is important as without it, you may not necessarily be able to gain access to your funds - you __must__ know which indices the funds reside on to gain access (i.e. you can know which private / public key-pair to generate from the seed). Do not worry though as Firefly sequentially generates new accounts and addresses, which is what allows the balance finder in the settings to more easily find your funds should they be "lost".

### BIP39 - Mnemonic code key derivation

This BIP proposes the usage of a generated 12-24 word mnemonic phrase that can be securely converted into a binary seed intended for generating deterministic wallets using BIP32. The major improvement here is that humans can much more easily handle a series of words rather than 0s and 1s, making the storage and recovery of seeds much more friendly.

It consists of two parts: the generation of the mnemonic itself and the conversion into a binary seed. English words are selected from a specially curated list of 2,048 words with an optional passphrase for added security (an empty string `""` is used if empty). The keys are derived through algorithms [PBKDF2](https://en.wikipedia.org/wiki/PBKDF2) and [HMAC](https://en.wikipedia.org/wiki/HMAC)-[SHA512](https://en.wikipedia.org/wiki/SHA-2) with a length of 512 bits or 64 bytes.

### BIP44 - Multi-account hierarchy

This BIP proposes a definition for the logical hierarchy of deterministic wallets. It allows a user to handle multiple tokens from varying cryptocurrencies with each one having possibilities for millions of accounts each with millions of addresses.

To help understand the technical definition, please read the above description about [BIP32 paths](#bip32---hierarchical-deterministic-hd-wallet). However it's also important to understand how this structure is translated into Firefly:

- A __profile__ is at the top-most level of the hierarchy as with Firefly there is _one mnemonic per profile_
- __Wallets__, also known as "Accounts", are three levels lower than the profile / seed (past `purpose` and `coin_type`) therefore can _only be belonging to a single profile_
- __Addresses__ are formed on chains from values `0` and `1` on the `change` level, putting them two levels lower than the `account` level, however in Firefly we typically only see the receive addresses from the chain when `change = 0`

## 🌐 IOTA Networks

The IOTA ecosystem contains a variety of networks each with different purposes and use-cases.

### Mainnet

The `mainnet` is the primary network within the IOTA ecosystem where tokens holding __real__ value are transferred to and from participants and data is broadcasted across a public network.

### Devnet

The `devnet`, refers to the secondary network within the IOTA ecosystem where tokens of __fake__ value are transacted with, and data is broadcasted publicly across the network.

### Testnet

Similar to the `devnet`, the `testnet` is a network that until recently was the secondary network for the Chrysalis upgrade. The network still exists and is still being used for testing transactions and data message broadcasting.

### Private Tangles

Private tangles are networks that can be setup for use by an individual or even a smart city. The tokens do __NOT__ hold real-world value, and the data messages are broadcasted onto the configured private network.

## 🔐 Stronghold

Stronghold is an open-source software library developed and maintained by the IOTA Foundation (see [`stronghold.rs`](https://github.com/iotaledger/stronghold.rs)). It deals with the protection of important secrets like the seed of a Firefly profile or the public-private key pairs for accounts (or wallets) within a Firefly profile.

It is designed to be used within other libraries, such as [`wallet.rs`](https://github.com/iotaledger/wallet.rs), or even within the provided peer-to-peer (p2p) communication layer for when higher security is needed.
70 changes: 70 additions & 0 deletions docs/guides/coding-conventions/comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
icon: comment-discussion
---

# Comments

> Every time you express yourself in code, you should pat yourself on the back. Every time you write a comment, you should grimace and feel the failure of your ability of expression.

In general it is preferable to avoid writing comments, especially if there is a way to __cleanly express the logic with the code itself__ (aka [_self-documenting code_](https://en.wikipedia.org/wiki/Self-documenting_code)). Otherwise, we adhere to the following rules about comments:

- __Do NOT write comments that are noisy or state the obvious__

```typescript
// get and check store for if Stronghold is locked
if (get(isStrongholdLocked)) {
// ...
}

/** The app settings. */
type AppSettings {
language: string
isInDarkMode: boolean
areDeepLinksEnabled: boolean
}
```

- __Do NOT write `TODO` comments__

```typescript
// TODO: Abstract this code and move to wallet.ts
```

:information_source: If you find yourself writing `TODO` comments, instead [create a new task](https://github.com/iotaledger/firefly/issues/new?assignees=&labels=&template=create-task.yml&title=%5BTask%5D%3A+) on GitHub or add to your existing task's requirements list.

- __Do NOT write embedded comments__

__Bad__

```typescript
function someFunction(): void { // this function does something
}
```

__Good__

```typescript
// this function does something
function someFunction(): void {
}
```

- __They should be preceded by a blank _without_ a following a blank line__

__Bad__

```typescript
const anArray = ["a string"]
// a comment about this other array

const anotherArray = ["another string"]
```

__Good__

```typescript
const anArray = ["a string"]

// a comment about this other array
const anotherArray = ["another string"]
```
Loading