Commit Graph

334 Commits

Author SHA1 Message Date
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
b5c9699e2c Refactor .env-example. 2021-03-21 14:04:21 +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
0668abd62d Merge branch 'spencer/refactor-environments' into 'master'
Refactor environment variables.

See merge request grassrootseconomics/cic-staff-client!4
2021-03-19 14:18:01 +00:00
Spencer Ofwiti
0793dd8df3 Add environment files to gitignore. 2021-03-19 16:55:38 +03:00
Spencer Ofwiti
7339a28d41 Add environment files to gitignore. 2021-03-19 16:54:52 +03:00
Spencer Ofwiti
7f3205df4d Add environment files to gitignore. 2021-03-19 16:53:52 +03:00
Spencer Ofwiti
156f9d1875 Refactor readme and npm scripts. 2021-03-18 20:31:50 +03:00
Spencer Ofwiti
d1563092b2 Add CIC namespace to environment variables. 2021-03-18 20:16:43 +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
bdea594fcd Merge branch 'spencer/publickeys-info' into 'master'
Add list of users from public keys.

See merge request grassrootseconomics/cic-staff-client!5
2021-03-18 16:25:45 +00: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
03be46e169 Merge branch 'spencer/transaction-list' into 'master'
User Interface Layout.

See merge request grassrootseconomics/cic-staff-client!1
2021-03-16 10:19:32 +00: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
ac9a6795a7 Add patch to webpack postinstall. 2021-02-28 11:13:04 +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