Commit graph

195 commits

Author SHA1 Message Date
Clemente Raposo
e3508586d2 Upgrade angular cdk 2021-07-02 14:50:04 +00:00
Clemente Raposo
93b53c5713 Angular 12 upgrade 2021-07-02 14:50:04 +00:00
Clemente Raposo
137f84e7b5 Remove protractor dependency 2021-07-02 14:50:04 +00:00
Clemente Raposo
2a0f15ec17 Remove angular material dependency 2021-07-02 14:50:04 +00:00
Clemente Raposo
68d67b15bb Build 8.0.0-beta-2
- Increment package.json
- Update README.md
2021-05-20 13:55:20 +01:00
Dillon-Brown
367f576a00 Yarn Upgrade
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-04-15 12:31:18 +01:00
Dillon-Brown
10ad06e450 Build 8.0.0-beta-1
- Increment package.json
- Update README.md
2021-03-31 15:39:27 +01:00
Clemente Raposo
3eb305ba4f Move components, containers and views to core lib
- Move files to core lib
- Fix imports
- Fix unit tests configuration
- Fix configuration
- Use ng-dynamic-component no barrels version
-- enables using ng-dynamic-component in angular lib
2021-03-30 19:22:47 +01:00
Clemente Raposo
72f065bbda Change common exports to new standard 2021-03-30 19:22:46 +01:00
Clemente Raposo
fd0c915435 Add app core lib
- Move services, pipes, directives and stores into core
- Move misplaced interfaces into common
- Refactor messages service and component
-- Messages are stored in the services and not the component
-- Remove 2 way dependency
2021-03-30 19:22:45 +01:00
Clemente Raposo
2f0734bedf Move app-common to common lib
- Move files
- Update imports
2021-03-30 19:22:45 +01:00
Clemente Raposo
aad193930a Add dynamic module federation to build
- Re-setup karma / jasmine tests
-- Fix tsconfig paths
-- Remove no longer needed view and field test imports
-- Add test app-shell specific test command
-- Add karma/jasmine specific webpack configuration
2021-03-30 19:22:44 +01:00
Jack Anderson
f3a6d6273a Update NPM 2021-03-30 19:22:38 +01:00
Clemente Raposo
2475d517c3 Upgrade to Angular 11
- ng update angular upgrade

- Update dependent libs:
-- ngx-charts update to 17.0.0
-- ngx-boostrap update to 9.0.2
-- angular-svg-icon update to 11.0.0
-- ng-dynamic-component update to 8.0.1

- Fix format-number pipe
-- Follow new angular 11 method signatures
2021-03-30 19:22:38 +01:00
Clemente Raposo
e5032a8d51 Upgrade to Angular 10
- Upgrade angular version dependent libs:
-- @ng-bootstrap/ng-bootstrap
-- @swimlane/ngx-charts
-- ngx-chips
-- ng-animate
-- angular-svg-icon
--- Add AngularSvgIconModule.forRoot() to app module
-- ng-dynamic-component
--- Use Dynamic module
--- Remove dynamic module for root
--- Remove entryComponent declarations

- Replace lodash with lodash-es
-- For es module support and tree-shaking

- Add apollo related libs to allowedCommonJsDependencies:
-- graphql-tag
-- zen-observable

- Add @Component to base field classes
-- @Component or @Directive required for classes using ng features
-- Add base field module

- Jasmine/karma tests changes
-- replace async() with waitForAsync()
--- automatically done by angular

- Remove ANALYZE_FOR_ENTRY_COMPONENTS usages
-- angular ivy does not requires entry components declaration

