Commit Graph

60 Commits

Author SHA1 Message Date
Denys Vuika
9bb7d90670 [ADF-610] Upload button and DnD area should not upload hidden files and folders (#1908)
[ADF-610]  upload cleanup
- more strongly typing
- api improvements

* Upload cleanup and api improvements

- remove old unused settings (formFields variable)
- individual options for uploaded files (i.e. versioning)
- upload button and drag-and-drop area now set individual settings for file versioning

* exclude hidden files from upload
2017-06-29 15:09:03 +01:00
Eugenio Romano
e376b34341 update version library demo folders (#1901)
* update version library demo folders

* fix demo dependency

* fix upload demo and check permissions

* fix images webpack resolution

* fix update versions script
2017-05-25 15:12:56 +01:00
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Maurizio Vitale
50abe09edb Fix bug related to upload button permission (#1838)
* Add the permission check on the activiti button

* Fix code after unit test

* Add basic documentation

* Improve the code and fix the missing file issue

* Fix unit test after refactoring

* remove duplicate log
2017-04-27 14:05:11 +01:00
Denys Vuika
95711616ca upload button enhancements (#1835)
- add support for [disabled] attribute
- move to angular/material icons
- improve demo shell layout (files.component)
2017-04-27 14:05:11 +01:00
Maurizio Vitale
0e4dab8b66 Disable upload button with no permission (#1820)
* Add the permission check on the activiti button

* Fix code after unit test

* Add basic documentation
2017-04-27 14:05:10 +01: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
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +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
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
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
2c830d9693 Single place for translate pipe 2016-09-17 19:56:55 +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
mauriziovitale84
81220d17a3 Fix error when the dialog is not initialized 2016-08-12 16:52:30 +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
mauriziovitale84
05c0a8246a Use new upload API 2016-06-22 16:17:19 +01:00
mauriziovitale84
75a533bcde Fixed regression problem 2016-06-21 10:16:26 +01:00
Denys Vuika
7f93baf59c Fix 'upload' code style issues (tslint) 2016-06-16 13:37:23 +01:00
mauriziovitale84
604c1c7eba #189 Fix upload test 2016-06-15 15:05:54 +01:00
Denys Vuika
bd1100c33b Improve 'ng2-alfresco-core' imports 2016-06-15 13:57:47 +01:00
Denys Vuika
2428396ab6 Upgrade Upload to angular 2.0.0-rc.1 2016-06-14 11:02:41 +01:00
mauriziovitale84
7b69e57d0b #160 Added error folder already exists 2016-06-09 12:00:48 +01:00
mauriziovitale84
afd5631bdb Fixed error 2016-06-08 17:55:33 +01:00
mauriziovitale84
441d65a0e1 # Changed TranslationService 2016-06-08 17:48:30 +01:00
mauriziovitale84
fc93f89fe9 #125 reset file value 2016-06-02 15:10:54 +01:00
mauriziovitale84
b173239cf6 #129 Fixed import 2016-06-02 12:42:02 +01:00
mauriziovitale84
3abee3c8ac #46 Updated doc 2016-06-02 12:38:27 +01:00
mauriziovitale84
58ceebe53a #105 Refactoring file dialog component 2016-06-02 09:43:34 +01:00
mauriziovitale84
97e8195d52 #122 Print basic file info 2016-06-01 10:59:06 +01:00
mauriziovitale84
dc14a26786 #102 Fixed folder creation structure on folder upload button 2016-05-27 10:42:44 +01:00
Mario Romano
c13d6a7fc3 fix dependencies and core 2016-05-21 04:25:44 +01:00
mauriziovitale84
cb6b036caf #46 JSDoc and doc of File upload Event onSucces 2016-05-20 18:12:19 +01:00
Mario Romano
293662ec4f fix upload demo and inject uploadservice 2016-05-20 18:00:02 +01:00
mauriziovitale84
9c9c4fbba2 Fixed translation service 2016-05-20 17:23:35 +01:00
Mario Romano
3e54eaf5fe fix translate 2016-05-19 19:39:13 +01:00
Mario Romano
c771c0a205 dist folder for uploader component 2016-05-19 16:23:25 +01:00
mauriziovitale84
ca6d5725e9 Improved AlfrescoTranslationService 2016-05-19 15:51:07 +01:00