1249 Commits

Author SHA1 Message Date
siva kumar
05e73a8aa1 [ADF-4755][CardViewDate&SelectItemComponent] Provide a way to reset date and none option as default. (#4955)
* [ADF-4755] [CardViewDateItemComponent] Provide a way to reset date.

* Added clear icon to reset date to empty.
* Added Translation key to the new icon.

* * Added displayClearAction flag to toggle clear action.* Added None as default for the selectItem components.* Added displayNoneOption flag to toggle the default none option.

* * Fixed comments.

* * Added translation key for 'none'  option.

* * Updated dateItem css to the match recent changes.

* * Fixed failing unit tests* Updated TaskHeader components with the displayClearAction.

* * Updated demo shell card-view component to test the latest changes
2019-07-26 12:22:45 +01:00
mcchrys
1064b71308 [ADF-4684] Content Metadata Card dates should be localised (#4944)
* [ADF-4684] Content Metadata Card dates should be localised

* Passed locale param in datePipe
* Set default locale value in card-view-dateitem model
* Updated property locale in card-view-dateitem component on change in language

* * Added test case

* * Added unit test case

* * Removing locale arg from datepipe
2019-07-19 18:50:53 +02:00
davidcanonieto
c98687d6f0 [ADF-4754] Fix Date Widget display value (#4945) 2019-07-19 13:51:10 +02: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
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
siva kumar
8d2229cf99 [ADF-4731] [Process - Cloud] - Improve IdentityUserService (#4924)
* [ADF-4731][Process - Cloud] - Improve IdentityUserService.

* * Updated unit tests.

* * Updated IdentityUserService document
* Fixed comments on the pr.

* * Added missing 'createdTimestamp' property to the IdentityUserModel.

* * Created IdentityJoinGroupRequestModel. * Updated doc. * Updated unit tests.
2019-07-15 19:28:07 +01:00
arditdomi
dc450a3af2 [ADF-4480] Change Viewer behaviour when opening unsupported files (#4922)
* [ADF-4480] Change Viewer behaviour when opening unsuported files

* [ADF-4480] Fix identations

* [ADF-4480] Make timeout of rendition retry constant
2019-07-13 11:35:21 +01:00
Eugenio Romano
b28a53afe7
Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future

* remove xit test and ban xit and xdescribe use in the future

* remove test excluded

* remove consecutive blank line
2019-07-12 15:04:53 +01:00
Denys Vuika
a37f935c05 [ADF-4647] download service (#4836)
* split download api into separate service

* move tests and fix code

* break dependency for thumbnail service

* update tests

* test fixes

* fix code

* fix unit tests
2019-07-12 13:58:47 +01:00
Eugenio Romano
b894599cf9
Update ADF packages version 3.4.0-beta8 (#4925) 2019-07-12 12:30:22 +01:00
Cilibiu Bogdan
ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +01:00
Silviu Popa
72b3a75a85 [ADF-4710] - adapt visibility condition to the new schema (#4884)
* [ADF-4710] - adapt new visibility condition schema

* [ADF-4710] - fix unit tests

* [ADF-4710] - support visibility for APS1 and APS2
2019-07-11 17:07:26 +01:00
Eugenio Romano
7a70e88ae3
Clean pdf viewer unit (#4916)
* fix unit test pdf viewer

* add more clean unit test core

* add more clean unit test core

* Delete license-info-3.3.0.md
2019-07-10 20:03:05 +01:00
Eugenio Romano
3d336bf9bd
Update layout-container.component.scss 2019-07-10 20:01:18 +01:00
Eugenio Romano
d3021a1cc8
Update layout-container.component.scss 2019-07-10 19:36:50 +01:00
Suzana Dirla
bbe22fd2a7 [ADF-4732] ellipsis fix (#4913)
allow folder names from breadcrumb to shrink when path is too long to fit the screen
2019-07-10 09:49:13 +01:00
davidcanonieto
c151d4535c [ADF-4682] Fix displayed date in date time and date widget (#4911) 2019-07-09 15:29:38 +01:00
dhrn
cdc39759ca [ADF-4716] Dynamic Table not working properly (regression) (#4896)
* [ADF-4716] Dynamic Table not working properly (regression)
[ADF-4722] Wrong date is displayed when updating row of dynamic table
* removing dynamic table date added

* * fix e2e
2019-07-09 11:40:27 +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
Maurizio Vitale
3af702f58e Read the versions.json from the relative path (#4909) 2019-07-08 16:27:42 +01:00
Silviu Popa
bd24105036 [ADF-4720] FormFieldModel fix error when has no variables (#4892)
* [ADF-4720] - prevent FormFieldModel crash

* [ADF-4720] - add unit test
2019-07-08 11:07:08 +01:00
Eugenio Romano
cf761ba0b2
Cleaning test IMG viewer component (#4906)
* promote use setupTestbed

* fix sanatize transform img

* fix sanatize transform img
2019-07-08 10:21:48 +01:00
Suzana Dirla
a4fc53a742 [ADF-4708] fileSize header is now left aligned with bottom cells (#4902) 2019-07-05 14:52:39 +01:00
Eugenio Romano
085e1a9dfa
clean unit tests core part 2 (#4897)
* promote use setupTestbed

* fix context menu unit test

* fix sidebar warning unit test

* fix spy people widget

* fix ISO warning date time widget

* fix sidebar spy 404 url

* minor karma fix import pdf.js map

* restore md

* revert extension change
2019-07-03 22:42:00 +01:00
davidcanonieto
e03799e038 [ADF-4721] Fix Material Datetime Picker date format (#4893) 2019-07-02 22:05:11 +01:00
Eugenio Romano
0d6140be77
clean unit test (#4890)
* promote use setupTestbed

* fix comment using right spy and remove deprecated moment method usage

* restore md icon file

* remove error translation log

* restore extension test
2019-07-02 16:00:58 +01:00
Eugenio Romano
028916e386
Fix user info unit test (#4887)
* fix unit test user info component

* fix unit test user info component

* replace download call with spy

* fix karma conf
2019-07-01 11:35:27 +01:00
Eugenio Romano
4dccc2a49a
fix login unit test to nit emit error in the network (#4885)
* fix login unit test to nit emit error in the network

* fix lint
2019-06-29 10:34:13 +01: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
Suzana Dirla
317ae3db68 [ADF-4696] Display name on metadata card (#4870)
* [ADF-4696] Display names on content metadata

* [ADF-4696] unit test
2019-06-24 17:39:06 +01:00
Eugenio Romano
f861b94de4
[Staging-branch] 3.4.0 (#4839)
* next 3.4.0

* next 3.4.0

* [ADF-4426] Move CSS overrides from ACA to ADF - 2nd round (#4837)

* [ADF-4426] align toolbar icon color with design

* [ADF-4426] clean-up style - it is never applied

* [ADF-4426] display title for name location cell - useful for long names

* [ADF-4426] move content-node-selector cell fix from ACA

- fixes https://github.com/Alfresco/alfresco-ng2-components/issues/4686

* [ADF-4426] move content-node-selector cell fix from ACA

- fixes https://github.com/Alfresco/alfresco-ng2-components/issues/4686

* [ADF-4426] move image width fix from ACA

* [ADF-4426] allow more customization of data-table borders

* [ADF-4426] move fix from ACA

[ACA-2363] fixes issue with text being visible underneath the info drawer

* [ADF-4426] get adf-datatable-link style from ACA

* [ADF-4426] allow set of DL selected row icon color

* [ADF-4426] allow more document list customization

- code moved from ACA
- more css variables
- removed non used and duplicated outline styles
- some code clean-up...

* [ADF-4635] The Status drop-down is looking different for Processes than for Tasks (#4822)
2019-06-20 12:32:41 +01:00
Eugenio Romano
bb322bb5ed fix form variables 2019-06-19 12:23:31 +01:00
Eugenio Romano
c5739ff435 updated translation files 3.3.0 2019-06-19 11:01:50 +01:00
Eugenio Romano
09c62d5046 Release 3.3.0 2019-06-18 21:35:58 +01:00
davidcanonieto
25446b5ba3 [ADF-4680] Add documentation for dateValues in app.config.json (#4859)
* [ADF-4680] Add documentation for dateValues in app.config.json

* Improve English

* Create new localization file

* Update localized-date.pipe.md

* Update card-view-datetimeitem.model.ts

* Update localized-date.pipe.md
2019-06-18 15:17:48 +01:00
davidcanonieto
5f1caca5da [ADF-4677] Make time ago use Angular Date formats (#4856) 2019-06-17 14:16:48 +01:00
davidcanonieto
334ebd1256 [ADF-4338] Add locale to CardViewDateItemModel and improve logic of LocalizedDat… (#4845)
* Add locale to CardViewDateItemModel and improve logic of LocalizedDatePipe

* Fix e2e tests

* Fix e2e tests

* Fix C305010 test
2019-06-14 17:26:08 +01:00
Eugenio Romano
e03290d26c
Review doc 3.3.0 (#4851)
* fix documentation missing params

* fix index

* fix aftere release

* fix aftere review
2019-06-14 17:06:52 +01:00
Eugenio Romano
f47cebc0a4
[ADF-4665] [ADF] - Application is refreshed when you have two instances of application opened (#4849)
* refactoring getValueFromToken and fix user token refresh

* refactoring getValueFromToken and fix user token refresh

* refactoring getValueFromToken and fix user token refres

* fix unit test
2019-06-14 16:02:12 +01:00
Eugenio Romano
bd568008f8 fix pagination RTL 2019-06-14 14:39:36 +01:00
arditdomi
5f8976004e About component, Add missing Content Services URL label (#4850) 2019-06-14 11:43:52 +01:00
Cilibiu Bogdan
4603cef19e [ADF-4667] Document list - sorting icon RTL fix (#4848)
* sorting icon RTL fix

* single quotes over double quotes

* overspecify position
2019-06-14 10:04:59 +01:00
Eugenio Romano
3a2cfb3626
fix date localization (#4841) 2019-06-12 16:16:00 +01:00
Maurizio Vitale
63f00e21cf [ADF-4468] FormCloud - Be able to display the value of a form variables (#4676)
* Fix the value passed as processDefinition
Be sure we fetch the form variables

* * Rename formId to formKey.

* * Reverted form Changes

* * Fixed failing unit test

* Fix the value passed as processDefinition
Be sure we fetch the form variables

* * Fixed failing unit test

* * Rename formId to formKey.

* * Reverted form Changes

* * Fixed failing unit test

* Fix form representation structure

* Refactor form models

* Change tslint config

* Fix lint

* Refactor form models

* Remove duplicated export

* improve variable names

* Update form mock
2019-06-12 12:50:09 +01:00
Eugenio Romano
051e8df091 fix refresh token sso logout 2019-06-12 12:36:05 +01:00
Eugenio Romano
492aa1e850 fix flaky test upload service 2019-06-12 10:15:33 +01:00
Eugenio Romano
9838d1e5d8
[ADF-4524] Checkbox widget is not displayed on a form on APS1 when having some visibility conditions on it (#4838)
* fix visibbility conditions form

* fix visibbility conditions form
2019-06-11 19:44:29 +01:00
Eugenio Romano
1c412ab15f
new translation files (#4840) 2019-06-11 19:44:17 +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
davidcanonieto
c85df84a01 [ADF-4636][ADF-4137][ADF-4596] Datatable and Assignee bugs (#4832) 2019-06-11 00:35:02 +01:00