66 Commits

Author SHA1 Message Date
dhrn
c684d5f50c
[ADF-4341] Customise the property title into the InfoDrawer from configuration (#5556)
* [ADF-4341] Customise the property title into the InfoDrawer from configuration

* * docs added

* * removed unnecessary logic and docs updated
2020-03-25 11:05:11 +00:00
davidcanonieto
144da83d0e
[ADF-4559] Add chips to multivalue metadata properties (#5552)
* [ADF-4559] Add chips to multivalue metadata properties

* Fix app config schema

* Restore app config

* Fix checkListIsSorted method

* Fix e2e datatable sorting

* Fix e2e tests

* Improve chips input
2020-03-23 13:02:01 +00:00
davidcanonieto
3fcf965eca
[ADF-4673] Add editable property to metadata config (#5557)
* [ADF-4673] Add editable property to metadata config

* Add readonly mode for aspect oriented config

* Fix linting
2020-03-20 22:16:35 +00:00
Cilibiu Bogdan
82b0879b0f [ADF-4810] sso public urls configuration (#5102)
* update OAUTH schema and model

* update demoshell config for public urls
2019-09-26 13:37:48 +01:00
davidcanonieto
a0d4160c11 [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers (#4926)
* [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers

* Unsubscribe from userPreference service

* Make Pipe impure

* Add documentation in localization page
2019-07-18 12:09:50 +02:00
davidcanonieto
5c07d5b3e6 [ADF-4457] StorageService should be independent of AppConfigService (#4712)
* [ADF-4457] StorageService should be independent of AppConfigService

* [ADF-4457] Fix e2e tests

* [ADF-4457] Fix e2e tests

* [ADF-4457] Improve storage service workflow

* Fix linting

* Fix unit tests

* Fix e2e test

* Add missing class to constructor

* Fix e2e test

* Rebase branch

* Improve unit test

* fix test
2019-06-25 16:21:13 +01:00
davidcanonieto
7497822a46 [ADF-4342] Create localized pipe and centralize date format (#4813)
* [ADF-4342] Date Format defined in app config

* [ADF-4342] Create localized pipe and centralize date format

* Add unit test for new date pipe

* Add info internationalization docs

* Fix lining

* Fix linting

* Fix date pipe unit test

* [ADF-4342] Add supported language files

* Fix e2e tests
2019-06-11 09:35:35 +01:00
arditdomi
a6552dbb17 [ADF-4387] Configuration option to change the dafault viewer zoom (#4645)
* [ADF-4387] Configuration option to change the dafault viewer zoom
2019-04-23 20:34:39 +01:00
Eugenio Romano
64be9e3624
[NO-ISSUE] Fix e2e test (#4621)
* fix sso, change timeout, parallel

* cange travis

* move name apps in resources file

* resources fix

* resources fix

* add sleep before search group

* add possibility to extend duration of snack-bar message from configuration

* fix unit test

* fix unit test

* remove timeout

* change timeout

* decrease message time

* add lint main branch travis

* reduce timeout

* add new check application presence

* change permission script
fix search selector

* fix travis conf

* check app environment and upload the app if abbsent

* fix cloud test

* remove duplicate

* restore ps test

* restore resources file

* fix e2e test

* process with variables missing

* test new conf travis

* fix lint

* fix spellcheck

* remove duplicate module

* fix ps module

* fix travis conf

* change check activiti env

* add concept of processes in resources
2019-04-18 13:31:42 +02:00
davidcanonieto
8395b0baa5 [ADF-4219] Multivalue Metadata Card View (#4600)
* [ADF-4219] Multivalue Metadata  Card View

* [ADF-4219] Add documentation

* [ADF-4219] Improve code, docs and tests

* [ADF-4219] Fix e2e tests
2019-04-17 18:04:27 +02:00
davidcanonieto
dee63e3f3b [ADF-3887] Different local storages for different ADF apps (#4539)
* [ADF-3887] Different local storages for different ADF apps

* [ADF-3887] Add documentation

* [ADF-3887] Add unit tests and improve code

* [ADF-3887] Add unit tests

* [ADF-3887] Fix e2e tests

* fix test

* fix test

* Update storage.service.md
2019-04-08 15:23:46 +01:00
davidcanonieto
3e29c7cd9d [ADF-4162] Add includeAll/exclude capabilities to metadata config (#4436)
* [ADF-4162] Add includeAll/exclude capabilities to metadata config

* Revert app config

* Update documentation

* fix schema change
2019-03-18 12:45:08 +00:00
davidcanonieto
8dc9eba4c7 [ADF-3677] Add highlight configuration to SearchQueryBuilder (#4358)
* [ADF-3677] Add highlight configuration to SearchQueryBuilder

* highlight property in search

* Update files.component.ts

* remove comma

* highlight missspell

* fix schhema json highilight

* fix test

* fix lint

* fix lint

* fix lint

* fix search sorting tests

* fix search sorting

* fix lint

* remove useless test

* check for null nodes

* remove duplicated test

* lint

* fix sorting tests

* remove test not search component related
2019-03-17 17:23:07 +00:00
Suzana Dirla
fb11cc879d [ADF-3401] Search filters - fix facet update (#4249)
* [ADF-3401] refactoring - different way to call the facet parsers

* [ADF-3401] fix duplicate search call

* [ADF-3401] add new fields and buckets from the response

- If a facet is already displayed, just update the bucket count, else add the new facet to the responseFields
- this way any existing filters are preserved, the collapsed state is preserved, facet selection is preserved

* [ADF-3401] reset & clear all selections buttons

* [ADF-3401] delete facets that are not in the response

- for better UX, prevent deletion of items from the category where there is a selected item
- clean-up reset buttons

* [ADF-3401] apply filters to the newly created items

* [ADF-3401] update tests

* [ADF-3401] fix after rebase

* [ADF-3401] Code refactoring

* [ADF-3401] show count value inside tooltip

* [ADF-3401] translatable strings

* [ADF-3401] move 'Clear all selections' button to search-chip-list

* [ADF-3401] option to configure having a reset button for filters

* [ADF-3401] code cleanup and improvements after review

* Update lib/content-services/search/components/search-filter/search-filter.component.ts

Co-Authored-By: suzanadirla <dirla.silvia.suzana@gmail.com>

* [ADF-3401] Better namings

* fix failing e2e tests on search radio

* [ADF-3401] add documentation for search resetButton
2019-03-05 14:08:38 +00:00
Eugenio Romano
bda7e07b52
[ADF-4125] simplify extension load in extension module (#4214)
* add extension load in extension module

* add viewer extensions

* fix license header

* fix node passed in the viewer extension

* fix node passed in the viewer extension

* startup factory extension

* startup factory extension

* fix script

* fix beta tag build

* fix build

* fix build

* refactoring configuration files

* extension using map

* fix build

* fix config

* fix test

* fix test
2019-02-22 14:19:41 +00:00
Suzana Dirla
e34f80aff7 [ADF-3497] Facet intervals on search filter (#4255)
* [ADF-3497] allow facetIntervals on search

* [ADF-3497] update schema json

* [ADF-3497] update json

* [ADF-3497] documentation update

* [ADF-3497] specify that sets are not supported

* [ADF-3497] no spaces on labels - mention

* [ADF-3497] documentation update

* [ADF-3497] update examples & document label key

* [ADF-3497] tests added

* [ADF-3497] testRail id

* [ADF-3497] allow config of custom pageSize values

* [ADF-3497] support mincount filtering also for intervals

* [ADF-3497] support expanded property also for facetIntervals

* remove no longer needed info

- bcs. of PR #4322 fix
2019-02-18 18:51:15 +00:00
Eugenio Romano
c55cba5514
license header update 2019 (#4300) 2019-02-12 01:18:43 +00:00
Suzana Dirla
bf718d905f [ADF-3496] Grouped facet queries (#4209)
* [ADF-3496] search query format v2 response parser

- replacer for the parseFacetFields

* [ADF-3496] format v2 search facetQueries parser

* [ADF-3496] cleanup

* [ADF-3496] Grouped facet queries

- selection working
- needs code cleanup

* [ADF-3496] code cleanup

* [ADF-3496] code refactoring - renaming

* [ADF-3496] update tests

* [ADF-3496] update tests part2

* [ADF-3496] preserve order

* [ADF-3496] fix facet queries expand

* [ADF-3496] code cleanup & fixes

* [ADF-3496] reorder methods

* [ADF-3496] update test

* fix unrelated failing test

* [ADF-3496] fix config snippet

* [ADF-3496] facet queries mincount

* [ADF-3496] documentation updated

* [ADF-3496] small fix

* [ADF-3496] e2e testing

* [ADF-3496] added TestRail ids

* [ADF-3496] import from right api
2019-02-04 21:38:21 +00:00
Denys Vuika
5887fa1052 [ADF-3938] support for XMLHttpRequest.withCredentials flag (#4190)
* support XMLHttpRequest.withCredentials

* proper defaults and json schema updates

* remove outdated docs

* remove empty declaration from app config

* fix blob support
2019-01-25 12:12:06 +00:00
Eugenio Romano
348bee9c6f
[ADF-3918] Fix translation issue (#4169) 2019-01-20 23:40:07 +00:00
Maurizio Vitale
28da31c550 [ADF-3910] Expose the identityHost as part of the setting component (#4161) 2019-01-16 13:01:15 +00:00
samuelengelen
9881e52873 [ADF-3716] Add filterWithContains configuration option for SearchFilt… (#4017)
* [ADF-3716] Add filterWithContains configuration option for SearchFilterComponent

* [ADF-3716] Add unit test and modify translationMock
2018-12-05 14:25:57 +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
Denys Vuika
fee35c98df tree shaking support for services (#3906)
[ADF-3697] tree shaking support for services
2018-10-22 11:09:43 +01:00
Eugenio Romano
04d42e2535
[ADF-3676] Task Header - Expose task properties out of the box (#3883)
* #3878 Add support for end date in TaskHeaderComponent

* add duration and parentTaskId
2018-10-13 11:13:29 +01:00
Cilibiu Bogdan
42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +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
9322cf07f7 cache busting for app config (#3783) 2018-09-13 13:00:45 +01:00
Suzana Dirla
3ac9ce4cca [ADF-3435][ADF-3436] fix schema json (#3688)
* fix schema json

* fix description

* update search config from documentation
2018-08-14 15:43:07 +01:00
Denys Vuika
f606149344 [ADF-3380] lazy loading fixes (#3609)
* lazy loading file viewer

* fix issue with CoreModule referencing

* fix issue with app config and lazy loading

* test fixes

* fix import

* lazy loading workaround for content module

* fix providers for lazy loading

* fix tests

* lazy loading for Process Services lib

* lazy loading for Insights, module cleanup

* fix issue with Translate module, optimise imports

* lazy-load blob viewer (demo shell)

* remove duplicate pdf init

* update to more stable pdfjs

* fix license header

* fix lint issues

* fix test import

* fix pdf version
2018-08-14 15:42:50 +01:00
Denys Vuika
4d624d6d45 fix problems with rxjs imports 2018-08-14 15:42:48 +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
a12662e7e2 [ADF-3384] Create automated tests for Version Component (#3631)
* fix version component restore and delete event

* version manager actions

* fix test

* fix unit test

* remove fdescribe

* fix tslint

* fix screenshot rewrite problem

* remove fdescribe

* multi instance try

* remove fdescribe

* try uncomment some test

* error page

* fix user preferences pagiantion

* search page test include

* fix type tslint e2e

* restore code

* default lang momentadapter

* fix test

* [ADF-3384] removed console log from test

* [ADF-3384] adding some fixes for tests and code

* [ADF-3384] fixed some test and code
2018-08-14 15:42:42 +01:00
Vito
cd4431e547 [ADF-3283] added minimatch options into the configuration to allow cu… (#3542)
* [ADF-3283] added minimatch options into the configuration to allow customisation

* [ADF-3283] added documentation
2018-08-14 15:42:06 +01:00
Eugenio Romano
ea4c9fe9aa
[ADF-3226] remove Double behaviour setting allow download and comment (#3502)
* fix restore notification

* improve path specification property

* fix lint and document issues

* fix test

* remove unused import

* remove double behavior allowComments and allowDonload can be set only thorough input property
2018-06-19 08:45:11 +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
Maurizio Vitale
928340f65b Remove unused field (#3480) 2018-06-13 12:49:01 +01:00
Maurizio Vitale
476b5864bf [ADF-3162] Setting component - Should be able to render the providers passed as input (#3464)
* Be able to change the available providers values

* Add deprecated tag

* add default providers

* Fix empty OAuth and selected providers
Improve the documentation

* Fix BPM guard to check SSO condition

* Add the oauthConfig again

* SSO or Basic otpion auth setting change

* fix host settings sso/basic
add login documentation

* remove test string

* fix auth guard test

* dispose upload emitter test events

* remove space

* exclude failing test
2018-06-12 17:52:36 +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
Vito
3a699a38d4 [ADF-2238] removed created by property (#3380)
* [ADF-2238] removed created by property

* [ADF-2238] added a condition to avoid checklist delete for completed task

* Revert "[ADF-2238] added a condition to avoid checklist delete for completed task"

This reverts commit fc2227ea0491f14bdb5c4ef1dc8c01967780072c.
2018-05-23 19:08:40 +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
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
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
Denys Vuika
ba35eda2f9 search fixes (#3272)
* "show less" button for search filter container

* consistent button styles across widgets

* i18n support for facets

* page sizes for check list

* display page buttons only when needed

* page sizes for all facet fields

* test fixes

* update lib versions

* fix angular configuration
2018-05-08 13:41:27 +01:00
Andy Stark
c824e646de [ADF-2905] Updated JSDocs for core (#3271) 2018-05-04 19:03:13 +01:00
Denys Vuika
856c4fd7f5 search bug fixes and documentation updates (#3256)
* bug fixes for search

* test fixes

* bug fixes for search
2018-05-03 10:28:20 +01:00
Denys Vuika
dbe88a5efc [ADF-2846] new facets (#3251)
* schema and configuration improvements

* check list search widget

* "Clear all" button to reset the list

* page size and "show more" for response facet fields

* test fixes

* fix tests

* fix pagination bug (skipCount reseting)

* integrate date range picker from #3248

* i18n support for date and number range

* some docs for search filter

* docs update

* docs update

* cleanup code as per review
2018-05-01 14:49:03 +01:00
Denys Vuika
3a51c27f66 [ADF-2189] new search facets (#3230)
* slider facet

* number range facet

* unit tests

* remove fdescribe

* remove old demo-only content

* remove old tests

* Support "include" and "field" values with app config

* exclude deprecated demo content from export checks
2018-04-25 17:45:14 +01:00
Denys Vuika
b580efb7f6 [ADF-2786] AOT support for search filter widgets (#3224)
* AOT support for search filter widgets

* json schema for search settings
2018-04-24 14:28:24 +01:00