Commit Graph

256 Commits

Author SHA1 Message Date
Spencer Ofwiti 81620600e3 Refactor token details into a presentation component. 2021-06-02 10:04:42 +03:00
Spencer Ofwiti 8de8e6a30b Fix token list. 2021-06-01 20:34:41 +03:00
Spencer Ofwiti 384071d3db Add account status to account info. 2021-05-26 19:02:06 +03:00
Spencer Ofwiti e5d555577e Add optional template filling for admin user info. 2021-05-26 18:34:03 +03:00
Spencer Ofwiti cfe558cccf Move online status tracker to sidebar. 2021-05-26 13:06:18 +03:00
Spencer Ofwiti 228bca564e Refactor footer. 2021-05-26 12:51:54 +03:00
Spencer Ofwiti 9fed6fcaf3 Add close event to transaction details presentation component. 2021-05-26 12:21:25 +03:00
Spencer Ofwiti 48ef7cd58d Refactor USSD url. 2021-05-26 11:53:44 +03:00
Spencer Ofwiti 16af939af7 Refactor transactions table to show address before loading account meta. 2021-05-26 11:30:38 +03:00
Spencer Ofwiti 9782c919d5 Refactor calls to ussd service. 2021-05-26 10:26:11 +03:00
Spencer Ofwiti cef7b8dc04 Refactor ussd service url. 2021-05-26 10:19:14 +03:00
Spencer Ofwiti c60d28a053 Add web3 singleton service. 2021-05-20 21:27:06 +03:00
Spencer Ofwiti a4c0e26be9 Clean up constructors. 2021-05-19 19:57:10 +03:00
Spencer Ofwiti 5baffa5fef Fix timestam. 2021-05-19 15:35:28 +03:00
Spencer Ofwiti 4e06b42cc6 Fix user traded accounts list. 2021-05-19 10:56:39 +03:00
Spencer Ofwiti 8ad736de20 Fix async pipe. 2021-05-19 09:32:35 +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 ecd9d72124 Fix http getter return format. 2021-05-18 18:04:20 +03:00
Spencer Ofwiti a16e8c9242 Fix account index. 2021-05-18 17:53:29 +03:00
Spencer Ofwiti be3d389078 Refactor transaction events generator into one interface. 2021-05-18 16:17:35 +03:00
Spencer Ofwiti a003bd7124 Add check for transaction in current transactions list. 2021-05-18 16:08:25 +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 405199cfe3 Refactor loop to avoid passing index limit. 2021-05-18 10:42:24 +03:00
Spencer Ofwiti 08fda5390a Fix ABI query using http getter. 2021-05-18 10:38:19 +03:00
Spencer Ofwiti 506be2eb5b Add private key user info to settings page. 2021-05-18 10:33:38 +03:00
Spencer Ofwiti 32fe670487 Merge branch 'master' into spencer/docs
# Conflicts:
#	package-lock.json
#	src/app/_helpers/http-getter.ts
#	src/app/_helpers/schema-validation.ts
2021-05-17 09:21:57 +03:00
Spencer Ofwiti 27914d4a7d Add reject body interface. 2021-05-17 09:06:07 +03:00
Spencer Ofwiti ff17d3b02f Refactor auth http requests. 2021-05-15 13:42:46 +03:00
Spencer Ofwiti 8a6040cd85 Remove deprecated dependencies. 2021-05-15 12:50:13 +03:00
Spencer Ofwiti c0d50df478 Add documentation to directives. 2021-05-15 12:17:11 +03:00
Spencer Ofwiti 5e809594c7 Merge branch 'master' into spencer/docs 2021-05-13 19:39:57 +03:00
Spencer Ofwiti 60b128b293 Refactor accounts query. 2021-05-13 19:29:44 +03:00
Spencer Ofwiti 51027dccfa Merge branch 'master' into spencer/docs
# Conflicts:
#	src/app/_eth/token-registry.ts
2021-05-13 19:02:53 +03:00
Spencer Ofwiti 6b704a4f19 Change token registry ABI. 2021-05-13 18:54:17 +03:00
Spencer Ofwiti 235a57f185 Merge branch 'master' into spencer/docs
# Conflicts:
#	src/app/_eth/accountIndex.ts
#	src/app/_eth/token-registry.ts
2021-05-13 18:18:05 +03:00
Spencer Ofwiti b47d0100b6 Update Registry ABI file. 2021-05-13 12:57:36 +03:00
Spencer Ofwiti 2699dc5bcc Update ABI files. 2021-05-13 12:17:59 +03:00
Spencer Ofwiti b68404eade Refactor order of item to follow alphabetical order. 2021-05-13 10:13:51 +03:00
Spencer Ofwiti 100c0faa90 Refactor PWA icon paths. 2021-05-12 17:11:38 +03:00
Spencer Ofwiti 7cb5efca8c Format files using prettier. 2021-05-12 17:10:42 +03:00
Spencer Ofwiti b209dc868d Refactor environments. 2021-05-12 16:38:24 +03:00
Spencer Ofwiti 5752a6db4d Fix icons path. 2021-05-12 16:37:52 +03:00
Spencer Ofwiti 9482fc604e Added hash location strategy. 2021-05-12 16:37:22 +03:00
Spencer Ofwiti 948554563d Add documentation to pgp module. 2021-05-12 13:21:18 +03:00
Spencer Ofwiti 948a735baf Finalize documentation on models. 2021-05-12 10:52:28 +03:00
Spencer Ofwiti ca985d7af7 Add documentation to models. 2021-05-12 09:40:21 +03:00
Spencer Ofwiti 508c1b5c94 Add documentation to interceptors. 2021-05-12 09:16:38 +03:00
Spencer Ofwiti 208c448984 Format docs using linter and prettier. 2021-05-11 20:51:48 +03:00
Spencer Ofwiti 5228842e61 Merge branch 'master' into spencer/docs
# Conflicts:
#	package-lock.json
#	package.json
#	src/app/_eth/accountIndex.ts
#	src/app/_eth/token-registry.ts
#	src/app/_guards/auth.guard.ts
#	src/app/_guards/role.guard.ts
#	src/app/_helpers/array-sum.ts
#	src/app/_helpers/clipboard-copy.ts
#	src/app/_helpers/custom-error-state-matcher.ts
#	src/app/_helpers/custom.validator.ts
#	src/app/_helpers/export-csv.ts
#	src/app/_helpers/global-error-handler.ts
#	src/app/_helpers/http-getter.ts
#	src/app/_helpers/mock-backend.ts
#	src/app/_helpers/read-csv.ts
#	src/app/_helpers/schema-validation.ts
#	src/app/_services/user.service.spec.ts
2021-05-11 20:41:47 +03:00
Spencer Ofwiti 29b75d3d85 Refactor environment variables. 2021-05-11 20:20:44 +03:00
Spencer Ofwiti 10beaea9be Format files with prettier. 2021-05-11 20:09:25 +03:00
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 e0c045cdfa Add documentation to the helpers module. 2021-05-11 14:34:23 +03:00
Spencer Ofwiti c9f73899c3 Add documentation to the guards module. 2021-05-11 12:28:45 +03:00
Spencer Ofwiti 2bc6dcf033 Add documentation to eth modules. 2021-05-11 12:05:04 +03:00
Spencer Ofwiti 8db1343bc5 Add docs. 2021-05-10 21:56:20 +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
Blair Vanderlugt 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
Blair Vanderlugt 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
Blair Vanderlugt 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
Blair Vanderlugt 8395946024 prod configs 2021-04-12 13:36:35 -07:00
Blair Vanderlugt 9a9b59513e updated pub key ep 2021-04-12 10:50:35 -07:00
Blair Vanderlugt 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
Blair Vanderlugt 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