- Fix unit tests
-- Replace BrowserAnimationsModule with NoopAnimationsModule
-- Add async await to message modal jasmine tests
--- Fixes sync problem in tests
-- Use AngularSvgIconModule.forRoot()
--- now required for AngularSvgIconModule to work
-- Replace TestBed.get with TestBed.inject
2021-03-30 19:22:38 +01:00
Dillon-Brown
2c2de976d3 Upgrade to Angular 10
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:38 +01:00
Dillon-Brown
365173ee03 Add postinstall script for compatibility compiler
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:38 +01:00
Dillon-Brown
51a0e25496 NPM Update
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:37 +01:00
Dillon-Brown
a5bb3c53b1 Update NPM
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:37 +01:00
Dillon-Brown
544adba1b3 Upgrade Apollo
- Added @ApolloClient.
- Upgraded Apollo-Client to V3.
- Upgraded Apollo-Angular to V2.

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:36 +01:00
Dillon-Brown
d43b1ab2df NPM Update
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:36 +01:00
Clemente Raposo
2c8b31dd0f Install lodash 2021-03-30 19:22:35 +01:00
Dillon-Brown
1754f2bb58 NPM Update
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:32 +01:00
Dillon-Brown
5aa63016ce Update NPM
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:32 +01:00
Mac Rae
186d6eaaeb Add support for firefox and headlesschrome in tests 2021-03-30 19:22:32 +01:00
Dillon-Brown
6446d62f5e Update NPM
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:31 +01:00
Clemente Raposo
5e594b73e4 Add enum field edit and detail mode components
- Add enum detail field component
- Add enum edit field component
- Install ngx-chips components
- Style ngx-chips components
- Use ngx-chips in enum edit field component
- Add karma/jasmine tests
2021-03-30 19:22:31 +01:00
Dillon-Brown
47ec74949c Update NPM
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:22:31 +01:00
Clemente Raposo
a016c171c8 Update ng-dynamic-component to version 6.1.0
- Needed due to angular 9 update
2021-03-30 19:22:29 +01:00
Clemente Raposo
6ec70ccc3e Update ng-boostrap to version 6.2
- Needed due to angular 9 update
2021-03-30 19:21:40 +01:00
Clemente Raposo
9ad9e189bc Update swimlane/ngx-charts charts version to latest 14.0.0
- update swimlane
- remove unused ng2-charts lib
2021-03-30 19:21:40 +01:00
Dillon-Brown
8bc1feb757 Upgrade to Angular 9
- NPM Audit fixes
- Update npm packages
- Fix front-end tests

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:39 +01:00
Clemente Raposo
f837f50f17 Add accounts types per month chart
- Add line chart rendering in charts component
- Rename chart to account_types_per_month
- Show all month number on x axis
- Group account data
- Add date parsing using luxon
-- Add luxon library
- Remove pipeline-chart to make chart centered
2021-03-30 19:21:39 +01:00
Dillon-Brown
a4797775de Implement chart module UI 2021-03-30 19:21:38 +01:00
Clemente Raposo
013d5c2919 Configure eslint typescript imports
- Fix false positive errors on eslist ts imports
- Add eslint-import-resolver-alias
-- Add typescript path aliases as eslint alias
- Add eslint-import-resolver-typescript
2021-03-30 19:21:35 +01:00
Dillon-Brown
2d42d40ce7 Create generic varchar component for list-view data
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:35 +01:00
Dillon-Brown
07cfbf4d37 Add default session expiration
- Sets default cookie lifetime to use PHP.ini value.
- Adds bn-ng-idle to handle idle user.
- Sets default timeout to 3600 seconds to log the user out and redirect to the login page.
- Displays a warning message to the user on session timeout.

Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-30 19:21:34 +01:00
Clemente Raposo
e8480b47b5 Re-direct to login upon backend logout
- Add graphql afterware to watch for errors
-- on Access Denied logout user
- Decouple AuthService logout from logout component
-- Get translated messages
- Clear cache upon logout
-- Add StateFacade interface
-- Add clear methods to interface
--- Add deep cloning of internal state to avoid errors
-- Add StateManager
- Adjust existing karma tests
- Add auth karma tests
2021-03-30 19:21:34 +01:00
Clemente Raposo
32f6ddd81b Add forgot password inputs to login component
- Add forgot password form inputs
- Add card flipping using fade
-- Add ng-animations lib
- Expose email appStrings label
- Only show forgot password when enabled on the backend
2021-03-30 19:21:33 +01:00
Dillon-Brown
0df81cbb98 Add eslintrc and all necessary dependencies to handle linting javascript/typescript
- Add engines to specify the engines needed to build and run the project.
- Add browserslist to dynamically handle our supported browsers with for all our automated tooling and inspections.
- Add typescript-eslint/eslint-plugin and typescript-eslint/parser to handle typescript parsing.
- Add eslint-plugin-compat to share configurations between our automated tools.
- Add eslint-plugin-import in order to create an eslint that matches our existing tslint config without losing functionality.
- Add eslint-plugin-jsdoc in order to create an eslint that matches our current tslint config without losing functionality.
- Add eslint-plugin-jasmine to provide support for jasmine testing.
- Removed unused tslint.json
2021-03-30 19:21:32 +01:00
Will
57005f75f1 Fix missing Angular SVG npm 2021-03-30 19:21:31 +01:00
Clemente Raposo
6cc736f623 Add Record GraphQL Api Service
- Add Apollo GraphQL client
- Add Record Query service
- Disable Apollo cache
2021-03-30 19:21:31 +01:00
Matt Lorimer
876000cdf6 Upgrade to angular 8 2021-03-30 19:21:31 +01:00
Matt Lorimer
c128d75452 Fix app ng commands
Restructure App folder
Fix references and missing files
2021-03-30 19:21:30 +01:00
Matt Lorimer
8338cae4d1 Add Node_modules to the root project directory 2021-03-30 19:20:14 +01:00
Renamed from core/app/engine/package.json (Browse further)