Commit Graph

48 Commits

Author SHA1 Message Date
a69213dab2 Merge branch 'bvander/refactor-registry-service' into 'master'
refactor registry service

See merge request grassrootseconomics/cic-staff-client!34
2021-06-22 20:49:25 +00:00
f13ae6dd2a refactor registry service 2021-06-22 20:49:25 +00:00
Spencer Ofwiti
2d76f63442 Fix meta update process 2021-06-15 16:49:26 +00:00
Spencer Ofwiti
8b1de5dcb5 Merge branch 'master' into spencer/keystore-singleton
# Conflicts:
#	src/app/_services/transaction.service.ts
2021-06-14 16:37:21 +03:00
Spencer Ofwiti
df008fcace Refactor keystore into singleton service. 2021-06-11 16:57:16 +03:00
Spencer Ofwiti
d90ab9f375 Update cic-client library. 2021-06-10 18:40:45 +03:00
Spencer Ofwiti
9439e25370 Add type to token service load subject. 2021-06-09 18:52:59 +03:00
Spencer Ofwiti
9363532284 Remove forceful parsing to JSON format. 2021-06-04 15:16:57 +03:00
Spencer Ofwiti
9782c919d5 Refactor calls to ussd service. 2021-05-26 10:26:11 +03:00
Spencer Ofwiti
a4c0e26be9 Clean up constructors. 2021-05-19 19:57:10 +03:00
Spencer Ofwiti
4e06b42cc6 Fix user traded accounts list. 2021-05-19 10:56:39 +03:00
Spencer Ofwiti
872bf65786 Refactor services to handle data from meta service. 2021-05-18 22:10:08 +03:00
Spencer Ofwiti
7a2321f444 Parse incoming data from meta into JSON format. 2021-05-18 19:06:57 +03:00
Spencer Ofwiti
9235c969fa Use limit to query account index. 2021-05-18 15:37:30 +03:00
Spencer Ofwiti
ac231dc03e Add token service load event. 2021-05-18 13:24:41 +03:00
Spencer Ofwiti
8ae6436460 Refactor registry service imports. 2021-05-18 12:38:27 +03:00
Spencer Ofwiti
1c926baf47 Format files with prettier. 2021-05-10 19:15:25 +03:00
Spencer Ofwiti
9921488a04 Add strong typing to variables and functions. 2021-04-29 20:10:39 +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
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
b3586e460b Add validation for account info coming from and going into the meta service. 2021-04-27 14:20:18 +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
1223ccc48e Retire internal registry class. 2021-04-20 11:28:40 +03: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
0ce75b2951 Scrap HttpWrapperService. 2021-03-21 14:02:18 +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
8af6b251b9 Refactor requests to utilize http wrapper service. 2021-03-14 11:19:25 +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
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
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
7165031fc8 Add pgp signer. 2021-02-17 13:00:38 +03:00
Spencer Ofwiti
9d2fdd687b Add connection to cic-meta. 2021-02-16 11:04:22 +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
94d2976e6c Completed form handling. 2021-02-08 14:47:07 +03:00
Spencer Ofwiti
156fa4067f Cleanup services to use mock backend. 2020-12-05 09:29:18 +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