336 Commits

Author SHA1 Message Date
Denys Vuika
608b3639ea auth service enhancements (#1860) 2017-05-25 15:12:51 +01:00
Eugenio Romano
af82f83669 Add config files in any components folder (#1878)
* add config files in any components folder
* all test run option ft and option to skip build and run only test
2017-05-25 15:12:50 +01:00
Denys Vuika
130c2e4428 auth service api improvements (#1865)
Rename Auth Service events:
- loginSubject -> onLogin
- logoutSubject -> onLogout
2017-05-25 15:12:50 +01:00
Eugenio Romano
72704cad57 [ADF-570] Script for Pushing to Registry (#1875)
* change prepublish to build only
add .npmrc in the gitignore and npmignore
clean .npmrc during the clean task
change registry during publish with npmrc file
add rimraf install in npm publish

* add option to link an alfresco-js-api from github

* npm build on develop branch will use the alfresco-js-api from develop

* modify script after review
add -gitjsapi to starts.sh to change jsapi pointing
add -vjsapi to starts.sh to change jsapi pointing

* start dist demo shell script option
2017-05-25 15:12:50 +01:00
Denys Vuika
1fadfa8166 [ADF-615] significant performance improvements for drag and drop (#1874)
* fix uploading to folders

* significant performance improvements for drag and drop

* unit test fixes
2017-05-25 15:12:50 +01:00
Mario Romano
6da0eaba37 Fix build problem (#1861)
* fix sourcemap
fix relative path and pre publish build
change travis wait
all test run build and remove unused cpx

* global test task
modify publish script to accept options

* appveyor run

* different approach single test run

* make it work the analytics test
modify start demo shell script to use a different registry

* sourcemap demo shell working

* update readme and add install after any clean
add registry option in start.sh script
add develop and normal mode in demo shell
add -d option in start.sh to point to the local components
add -c option in build script to point to the local components
2017-05-25 15:12:49 +01:00
Denys Vuika
5c7d53230d fix upload directive for Safari (#1871) 2017-05-25 15:12:49 +01:00
Infad Kachancheri
22bbffdb21 [DW-50]: New features for accordion-group component (#1851)
[ADF-557] -  Add a new property called showIcon as input to hide/show filter icons.
2017-05-25 15:12:48 +01:00
Denys Vuika
e29741d18d [ADF-587] upgrade components to angular 4 (#1866)
[ADF-587]  upgrade components to angular 4
2017-05-25 15:12:48 +01:00
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Mario Romano
ac16f1c3dc 1.4.0 (#1848) 2017-04-27 14:05:12 +01:00
Maurizio Vitale
1d45089125 #514 (#1840)
Follow the component guide style
The accordion should be open by default
2017-04-27 14:05:11 +01:00
Maurizio Vitale
1de625d960 Custom Filter Component (#1823)
* Add Accordion component

* Add property to hide icon

* Use accordion component in demo shell

* Add basic doc

* Add adf prefix

* Add element id and change unit test
2017-04-27 14:05:10 +01:00
Eugenio Romano
0fcd40b7f0 revert update ng2-translate-version #1397 (#1818) 2017-04-27 14:05:08 +01:00
Eugenio Romano
ab3d18e5c1 update ng2-translate-version #1397 (#1805)
* update ng2-translate-version #1397

* change karma.conf and build for ng2-translate 4.0.0
2017-04-27 14:05:08 +01:00
Eugenio Romano
8725a745c2 1.3.0 (#1795) 2017-04-04 12:27:58 +01:00
Eugenio Romano
53c1af445e Notification service test (#1801) 2017-04-02 13:44:12 +01:00
Denys Vuika
afa21dcc42 unit tests (#1798) 2017-03-31 19:53:40 +01:00
Mario Romano
2651ec46d6 #1711 fix version package.json 3rd libraries (#1768)
* #1711 fix version package.json 3rd libraries

* fix test
2017-03-30 19:06:01 +01:00
Denys Vuika
4c62409e8c optimise some dependencies (#1781)
- remove “intl” from components (not needed)
- remove “material-design-icons” from core (not needed)
2017-03-28 17:27:37 +01:00
Eugenio Romano
36c76bf10c add timeout increase karma tests (#1771) 2017-03-27 12:51:14 +01:00
Denys Vuika
cf67a0c1b5 bug fixes for thumbnails and Safari download (#1763)
- set ‘show thumbnail’ to true by default
- add support for safe downloads in Safari (upcoming 10.1 and TP)
2017-03-24 13:27:51 +00:00
Eugenio Romano
5072cb3aa0 increase inactivity timeout test (#1760) 2017-03-23 17:55:50 +00:00
Denys Vuika
4f154f8bca Form: support for embedded document view (#1748)
* Form: support for embedded document view

* unit tests and improvements

- new ContentService to deal with trusted URL and downloads
- unit tests and improvements for ActivitiContent component
2017-03-23 17:51:20 +00:00
Eugenio Romano
a06138136b missing event coverage exclude (#1761) 2017-03-23 16:46:39 +00:00
Eugenio Romano
707851ce85 fix HammerJS warning #1617 (#1755) 2017-03-23 15:44:52 +00:00
Eugenio Romano
d739526517 make the local link build fast and run the test only if asked #1588 (#1671)
* make the local link build fast and run the test only if asked #1588

* demo core doesn't exist

* link after install

* move in after success matrix build and install scripts
2017-03-23 10:54:49 +00:00
Denys Vuika
c846556e28 upload: new 'click' mode with file/folder dialog support (#1738)
* new 'click' mode with file/folder dialog support

* fix uploading files to folders via drop on Safari
2017-03-21 11:26:07 +00:00
Denys Vuika
3fee3b5002 improved uploading of files (#1730)
* improved uploading of files

- new core/UploadDirective to allow dropping files to any html element
- enhanced file dropping for DataTable rows (disabled by default)
- enhanced file dropping for DocumentList rows (disabled by default)
- upload drop area now handles file uploads for child elements (i.e.
rows in the document list)

* fix unit tests

* unit tests and code cleanup

* #1732, fix upload of folders
2017-03-16 16:28:18 +00:00
Denys Vuika
57557a991e support for column definitions in html (#1705)
* support for column definitions in html

- provides generic support for html-based column definitions for
datatable-like controls

* html column definitions for Task List component

* html column definitions for Document List component

* update code and documentation
2017-03-13 11:05:52 +00:00
Denys Vuika
2e44550d7f support for toggling custom context menu (#1683)
* support for toggling custom context menu

* fix unit tests
2017-03-03 09:25:08 +00:00
Denys Vuika
4ca18bc8f9 cancellable events for DataTable and DocumentList (#1682)
* cancellable events for DataTable and DocumentList

* more typed events and code fixes

* code fixes
2017-03-02 14:49:55 +00:00
Mario Romano
cb19ff911c 1.2.0 (#1665)
* bump to 1.2.0

* Update package.json

* Update package.json

* update demo 1.2.0
2017-02-27 12:02:01 +00:00
Eugenio Romano
571b7f09c3 refactoring build script #1533 (#1664) 2017-02-27 09:15:52 +00:00
Denys Vuika
07bad77547 i18n fixes (#1614)
* i18n fixes

- fix issue with default (fallback) language set to browser language
- fix issue with fallback language loading when browser language set to
non-English locale

* code and UI fixes

- move document list i18n strings into own scope
- replace MDL menu with @angular/material menu (fixes issue with menu
items translation, not supported by MDL)
- minor improvements

* fix unit tests

* improve i18n docs and code

- provide basic documentation for Translation service
- remove custom Login component localisation in favour of documentation
sample
- simplified i18n setup for demo shell (single path for dev/prod env)

* remove unnecessary comments
2017-02-10 11:22:25 +00:00
Mario Romano
ffb959d331 1.1.0 (#1562) 2017-01-30 12:57:27 +00:00
Eugenio Romano
662effea6c add test auth-guard (#1561) 2017-01-28 13:17:50 +00:00
Mario Romano
b05247dade #1014 use document list to display search results (#1548)
* #1014 use document list to diplay search results

* #1014 refactor pagination

* #1014 documentation and scripts update

* fix random erros on tests executrion

* #1014 fix travis scripts and raise timeout jasmine

* #1014 fix appveyor script

* #1014 type nodeId
2017-01-27 12:22:25 +00:00
Mario Romano
1c21875607 #537 snackbar notification system (#1527)
* #537 snackbar notification system

* #537 add test dependencies

* #537 add export material module

* #537 fix demo project
2017-01-24 17:09:13 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +00:00
Denys Vuika
0ee5c9846a fix error handling and "this" context (#1445)
* fix error handling and "this" context

* fix typo
2017-01-12 06:12:52 -08:00
Mario Romano
9fb085eb3a #1387 fix img for systemjs and refactoring apiservice (#1421) 2017-01-10 16:59:08 +00:00
Denys Vuika
a97c2f4336 quick fix for auth error reporting 2017-01-10 15:18:03 +00:00
Denys Vuika
d42f41ec00 Migrate from window.console to LogService 2017-01-05 21:06:30 +00:00
Denys Vuika
2d98a04f87 LogService implementation 2017-01-05 16:14:33 +00:00
Mario Romano
a35c2f7c04 #1385 fix build:w task (#1386) 2017-01-04 19:48:53 +00:00
Mario Romano
9ba2033dd0 Merge pull request #1383 from Alfresco/dev-mvitale-1370
Remove use of deprecated Services
2017-01-04 19:42:41 +00:00
Mario Romano
83fa409aeb improve timeout test for travis 2017-01-04 19:41:58 +00:00
mauriziovitale84
58af422d62 #1370 Remove use of AlfrescoSettingsService 2017-01-04 17:27:41 +00:00
Denys Vuika
facafbd55c Single naming convention for core services (#1363)
* remove temporary file from repo

* fix: alfresco-api.service

* new: auth.service.ts

- new auth.service.ts implementation
- deprecation warning for AlfrescoAuthenticationService
- fix ‘clean-build’ typo
- extra vscode settings for ‘.d.ts’ files

* use AuthService internally

* new: content.service.ts

- deprecation warning for AlfrescoContentService
- use new ContentService internally

* new: settings.service.ts

- new SettingsService
- deprecation warning for AlfrescoSettingsService
- using new SettingsService internally

* new: translate.service and translate-loader.service

- custom TranslateLoader becomes AlfrescoTranslateLoader
- custom TranslateService becomes AlfrescoTranslateService
- deprecation notices for old service and loader implementations

* fix: document list

* fix: search

* fix: tag

also fixes #1364

* fix: activiti form

* fix: activiti tasklist, improve unit tests

* fix: activiti processlist, unit tests improvements

* fix: diagram component

* fix: analytics component

* fix: upload component

- fix numerous issues with unit tests (hidden by ‘any’ type)
- test improvements

* fix: webscript

* fix: userinfo unit tests

* code fixes

* fix 'beforeAll' issue

* tasklist unit testing improvements

* fix: form unit tests

* fix: unit tests
2017-01-03 10:46:27 +00:00