Commit Graph

854 Commits

Author SHA1 Message Date
Eugenio Romano
0b70ba6a6a create external package on npm for adf-tslint-rules
create external package on npm for adf-tslint-rules
2017-08-01 10:20:31 +01:00
Vito
72926b220f [ADF-487] added discovery information to about component (#2102)
* [ADF-487] - added discovery service to core

* [ADF-487]- added activiti about call

* [ADF-487] added discovery info into about component

* [ADF-487] removed wrong console log

* [ADF-487] fixed problem on index
2017-08-01 10:20:31 +01:00
Denys Vuika
e0d13c444f [ADF-1115] selection management for DT/DL components (#2100)
* row select/unselect dom events for DT

- new events for datatable
- improved unit tests for empty content placeholders

* improved selection management for DT

* selection management for document list

* fix tests
2017-08-01 10:20:20 +01:00
Maurizio Vitale
e09b6304c9 Move the adf start task component in a different zone (#2099) 2017-08-01 10:20:20 +01:00
Vito
ac49b264aa [ADF-968] Added Site Dropdown component to document list (#2093)
* [ADF-968] added demo project and new component

* [ADF-968] added default option choice

* [ADF-968] - moved site dropdown into documentlist

* [ADF-968] fixed test for new component

* [ADF-968] removed fdescribe for single cases

* [ADF-968] fixed test to check rendering

* [ADF-968] added conversion to Boolean forced by alfresco-js-api

* [ADF-968]- moved site service into core

* [ADF-968] reflected changes on js-api index

* [ADF-968] fixed wrongly merged path from rebase

* [ADF-968] fixed wrongly merged path from rebase

* [ADF-968] fixed import problem on demo shell demo

* [ADF-968] revert changes on package.json

* [ADF-968] removed wrong package-lock

* [ADF-968] applied changes from PR

* [ADF-968] reindented file html
2017-08-01 10:20:20 +01:00
Denys Vuika
0878d9f3ab add auto-fixed files 2017-08-01 10:20:19 +01:00
Eugenio Romano
4bc50330cf [ADF-1040] Change document list style rows based on permissions model (#2085)
* Change document list style rows based on permissions model

* fix test
2017-08-01 10:20:19 +01:00
Popovics András
ac16369659 [ADF-1038] - Dropddown Breadcrumb component (#2092)
* Update material to beta8

* Install @angular/cdk

* DropdownBreadcrumb component

* Style fixes

* Fix styling issues after rebase

* Fix Material issue in processlist

* Update material again, because of rebase errors... :/

* Fix new tslint rule raised errors
2017-08-01 10:20:19 +01:00
Eugenio Romano
8c28daf2cd Services list in readme and in the doc generator (#2091)
* add services list in readme and in the autogenerator

* update tslint 5.5.0
2017-08-01 10:20:18 +01:00
Denys Vuika
025ecd5647 [ADF-993] toolbar improvements (#2090)
* toolbar improvements

- simple "title" property to render toolbar title
- advanced "adf-toolbar-title" element for compound toolbars

* move to SASS and improve styling

* fix divider color
2017-08-01 10:20:18 +01:00
Eugenio Romano
6998ffd96c [ADF-1103] Add custom tslint rules to avoid unwanted Class and File name prefix (#2087)
* custom tslint rules adf project name files

* filename and class prefix rule

* filename process service mock

* fix spec filename

* fix demo shell

* rename mock

* alias deprecated name class

* core rename services

* fix pacakge.json adf-rules

* add exclude in whitelist
2017-08-01 10:20:17 +01:00
Denys Vuika
a02f904d03 [ADF-1092] independent styles for data-table (#2084)
* independent styles for datatable

- datatable (and all derived components) no longer depend on MDL css/js

* readme update
2017-08-01 10:20:17 +01:00
Denys Vuika
500c7daea2 documentation and example (#2081) 2017-08-01 10:20:17 +01:00
Popovics András
07b0e98b20 [ADF-112] Change task details feature (due date) (#2071)
* Add Assignee to readonly mode

* Style adoption and first steps to editable mode

* Switch between mode coverage

* Rebase fix

* Because of design and requirement changes, revert unnecessary parts

* Small refactoring before the introduction of CardViewDateItem

* Fix AdfCardView tests

* Editable Card date item

* Do not allow edit on task details after the task is completed.

* Update task details request

* Login footer switch fix

* Login customisable copyright text

* Card text item (first sketches)

* Small fix for supported card items' template

* Dynamic component loading for card view items

* Test and linting fixes

* Updating Readme.md

* Update Readme.md

* Fix Readme.md errors

* CardViewTextItemComponent tests

* Rebase fix
2017-08-01 10:20:17 +01:00
Maurizio Vitale
08766eee23 [ADF-1039] Search results highlighting (#2080)
* Provide a way to highlight the searched word

* Add unit test
2017-08-01 10:20:16 +01:00
Eugenio Romano
42fc4932b6 [ADF-864] codelyzer form component (#2076) 2017-08-01 10:20:16 +01:00
Maurizio Vitale
3b3adbb8ba [ADF-971] Create task/process attachment should show the new button (#2069)
* Remove the drag and drop
Change the design button
Fix the Event with the name inside the Readme

* Fix unit test

* Rollback id button
2017-08-01 10:20:15 +01:00
Maurizio Vitale
80b3445c9c [ADF-1045] Process Attachments List - Improve the component (#2067)
* Create two different ProcessUpload service on for task one for process because the API are different
Move the attachment task list and process list in different component outside the activiti demo component

* Move the create task/process attachment in the child component
2017-08-01 10:20:15 +01:00
Eugenio Romano
fed2462586 add codelyzer in webscript tag and social (#2061) 2017-08-01 10:20:14 +01:00
Denys Vuika
eeacea784c [ADF-770] upgrade to md-menu (#2060)
* upgrade to md-menu

- upgrade to md-menu
- fix issue with missing icons
- extend demo shell to show icons for actions
- fix issue with border problems in Firefox
- remove commented out samples in demo shell (there's readme for that instead)

* fix unit tests

* fix tests
2017-08-01 10:20:14 +01:00
Maurizio Vitale
f891c11e78 [ADF-1002] Move the UploadService from the upload to core component and share it with the Process service (#2055)
* use the same upload component between the content and process service

* Create a BaseUploadServe inside the core
The AlfrescoUpload should extend the BaseUpload

* Improve the code

* Move the process service from the demo shell to form component

* Merge [ADF-917] added exlcluded files into app config to prevent special files

* Remove typo

* Fix import

* Fix FileModel import

* Fix Denys comment

* Fix unit test with the new path of UploadService

* Add missing implementation
2017-08-01 10:20:13 +01:00
Denys Vuika
9870964c0e fix form demo template 2017-08-01 10:20:13 +01:00
Vito
d9fca83e04 [ADF-917] added exlcluded files into app config to prevent special fi… (#2039)
* [ADF 917] added exlcluded files into app config to prevent special files upload
2017-08-01 10:20:12 +01:00
Eugenio Romano
87c1921034 [ADF-506] Unify thumbnail service (#2014)
* move thumbnail service in core

* fix folder
2017-08-01 10:20:12 +01:00
Popovics András
f0ee0a2ee2 Responsive height for login component (#2049) 2017-08-01 10:20:12 +01:00
Vito
568ae1f32d [ADF-966] added the ability to reflect data change on datatable (#2042)
* [ADF - 966] added a setTimeout to test the async loading of datatable

* [ADF-966] added the ability to reflect changes on data change

* [ADF-917] changed due PR
2017-08-01 10:20:11 +01:00
Popovics András
16b8f9a5d7 [ADF-402] Diagram tooltips bug (#2043)
* Getting rid of MDL from dialog tooltips

* Tooltip message body fix and stylings

* Add adf prefix and sass compilation

* build fix
2017-08-01 10:20:11 +01:00
Denys Vuika
0d1354ebbc [ADF-983] User Preferences Service (#2044)
* user preferences service

* unit tests and code improvements

* fix tests

* fix tests

* fix tests

* add missing production settings

* readme updates

* integrate with the core module
2017-08-01 10:20:11 +01:00
Denys Vuika
d7bc86239f [ADF-850] example on using in-memory form data (#2037)
* stub for custom form service

* demo polishing

- use in-memory formService only for the corresponding demo page 'Form'
- support for mocking rest field values
- demo of the typeahead data mocked

* load data from app config

* fix lint errors

* separate Form and Form List demos
2017-08-01 10:20:11 +01:00
Denys Vuika
40fe3ce361 [ADF-967] evaluate "hostname" and "port" for string settings (#2040)
* evaluate 'hostname' and 'port' in app config strings

* update unit tests

* fix unit tests

* fix unit tests

* update readme
2017-08-01 10:19:33 +01:00
Maurizio Vitale
92a3f9f677 [ADF-914] Form List Component (#2023)
Form List Component
2017-08-01 10:19:33 +01:00
Eugenio Romano
182efb15b8 no save development js-api (#2033) 2017-08-01 10:19:32 +01:00
Eugenio Romano
137e816661 regenerate lock 2017-08-01 10:19:31 +01:00
Eugenio Romano
480482d575 update typescript (#2026) 2017-08-01 10:19:30 +01:00
Eugenio Romano
255a0f3260 SASS version update (#2013)
* sass update

* update sass loader
2017-08-01 10:19:29 +01:00
Eugenio Romano
5a85c6ab57 fix type definition (#2002) 2017-08-01 10:19:27 +01:00
Eugenio Romano
404589e302 introduce check type definition 2017-08-01 10:19:27 +01:00
Denys Vuika
743e6cb105 remove flags lib from demo shell (#1983)
* remove flags lib from demo shell

greatly reduce demo shell webpack resources by switching off flags (only 3 icons were displayed in the past)

* merge package.json

* add icons
2017-08-01 10:19:26 +01:00
Denys Vuika
f79a34d7aa app settings page (#1997)
- custom app setttings service to use isolated storage (demo shell)
- restore settings UI
- redirect angular and rxjs to the same version as components use.
2017-08-01 10:19:26 +01:00
Denys Vuika
9251b401ed [ADF-847] upgrade to use application configuration service (#1986)
* migrate core lib to use server-side app config

* fix unit tests

* update Search tests

- update tests
- upgrade tests to use TestBed

* update UserInfo tests

* update Social tests

* update tests

* update unit tests

* cleanup old code

* update about page

* update demo shell readme

* dev and prod configurations
2017-08-01 10:19:26 +01:00
Denys Vuika
25df65ed60 [ADF-717] upgrade i18n and charting dependencies (#1976)
* remove app-specific polyfill dependencies

remove polyfill dependencies never used by component libraries

* upgrade i18n dependencies

* upgrade ng2-charts dependency

* fix unit tests

* update demo projects
2017-08-01 10:18:42 +01:00
Denys Vuika
90aa47e179 [ADF-814] application configuration service (#1969)
* app configuration service

* api improvements and readme update

* extend readme and add defaults

* unit tests for app config service
2017-08-01 10:18:42 +01:00
Denys Vuika
c20da3b93e fix builds related to node-sass library (#1966)
* update dependencies and remove old lock files

* update sass loader

* updated lock files
2017-08-01 10:18:41 +01:00
Eugenio Romano
0b6c9051f0 package lock update 2017-08-01 10:18:41 +01:00
Denys Vuika
78aab47094 update npm5 lock files 2017-08-01 10:18:40 +01:00
Eugenio Romano
de4ea368b8 [ADF-799] add HappyPack to webpack conf (#1956) 2017-08-01 10:18:40 +01:00
Denys Vuika
c48e4be7c2 [ADF-643] upload enhancements (#1949)
* rework folder uploading

- flatterns hierarchy on folder upload
- performs a single traversal for the entire folder heirarchy and ends with a comple file list
- allows now dropping folders on existing folders
- overall code improvements

* fix unit tests

* readme updates

* clean old and unused code

* code cleanup

* limit concurrent uploads

* update code as per review

* fix upload button for Safari

* fixes for Safari

- Safari compatibility
- code updates based on review

* fix code

* fix unit tests
2017-08-01 10:18:39 +01:00
Eugenio Romano
4585f2681f fix translation wrong folder creation issue 2017-08-01 10:18:30 +01:00
Eugenio Romano
8cfdc6f561 fix blob input in text viewer (#1942) 2017-08-01 10:18:30 +01:00
Denys Vuika
f1a1fc39a6 [ADF-754] toolbar component (#1938)
* toolbar component

- simple toolbar component (core lib)
- readme updates (core lib)
- update demo shell with toolbar component demo (document list)

* update unit tests
2017-08-01 10:18:30 +01:00