Commit Graph

188 Commits

Author SHA1 Message Date
c2d8290c42 riffin 2021-03-19 09:05:15 -07:00
Spencer Ofwiti
71834deadc Add transfer request to transaction reversal.
- Inverts sender and recipient addresses creating a request for transfer from recipient to sender.
2021-03-19 17:40:45 +03:00
Spencer Ofwiti
ec2d5321ba Add cofiguration of environment variables using .env. 2021-03-18 20:02:25 +03:00
Spencer Ofwiti
6e4c632283 Merge branch 'master' into spencer/refactor-environments
# Conflicts:
#	src/app/_services/auth.service.ts
2021-03-18 19:31:22 +03:00
Spencer Ofwiti
9ec50e9c1a Switch to async/await schema for all asynchronous function calls. 2021-03-18 12:10:55 +03:00
Spencer Ofwiti
68ff291dd2 Add setting environment variables using commandline arguments. 2021-03-17 16:39:33 +03:00
Spencer Ofwiti
6dc44be4eb Add list of users from public keys. 2021-03-16 20:13:48 +03:00
Spencer Ofwiti
12685b32f4 Fix web3Provider url. 2021-03-16 18:42:04 +03:00
Spencer Ofwiti
124a6bf295 Refactor environment variables. 2021-03-16 18:32:26 +03:00
Spencer Ofwiti
12f4d328bf Refactor auth module.
- Switch from form to text field for passphrase input.
- Refactor error dialog format.
- Send dialog on incorrect parsing of private key.
- Refactor block sync service to take parameters.
2021-03-16 13:08:18 +03:00
Spencer Ofwiti
9fa9852ded Refactor config variables. 2021-03-15 19:26:53 +03:00
Spencer Ofwiti
37a6f24201 Refactor table layouts. 2021-03-15 14:58:18 +03:00
Spencer Ofwiti
d76a0b3196 Add error dialog box.
- Add service for handling creation of error dialog.
- Refactor directory layout.
2021-03-15 14:54:46 +03:00
Spencer Ofwiti
3eaa56e0b9 Add missing imports. 2021-03-15 08:57:47 +03:00
Spencer Ofwiti
bf9295740d Refactor getPublicKeys method. 2021-03-15 08:56:38 +03:00
Spencer Ofwiti
f3c14578da Remove circular dependency. 2021-03-15 08:53:33 +03:00
Spencer Ofwiti
3fc21c25ae Add logging environment variables. 2021-03-14 11:25:38 +03:00
Spencer Ofwiti
9644d43682 Add change detection strategy.
- Change to onPush change detection strategy.
- Refactor logging provider.
2021-03-14 11:23:20 +03:00
Spencer Ofwiti
cf4685ce4a Add additional account properties. 2021-03-14 11:20:48 +03:00
Spencer Ofwiti
8af6b251b9 Refactor requests to utilize http wrapper service. 2021-03-14 11:19:25 +03:00
Spencer Ofwiti
6621f9fc42 Add custom http methods wrapper.
- Logs response and duration of request.
2021-03-14 11:17:27 +03:00
Spencer Ofwiti
c96ebec1d2 Add global error handler and logging interceptor.
- Global error handler allows catching errors and parsing them to appropriate logging handler.
- Logging interceptor allows logging of request information and status.
2021-03-14 11:13:51 +03:00
Spencer Ofwiti
d7dcece7fe Add logging service.
- Implements custom logging functionality.
2021-03-14 11:11:37 +03:00
Spencer Ofwiti
32ab27730b Add fetching of transaction participants from cic-meta.
Add token registry to query tokens.
2021-03-10 12:47:01 +03:00
Spencer Ofwiti
7447bf2499 Add cic registry class for querying resource information on the network. 2021-03-06 09:28:29 +03:00
Spencer Ofwiti
2b99dd8c62 Query transaction participants from meta service. 2021-03-04 18:56:14 +03:00
Spencer Ofwiti
70fe7cf08e Add handling for responsive sidebar content. 2021-03-04 12:35:20 +03:00
Spencer Ofwiti
0fb597efdd Add scalability to sidebar logo. 2021-03-04 12:00:49 +03:00
Spencer Ofwiti
d9990a2760 Add method for sending transfer requests. 2021-03-03 16:43:33 +03:00
Spencer Ofwiti
0d7f4aae13 Add account object interface.
Add new vcard parser.
2021-03-02 10:29:14 +03:00
Spencer Ofwiti
2491dc54a0 Populate accounts list with accounts from the network. 2021-03-01 11:12:49 +03:00
Spencer Ofwiti
fbdfa54d9b Bug fix.
- Refactor HttpGetter function.
- Remove redundant asset files.
- Fix BlockSync dependency issues.
2021-02-25 13:46:24 +03:00
Spencer Ofwiti
857994fe8b Blockchain syncing.
- Implement tracker for new accounts in the accounts index contract.
- Implement tracker for new blocks on Bloxberg network.
2021-02-24 18:09:50 +03:00
Spencer Ofwiti
2e4ee03ec6 Change referrer field from name to phone number. 2021-02-23 18:26:27 +03:00
Spencer Ofwiti
ef1999dc0d Fetch data from cic meta and patch to user details. 2021-02-23 15:32:02 +03:00
Spencer Ofwiti
3286c1df82 Add auth guard connection for dashboard routes. 2021-02-17 21:22:06 +03:00
Spencer Ofwiti
0e07e4ccdc Add path shortcuts to all paths in the system. 2021-02-17 15:49:04 +03:00
Spencer Ofwiti
63c5a63d81 Merge branch 'master' into spencer/transaction-list
# Conflicts:
#	README.md
#	angular.json
#	package-lock.json
#	package.json
#	src/app/_helpers/custom-error-state-matcher.spec.ts
#	src/app/_helpers/index.ts
#	src/app/_services/index.ts
#	src/app/app-routing.module.ts
#	src/app/app.component.html
#	src/app/app.component.spec.ts
#	src/app/app.component.ts
#	src/app/app.module.ts
#	src/environments/environment.prod.ts
#	src/environments/environment.ts
#	src/index.html
#	src/styles.scss
2021-02-17 14:52:42 +03:00
Spencer Ofwiti
c2f257e221 Bug fix.
- Remove unsafe keystore.
- Refactor functionality from unsafe keystore into mutable keystore.
2021-02-17 14:13:08 +03:00
Spencer Ofwiti
7165031fc8 Add pgp signer. 2021-02-17 13:00:38 +03:00
Spencer Ofwiti
458155dc1c Remove stale function. 2021-02-17 08:00:28 +03:00
Spencer Ofwiti
a6a602938e Add method for removing keys from keyring. 2021-02-16 16:30:02 +03:00
Spencer Ofwiti
1718ae01ba Refactor MutableKeyStore interface. 2021-02-16 16:18:41 +03:00
Spencer Ofwiti
9d2fdd687b Add connection to cic-meta. 2021-02-16 11:04:22 +03:00
Spencer Ofwiti
e6379aa2ef Remove stale component declaration. 2021-02-16 10:15:36 +03:00
Spencer Ofwiti
8558ec9e13 Add method for loading public keys into keyring. 2021-02-16 10:10:52 +03:00
Spencer Ofwiti
c0381a170e Add support for absolute path import shortcuts. 2021-02-14 19:02:35 +03:00
Spencer Ofwiti
0be8bcd51a Bug fixes.
- Change environment variables.
- Refactor http getter.
- Add custom error state matcher.
- Hide create account component.
2021-02-12 09:32:08 +03:00
Spencer Ofwiti
8dc0eb24d8 Bug fix. 2021-02-09 11:32:37 +03:00
Spencer Ofwiti
94d2976e6c Completed form handling. 2021-02-08 14:47:07 +03:00
Spencer Ofwiti
e372921439 Bug fix. 2021-02-06 17:08:37 +03:00
Spencer Ofwiti
81c6b05a42 Move auth component files. 2021-02-03 13:52:31 +03:00
Spencer Ofwiti
f966a24014 Add session token to session storage. 2021-01-18 16:04:16 +03:00
Spencer Ofwiti
a9fcf35a54 Add switching between key input and passphrase input. 2021-01-15 07:58:39 +03:00
Spencer Ofwiti
4d920cdbe9 Add support for account index. 2021-01-15 07:30:19 +03:00
Spencer Ofwiti
f95841cc06 App changes. 2020-12-28 12:12:37 +03:00
Spencer Ofwiti
65f3dae4b1 Add auth module. 2020-12-28 12:11:25 +03:00
Spencer Ofwiti
414b9eb215 Add supporting javascript files for pgp and hoba. 2020-12-28 12:09:56 +03:00
Spencer Ofwiti
6b1e930b2b Add authentication service. 2020-12-28 12:09:11 +03:00
Spencer Ofwiti
8636cbdf99 Add helper classes.
- Add error state matcher for forms.
- Add custom validator for forms.
- Add error interceptor for incoming responses.
- Add unsafe key store for holding private keys.
2020-12-28 12:06:30 +03:00
Spencer Ofwiti
2f8806b8ce Add authentication and role access guards. 2020-12-28 12:05:33 +03:00
Spencer Ofwiti
02bed9d124 Add password toggle directive. 2020-12-28 12:04:47 +03:00
Spencer Ofwiti
f7f4fe77f6 Modify components to use behaviour subject. 2020-12-05 09:30:30 +03:00
Spencer Ofwiti
142654ed6d Add mock backend. 2020-12-05 09:29:59 +03:00
Spencer Ofwiti
156fa4067f Cleanup services to use mock backend. 2020-12-05 09:29:18 +03:00
Spencer Ofwiti
bff58f7a43 Add pipe for converting token values to Wei standards. 2020-12-05 09:28:40 +03:00
Spencer Ofwiti
933d73e635 Add listerers for tracking new transactions. 2020-11-25 11:05:13 +03:00
Spencer Ofwiti
fb63c5d504 Add dashboard. 2020-11-25 11:04:41 +03:00
Spencer Ofwiti
f34894e80a Add user metadata details. 2020-11-25 11:00:53 +03:00
Spencer Ofwiti
b20c6f21fb Add token list and details page. 2020-11-25 11:00:20 +03:00
Spencer Ofwiti
4ee55c2bc0 Add user settings page. 2020-11-25 10:59:48 +03:00
Spencer Ofwiti
588fd4817d Add admin approval page. 2020-11-25 10:58:14 +03:00
Spencer Ofwiti
b38ca7cc46 Add accounts listings and details. 2020-11-25 10:57:17 +03:00
Spencer Ofwiti
9836476c3a Add material design datatables to transaction list. 2020-11-25 10:55:27 +03:00
Spencer Ofwiti
db4d713532 Add test fixtures. 2020-11-25 10:54:00 +03:00
Spencer Ofwiti
f228a9866b Add services.
- Add block sync service.
- Add mock token service.
- Add mock user service.
- Add user info to transactions.
2020-11-25 10:51:15 +03:00
Spencer Ofwiti
9d6217558c Add user and transaction models. 2020-11-25 10:17:37 +03:00
Spencer Ofwiti
d448083cec Add links to sidebar. 2020-11-25 10:11:20 +03:00
Spencer Ofwiti
233eb9525a Add CIC logo to favicon. 2020-11-25 10:09:15 +03:00
Spencer Ofwiti
2ac665da0e Add environment variables. 2020-11-25 10:07:58 +03:00
Spencer Ofwiti
77c4c744ca Add asset files.
- Add system images.
- Made changes to js files.
2020-11-25 10:01:47 +03:00
Spencer Ofwiti
ca9ca61ae1 Add block-sync to application. 2020-11-08 09:31:52 +03:00
Spencer Ofwiti
cec92d25b9 Refactor form header names. 2020-11-04 16:23:04 +03:00
Spencer Ofwiti
b9734e60ad Add transaction page and styling for page layout. 2020-11-04 15:36:30 +03:00
Spencer Ofwiti
cbe51520fa Add transaction data service. 2020-11-04 15:35:20 +03:00
Spencer Ofwiti
a4c287f9f7 Add models for mapping transaction data. 2020-11-04 15:34:37 +03:00
Spencer Ofwiti
7ec4a45579 Add Bootstrap and environment variables. 2020-11-04 15:32:34 +03:00
Spencer Ofwiti
d966426890 initial commit 2020-10-30 18:16:05 +03:00