370 Commits

Author SHA1 Message Date
Eugenio Romano
a2310336dd
[ADF-1895] update Material2 to 5.0.0-rc0 (#2621)
update Material2 to 5.0.0-rc0
2017-11-08 00:39:34 +00:00
Cilibiu Bogdan
5fff7fcb29 no permission content (#2616) 2017-11-07 16:40:19 +00:00
Eugenio Romano
9f3ea6ea71
[ADF-1868] Update to Angular 5 (#2606)
* Angular 5.0.0 update

* fix core http import

* split language html from ts

* http deprecation module change

* fix test core

* fix analytics api

* update dependency

* exclude breadcrumb object picker test

* fix viewer and common new test

* fix test cs

* fix tasklist test

* fix demo shell angular 5

* fix translate

* dix search test

* restore files demo shell

* update tsconfig

* rebuild automatic prebuild theme

* Fix breadcrumb tests

* Fix tests, the right way
2017-11-06 14:23:46 +00:00
Denys Vuika
5f95e5f7b2 translation service upgrade and fixes (#2604) 2017-11-03 13:05:36 +00:00
Eugenio Romano
861d44f021
[ADF-1649] [Document List] IE11 select icon is not aligned (#2594)
* [Document List] IE11 select icon is not aligned
[Document List] Login is not aligned
Register Alfresco file type icons within the mat-icon
remove old material-icons pice of code

* fix lint 180 in thumbnailservice

* remove unnecessary duplicate code

* fix thumbnail test
2017-11-02 16:17:35 +00:00
Cilibiu Bogdan
3478b06716 [ADF-1856] Document List - location fails for granular permissions (#2583)
* check if path has data

* updated docs

* check for required properties

* simplied condition
2017-11-02 14:25:39 +00:00
Eugenio Romano
24b590ca16
setting component (#2571) 2017-10-31 17:16:14 +00:00
Eugenio Romano
4d8dd7ebb5
[ADF-1806] remove old prefix compatibility alfresco- and activiti- (#2567)
* remove old prefix compatibility alfresco- and activiti-

* fix missing close string quotemark

* fix missing datatable changes
2017-10-31 13:28:43 +00:00
Mario Romano
d911d38c12 restore src folders needed for npm build sub projects 2017-10-27 13:20:58 +01:00
Eugenio Romano
f340c00657 add src and config in npmignore (#2560)
remove duplicate license header
remove old asset unused docs files
2017-10-27 11:58:37 +01:00
Eugenio Romano
1fd45ba1bd fix userinfo on mobile devices and small refactoring name scss method (#2558) 2017-10-26 22:52:37 +01:00
Eugenio Romano
ded3847762 clean all the events that start wit on prefix (#2536) 2017-10-25 10:35:38 +02:00
Mario Romano
167336f245 Refactor demo shell as CLI project (#2501)
* split interfaces

* angular cli demo refactoring

* fix test import

* fix demo script

* fix demo script

* fix demo script

* fix demo script
2017-10-22 00:02:41 +01:00
Maurizio Vitale
0bdd66e158 [ADF-1758] Remove the hardcoded work and add keys (#2499) 2017-10-18 19:15:21 +01:00
Maurizio Vitale
ed36d08344 [ADF-1706] Translate ADF i18n strings into all supported languages (#2490)
* ALL LANGUAGES: This includes all ADF UI files localised into 10 languages as indicated in JIRA ADF-1706: Translate ADF i18n strings into all supported languages

* ITALIAN: Small amends to Italian strings as part of previous commit to complete ADF-1706

* Add multilanguages

* Load the languages from the app config file

* Fix it json

* Simplify the adf menu languages

* Removed unused code

* Basic documentation

* Fix unit test
2017-10-18 15:50:52 +01:00
Andy Stark
f8438ea2de [ADF-1586] Moved and renamed docs index file (#2477)
* [ADF-1586] Moved and renamed doc index file

* [ADF-1586] Moved and renamed docs index file
2017-10-16 15:10:29 +01:00
Eugenio Romano
fcb292c849 [ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12
update angular2 4.4.5

* fix changed version js-api

* update types hammerjs

* fix test

* clean old doc

* fix pagination test

* fix test

* missing update packages

* fix <mat-form-field> for select box

* start task component test
2017-10-16 09:58:19 +01:00
Eugenio Romano
6d9bbcbf32 1.9.0 2017-10-09 12:11:05 +01:00
Popovics András
d6ac81c28a [ADF-1626] Fix double tabbing issue in datatable (#2416)
* Fix double tabbing issue in datatable

* Fix accessibility issue for process list
2017-10-03 22:27:24 +01:00
Andy Stark
e8235fa7fe [ADF-1549] Removed doc content from library README files (#2400)
* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Removed doc content from library README files

* [ADF-1583] Fix change detection error (the quick way) (#2396)

* Fix change detection error (the quick way)

* Fix it the second time

* raise keyboard events, improve task list keyboard handling (#2401)

* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Added doc update from Tasklist readme
2017-10-02 22:41:44 +01:00
Denys Vuika
e756db03cd raise keyboard events, improve task list keyboard handling (#2401) 2017-09-29 18:34:16 +01:00
madhukar23
016e786531 [ADF-1615] Datatable - The ellipsis class doesn't work for a custom template (#2398)
* Added ellipsis property for data-column rendered using custom html template
2017-09-29 16:12:23 +01:00
Popovics András
b1d2c53c4b [ADF-1585] - Fix datatable styles (#2374)
* Unify datatable hover and selection color

* Fix prebuilt styles collision
2017-09-26 10:38:31 -04:00
Eugenio Romano
70a38acbff Update package json typescript version (#2368)
* update package json typescript version

* fix test problem

* fix minor upload type bug
2017-09-24 16:01:34 +01:00
Popovics András
2d6c8f92f0 [ADF-1364] Infinite scrolling for Copy & Move (#2362)
* Use infinite pagination for search also
* Fix highlight in copy & move
* Fix highlight and material menu issue
* Update documentation
2017-09-21 14:34:31 +01:00
Denys Vuika
95d6a04f99 [ADF-1548] deprecate the usage of the "forRoot" methods in modules (#2344)
* remove CoreModule.forRoot

* remove forRoot methods

* fix form issues (lint)
2017-09-18 14:35:41 +01:00
Eugenio Romano
cd46a589e1 [ADF-1555] add animation on show and hide of results (#2343)
* add animation on show and hide of results
make the style similar to the other material 2 menu
fix issue popup always stays on the screen
fix Search does not collapse if its input is focused

* minor code style issues

* minors fix and test fix

* fix app.config.json error in test

* update beta10 mat-menu-base method

* karma configuration all
2017-09-18 11:06:45 +01:00
Eugenio Romano
3c1729b960 [ADF-1518] Update material2 beta 10 and angular 4.3.6 (#2304)
* ignore pkg lock

* update pkg json

* date picker update material beta.10

* isDateInstance moment adapter

* style and  datepicker update material2 beta 10

* update test dateitem to beta10

* regenerate style files

* use material icons web font

* fix data range material 2 beta 10

* minors cleaning

* recreate styles

* remove unused componentHandler var

* fix failing test checkbox
2017-09-15 11:39:27 +01:00
andyhealey26
dfccf13fb1 [ADF-1515] Internationalization - ADF strings review (#2336)
* Update en.json

ADF-1515
Update to match Content Services terminology

* Update en.json

ADF-1515
Improvements to readability in line with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515
Improvements to readability and consistency

* Update en.json

* Update en.json

ADF-1515
Fix typo

* Update en.json

ADF-1515
Updated for US spelling and consistency with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515 - reduced word count

* Update en.json

ADF-1515
Readability improvements

* Update en.json

ADF-1515
Updates for readability and consistency

* Update en.json

ADF-1515
Updated for readability and consistency

* Update en.json

* Update en.json

* Update en.json

ADF-1515 - removed variables section as discussed w. Eugenio

* Update en.json

ADF-1515 - removed search label as discussed with Eugenio
2017-09-14 16:38:14 +01:00
Denys Vuika
1fd23cfd40 [ADF-1547] tooltip fixes and enhancements (#2333)
* tooltip enhancements

* fix unit tests
2017-09-13 17:31:00 +01:00
Popovics András
b93cdc611c [ADF-1444] Fix name display issue (#2317) 2017-09-11 15:31:09 +01:00
Eugenio Romano
50e61a0d08 1.8.0 bump version (#2296) 2017-09-05 15:16:41 +01:00
Eugenio Romano
7ba63d7182 fix minor theming issues (#2294) 2017-09-05 15:16:41 +01:00
Denys Vuika
7f720fda3a fix issues with the icons column in DT/DL (#2277)
* fix issues with the icons column in DT/DL

- fix issue with screen reader label not being translated
- fix issue with column taking the width of the screen reader label

* fix custom selection icon position
2017-09-05 15:16:41 +01:00
Popovics András
407e11664a [ADF-theming-fix] Fix theming related issues (#2276)
* First steps

* Every package have separate entry points for styling mixins

* Moving to config dir, and using it in demo shell

* Remove webpack config include path magic from activiti-form package

* Fixing all the webpack common configs and using relative paths in the prebuilt themes

* Datatable header fix

* Update documentation
2017-09-05 15:16:41 +01:00
Denys Vuika
9625484977 accessibility enhancements for datatable (#2266) 2017-09-05 15:16:41 +01:00
Deepak Paul
287630d40f [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error (#2271)
* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error

* Added directives for the custom tags

* Replaced empty list tags with new directives

* Removed CUSTOM_ELEMENTS_SCHEMA document-list, task-list and process-list

* Handled empty attachment list sceeenario in attachment list

* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error

* Added tests for disabled and non empty attachments scenario
2017-09-05 15:16:41 +01:00
Vito
42ed604349 [ADF-1368] Delete a document onto document list update even the file upload dialog (#2267)
* [ADF-1368] adding success action event even form file deleted on document actions

* [ADF-1368] reflecting delete changes on documentlist

* [ADF-1368] added event on upload service when a file is deleted from external source

* [ADF-1368] pinned version beta8 for material

* [ADF-1368] added test cases for success event on documentlist actions delete
2017-09-05 15:16:41 +01:00
Denys Vuika
e0ffeb0ea5 Revert "Added Tabbing to datatable and keyboard functionality (#2262)"
This reverts commit c05c882330161ef3d62b9677a4516c64e6d1b4a0.
2017-09-05 15:16:41 +01:00
tdonovancsra
6ccab88fd5 Added Tabbing to datatable and keyboard functionality (#2262) 2017-09-05 15:16:41 +01:00
Denys Vuika
0333daae1c border style fixes for data table rows (#2264) 2017-09-05 15:16:41 +01:00
Andy Stark
54f4a07f53 [ADF-1453] Restructure README.md files (#2239)
* ADF-1453: Restructured Activiti Analytics readme

* ADF-1453: Restructured Activiti Diagrams readme

* ADF-1453: Restructured Activiti Form readme

* ADF-1453: Restructured Activiti Process List readme

* ADF-1453: Restructured Activiti Task List readme

* ADF-1453: Restructured Alfresco Core readme

* [ADF-1453] Restructured DataTable readme

* [ADF-1453] Restructured Document List readme

* [ADF-1453] Restructured Login readme

* [ADF-1453] Restructured Alfresco Search readme

* [ADF-1453] Restructured Alfresco Social readme

* [ADF-1453] Restructured Alfresco Tag readme

* [ADF-1453] Restructured Alfresco User Info readme

* [ADF-1453] Restructured Alfresco Viewer readme

* [ADF-1453] Restructured Alfresco Webscript readme

* [ADF-1453] Fixed table display glitch

* [ADF-1453] Fixed Markdown lint errors in readme files

* [ADF-1453] Adding missing fileUploadDelete event to table in Upload readme

* [ADF-1453] Resolved merge conflict with Upload readme

* [ADF-1453] Changes from npm run doc
2017-09-05 15:16:41 +01:00
Eugenio Romano
d4e64ac438 [ADF-1434] Theming ADF component (#2228)
* start custom theming adf

* demo shell cleaning

* login mdl cleaning

* uploader mdl cleaning

* prebuilt themes

* theme picker in demo shell

* clean custom colors and mdl

* fix rebase errors

* theming from color style guide

* dev default theme orange purple

* fix color accent inverted in picker

* fix test and add colors classes

* fix tag component theming issues

* fix datatable theming

* add theming guides
2017-09-05 15:16:41 +01:00
Denys Vuika
def3cbaee8 [ADF-1220] Extra data sources for Document List (#2224)
* initial trashcan support and demo page

* use testbed for unit tests

* support for restricting navigation for special data sources

* shared links mode, thumbnail fixes

* update unit tests

* improve Trashcan/SharedLinks columns

* Sites view for document list

* Favorites support for DL, upgrade to latest js-api (alpha)

* recent files support for document list

* support default presets

* readme updates and code fixes

* code fixes

* breadcrumb fixes

- show custom root node for certain scenarios
- fix css issues
- fix crash related to missing "path" property for certain scenarios

* toolbar style fixes

- addresses the shrinking issues with components embedded into toolbar (i.e. breadcrumb)

* i18n support for column presets

* unit tests
2017-09-05 15:16:41 +01:00
Denys Vuika
06e03ad1e9 [ADF-1404] Data Column enhancements for Document List (#2220)
* support 'timeAgo' format for data-column

* file size column type and bug fixes

* readme updates

* location column type

* readme fixes

* update unit tests

* file size pipe tests
2017-09-05 15:16:41 +01:00
siva kumar
5e17c8e103 [ADF-1346] Attachment list component is shown for completed tasks/processes. (#2194)
* Added ng-content to adf-empty-list compoent.
* Updated css to scss.
* Added 'CUSTOM_ELEMENTS_SCHEMA'  to allow non-angular elements.
* Updated readme.mg file
2017-09-05 15:16:41 +01:00
Denys Vuika
fc46830f7d [ADF-1021] custom tooltip formatter for data columns (#2206)
* custom tooltip formatter for data columns

* readme updates

* unit tests
2017-09-05 15:16:41 +01:00
Denys Vuika
f3515ad02b selection management enhancements for DT/DL (#2209) 2017-09-05 15:16:41 +01:00
Denys Vuika
003b0c133b [ADF-1356] Single configuration of i18n service per project (#2199)
* rework i18n layer init

* fix unit tests

* fix tests

* test fixes

* remove obsolete tests
2017-09-05 15:16:41 +01:00
Cristi Socea
ca2ba3c5c7 [ADF-994] Integrate SFS enhancements for Pagination component (#2119)
* Add pagination module with pagination component

* Update the old pagination to have the old selector

* Add licence headers to ts files

* Update pagination files

* Rename properties for consistency reasons and remove redundant event emitters

* Add PaginationQueryParams interface to reference the query params used for paginated requests

* Add documentation of pagination (work in progress)

* Add i18n translations to pagination component

* Rename some variables used in pagination template

* Update pagination component to be backwards compatible

* Update pagination component specs

* Update pagination’s documentation

* Remove the old pagination code

* Add old alfresco-pagination tag selector

* Update document list component to include the new pagination

* Add adf-pagination in search component

* Update link to pagination component from main readme file

* Update search component specs

* Add a default pagination object in case it’s not provided

* Assign pagination to default one to default the missing properties (if any)

* Remove unused variables

* Add fail hints from expectancies of pagination tests

* Add default onInit and remove the old defaults
2017-09-05 15:16:41 +01:00