59 Commits

Author SHA1 Message Date
Andy Stark
d152c367aa [ADF-2824] Doc review and minor changes to review checker tool (#3466) 2018-06-11 09:48:02 +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
davidcanonieto
3759a7967c ADF-2974] New Buttons Menu component version (#3429)
* [ADF-2974] Buttons injected from parent html component

* [ADF-2974] New version of buttons menu component

* [ADF-2974] Updated unit tests

* [ADF-2974] Updated documentation

* [ADF-2974] Removed unused variable

* [ADF-2974] Fixed failing test at analytics report parameters

* [ADF-2974] Removed fdescribe

* [ADF-2974] Moved mock inside testing file for buttons menu component
2018-06-07 00:07:54 +02:00
Andy Stark
28ba09897e [ADF-2764] Added new type linker features and applied them to core docs (#3442)
* [ADF-2764] Added basic support for composite and external types

* [ADF-2764] Added new type linker features and applied to core docs
2018-06-06 13:21:31 +02:00
Denys Vuika
2f51b9f2b8 [ADF-3118] translation support for notification service (snackbars) (#3427)
* translation support for snackbar

* unit tests
2018-06-04 10:58:21 +02:00
Popovics András
f543b07082 Add custom data holder for CardViewItems (#3422) 2018-06-01 13:37:02 +02:00
Denys Vuika
2bba93d80e update toolbar docs (#3423) 2018-06-01 13:27:05 +02:00
siva kumar
d4f57b8786 [ADF-3039] Task List - Enanchement (#3404)
* * Created DataColumnSchemaAssembler component to get column schema from html and app.config.json
* Removed column related  method  from tasklist.

* * Removed data property from the tasklist component
* Using rows input property instead of data input property of the datatable

* *  Renamed  DataColumnSchemaAssembler to DataTableSchema
* Refactored DataTableSchema component

* * Changed schem property into an  input schemaColumns property  in dataTable component

* * Added selectFirstRow input property to select a first row of datatable
* Removed unnecessary method from tasklist component

* * Added test case for the recent changes
* Added mock object for the tasklist spec

* * Added testcases for recent changes in the datatable component

* * Updated datatable and tasklist document for the recent changes

* * Refactored process-service and task list component
* Updated datatable document.

* [ADF-3039] Task List - Enanchement
* Changed schemaColumn name to columns
* Updated datatable documentation.
*  data input Annotated  with @deprecated in the tasklist component

* * Added an sorting input to the datatable.
* Updated datatable and tasklist documentation
* Added method to get current sorting order.

* * After rebasing

* * Revert  sorting changes

* * After rebase

* * fixed conflicts

* * Fixed failing testcase after rebased.
2018-06-01 09:39:09 +01:00
Andy Stark
24f95e34bb [ADF-2764] Fixed union type display glitches in property tables (#3419)
* [ADF-2764] Test commit to fix handling of union types in Github docs

* [ADF-2764] Fixed union type error in component docs
2018-05-31 16:05:20 +02:00
davidcanonieto
fa2613f096 [ADF-2753] Error Component throwing default error fixed (#3364)
* [ADF-1938] Overflowing text in reports section fidex

* [ADF-1938] Long names in report section now fit

* [ADF-1938] Reverted changes in container widget

* [ADF-2753] New error component created

* [ADF-2753] Unit test for Error Content Component

* Deleting unused files

* Deleting unused files

* Deleting unused files

* [ADF-2753] Documentation added

* [ADF-2753] Error Component throwing default error fixed

* [ADF-2753] White space removed

* [ADF-2753] Removed unnecessary files and updated trnaslation file

* [ADF-2753] Changed link for button in error component

* [ADF-2753] Updated doc file

* [ADF-2753] Removed fdescribe

* [ADF-2753] Improved code coverage
2018-05-30 13:51:04 +02:00
Denys Vuika
3162a73f61 [ADF-2541] reset datatable selection when rows are changed from code (#3410)
* reset selection when rows are replaced from code

* code fixes

* unit test updates

* visualise selection count for testing purposes

* make row selection api public

* remove question mark from the event name
2018-05-30 12:53:12 +02:00
siva kumar
9eae0fcc8f [ADF-3082] Task Filter - Custom Task filters don't work (#3402)
* [ADF-3082] Custom Task filters don't work.

* Added an sorting input to the datatable.
* Updated documentation for the recent changes.
* Added testcases for the recent changes.

* [ADF-3082] Custom Task filters don't work

* Added a sorting input to the datatable
* Added testcases to the recent changes.
* Updated doc for the recent changes.

* * Refactored task/process list dataSort.

* * Refactored process/task list datasort method
2018-05-30 09:27:08 +01:00
Cilibiu Bogdan
648ac585b4 [ADF-2627] Icons-only mode for Info Drawer (#3398)
* tab with icon

* docs

* test
2018-05-26 11:18:28 +02:00
Andy Stark
85ff224e26 [ADF-2824] Reviewed docs for new components in 2.4 (#3400) 2018-05-25 14:43:40 +02:00
Andy Stark
3bbabb5dad [ADF-3087] Clarified section about adding/replacing keys in i18n guide (#3392)
* [ADF-3087] Clarified section about adding/replacing keys

* [ADF-3087] Corrected information in i18n and translation service docs
2018-05-25 11:10:21 +01:00
Andy Stark
41777e0540 [ADF-2764] Applied new doc tool features to core library (#3383) 2018-05-23 19:30:48 +01:00
Cilibiu Bogdan
89ede1514b remove redundant logic (#3361) 2018-05-22 16:47:08 +01:00
davidcanonieto
70d93805d4 [ADF-2753] New error component (#3336)
* [ADF-1938] Overflowing text in reports section fidex

* [ADF-1938] Long names in report section now fit

* [ADF-1938] Reverted changes in container widget

* [ADF-2753] New error component created

* [ADF-2753] Unit test for Error Content Component

* Deleting unused files

* Deleting unused files

* Deleting unused files

* [ADF-2753] Documentation added

* [ADF-2753] Fixed minor bugs

* [ADF-2753] Authentication not needed to view error

* add error handler

* tslint fix

* router app component

* remove unused import

* fix import modules

* limit to 404

* destroy fixture after any test

* misspelling error
2018-05-19 01:20:49 +01:00
Denys Vuika
07440731fa [ADF-2131] Search sorting (#3334)
* sorting configuration

* detect primary sorting and use with document list

* search results sorting

* docs update

* unit tests and code updates

* update code

* update code

* generic sorting picker, test updates

* ability to switch off client side sorting

* update docs for document list
2018-05-18 14:33:28 +01:00
Eugenio Romano
9772b2308a
about component (#3337) 2018-05-17 09:58:22 +01:00
Denys Vuika
db7d0b7c08
[ADF-2961] support for protocol substition in app config files (#3324)
* support for protocol substition in app config files

* Update app-config.service.spec.ts

* Update app-config.service.spec.ts
2018-05-15 13:10:27 +01:00
camorra-skk
84a9837789 [ADF-2888] UX doesn't respect the Sidenav specifiactions (#3303)
* [ADF-2771] Sidebar action menu component - UX review

* Add a input property to set the width of sidebar-action-menu.

* [ADF-2888]  UX doesn't respect the Sidenav specifiactions

* Add a input property to set the width of sidebar-action-menu.
2018-05-14 10:00:05 +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
Denys Vuika
b66154773a [ADF-2973] Angular pipe to get application configuration settings (#3301)
* app config pipe

* update docs
2018-05-10 14:25:45 +01:00
Georgiana Roman
440c666583 [ADF-2626] added preserved state functionality for sidenav component (#3278)
* [ADF-2626] added preserved state functionality for sidenav component

* [ADF-2626] changed logic for preserving the sidenav component state

* [ADF-2626] added missing curly brace }

* [ADF-2626] small changes on logic based on pr comments

* [ADF-2843] added tooltip for create folder and edit folder icons from Content Services

* Revert "[ADF-2843] added tooltip for create folder and edit folder icons from Content Services"

This reverts commit d5a7abb65b5bbfd024b44aa7e331e688aa13eb60.

* [ADF-2626] changed casting

* [ADF-2626] updated documentation with event

* [ADF-2626] removed app-config pipe because it was not being used
2018-05-10 10:21:30 +01:00
Andy Stark
06992196cd [ADF-2824] Reviewed docs for core and content services (#3290)
* [ADF-2824] Reviewed card view docs

* [ADF-2824] Reviewed doc for core and content services

* [ADF-2824] Added class name exception to prop script
2018-05-09 15:03:22 +01:00
Andy Stark
c824e646de [ADF-2905] Updated JSDocs for core (#3271) 2018-05-04 19:03:13 +01:00
Andy Stark
71ee4cf028 [ADF-2847] Added class members heading to core docs (#3260) 2018-05-03 10:33:46 +01:00
Andy Stark
a9ab0af640 [ADF-2847] Added class members heading to core docs (#3255) 2018-05-02 16:44:04 +01:00
Eugenio Romano
6e446710e1 move button doc 2018-04-27 15:35:27 +01:00
Eugenio Romano
8872706eab
[ADF-2563] Upload new version information dialog (#3235)
* add majorVersion param
move common part in base class

* refactor upload queue

* fix after refactoring

* add comment functionality in versioning
add minor and major option in versioning
add animation in versioning
add new functionality in demo shell

* add animation test

* add missing properties test and base upload class

* fix reload after new version upload [ADF-2582]

* update documentation

* update doc and fix minor style issues

* fix tslint error

* change cachebuster

* ADF-2672 version manager disable buttons

* [ADF-2649] hide show actions in version list

* fix tests
2018-04-26 14:57:55 +01:00
Denys Vuika
edee2f12b6 [ADF-2589] conditional visibility for DL/DT components (#3223)
* watch data columns and update layout if needed

* update docs

* support DataTable, docs and tests
2018-04-24 10:06:32 +01:00
Popovics András
ee9393caf0 [APM-7] Feature enhancement for the create and edit folder directive (#3179)
* Add observable menu open state to the sidenav-layout component

* add documentation, fix inversed value

* Add success events to folder create/edit directives

* Overridable dialog titles for the directives

* Update the documentation
2018-04-17 20:27:41 +01:00
Andy Stark
02620f5563 [ADF-2670] Final doc checks for release (#3205)
* [ADF-2670] Fixed files with wrong name or location

* [ADF-2670] Fixed display glitch with tutorial index
2018-04-17 13:02:12 +01:00
Andy Stark
460e33ccdb [ADF- 2670] Checked and updated docs for 2.3 (#3197)
* [ADF-2670] Reviewed docs for 2.3 with only minor changes

* [ADF-2670] Checked and updated docs for 2.3
2018-04-16 15:51:29 +01:00
Alex Bolboșenco
66d8935624 [ADF-2676] Demo shell pagination bug fix (#3174)
* Demo shell pagination bug fix

* tslint error fix

* user preferences service fix

* refactor

* refactor

* refactor

* unit tests added

* unit tests fix

* [ADF-2676] added documentation for app config onChange stream

* [ADF-2676] renamed onChange stream to onLoad stream

* [ADF-2676] fixed test
2018-04-14 02:47:06 +01:00
Andy Stark
0d2f0b7b84 [ADF-2670] Updated doc indexes for 2.3 (#3183)
* [ADF-2670] Updated doc indexes for 2.3

* [ADF-2670] Clarified explanation of sharedLinkId property in Viewer

* [ADF-2670] Updated review checker for new doc folder structure
2018-04-12 16:46:35 +01:00
Andy Stark
014f2ab26c [ADF-2670] Added new docs for 2.3 features (#3181) 2018-04-12 12:32:19 +01:00
Andy Stark
38de016893 [ADF-2670] Reviewed sidenav docs and updated index files (#3172)
* [ADF-2670] Updated indexes and reviewed sidenav docs

* [ADF-2670] Rebuilt index files after doc file change
2018-04-11 14:27:42 +01:00
Andy Stark
2a5fe7ad28 [ADF-2596] Fixed inputs with incorrect names (#3166)
* [ADF-2596] Updated prop script to handle names from input decorators

* [ADF-2596] Fixed inputs with accessors

* [ADF-2596] Fixed remaining inputs with wrong names

* [ADF-2596] Updated prop script to handle names from input decorators

* [ADF-2596] Fixed inputs with accessors

* [ADF-2596] Fixed remaining inputs with wrong names
2018-04-10 17:19:15 +01:00
Denys Vuika
11d38efe2b [ADF-2625] updating viewer on node editing (#3160)
* update viewer on metadata changes

* add test and docs
2018-04-10 11:00:35 +01:00
Eugenio Romano
07c247ca11 [ADF-2500] fix trashcan bug plus refactoring documentlist (#3136)
* [ADF-2500] The full content of Trashcan is not displayed.

fix pagination problem and add tests

* refactor code

* custom resources services

* move custom resources in separate service part 2

* move custom resources in separate service part 3

* move isCustomResources in custom resources

* move getCorrispondinNodeIds in custom services

* reorganize code

* add pagination interface

* remove permissions check document list and use the common cs method
remove the merge option and move it in the paginator

* make infinte scrolling always use the target

* restore loading infinite page

* fix license header

* fix type problems

* breadcrumb test service

* fix test

* export CustomResourcesService

* fix test pagination

* fix content ndoe test

* remove timeout content node selector test

* fix after rebase

* ripristinate observalbe in search service

* fix wrong type return stub document list test

* fix search service

* fix test document list

* move handle error in common method

* restore observable in search control

* Update search-control.component.spec.ts

* fix after rebase

* add import switchmap

* core import in karma conf

* missing commas

* fix mocks

* fix mock searchquerybody

* search test fix
2018-04-09 10:31:43 +01:00
Andy Stark
1d517d3a8a [ADF-2557] Updated docs with new props script (#3149)
* [ADF-2557] Updated docs for services with new props script

* [ADF-2557] Updated service docs with new props script
2018-04-08 16:23:04 +01:00
siva kumar
313d7f30cf [ADF-2614] Edit icon misses in Info-drawer Assignee (#3145)
* [DW-488] Edit icon misses in Info-drawer Assignee

* * Added unit testcases for the recent changes .

* * Updated card-view doc for the recent changes made.

* * Fixed failing taskHeader testcases
2018-04-06 12:49:38 +01:00
Mario Romano
653a510a5c [ADF-2588] make comment component compatible with content (#3128) 2018-03-30 11:13:38 +01:00
Andy Stark
717dbfb388 [ADF-2557] Updated doc files with new script and fixed script bugs (#3135) 2018-03-29 17:02:40 +01:00
Popovics András
0aba5bb1b5 [ADF-2559] Sidenav layout (#3119)
* First step of extraction

* Add sidenav-layout to demo-shell

* Fix some sidenav-layout styles

* Fix tests

* Add documentation

* Fix typescript transpiler's stomache

* Modify component's directive's interface

* Enrich documentation

* Another documentation enrichment

* Fix tests and mobile expanded issue
2018-03-28 13:49:52 +01:00
Andy Stark
ea0f783015 [ADF-2451] Reviewed component docs (#3113)
* [ADF-2451] Reviewed component docs

* [ADF-2451] Updated review date on tasklist service docs
2018-03-22 17:27:30 +00:00
Andy Stark
36625c1af6 [ADF-2451] Reviewed component docs (#3108)
* [ADF-2451] Reviewed component docs

* [ADF-2451] Reviewed component docs

* [ADF-2451] Renamed node share directive doc fileand rebuilt index
2018-03-22 09:34:26 +00:00