Commit Graph

30 Commits

Author SHA1 Message Date
Denys Vuika
9d3962b3b5 [ADF-1287] compatibility with the new noUnusedLocals rule (#2170)
* support for noUnusedLocals rule

* clean diagram components

* code cleanup

* Viewer fixes

* code fixes

* code fixes
2017-09-05 15:16:41 +01:00
Popovics András
4fd8bfb875 [ADF-1041] Node picker, first iteration (#2122)
* First try

* Dialog basic functionality

* Search input

* Hammering it together

* Fist working proto for copy

* Fix the tests and tslint errors for a happier world

* Add more tests (and test shells for the future)

* copyNode and moveNode methods

* Copy and move actions for content type

* Extract common parts in favor of using them in folder content type also

* Small fixes

* Copy and Move actions for folders as well

* Style fixes, ui behaviours and tests needed to be written

* Move duplicated search service from documentlist to core

* Use search service from core within the search component

* Fix dialog width

* Update docs

* Tests for node selector

* Change seletionMade event's name to select
2017-08-01 11:25:32 +01:00
Eugenio Romano
a9142e2ca2 [ADF-1040] Change document list style rows based on permissions model (#2085)
* Change document list style rows based on permissions model

* fix test
2017-08-01 11:25:32 +01:00
Eugenio Romano
29ca8b5c5e [ADF-859] add codelyzer in core and datatable (#2056)
* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
2017-08-01 11:25:32 +01:00
Eugenio Romano
ee871ba578 [ADF-506] Unify thumbnail service (#2014)
* move thumbnail service in core

* fix folder
2017-08-01 11:25:32 +01:00
Maurizio Vitale
f6102dfc07 DocumentList - Check permissions on delete folder/file (#1808)
* Add check permission on delete folder/file

* Provide a way to disable the action when if there is no permission

* Improve the code using the external permission inside the folder/document action service

* Add basic documentation.
 - How disable the button when the permission is missing
 - How to show a notification message when the permission is missing

* Resize the image

* Change the value to true for demo purpose

* Update folder-actions.service.ts

* Update document-actions.service.ts
2017-04-27 14:05:08 +01: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
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
Denys Vuika
d42f41ec00 Migrate from window.console to LogService 2017-01-05 21:06:30 +00:00
Denys Vuika
71877aa8d0 upgrade 'create folder' action 2017-01-03 21:13:17 +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
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
mauriziovitale84
8775ec7c31 #384 Provide Create Folder button 2016-12-06 16:55:58 +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
Eugenio Romano
d87a768d20 Remove deprecated use of getAlfrescoApi() #1094
remove getAlfrescoApi from auth #1094
2016-11-28 14:04:58 +00:00
Eugenio Romano
08737e8760 rename import alfresco api document list 2016-10-31 09:49:12 +00:00
Mario Romano
3e0fd310c5 fix tests 2016-09-06 19:18:35 +01:00
Mario Romano
f9210ba048 change needed for health care app 2016-09-06 19:18:35 +01:00
Eugenio Romano
67e47fa8fe improve test coverage document-list.service 2016-09-05 19:07:44 +02:00
Denys Vuika
f08796a3d2 Improved type safety 2016-08-24 17:46:55 +01:00
Denys Vuika
484b15f4e9 Update from development branch 2016-07-13 12:58:02 +01:00
Denys Vuika
7849ef4323 #70 pagination support for document list 2016-07-13 12:13:25 +01:00
Eugenio Romano
543d928ec2 fix integration document list datatable with new api 2016-07-13 00:33:09 +01:00
Eugenio Romano
0687e9f5fa add watching file in demo document list 2016-07-13 00:30:33 +01:00
Eugenio Romano
7396a57e5c migrate document list to new api 2016-07-13 00:30:33 +01:00
Denys Vuika
aa6c9a988f #70 pagination component (first cut), mdl directives 2016-07-12 19:53:53 +01:00
Denys Vuika
9c5ae7c05e #70 better component partitioning 2016-07-12 11:09:34 +01:00
Denys Vuika
0f0c5352c7 #340 Rename 'AlfrescoService' to 'DocumentListService' 2016-07-05 20:30:11 +01:00