130 Commits

Author SHA1 Message Date
Eugenio Romano
f3c9ffab8d remove style in html #1678 (#1743) 2017-03-22 10:50:24 +00:00
Eugenio Romano
d32ed969a7 add test and documentation staticTitle option #1570 (#1744) 2017-03-22 09:57:52 +00:00
Denys Vuika
62915aff93 upload dialog improvements (#1740)
Various upload dialog improvements

- fix: headers alignment
- fix: Name column alignment
- fix: rename ‘CANCEL’ button to ‘Cancel all’ (as it’s what it does)
- fix: ‘Cancel all’ button still visible after all upload complete
- new: improved layout and api for file upload components
- new: strongly typed methods for UploadService
2017-03-21 14:45:48 +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
3375a63680 fix compilation errors with latest TS/TSLint (#1651)
latest TS/TSLint libs detect couple of problems related to private apis
used earlier; changing to public in order to fix compilation
2017-02-23 15:46:58 +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
Will Abson
09b98e7071 Allow button label to be added via staticTitle input (#1566)
* Allow button label to be added via staticTitle input

Refs #1551

* Minor fix to JSDoc
2017-01-28 14:52:12 +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
Maurizio Vitale
aba4c8ef3e Wrong grammar with single file uploaded (#1468)
#1449 Wrong grammar with single file upload
2017-01-16 11:50:23 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +00:00
Denys Vuika
df97a2e24c fix unit tests 2017-01-06 09:55:07 +00:00
Denys Vuika
d42f41ec00 Migrate from window.console to LogService 2017-01-05 21:06:30 +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
Will Abson
fb851271e9 Fix uploads from folders opened from search results
Refs #1248
2016-12-16 17:52:57 +00:00
Eugenio Romano
e133fd6408 create bundle for all components 2016-12-14 15:49:08 +00:00
Maurizio Vitale
3a288c6b1b #1181 Show toast message once (#1189)
* #1181 Show toast once

* #1181 fix unit test

* #1181 Fix unit test compilation problem
2016-12-01 16:28:16 +00:00
mauriziovitale84
acb06e92c4 #1076 Fix the translation in all the components 2016-11-25 19:09:06 +00:00
Eugenio Romano
ae6f4eeb1c fix any type build 2016-11-25 19:09:06 +00:00
Mario Romano
6ee5bf6ece fix upload dialog size for mobile 2016-11-02 01:48:35 +00:00
Mario Romano
2a257fac68 #680 fix upload dialog z-index 2016-10-27 09:47:54 +01:00
Eugenio Romano
68465e46f2 remove consecutive blank line 2016-10-12 13:47:38 +01:00
Eugenio Romano
362e2e32ea fix test and coverage Angular2 Final release uploader component #749 2016-10-06 21:54:01 +01:00
Eugenio Romano
12914e0680 change tsconfig,module name ,karma.conf,karma-tst-shim and #749 2016-10-06 11:56:07 +01:00
Denys Vuika
9e0534ff90 Upgrade ng2-alfresco-upload 2016-09-21 18:23:57 +01:00
Denys Vuika
34e46b32cc fix unit tests 2016-09-17 20:24:44 +01:00
Denys Vuika
2c830d9693 Single place for translate pipe 2016-09-17 19:56:55 +01:00
Vito Albano
83742eea94 Added tab and title to upload list elements 2016-09-07 15:08:24 +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
3c662de36d Update upload service with Api service 2016-08-30 14:38:28 +01:00
Eugenio Romano
39f1e7e163 remove color style 2016-08-25 11:57:36 +01:00
Eugenio Romano
23da361622 add autorename as default behaviour and the possibility to use the versioning 2016-08-24 16:21:31 +01:00
Eugenio Romano
c82b69a4bf fix upload mock 2016-08-23 16:56:01 +01:00
mauriziovitale84
690e989893 OnDestroy call unsubscribe 2016-08-15 13:47:24 +01:00
mauriziovitale84
81220d17a3 Fix error when the dialog is not initialized 2016-08-12 16:52:30 +01:00
Vito Albano
73037df92d Added new data-automation-id to uploader 2016-07-26 11:11:59 +01:00
Denys Vuika
713f1c02de Merge pull request #451 from Alfresco/dev-mvitale-436
Fix undo problem
2016-07-22 15:54:37 +01:00
mauriziovitale84
07d5c86b1b Fix unit test 2016-07-20 17:01:25 +01:00
mauriziovitale84
cab661064c Emit event when the folder is created 2016-07-20 16:51:21 +01:00
mauriziovitale84
1a88061017 Fix undo problem 2016-07-20 12:04:38 +01:00
Denys Vuika
aaed924b6f Improve 'upload' package config 2016-07-15 11:55:50 +01:00
mauriziovitale84
7f3a450e6d Fix unit test upload 2016-07-14 15:31:24 +01:00
Eugenio Romano
2ddaa76ea1 upload porting first step 2016-07-13 00:32:22 +01:00
Mario Romano
529ba02ecf Merge pull request #391 from Alfresco/dev-mvitale-343
Adapt the Login component to works also with activiti
2016-07-11 10:11:41 +01:00
mauriziovitale84
eb727fb642 Fix upload unit test Http dependency 2016-07-11 09:30:57 +01:00
mauriziovitale84
e8c363e520 Fix token problem 2016-07-08 12:55:14 +01:00
Eugenio Romano
b824c79772 Minimise button for upload dialog is on the wrong level #330 2016-07-08 12:26:47 +01:00
Mario Romano
39b30e60f0 Merge pull request #308 from Alfresco/dev-mvitale-292
Improve test cases
2016-06-29 11:39:20 -07:00
Mario Romano
50c9708b6f fix css 2016-06-29 18:41:30 +01:00
Mario Romano
81d13e4195 #292 floating dialog 2016-06-29 18:06:09 +01:00
mauriziovitale84
c1d50a1c7d Improve test cases 2016-06-29 17:35:47 +01:00