Commit Graph

198 Commits

Author SHA1 Message Date
Spencer Ofwiti
36ec897bf1 Merge branch 'master' into spencer/linting
# Conflicts:
#	package-lock.json
#	src/app/app.component.ts
#	src/app/app.module.ts
#	src/app/shared/shared.module.ts
2021-05-11 20:04:02 +03:00
Spencer Ofwiti
8754ae46d2 Add different manifest icons. 2021-05-11 19:52:49 +03:00
Spencer Ofwiti
d4d2837d2e Merge branch 'master' into spencer/pwa
# Conflicts:
#	package-lock.json
#	src/app/shared/shared.module.ts
#	src/styles.scss
2021-05-11 18:28:54 +03:00
Spencer Ofwiti
1c926baf47 Format files with prettier. 2021-05-10 19:15:25 +03:00
Spencer Ofwiti
6ed07b4beb Merge branch 'spencer/accounts-search' into 'master'
Accounts search by phone and address

See merge request grassrootseconomics/cic-staff-client!13
2021-05-10 05:16:18 +00:00
079c11ad88 Update src/environments/environment.dev.ts 2021-05-08 05:36:10 +00:00
Spencer Ofwiti
53d6d6b7a4 Add typing to components. 2021-04-30 15:50:16 +03:00
Spencer Ofwiti
9921488a04 Add strong typing to variables and functions. 2021-04-29 20:10:39 +03:00
Spencer Ofwiti
d0e0108274 Add styling via cs. 2021-04-29 14:15:14 +03:00
Spencer Ofwiti
0009148e61 Merge branch 'master' into spencer/accounts-search
# Conflicts:
#	src/app/_eth/registry.ts
#	src/app/_interceptors/error.interceptor.ts
#	src/app/_services/auth.service.ts
2021-04-29 11:21:22 +03:00
fb1c53946b blocking access on 401/403 2021-04-29 05:29:54 +00:00
Spencer Ofwiti
81413ef631 Remove stale components. 2021-04-28 20:34:02 +03:00
Spencer Ofwiti
e6de26be2c Add querying of account types, transaction types and genders from meta server. 2021-04-28 20:24:25 +03:00
Spencer Ofwiti
ce26380e84 Refactor to meta url. 2021-04-28 17:31:36 +03:00
Spencer Ofwiti
292b64c1e0 Add querying of location mappings and categories from API endpoint.
- Implement stub in mock backend for testing purposes.
2021-04-28 15:53:25 +03:00
Spencer Ofwiti
9e03990334 Refactor account details page to use address with stripped 0x. 2021-04-28 12:09:51 +03:00
Spencer Ofwiti
4167a7e6b7 Add fine grained control to iframe. 2021-04-27 21:15:20 +03:00
Spencer Ofwiti
88dc73cf1d Add person verification to last step. 2021-04-27 20:22:42 +03:00
Spencer Ofwiti
21444304c6 Refactor outgoing metadata to reflect schema. 2021-04-27 20:16:12 +03:00
Spencer Ofwiti
cb14b9b5dc Add validation for vcard. 2021-04-27 17:10:50 +03:00
Spencer Ofwiti
63f0fe3070 Add external dashboard to homepage. 2021-04-27 16:45:40 +03:00
Spencer Ofwiti
b3586e460b Add validation for account info coming from and going into the meta service. 2021-04-27 14:20:18 +03:00
Spencer Ofwiti
04a7e377d8 Add check for transaction. 2021-04-26 14:47:18 +03:00
Spencer Ofwiti
4030f709fc Add copy to clipboard functionality to addresses. 2021-04-26 13:14:36 +03:00
Spencer Ofwiti
a2e320d923 Refactor update of data on meta service. 2021-04-25 13:32:23 +03:00
Spencer Ofwiti
affffa8ffe Add search by phone number functionality. 2021-04-24 22:21:15 +03:00
Spencer Ofwiti
a8ad7c64e4 Change token contract abi. 2021-04-21 08:44:32 +03:00
Spencer Ofwiti
1223ccc48e Retire internal registry class. 2021-04-20 11:28:40 +03:00
Spencer Ofwiti
23b213e319 Merge branch 'master' into spencer/accounts-search 2021-04-19 15:36:21 +03:00
Spencer Ofwiti
4e9103479f Merge branch 'master' into spencer/pwa
# Conflicts:
#	angular.json
#	package.json
2021-04-19 15:31:42 +03:00
66bc013bdc add dev env 2021-04-17 15:06:09 -07:00
Spencer Ofwiti
5f271227bc Merge branch 'master' into spencer/accounts-search 2021-04-17 11:50:54 +03:00
8395946024 prod configs 2021-04-12 13:36:35 -07:00
9a9b59513e updated pub key ep 2021-04-12 10:50:35 -07:00
d5dafbeb7d defaults for dev + wss for prod 2021-04-12 07:53:12 -07:00
Spencer Ofwiti
5a6546550b Refactor css scripts to best practice. 2021-04-12 11:24:22 +03:00
b98818f0d5 defaults for prod 2021-04-11 20:32:24 -07:00
Spencer Ofwiti
9a87e5af04 Connect account address search to meta service. 2021-04-08 15:16:00 +03:00
Spencer Ofwiti
62655a691a Add search form for name, phonenumber and account address. 2021-04-07 12:24:32 +03:00
Spencer Ofwiti
4d64a57591 Handle parsing of empty arrays. 2021-04-07 10:25:41 +03:00
Spencer Ofwiti
a50bc2f50a Add network status component.
- Tracks status uof user's network connection.
2021-04-06 10:32:52 +03:00
Spencer Ofwiti
4006369793 Refactor css styles. 2021-04-02 16:16:21 +03:00
Spencer Ofwiti
0aa1b83ed2 Add tracking of user's network connectivity. 2021-04-02 15:31:10 +03:00
Spencer Ofwiti
08be01043a Add accounts search page. 2021-04-02 12:50:52 +03:00
Spencer Ofwiti
d914f6b2b8 Merge branch 'master' into spencer/pwa
# Conflicts:
#	package-lock.json
#	src/app/app.component.ts
#	src/index.html
2021-03-31 09:54:35 +03:00
Spencer Ofwiti
dcbadf526b Merge branch 'master' into bvander/integration-progress 2021-03-28 13:26:06 +03:00
Spencer Ofwiti
16d476a2aa Bug fix. 2021-03-28 13:21:54 +03:00
Spencer Ofwiti
25fd616ff7 Add user logout. 2021-03-24 19:41:11 +03:00
Spencer Ofwiti
f115b5dae6 Add export data to csv functionality. 2021-03-24 16:26:51 +03:00
Spencer Ofwiti
0bfaef30d2 Add confirmation dialogs for data manipulation actions. 2021-03-24 12:42:19 +03:00
Spencer Ofwiti
02ef0b3587 Add refresh ppaginator method. 2021-03-24 12:01:35 +03:00
Spencer Ofwiti
6896ba0f88 Clear environments file. 2021-03-24 11:00:43 +03:00
Spencer Ofwiti
bfc6d63090 Refactor environment variable names. 2021-03-24 10:43:07 +03:00
Spencer Ofwiti
c864f3a787 Add progressive web app support. 2021-03-22 22:13:11 +03:00
Spencer Ofwiti
4bfce9eff7 Refactor error interceptor. 2021-03-22 16:56:34 +03:00
Spencer Ofwiti
aceccedf5e Bug fix.
- Add handling of errors from getPublicKeys function.
- Check if added private keys are encrypted.
2021-03-21 22:05:00 +03:00
Spencer Ofwiti
8c2b659360 Bug fix.
- Handle error for incorrect passphrase entry.
2021-03-21 19:27:54 +03:00
Spencer Ofwiti
f12e69b5df Move error handler to error interceptor. 2021-03-21 16:11:05 +03:00
Spencer Ofwiti
0ce75b2951 Scrap HttpWrapperService. 2021-03-21 14:02:18 +03:00
8e26628092 private key loading error handling 2021-03-20 19:23:50 -07:00
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