69 Commits

Author SHA1 Message Date
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
Eugenio Romano
6af0f10fa8 demo shell remove unused import and add tslint on start dev 2017-04-27 14:05:08 +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
Eugenio Romano
dba5d5a037 reload folder after success upload event only if is the event is related to the current folder #1637 (#1813) 2017-04-27 14:05:08 +01:00
Denys Vuika
63a7585922 fix 'change detection crash' when using router multiple times (#1550) 2017-01-26 22:04:27 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +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
mauriziovitale84
896c57fa53 #1370 Removed deprecated AlfrescoAuthenticationService 2017-01-04 17:28:29 +00:00
Denys Vuika
82e0a2016d cleanup demo page 2017-01-03 19:47:04 +00:00
Denys Vuika
40b9baaa64 id-based navigation (initial implementation) 2017-01-03 16:44:13 +00:00
Will Abson
fb851271e9 Fix uploads from folders opened from search results
Refs #1248
2016-12-16 17:52:57 +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
Denys Vuika
c7167bb812 basic webpack setup 2016-12-06 15:39:22 +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
Vito Albano
685349c617 Added more check for file component on demo shell 2016-11-11 15:57:52 +00:00
Denys Vuika
3fcc84cd02 Upgrade demo-shell 2016-09-21 12:09:14 +01:00
Denys Vuika
2c830d9693 Single place for translate pipe 2016-09-17 19:56:55 +01:00
Mario Romano
c5817b7011 add option to demo 2016-08-26 12:22:13 +01:00
Eugenio Romano
6c2d501019 Fix same file content is displayed as first document opened 2016-08-25 12:36:49 +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
eb68bd5f48 insert new logic in the demo Shell 2016-08-04 10:24:50 +01:00
Denys Vuika
3a9e89a19a Tabs widget enhancements, Form Viewer route 2016-07-29 19:15:06 +01:00
Denys Vuika
21194e373a #484 add process actions for folder menus 2016-07-28 10:22:07 +01:00
Denys Vuika
a945cd1fff #482 populate action/context menu with bpm processes 2016-07-27 11:44:20 +01:00
Eugenio Romano
387ac6329c add checkbox option file upload 2016-07-18 16:14:31 +01:00
Denys Vuika
e5355bd603 Move 'pagination' from 'core' to 'datatable' 2016-07-14 14:50:47 +01:00
Denys Vuika
380652df83 Move 'pagination' to the core, barrel files for core 2016-07-14 12:04:30 +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
4129210639 #227 improved styling support for columns
- support for custom css class for entire column (th + td) including
cell values
- demo for responsive columns behaviour
2016-06-20 16:28:31 +01:00
Denys Vuika
fccbe20d1a Improve 'ng2-alfresco-viewer' imports 2016-06-15 14:30:59 +01:00
Denys Vuika
0a973ef025 Improve 'ng2-alfresco-upload' imports 2016-06-15 14:26:36 +01:00
Denys Vuika
5b0667d589 Improve 'ng2-alfresco-documentlist' imports 2016-06-15 14:07:26 +01:00
Denys Vuika
bd1100c33b Improve 'ng2-alfresco-core' imports 2016-06-15 13:57:47 +01:00
Denys Vuika
bcff692a7b Upgrade Demo App to angular 2.0.0-rc.1 2016-06-14 12:06:29 +01:00
Denys Vuika
dda57d8b8b #181 Context menu implementation 2016-06-13 13:37:10 +01:00
Will Abson
f0e00e39c3 Fix filename shown in title area of viewer component 2016-06-10 12:22:21 +01:00
Will Abson
a91f563004 Fix unused variable tslint issue and remove AlfrescoSettingsService 2016-06-10 11:06:32 +01:00
Mario Romano
d232ef7db7 remove unused var 2016-06-10 10:17:55 +01:00
Will Abson
294cca91de Use public API content URLs in viewer component
- Required a more sophisticated way to detect PDF content
2016-06-09 18:59:11 +01:00
Denys Vuika
0c03a128dd Using host from settings to display pdf 2016-06-01 16:30:25 +01:00
Eugenio Romano
367f2cc4ca #68 first simple integration filelist and viewer 2016-05-31 17:57:50 +01:00
Denys Vuika
366d147d53 #9 new 'folderChange' event
- introduce new ‘folderChange’ event
- deprecated ‘folderClick’ event
- improved automation-id generation for cells
2016-05-31 16:05:38 +01:00
Mario Romano
c08b33b155 add license check to the demo 2016-05-31 14:29:51 +01:00
Eugenio Romano
4d53cd107e #68 add viwer in the demo shell
add tslint
fix minor tslint errors
2016-05-26 11:46:24 +01:00
mauriziovitale84
472f3ed160 #94 Points 1 2 3 done 2016-05-23 14:15:24 +01:00
Mario Romano
c13d6a7fc3 fix dependencies and core 2016-05-21 04:25:44 +01:00
Mario Romano
3e54eaf5fe fix translate 2016-05-19 19:39:13 +01:00
Mario Romano
337f00999d demo 2016-05-19 02:09:56 +01:00