446 Commits

Author SHA1 Message Date
Adina Parpalita
92e30c2fa3 [ADF-1159] Fix misspellings in .md files (#2124) 2017-08-01 11:25:32 +01:00
Popovics András
4fd8bfb875 [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 11:25:32 +01:00
Cilibiu Bogdan
aad7164042 [ADF-924] Upload Component enhancements (#2115)
* changed logic/design

* restored dialog component spec

* revert changes

* update upload dialog documentation

* public over private

* component close method
2017-08-01 11:25:32 +01:00
Eugenio Romano
d573f32640 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 11:25:32 +01:00
Denys Vuika
03f60d910f replace MDL sidebar with material2 menus (#2112)
* replace MDL sidebar with material2 menus

- separate language picker
- separate "more" menu

* toolbar theme picker

* fix toolbar button colors for different themes

* revert the commented out code
2017-08-01 11:25:32 +01:00
Denys Vuika
0b9ab68f22 basic toolbar docs and screenshots (#2108) 2017-08-01 11:25:32 +01:00
Denys Vuika
6777de1b8e update content apis with extra params (#2107) 2017-08-01 11:25:32 +01:00
Eugenio Romano
df7af049b8 create external package on npm for adf-tslint-rules
create external package on npm for adf-tslint-rules
2017-08-01 11:25:32 +01:00
Maurizio Vitale
7fbdf4ed8a [ADF-1108] Task header - Show the parent name as a clickable value (#2098)
* Add a MapItem component inside the CardVied
Add a way to define a property clickable

* Fix unit test

* Add basic documentation
Unify css class name

* Fix class name

* remove unused class
2017-08-01 11:25:32 +01:00
Vito
7ea82c0856 [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 11:25:32 +01:00
Vito
d8d2dde96c [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 11:25:32 +01:00
Maurizio Vitale
9113170f2c Fix tslint errors (#2097) 2017-08-01 11:25:32 +01:00
Denys Vuika
34c89bd2ba remove old MDL wrapper directives (#2095)
- remove mdl-button directive
- remove mdl-tooltip directive
2017-08-01 11:25:32 +01:00
Eugenio Romano
a9142e2ca2 [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 11:25:32 +01:00
Popovics András
6947e04208 [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 11:25:32 +01:00
Eugenio Romano
3a76027fe3 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 11:25:32 +01:00
Denys Vuika
b1d2ec9e9e [SFSNG-724] content services (#2089)
* content services

* rebase index file
2017-08-01 11:25:32 +01:00
Denys Vuika
4c7baca95c [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 11:25:32 +01:00
Eugenio Romano
a8eac42c05 [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 11:25:32 +01:00
Denys Vuika
f715361f94 [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 11:25:32 +01:00
Denys Vuika
fb4ed0209b core sass enhancements (#2083)
- simplify file names
- simpify imports
- placeholder for mixins
2017-08-01 11:25:32 +01:00
Popovics András
f6c3fafe32 [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 11:25:32 +01:00
Maurizio Vitale
8a1281475c [ADF-1039] Search results highlighting (#2080)
* Provide a way to highlight the searched word

* Add unit test
2017-08-01 11:25:32 +01:00
Denys Vuika
8fef3b6781 [ADF-1047] preserve login providers between page reloads (#2078)
* preserve csrf and auth type settings between reloads

* update unit tests

* fix prefs issues

* fix tests
2017-08-01 11:25:32 +01:00
Vito
160d73cee3 Fixed wrong referral to core in upload service tests (#2077)
* Fixed wrong referral to core in upload service tests
2017-08-01 11:25:32 +01:00
Denys Vuika
0262b3426e [ADF-1070] fix issue with user preferences and page reload (#2075)
* user preferences profile storage support

* update unit test
2017-08-01 11:25:32 +01:00
Eugenio Romano
8a013b3bd1 [ADF-865] codelyzer diagrams and analytics (#2072)
* fix codelyzer diagrams and analytics

* fix test
2017-08-01 11:25:32 +01:00
Eugenio Romano
12d2224129 add codelyzer in webscript tag and social (#2061) 2017-08-01 11:25:32 +01:00
Vito
af63d2e805 Fix error on test into core component (#2062) 2017-08-01 11:25:32 +01:00
Maurizio Vitale
183dd3c990 [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 11:25:32 +01:00
Eugenio Romano
29ca8b5c5e [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 11:25:32 +01:00
Vito
b9cfa81829 [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 11:25:32 +01:00
Eugenio Romano
ee871ba578 [ADF-506] Unify thumbnail service (#2014)
* move thumbnail service in core

* fix folder
2017-08-01 11:25:32 +01:00
Eugenio Romano
cc42169d14 add markdown linter (#2048) 2017-08-01 11:25:32 +01:00
Eugenio Romano
dd48b53b7d revert tsconfig change 2017-08-01 11:25:32 +01:00
Popovics András
44446b73c4 [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 11:25:32 +01:00
Denys Vuika
70a3c863e6 [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 11:25:32 +01:00
Denys Vuika
26fe9ed694 [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 11:25:32 +01:00
Eugenio Romano
c3561510b9 [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 11:25:32 +01:00
Popovics András
5eeb16b6b6 MDL tooltip not displayed bugfix (#2025) 2017-08-01 11:25:32 +01:00
Denys Vuika
98598f03b2 AOT compatibility enhancements (#2015)
* aot compatibility updates

- remove index files where needed
- move material dependencies to a separete module
- use aot compatible lambda functions for module export

* remove unused imports

* re-export Material module

* core module enhancements

- fix AOT issue with providers (use lambda instead of variable)
- move context menu to a separate module

* core module enhancements

* feature modules
2017-08-01 11:25:32 +01:00
Eugenio Romano
b0cdd4557d no save development js-api (#2033) 2017-08-01 11:25:32 +01:00
Eugenio Romano
6ff32fcfef regenerate lock 2017-08-01 11:25:32 +01:00
Eugenio Romano
03d4742f34 SASS version update (#2013)
* sass update

* update sass loader
2017-08-01 11:25:32 +01:00
Popovics András
98bcec219c [ADF-922] Regenerate package-lock.json files for every package and create script for doing that in the future (#2012)
* Updated package-lock.json files

* npm-relock-pkgs.sh

* Update README.md

* Fix ng2-alfresco-search sass problem
2017-08-01 11:25:32 +01:00
Eugenio Romano
8dc2fe2979 fix type definition (#2002) 2017-08-01 11:25:32 +01:00
Maurizio Vitale
aa2c933427 [ADF-716] Task Header - Use a custom view inside the component (#1967)
* Use a generic custom view inside the task header

* Move the component into core component and change name

* Missing file

* Fix unit test

* fix unit test component name
2017-08-01 11:25:32 +01:00
Denys Vuika
0907e67007 [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 11:25:32 +01:00
Denys Vuika
64b1db0997 [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 11:25:32 +01:00
Eugenio Romano
3590811f34 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 11:25:32 +01:00