146 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Eugenio Romano
662effea6c add test auth-guard (#1561) 2017-01-28 13:17:50 +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
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
Eugenio Romano
03f805a804 #1281 Cannot login after logging out 2016-12-15 15:55:00 +00:00
Mario Romano
e0e5ffb010 Merge branch 'development' into dev-eromano-bundle 2016-12-15 10:40:01 +00:00
Eugenio Romano
b613f9d226 #1272 Clean the login storage ticket info before to login 2016-12-14 23:43:22 +00:00
Eugenio Romano
e133fd6408 create bundle for all components 2016-12-14 15:49:08 +00:00
Eugenio Romano
b2cbc72342 improve test coverage document list 2016-12-05 10:09:39 +00:00
Denys Vuika
800a2a6530 Demo shell improvements (#1199)
* #1197 auth guards

* #1197 restore lost router dependency to all libs

* #1197 ecm/bpm auth guards, home page

- ECM auth guard (redirect to Login if ECM auth is missing)
- BPM auth guard (redirect to Login if BPM auth is missing)
- new Home page and route, show details on demo areas

* css improvements

make app text white as per request
2016-12-03 18:57:43 +00:00
Denys Vuika
da70a72bba Login dialog shows error for Safari with Private Window mode (#1172)
* #958 new StorageService service

abstraction around ‘Storage’ to allow switching to in-memory store
whenever ‘localStorage’ is not available (i.e. private/incognito modes,
etc.)

* fix unit tests

* update unit tests

- disable incorrect auth tests (core)
- simplify widget visibility tests (activiti-form)

* fix unit tests
2016-11-30 11:32:16 +00:00
Eugenio Romano
d87a768d20 Remove deprecated use of getAlfrescoApi() #1094
remove getAlfrescoApi from auth #1094
2016-11-28 14:04:58 +00:00
mauriziovitale84
76a9fa41e6 #1145 Fix multi-language 2016-11-25 19:09:08 +00:00
mauriziovitale84
f23ed9d774 #1076 remove unused code 2016-11-25 19:09:07 +00:00
mauriziovitale84
aa5b35c0d7 #1076 Improve unit test 2016-11-25 19:09:07 +00:00
mauriziovitale84
070061107f #1076 Improve the TranslationLoader 2016-11-25 19:09:06 +00:00
Eugenio Romano
a236093121 improve test coverage core translate service 2016-11-10 12:15:00 +00:00
Mario Romano
1dafba7a72 #878 fix user info demo 2016-11-09 14:00:46 +00:00
Mario Romano
177c9694af #878 doc,demo and code improvements userinfo component 2016-11-09 12:27:44 +00:00
Eugenio Romano
83755f7d45 exclude mdl folder coverage 2016-11-07 10:40:31 +00:00
Denys Vuika
e2f3a65eec Use native ng2-translate language detection
Switch to ng2-translate language detection (that takes into account
various cases)

refs #932
refs #931
2016-10-31 11:32:09 +00:00
Denys Vuika
5977e638ae Merge pull request #917 from Alfresco/dev-eromano-916
fix importing alfreso-js-api compatible with the version 0.3.6 #916
2016-10-29 19:34:39 +01:00
Eugenio Romano
f8979f06c5 fix importing alfreso-js-api compatible with the version 0.3.6 #916 2016-10-29 16:37:10 +01:00
Denys Vuika
51102980df Basic editing for dynamic table rows
Editors:
- text (also covers number and amount for now)
- boolean
- dropdown (manual)
- date
2016-10-27 10:40:23 +01:00
Eugenio Romano
68465e46f2 remove consecutive blank line 2016-10-12 13:47:38 +01:00
Eugenio Romano
a962512df0 renditions service test improvements 2016-10-12 10:20:31 +01:00
Eugenio Romano
e19b847400 fix test and coverage Angular2 Final release core component #749 2016-10-05 13:40:21 +01:00
Vito Albano
336ffe75d8 Added tests for user-info component 2016-10-04 14:18:43 +01:00
Vito Albano
990257d57d Wrongly removed item 2016-09-27 12:41:14 +01:00
Vito Albano
b738596edf Fix isLoggedIn problem #818 2016-09-27 12:35:56 +01:00
Mario Romano
16d8c55f62 #819 2016-09-26 21:33:30 +01:00
Denys Vuika
aa3a1f5c7f Disable rendition service tests for now 2016-09-22 14:08:15 +01:00