79 Commits

Author SHA1 Message Date
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
Eugenio Romano
f3c9ffab8d remove style in html #1678 (#1743) 2017-03-22 10:50:24 +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
57557a991e support for column definitions in html (#1705)
* support for column definitions in html

- provides generic support for html-based column definitions for
datatable-like controls

* html column definitions for Task List component

* html column definitions for Document List component

* update code and documentation
2017-03-13 11:05:52 +00:00
Eugenio Romano
59cbbcbe4d Dev eromano external viewer (#1636)
* add extensibility point to add a custom viewer

* documentation and tests

* add example in document list
2017-02-16 09:50:12 +00:00
Eugenio Romano
5c5911beef Dev eromano tag example (#1596)
* Update README.md

* Readme update with tag example integration document list

* add tag component in the document list demo
2017-02-06 09:54:35 +00: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
Denys Vuika
eacdfd7f6a Support for column (cell) templates (#1513)
support for column (cell) templates readme updates and test fixes
2017-01-23 10:28:57 +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
ea84396c29 Fix navigation to example folders
Refs #1287
2016-12-15 17:05:27 +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
mauriziovitale84
5fa2a8d075 #384 improve style and error messagge 2016-12-07 10:29:47 +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
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
Denys Vuika
6104c5d669 Upgrade ng2-alfresco-upload, code fixes 2016-09-21 14:12:42 +01:00
Eugenio Romano
7ea1c0e6f2 hide the documentlist during the show of a file 2016-09-06 17:28:39 +02:00
Vito Albano
5af552fa8d Added label to filter upload 2016-09-05 20:41:43 +01:00
Mario Romano
c5817b7011 add option to demo 2016-08-26 12:22:13 +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
Denys Vuika
e00896da4e Use mime icons by default within demo app 2016-08-24 08:54:22 +01:00
Eugenio Romano
822f3b8d89 ask for thumbnail redintion #549 2016-08-23 19:19:24 +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
Eugenio Romano
3859c4cd47 Cannot view a file #449 2016-07-20 12:10:52 +02:00
Eugenio Romano
387ac6329c add checkbox option file upload 2016-07-18 16:14:31 +01:00
Denys Vuika
380652df83 Move 'pagination' to the core, barrel files for core 2016-07-14 12:04:30 +01:00
Denys Vuika
e49b00fab4 #70 demo shell updates 2016-07-13 12:32:03 +01:00
Denys Vuika
aa6c9a988f #70 pagination component (first cut), mdl directives 2016-07-12 19:53:53 +01:00
Denys Vuika
9b6dcde0bc #393 readme update 2016-07-11 12:23:36 +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
5c8d13284b #254 UI improvements
- out-of-box ‘ellipsis-cell’ class for styling columns
- extended demo with long column text truncation
- table cell layout improvements
2016-06-22 16:11:42 +01:00
Denys Vuika
859827f7c1 #251 api improvements (document list) 2016-06-22 12:51:44 +01:00
Mario Romano
2b8ba662c9 Merge pull request #249 from Alfresco/dev-mvitale-225
Fix test responsiveness upload component #225
2016-06-21 16:38:12 -07: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
mauriziovitale84
6d8247b785 Fix upload responsiveness 2016-06-21 10:08:12 +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
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
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
4dd1073f70 #124 double click navigation, 'preview' event 2016-06-08 14:49:47 +01:00
Denys Vuika
e657fcdcab #164 column types, date formatting 2016-06-08 13:11:53 +01:00
Denys Vuika
821b82ee29 #152 support for mime type icons 2016-06-07 17:00:58 +01:00
Denys Vuika
e0d8b1fe31 #152 Support for custom 'empty folder' template
- default background image for empty folders
- support for user-defined custom templates
- readme updated
2016-06-07 14:32:07 +01:00
Eugenio Romano
7acc96c61c #68 close button 2016-06-02 12:58:49 +01:00