103 Commits

Author SHA1 Message Date
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
Eugenio Romano
e133fd6408 create bundle for all components 2016-12-14 15:49:08 +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
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
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
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
29d891b475 fix test and coverage Angular2 Final release documentlist component #749 2016-10-05 14:40:26 +01:00
Denys Vuika
b09e0bc1b3 Upgrade core, documentList, dataTable 2016-09-21 17:36:29 +01:00
Mario Romano
b45a266167 #702 fix empty folder document list 2016-09-07 12:28:04 +01:00
Mario Romano
f9210ba048 change needed for health care app 2016-09-06 19:18:35 +01:00
Denys Vuika
c037b91c9c Merge branch 'development' into dev-denys-dts
# Conflicts:
#	demo-shell-ng2/systemjs.config.js
#	ng2-components/ng2-alfresco-upload/src/services/upload.service.spec.ts
#	ng2-components/ng2-alfresco-upload/src/services/upload.service.ts
#
ng2-components/ng2-alfresco-viewer/src/componets/viewer.component.spec.t
s
#	ng2-components/ng2-alfresco-viewer/src/componets/viewer.component.ts
2016-09-05 09:10:08 +01:00
Denys Vuika
e3f97a8eef #657 unit tests 2016-09-01 13:51:55 +01:00
Denys Vuika
dcdd162ed0 #657 Enforce single-click navigation for mobile browsers 2016-09-01 13:15:22 +01:00
Denys Vuika
f08796a3d2 Improved type safety 2016-08-24 17:46:55 +01:00
Denys Vuika
328f37282a DocumentList component improvements
- expose ‘properties’ for the Node model
- Row filtering support for Document List (refs #522)
- Custom image resolver for Document List (refs #532)
- readme updates
2016-08-22 12:01:54 +01:00
Denys Vuika
48edbea8ae #581 fix document list data loading
- reduce amount of unnecessary data reloads
2016-08-19 10:40:50 +01:00
Denys Vuika
f7bd0fbdfa Simplify 'documentlist' package scripts 2016-07-15 11:23:45 +01:00
Denys Vuika
00c28ecd52 Merge branch 'development' into dev-denys-70 2016-07-13 17:22:27 +01:00
Denys Vuika
7849ef4323 #70 pagination support for document list 2016-07-13 12:13:25 +01:00
Will Abson
9e8f644431 Add alt text for file and folder icons in documentlist
Refs #378
2016-07-12 15:10:06 +01:00
Denys Vuika
0ccf192f35 Repair unit tests 2016-07-06 12:28:38 +01:00
Denys Vuika
ce23d73293 Code improvements 2016-07-05 21:36:37 +01:00
Denys Vuika
0f0c5352c7 #340 Rename 'AlfrescoService' to 'DocumentListService' 2016-07-05 20:30:11 +01:00
Denys Vuika
21c1cbc531 Code cleanup and fixes 2016-07-05 16:19:39 +01:00
Denys Vuika
e414135bd2 #340 document list now wraps and extends datatable 2016-07-05 14:19:07 +01:00
Denys Vuika
236926c1ca #340 Empty content template and context menu for datatable 2016-07-05 12:37:07 +01:00
Denys Vuika
e3924fdaa3 Integrating datatable into document list (wip) 2016-07-05 09:30:28 +01:00
Denys Vuika
258148cc1c Unit tests for document list component 2016-06-30 13:39:52 +01:00
Denys Vuika
bf6947abf9 Unit tests for document list 2016-06-28 15:10:05 +01:00
Denys Vuika
4208de703a #129 Improve document list reload behaviour 2016-06-23 11:26:24 +01:00
Denys Vuika
859827f7c1 #251 api improvements (document list) 2016-06-22 12:51:44 +01:00
Denys Vuika
e101f22e28 #244 breadcrumb as a separate component (doclist only) 2016-06-21 15:51:51 +01:00
Denys Vuika
bf7414fc85 #242 Reworked breadcrumb, deprecated up button
- reworked breadcrumb
- deprecated up button in favour of external implementations
- removed hardcoded “document library” path from document list (always
start with root)
- always dealing with ‘absolute’ paths
- simplified upload demo
2016-06-21 11:40:49 +01:00
Denys Vuika
780dd65c88 Fix crashing on Safari/FF for date conversion 2016-06-20 17:10:24 +01:00
Denys Vuika
d26a66f9df Update 'core' readme 2016-06-20 14:52:18 +01:00
Denys Vuika
71efa47fde #211 Update system.js configs 2016-06-17 11:24:55 +01:00