Commit Graph

616 Commits

Author SHA1 Message Date
Denys Vuika
7b11fc24ac replace 'template' with 'ng-template' (#2167) 2017-08-02 14:27:59 +01:00
Eugenio Romano
20d7d65a0b revert modify after rebase 2017-08-01 11:10:23 +01:00
Eugenio Romano
036243ad35 update 1.7.0 versions (#2158) 2017-08-01 10:20:48 +01:00
Eugenio Romano
21205e3d45 sites dropdown select documentation change 2017-08-01 10:20:36 +01:00
Eugenio Romano
a083c88a89 Custom Material2 Style variables and theming (#2146)
* ADF theming Material2

* login style primary buttons and input

* fix color breadcrumb based on the material color
2017-08-01 10:20:35 +01:00
Adina Parpalita
58de71dbdf [ADF-1159] Fix misspellings in .md files (#2124) 2017-08-01 10:20:34 +01:00
Popovics András
38fb5ea519 [ADF-1041] Node picker, first iteration (#2122)
* First try

* Dialog basic functionality

* Search input

* Hammering it together

* Fist working proto for copy

* Fix the tests and tslint errors for a happier world

* Add more tests (and test shells for the future)

* copyNode and moveNode methods

* Copy and move actions for content type

* Extract common parts in favor of using them in folder content type also

* Small fixes

* Copy and Move actions for folders as well

* Style fixes, ui behaviours and tests needed to be written

* Move duplicated search service from documentlist to core

* Use search service from core within the search component

* Fix dialog width

* Update docs

* Tests for node selector

* Change seletionMade event's name to select
2017-08-01 10:20:34 +01:00
Eugenio Romano
2449da995b Update README.md 2017-08-01 10:20:33 +01:00
Eugenio Romano
8a6002ab4c style permissions fix and add in hasPermission possibility to check t… (#2113)
* style permissions fix and add in hasPermission possibility to check the negate permission
* remove fdescribe in discovery test and add test for negate permissions
2017-08-01 10:20:33 +01:00
Denys Vuika
cd8e53c2ff [ADF-1134] selection management fixes (#2109)
* selection management fixes

* remove dual behaviour
2017-08-01 10:20:32 +01:00
Eugenio Romano
92f2ffd878 regenerate lock documentlist 2017-08-01 10:20:32 +01:00
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
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
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
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
335dd870ad [ADF-992] improve datatable styles according to UX guidelines (#2088)
* improve datatable style

* datatable and document list enhancements

- support to toggle header in DataTable
- Document List automatically hides header for empty content
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
Eugenio Romano
26841a782d [ADF-865] codelyzer diagrams and analytics (#2072)
* fix codelyzer diagrams and analytics

* fix test
2017-08-01 10:20:15 +01:00
Denys Vuika
ae98b41458 [ADF-1026] i18n support for "empty" screen (#2066)
* i18n support for "empty" screen

* fix unit tests

* fix tests

* fix tests
2017-08-01 10:20:15 +01:00
Eugenio Romano
2e975dbc29 [ADF-863] codelyzer documentlist (#2059)
* codelyzer documentlist

* tslint error after codelizer

* fix import

* fix tag test
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
Denys Vuika
945dac6c49 [ADF-1015] make "loading" state two-way bindable (document list) (#2052)
* make "loading" state two-way bindable

* update documentation

- update readme
- move "loading" property up to @Input properties
2017-08-01 10:20:13 +01:00
Denys Vuika
fba0614b60 [ADF-1006] fix 'isEmpty' issue and code cleanup (#2053)
* fix 'isEmpty' issue and code cleanup

* Update tsconfig.json
2017-08-01 10:20:13 +01:00
Eugenio Romano
53a614bfbf [ADF-859] add codelyzer in core and datatable (#2056)
* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
2017-08-01 10:20:13 +01:00
Maurizio Vitale
4bd0f04913 [ADF-970] Create a new Empty list component for the datatable (#2045)
* Create a new empty list component
Share the component between attachment list and document list
Add unit test
Add basic documentation

* Use the adf empty list also in the process attachment component

* Fix unit test

* delete wrong file
2017-08-01 10:20:12 +01:00
Popovics András
7cbefb1355 [ADF-523] Fix delete operation in the search component (#2020)
* Search delete permission notification fix

* Support content deletion inside search results

* Forgotten broken test fix.

* Update alfresco-document-list READDME.md

* Update alfresco-document-list READDME.md II

* Adding TOC to README.md

* Build fix

* Fix the build for now and ever!
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
Eugenio Romano
232375bf82 add markdown linter (#2048) 2017-08-01 10:20:12 +01:00
Eugenio Romano
ff2c566c90 [ADF-868] Use new ADF prefix in all tags (#2035)
* use new ADF prefix in all thr tag

* fix failing test

* fix datatable test
2017-08-01 10:19:33 +01:00
Eugenio Romano
ba580ad11d [ADF-973] Remove demo folder moved in https://github.com/Alfresco/adf-examples … (#2036)
* remove demo folder moved in https://github.com/Alfresco/adf-examples 1.6.1

* remove analytics demo
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
e73e518bfb NgZone type passed parameter 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
391a19e94b [ADF-845] breadcrumb root option added and style review (#1999)
* breadcrumb root option added and style review

* new breadcrumbs

* split onchange in a method

* update readme with a note for old pefix tag
2017-08-01 10:19:28 +01:00
Vito
7b166346b9 [ADF-510] Drag&Drop check permission to allow user to upload a file (#1948)
* [ADF-510] added permission check for drag&drop

* Improved code for drag and drop side

* Added test for drag and drop upload area changes

* Added test for document list permissions check

* [ADF-510] rebased branch after changes applied to upload

* [ADF-510] rebased branch and fixed tests
2017-08-01 10:18:42 +01:00
Eugenio Romano
1947e7944a [ADF-524] Datatable loading state (#1958)
* loading state datatable

* modify readme after review
2017-08-01 10:18:41 +01:00
Denys Vuika
697e0459e8 [ADF-591] documentation refinements (#1959)
* refine ng2-activiti-analytics

* refine ng2-activiti-diagrams docs

* refine ng2-activiti-form

* refine ng2-activiti-processlist

* refine ng2-activiti-tasklist

* refine ng2-alfresco-core

* refine ng2-alfresco-datatable

* refine ng2-alfresco-datatable

* refine gn2-alfresco-login

* refine ng2-alfresco-search

* refine ng2-alfresco-social

* refine ng2-alfresco-tag

* refine ng2-alfresco-upload

* refine ng2-alfresco-userinfo

* refine ng2-alfresco-viewer

* refine ng2-alfresco-webscript

* various readme cleanups
2017-08-01 10:18:41 +01:00
Denys Vuika
f26ce86aab fix issues with the require keyword (angular cli) (#1954) 2017-08-01 10:18:40 +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
Eugenio Romano
960bbe0bad Source Mapping is not working on test debugging (#1931)
* coverage single components run fix

* remove spec.ts from coverage

* make the coverage and the istanbul-instrumenter-loader works only over the console test because a problem on the remapping for the browser test

* move tslint on the main folder of any component

* remove build:w from readme

* stop build tslint error also in spec files

* clear karma file from unnecessary files

* add set -f for build all script in order to accept *

* fix lint problem and failing tests

* fix failing test search component

* add loader test for viewer

* fix tslint error userinfo

* --max_old_space_size=2048 remove

* fix tslint error uploader unused EventEmitter

* remove spec|index|.*mock|.*model|.*event from coverage
2017-08-01 10:17:59 +01:00
Vito
d3220c245e [ADF-680] Added previous page check when page has no more elements (#1911)
* [ADF-242] - fix for deleting - saving a report

* [ADF - 242] added test for fixed feature on reports save - delete

* [ADF-680] - Fixed behaviour when deleting all files on last page of document list

* Start adding test for documentlist check

* Added test for check double page load

* [ADF-680] - removed commented test code

* [ADF-680] Added changes from peer review

* [ADF-680] added return type
2017-08-01 10:17:35 +01:00
Eugenio Romano
b30ec26213 no save development js-api (#2033) (#2034) 2017-06-30 18:13:08 +01:00