Commit Graph

231 Commits

Author SHA1 Message Date
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
4f0424ca11 Merge branch 'spencer/auth' into 'master'
Spencer/auth

See merge request grassrootseconomics/cic-staff-client!3
2021-02-17 11:32:27 +00: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
461f861b42 Merge remote-tracking branch 'origin/master' into spencer/auth 2021-01-15 08:05:48 +03:00
Spencer Ofwiti
0fffd9395e Merge remote-tracking branch 'origin/master' into spencer/transaction-list 2021-01-15 08:04:47 +03:00
Spencer Ofwiti
a9fcf35a54 Add switching between key input and passphrase input. 2021-01-15 07:58:39 +03:00
Spencer Ofwiti
3a98e1cbbc Merge branch 'spencer/ci-pipeline' into 'master'
Gitlab ci pipeline

See merge request grassrootseconomics/cic-staff-client!2
2021-01-15 04:56:58 +00:00
Spencer Ofwiti
4d920cdbe9 Add support for account index. 2021-01-15 07:30:19 +03:00
Spencer Ofwiti
f17cc1dff3 Refactor ci pipeline. 2020-12-28 19:00:16 +03:00
Spencer Ofwiti
06e141d519 Add docker image packaging stage. 2020-12-28 18:43:36 +03:00
Spencer Ofwiti
85d2f43b57 Bump docker images. 2020-12-28 14:43:53 +03:00
Spencer Ofwiti
f9785c81c9 Refactor ci pipeline. 2020-12-28 14:38:34 +03:00
Spencer Ofwiti
5549821f26 Refactor ci pipeline. 2020-12-28 14:31:42 +03:00
Spencer Ofwiti
5e74238df2 Refactor ci pipeline. 2020-12-28 14:23:16 +03:00
Spencer Ofwiti
99a0c39eb7 Refactor ci pipeline. 2020-12-28 14:16:10 +03:00
Spencer Ofwiti
3088970adc Refactor ci pipeline. 2020-12-28 14:12:10 +03:00
Spencer Ofwiti
d0642ad4d8 Add angular cli. 2020-12-28 14:02:37 +03:00
Spencer Ofwiti
749fb67eee Refactor ci pipeline. 2020-12-28 13:56:51 +03:00
Spencer Ofwiti
5424de5d9a Refactor ci pipeline. 2020-12-28 13:49:15 +03:00
Spencer Ofwiti
81d7a6540d Add docker setup. 2020-12-28 13:31:35 +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
3f22b1ab11 Refactor cic pipeline. 2020-11-25 19:53:41 +03:00
Spencer Ofwiti
259b06f87d Refactor ci pipeline. 2020-11-25 18:01:42 +03:00
Spencer Ofwiti
0745c3089d Add separate build and test stages. 2020-11-25 17:58:36 +03:00