Denys Vuika
6f968f7e4a
[AAE-5637] Remove SCSS mixins and use CSS variables ( #7250 )
...
* remove default-class mixin and use regular import
* cleanup colors
* remove variables file, fix bugs in animations
* proper ordering of imports, core css vars
* cleanup snackbar and material themes
* tags component
* login component styles
* app login
* toolbar component styles
* breadcrumb styles
* dropdown breadcrumb
* app layout component
* demo shell: files component
* aspect list styles
* content metadata styles
* node selector
* name location cell
* node share dialog
* content type dialog
* folder dialog
* document list
* datatable theme
* pagination theme
* viewer theme
* viewer theme
* user-info theme
* container widget
* dynamic table theme
* form widgets
* form theme
* form renderer
* sidebar menu
* header theme
* info drawer theme
* comment list
* commens and layout container
* sidenav layout
* empty content
* error content
* clipboard theme
* search input
* tooltip card and notification history
* card view theme
* remove unused keys
* add permission dialog
* search and permission dialogs
* version comparison and column themes
* upload drag area and cleanup references
* remove the need for content styles
* insight components
* cleanup insights theme
* process components
* process components
* process cloud themes
* cleanup unsed imports
* cleanup mixins
* update build scripts
* test fixes
* remove fdescribe
* css fixes
* update unit tests
2021-09-29 13:17:05 +01:00
Denys Vuika
829805e201
[ADF-5432] component template and code fixes after testing Angular strict mode ( #7118 )
...
* process list fixes
* template error fixes
* template and code fixes
* bug fixes in templates and types
* bugs, bugs are everywhere
* fix test
* test fixes
* enable strict templates for extensions lib
* enable strict mode for insights lib
* enable strict mode for core lib
* enable strict mode for content lib
* strict mode for process lib
* strict mode for process cloud
* fix demo shell template issues
* fix process cloud types
2021-06-22 16:36:06 +01:00
Denys Vuika
e94b2f99bd
[ADF-5406] SCSS and HTML template path fixes ( #7063 )
...
* remove useless mixin
* fix scss paths
* style fixes
* fix styles
* style fixes
* style fixes
* style fixes
* style fixes
* insights fixes
* css and template path fixes
* bug fixes
2021-06-01 09:21:00 +01:00
Maurizio Vitale
3c5d5dc02d
[ADF-5332] Login basic auth - Ability to override the successRoute from app.config.json ( #6651 )
...
* ability to override successRoute from app.config
* Add basic doc
* Reset the appconfig
* Rebase and handle login errors
* Remove the default route /
* remove space
2021-02-12 16:03:10 +00:00
Maurizio Vitale
419fc166c4
Do redirect before implicit button ( #6574 )
...
* Do redirect before implicit
* Add unit to implicit and silent
* Keep the value as it was before
2021-01-25 17:06:35 +00:00
Eugenio Romano
8f0633b133
[MNT-21636] Fix redirect URL for viewer ( #6564 )
...
* fix redirect URL for viewer
* fix unit
fix login SSO show when user is logged in
* update js-api
* remove protractor change
2021-01-22 17:17:14 +00:00
Eugenio Romano
1c51b2a1a6
Use hash strategy in demo shell as the other apps ( #6402 )
...
* hash startegy
* use hash in e2e
* trigger build
* fix
* fix
* remove children router overwrite crazynes
* Update login.module.ts
* revert not needed changes
* some fixes
* fix
* remove fdescribe
* fix
* fix
* Update share-file.e2e.ts
* Update lock-file.e2e.ts
* Update share-file.e2e.ts
* some fix
* some other fixes
* username as id
* fix after rebase
* username
* fix usernamee
* Fix the errorComponent
* Attempt to fix unit test - to check
* * Fixed circular dependency error while building adf-testing package
* * Fixed failing UT
* fix
* use username
* some fixes
* some fix
* fix
Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-12-16 18:46:56 +00:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 ( #5834 )
...
* remove useless module
* upgrade to angular 8
* upgrade material to v8
* upgrade adf libs
* migrate demo shell to v8
* upgrade to angular 9
* upgrade material to v9
* remove hammer
* upgrade nx
* upgrade datetime picker
* upgrade flex layout
* update core api
* remove entry components
* code fixes
* upgrade testbed usage
* code fixes
* remove unnecessary core-js from tests
* upgrade CLI
* ts config fixes
* fix builds
* fix testing config
* compile fixes
* fix demo shell dev setup
* fix core tests
* fix card view import
* upgrade nx
* disable smart builds for now
* remove fdescribe
* restore smart builds
* fix issues
* unify tsconfigs and fix newly found issues
* fix configuration and cleanup package scripts
* improved production build from the same config
* use ADF libs directly instead of node_modules
* disable smart build
* single app configuration (angular)
* fix core build
* fix build scripts
* lint fixes
* fix linting setup
* fix linting rules
* various fixes
* disable affected libs for unit tests
* cleanup insights package.json
* simplify smart-build
* fix content tests
* fix tests
* test fixes
* fix tests
* fix test
* fix tests
* disable AppExtensionsModule (monaco example)
* remove monaco extension module
* upgrade bundle check rules
* fix insights tests and karma config
* fix protractor config
* e2e workaround
* upgrade puppeteer and split linting and build
* reusable resources config
* update protractor config
* fix after rebase
* fix protractor config
* fix e2e tsconfig
* update e2e setup
* Save demoshell artifact on S3 and remove travis cache
* Push the libs on S3 and fetch before releasing it
* Add deps
* Add dependencies among libs and run only affected unit test and build
* fix the travis stage name
* fix after renaming dev to demoshell
* force the order of the projects
* remove unused dependencies
* fix content e2e script
* exit codes fix
* add extra exit codes to core e2e
* postinstall hook and package cleanup
* cleanup packages
* remove deprecated code and dependency on router
* improve bundle analyzer script
* minor code fixes
* update spec
* fix code after rebase
* upgrade protractor after rebase
* fix e2e mapping lib
* Update tsconfig.e2e.json
* update e2e tsconfig
* fix angular config
* fix protractor runs
* cache dist folder for libs
* update material selectors for dropdowns
* selector fixes
* remove duplicated e2e that have unit tests already
* fix login selector
* fix e2e
* fix test
* fix import issues
* fix selector
* cleanup old monaco extension files
* cleanup demo shell login
* add protractor max retries
* disable customisations of protractor
* fix login validation
* fix after rebase
* fix after rebase, disable latest versions of libs
* Hide the report tab and rollback the localstorage
* rename protractor config back to js
* restore lint as part of build
* cleanup code
* do not copy anything to node_modules on dist test
* fix unit tests
* config fixes
* fix code
* fix code after rebase
* fix tests
* remove existing words from spellcheck
* remove useless directive decorators
* update package.json after rebase
* add js-api back
* code fixes
* add missing export
* update configs
* fix code
* try fix the sso login test
* fix
* remove puppeteer unit
* fix e2e script
* fix
* make provider easy
* fix routes module before upgrade
* fix unit tests
* upgrade angular cli
* upgrade to angular 10
Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Denys Vuika
a0926a38d8
Minor code and style fixes ( #5398 )
...
* type fixes
* import fixes
* fix typos
* fix warning for private props that init in ctor only
* typing fixes
* typing fixes
* style cleanup
* fix test template
2020-02-09 22:03:32 +00:00
Eugenio Romano
7d36400dbd
Remove discovery ( #5212 )
...
* remove discovery
* remoce discovery test
* fix save remote
* use host acs to save screenshot
* fix e2e
* remove invalid test
* fix the package version
2019-11-05 14:15:54 +00:00
Denys Vuika
d7ab0417b8
[AAE-622] No implicit returns ( #5157 )
...
* enable noImplicitReturns rule
* type fixes
* fix return types
* fix return value
* fix tests
* fix visibility service
* update tests
* add missing types
* fix test
2019-10-17 09:35:39 +01:00
Eugenio Romano
210f1d8f59
[ #4961 ] Angular v9 (ivy) compatibility fixes #5153 ( #5156 )
...
* Angular 9 compatibility: add explicit types to prevent automatic deep imports
If you do not provide an explicit return type to a function then TypeScript
will try to guess it and create a dynamic import type for the `.d.ts` files.
Often the imports incorrectly point to a path deep within a package,
rather than accessing the type via the correct public facing import.
From Angular v9, using ivy, such deep imports cause compilation
errors and will prevent this library from being used for ivy enabled
applications.
This commit fixes this problem for a component and a service that
the adf-core library exports.
* Angular 9 compatibility: import DOCUMENT from `@angular/common`
In Angular 7 importing `DOCUMENT` from `platform-browser` was
deprecated, and it was removed completely in Angular 8.
* fix type afterlast alpha
* fix type after last alpha
* fix types demo shell
2019-10-15 15:22:42 +01:00
Cilibiu Bogdan
3453cacaea
[ADF-4802] Login accessibility ( #4988 )
...
* login button aria label
* password toggle accessibility
* translation
* fix test
* fix automation if
2019-08-12 16:41:32 +01:00
Denys Vuika
1abb9bfc89
[ADF-4745] memory leak fixes ( #4931 )
...
* fix app-layout component
* fix card-view component
* fix cloud-layout service
* code fixes
* code fixes
* even more fixes
* even more fixes
* lint fixes
* test fixes
* fix code
* remove useless pipes
* fix code owners
* enable spellcheck for cloud components
* update test
* update test
2019-07-16 15:56:00 +01:00
Eugenio Romano
d9a251a0c8
Clean unit test in login component and site ( #4908 )
...
* sanatize login style
* remove unusefull test in site api
2019-07-08 16:54:34 +01:00
Denys Vuika
a7a48e8b2b
enable prefer-const rule for tslint, fix issues ( #4409 )
...
* enable prefer-const rule for tslint, fix issues
* Update content-node-selector.component.spec.ts
* Update content-node-selector.component.spec.ts
* fix const
* fix lint issues
* update tests
* update tests
* update tests
* fix code
* fix page class
2019-03-27 09:55:30 +00:00
Marouan Bentaleb
355971e0ad
[ADF-4195] Automation tests for SSO login with implicitFlow false ( #4410 )
...
* [ADF-4195] Automation tests for SSO login with implicitFlow false
* rebase
* fix test sso implicit flow false
* lint fix
* fix test
2019-03-19 15:00:26 +00:00
Denys Vuika
f6341e31a0
[ADF-4183] improved auth redirection ( #4399 )
...
* base auth guard implementation
* remove code duplication
* unit test fixes
2019-03-06 13:14:23 +00:00
Eugenio Romano
aba5674e80
[ADF-3735] SSO Role guard and Login error improvement ( #4377 )
...
* fix lint and doc
* Update auth-guard-sso-role.service.md
* Update auth-guard-sso-role.service.md
* fix json en
* restore en.json file
2019-03-06 09:53:43 +00:00
Eugenio Romano
c55cba5514
license header update 2019 ( #4300 )
2019-02-12 01:18:43 +00:00
Eugenio Romano
7d061b2c11
[ADF-1873] Remove all deprecated code from ADF ( #4145 )
...
* remove deprecated code part 1
* remove deprecation step 2
* fix spellcheck
* fix
* fix lint
* fix not used import
* remove deprecation
* fix test first part after remove deprecation
* fix test
* fix sidebar demo shell
2019-01-15 15:36:01 +00:00
Denys Vuika
b5f9036545
[ADF-3784] support for browser cultures (i18n) ( #4066 )
...
* support language cultures
* update docs
* fix typo
* fix tests
* correctly replace fallback translations
* login dialog fixes
* fix error component
* [denys-i18n-cultures] Fix error content unit tests
2018-12-20 16:41:56 +00:00
Eugenio Romano
34a30c0f14
tslint arrow-parens rule ( #4003 )
2018-11-23 01:06:56 +00:00
Denys Vuika
e39a2b149b
[ADF-3591] spellcheck support for code ( #3827 )
...
* setup spellcheck
2018-10-23 15:05:38 +01:00
Eugenio Romano
bb6bb4fe0f
remove not needed params
2018-09-25 21:54:35 +01:00
Vito
a0b452bf83
[ADF-3499] adding new dialog for external content file ( #3799 )
...
* [ADF-3499] start creation of login dialog component with extra auth service feature
* [ADF-3499] adding new dialog for external content file
* [ADF-3499] fixed condition for pop up and added prefix ticket
* [ADF-3499] fixed smartfolder bug for content node selector
* [ADF-3499] disabling preview after uploading for external resource files
* [ADF-3499] fixed unit test for document list service
* [ADF-3499] added unit test to new components
* [ADF-3499] added translation and some fix
* [ADF-3499] fixed labels
* [ADF-3499] fixed problem with node and node entry for smart folders
* [ADF-3499] fixed compilation problem
2018-09-25 21:46:54 +01:00
Andy Stark
a7cdcbf7b9
[ADF-3551] Doc review updates ( #3789 )
...
* [ADF-3551] Updated docs plus minor ToC tool fix
* [ADF-3551] Updated docs and JSDocs
* [ADF-3551] Updated docs and JSDocs
2018-09-13 18:08:47 +01:00
Denys Vuika
6b24bfb1d4
[ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 ( #3579 )
...
* upgrade to HttpClient
* upgrade to Renderer2
* upgrade Document reference
* remove useless test with deprecated ReflectiveInjector
* upgrade to latest typescript
* upgrade libs
* upgrade package scripts
* remove rxjs blacklists and duplicate rules
* add rxjs compat to help with migration
* fix breaking changes
* fix breaking changes in material
* fix breaking changes (material 6)
* upgrade rxjs, ngx-translate and flex layout
* update unit tests
* restore providers
* upgrade deprecated Observable.error
* rebase
fix first configuration problems
* fix style issues commented
* fix core build
* fix lib template errors
* move lib test execution in angular.json
* ignore
* karma conf files
* fix import statement test
* single run option
* update packages reporter
* restore report
* increase timeout
* improve karma conf test configuration
* fix test issues about lint
* fix test analytics
* fix process service test
* content service fix test
* fix logout directive test
* fix core test
* fix build
* update node-sass to latest
* update angular cli dependencies
* improve build script
create directorites and move files only if previous command succeded
* upgrade individual libs to 6.0
* remove old webpack files
* revert sass change
* fix type issues
fix style issues
* fix tslint demo shell issue
* fix peerdependencies
* fix test e2e BC
* package upate
* fix style import issue
* extract-text-webpack-plugin beta
* fix test dist build command
* remove alpha js-api
* fix tslint issue
add banner tslint rule
* upload service fix
* change BC script
* fix test dist script
* increase demo shell timeout test
* verbose copy
* path absolute
* fix script bc
* fix copy part
* fix path warning
fix monaco editor
* remove duplicate header
* remove unused import
* fix align and check ago tests
* add missing import
* fix notification button selector
* [ANGULAR6] fixed core tests
* fix CS test
* fix cs test step 2
* increase travis_wait for dist
* fix attachment PS
* fix checklist test
* use pdf min
2018-08-14 15:42:43 +01:00
Eugenio Romano
ebbf4c30a0
fix login oauth cookie problem ( #3508 )
...
* fix login don't check the cookie in oauth2
* fix test
* check boolean storage
2018-06-20 12:08:35 +01:00
Eugenio Romano
8966e22487
[ADF-3191] Fix userprefrence oauth2 ( #3488 )
...
* remove user preference setting save
* fix host setting test
* remove userPreferences test
* fix title service test
* remove unused imports
* restore input align
* fix service import in test tag rating
2018-06-15 08:32:16 +01:00
Cilibiu Bogdan
c0de0d5087
[ADF-3181] Auth Guard - redirect by string url ( #3474 )
...
* redirect by string url
* auth guard tests fix
* revise
2018-06-14 10:19:34 +01:00
Eugenio Romano
afdedf02d1
[ADF-3191] Not able to login only to BPM or ECM ( #3478 )
...
* disable random test
* host setting component reset JS-API
* reload api after user prefrence change
* remove replicate reset
* missing semicolon
* deprecate provider property
* remove trailing space
* check new value before to set
2018-06-13 16:05:35 +01:00
Maurizio Vitale
f8e92b2fb0
[ADF-2795] SSO implicitflow ( #3332 )
...
* Enable OAUTH2
* Create SSO services
* SSO improvements
* Rollback sso login change
* Add SSO configuration from Setting component
* Refactoring
* Remove login ECM/BPM toggle and move use the userpreference instead of store
* fix host setting unit test
* Fix unit test missing instance
* use the Js api oauth
* add logout component and clean sso not used class
* fix dependencies cicle
* add translation settings
* fix style setting page
* clean
* JS APi should receive the oauth config from the userPreference and not from the config file
* change login if SSO is present
* missing spaces
* add sso test in login component
* add logout directive new properties test
* Improve host setting and remove library reference
* fix login test
* Remove unused code
* Fix authentication unit test
* fix authguard unit test
* fix csrf check login component
* fix unit test core and demo shell
* remove
2018-06-08 00:19:58 +02:00
Andy Stark
581867ad66
[ADF-3142] Added missing info about 'remember me' in login docs ( #3448 )
2018-06-07 15:21:40 +02:00
Maurizio Vitale
0ebd4c62e3
Only the username form control should be emitted ( #3333 )
2018-05-16 15:45:39 +01:00
Denys Vuika
6e5d6ea3bb
[ADF-2930] general purpose "Empty Page" component ( #3296 )
...
* empty content component
* fix selector name
* style fixes
* cleanup code
* docs for empty content
* update docs
* update docs
* use typography for icon
* layout fixes for Login (ported from ACA)
2018-05-10 16:13:53 +01:00
Cilibiu Bogdan
d456b3cba1
[ADF-2904] Search - redirect breaks application ( #3268 )
...
* set navigation commands over plain string
* fix test
* lint
2018-05-08 14:46:35 +01:00
Eugenio Romano
1a97cc00c0
fix login ts
2018-02-22 14:59:42 +00:00
Eugenio Romano
f19ade65d3
remove password from login success event
2018-02-22 14:43:12 +00:00
Eugenio Romano
a863631f0d
[ADF-2149] Update ng-packagr to 2.0.0 ( #2935 )
...
* ng-packagr version 2.0.0 core fixes
* fix content services jsdoc
* fix process service jsdoc
* last update new build 2.0.0
* fix comment jsdoc
2018-02-13 10:37:03 +00:00
Andy Stark
900fd70d63
[ADF-1769] Added prop tables and fixed script ( #2896 )
...
* [ADF-1769] Added prop tables and fixed script
* [ADF-1769] Corrected JSDoc formatting errors
* [ADF-1769] Restored default column to prop tables
2018-01-31 09:22:05 +00:00
Vito
77f6c51dc2
[ADF-2200] fixed problem with redirection url ( #2877 )
...
* [ADF-2200] fixed wrong handling of redirectUrl
* [ADF-2200] fixed problem with redirection url
* [ADF-2200] fixed redirection config path
* [ADF-2200] fixed wrong fdescribe test
* [ADF-2200] removed authserviceMock and fixed some tests
2018-01-25 11:48:47 +00:00
Andy Stark
72cfd7894d
[ADF-1769] Added JSDoc for components ( #2823 )
...
* [ADF-1769] Added JSDoc for components
* [ADF-1769] Fixed tslint error with trailing whitespace
2018-01-12 13:25:54 +00:00
Eugenio Romano
9b7e018f93
[no issue number] fix unsubscribing in documentlist ( #2740 )
...
* fix unsubscribing in documentlist
* fix tslint errors
2017-11-27 17:51:18 +00:00
Eugenio Romano
f629f48d16
[ADF-1968] [IE11] The login page is not loading and import fix ( #2679 )
...
* fix viewer script
export insights and diagram
remove requires svg
fix new data adapter path
dist working with diagrams commented out
change use of minimatch
fix unused import
remove unused component
fix test
new import moment es6 and throw rxjs
fix import analytics test
fix imports rxjs
new pacakging
* fix after rebase
* fix test upload services
* exclude temporarily button event test
* restore commented demo shell files
* fix process spy
2017-11-22 10:33:56 +00:00
Eugenio Romano
a52bb5600a
New packages org ( #2639 )
...
New packages org
2017-11-16 14:12:52 +00:00