Commit Graph

185 Commits

Author SHA1 Message Date
Denys Vuika
21bfd5eef9 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-04-05 11:11:38 +01:00
Denys Vuika
f8427e61e1 extra DOM events for DataTable (#1723)
* extra DOM events for DataTable

- support for ‘row-click’ DOM event (bubbling)
- support for ‘row-dblclick’ DOM event (bubbling)
- DataRowEvent exposes ‘sender’ property to simplify access to
component from within handlers
- readme and test updates

* fix unit tests
2017-04-05 11:11:38 +01:00
Denys Vuika
2fb8ae1b5d 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-04-05 11:11:38 +01:00
Denys Vuika
e2ced9ff9a fix image paths for components (#1696)
* fix Login image paths

* fix TaskList image paths

* fix DocumentList image paths

* fix Search image paths
2017-04-05 11:11:38 +01:00
Denys Vuika
a3cda4d958 support for toggling custom context menu (#1683)
* support for toggling custom context menu

* fix unit tests
2017-04-05 11:11:38 +01:00
Denys Vuika
0f718a56d7 cancellable events for DataTable and DocumentList (#1682)
* cancellable events for DataTable and DocumentList

* more typed events and code fixes

* code fixes
2017-04-05 11:11:38 +01: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
Denys Vuika
7c54090dea ability to change position of the dropdown menu (left|right) (#1590)
* ability to change position of the dropdown menu (left|right)

* unit tests
2017-02-06 09:55:12 +00:00
Will Abson
5519f9fb00 Fix typos in component properties (#1560)
* Fix typo `fallbackThubnail` -> `fallbackThumbnail`

* Fix typo `showUdoNotificationBar` -> `showNotificationBar`

Update upload mis-spelled properties to 'showNotificationBar' since
showUndoNotificationBar is already a method on the drag area component

Refs #1559

* Fix test cases
2017-01-28 14:52:23 +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
Denys Vuika
eacdfd7f6a Support for column (cell) templates (#1513)
support for column (cell) templates readme updates and test fixes
2017-01-23 10:28:57 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +00:00
Mario Romano
6ee34a2e49 #1387 fix rename document-list file (#1462) 2017-01-13 12:54:04 +00:00
Mario Romano
9fb085eb3a #1387 fix img for systemjs and refactoring apiservice (#1421) 2017-01-10 16:59:08 +00:00
Denys Vuika
dc28d5b679 #1400 component naming convention fixes (#1418) 2017-01-09 18:57:58 +00:00
Denys Vuika
d42f41ec00 Migrate from window.console to LogService 2017-01-05 21:06:30 +00:00
Denys Vuika
fefe4b6963 update code as per code review
- upgrade demo project
- extend readme
- remove commented out unit tests
2017-01-04 14:20:15 +00:00
Denys Vuika
71877aa8d0 upgrade 'create folder' action 2017-01-03 21:13:17 +00:00
Denys Vuika
44906157a0 update unit tests 2017-01-03 20:35:26 +00:00
Denys Vuika
40b9baaa64 id-based navigation (initial implementation) 2017-01-03 16:44:13 +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
Mario Romano
e0e5ffb010 Merge branch 'development' into dev-eromano-bundle 2016-12-15 10:40:01 +00:00
mauriziovitale84
09b494da6f #1245 Use placeholder instead value 2016-12-14 17:27:03 +00:00
mauriziovitale84
4f555ad777 #fix folder name 2016-12-14 16:47:38 +00:00
Eugenio Romano
e133fd6408 create bundle for all components 2016-12-14 15:49:08 +00:00
mauriziovitale84
bb9edbf764 #1244 fix firefox style 2016-12-14 11:07:58 +00:00
Mario Romano
e1824238f9 Merge pull request #1208 from Alfresco/dev-mvitale-384-style
Document list - Create Folder Docs
2016-12-13 14:33:45 +00:00
mauriziovitale84
d950612738 #384 Rename event name and improve docs 2016-12-13 10:26:37 +00:00
Will Abson
b34a38fcff Allow navigation to folders from search results (#1209)
* Allow navigation to folders from search results

- Uses router to pass ID of the folder
- Modified document list component to accept folder ID without path
- Current limitations
  - Breadcrumb cannot currently be shown when navigating via folder id
  - Clicking between folders does not update the current route

* Allow root folder ID to be changed and have documentlist reload

- e.g switching from Company home to My Files

* New tests for navigating to folders based on ID

Refs #666
2016-12-13 09:30:58 +00:00
Mario Romano
d7e6f08448 Merge pull request #1210 from Alfresco/dev-denys-webpack
Webpack integration
2016-12-09 17:07:03 +00:00
Denys Vuika
5432cf69d5 fix document list 2016-12-09 12:21:46 +00:00
Denys Vuika
cfb4fc71c0 fix document list bundling 2016-12-09 10:41:17 +00:00
Denys Vuika
b3b6193006 fix: ng2-alfresco-documentlist 2016-12-08 18:49:52 +00:00
Denys Vuika
d973c39462 fix: ng2-alfresco-search 2016-12-08 18:35:29 +00:00
Denys Vuika
dd20f6fc78 custom system.js loader
- disables ‘moduleId’ usage when building with webpack
2016-12-08 15:49:19 +00:00
Denys Vuika
29f426f643 code fixes
- interpolate ng2 components html content
- fix: load images for Login
- fix: load images for User Info
- fix: load images for Document List
- fix: decorator inheritance issue for Form
- fix: load images for Search
2016-12-07 14:55:09 +00:00
mauriziovitale84
369ac0d7d6 #384 Change API name, add docs, fix demo 2016-12-07 10:46:22 +00:00
mauriziovitale84
5fa2a8d075 #384 improve style and error messagge 2016-12-07 10:29:47 +00:00
Denys Vuika
10423ca985 remove module.id 2016-12-06 17:01:31 +00:00
mauriziovitale84
eba89de1c2 #384 fix compilation problem 2016-12-06 16:57:18 +00:00
mauriziovitale84
8775ec7c31 #384 Provide Create Folder button 2016-12-06 16:55:58 +00:00
Eugenio Romano
b2cbc72342 improve test coverage document list 2016-12-05 10:09:39 +00:00
Denys Vuika
7eab89c5ef #159 improved error reporting for document-list (#1180)
- expose ‘error’ event
- change path only on successful navigation
- extend demo shell with error handling and reporting
- additional unit tests for document-list
2016-11-30 14:52:06 +00:00
Denys Vuika
9066ce49e0 document-list improvements (#1169)
* #1167 document-list improvements

- allow setting custom root path
- document-list module now re-exports datatable module (no need
importing it separately if document-list is already used)
- documentation updates and fixes

* readme updates and unit test
2016-11-29 12:03:24 +00:00
Denys Vuika
3ca2c28a41 Performance improvements (#1166)
#1166 * Update angular libs
document-list: performance improvements
caching ‘heavy’ cell evaluations (i.e. date pipe)
code/test fixes
document-list: performance improvements
Removed ‘AfterViewChecked’ bottleneck as underlying data-table already
does it.
data-table: performance improvements
2016-11-28 21:36:00 +00:00
mauriziovitale84
acb06e92c4 #1076 Fix the translation in all the components 2016-11-25 19:09:06 +00:00
Eugenio Romano
68465e46f2 remove consecutive blank line 2016-10-12 13:47:38 +01:00
Eugenio Romano
29d891b475 fix test and coverage Angular2 Final release documentlist component #749 2016-10-05 14:40:26 +01:00
Mario Romano
07f6bb2552 fix new ts javascript api 2016-09-26 23:32:18 +01:00
Denys Vuika
b09e0bc1b3 Upgrade core, documentList, dataTable 2016-09-21 17:36:29 +01:00