Commit Graph
83 Commits
Author SHA1 Message Date
Cilibiu Bogdan d7ff927b79 [ADF-4845] Uploader - Expanded/collapsed state not exposed (#5015)
* state accessibility

* remove aria-disabled
2019-08-29 20:13:57 +01:00
Cilibiu Bogdan f35f0466e6 [ADF-4839] Document List - column name link accessibility (#5011)
* accessibility

* rename translation key

* translation key name

* link name component accessibility

* generic translation
2019-08-29 15:07:01 +01:00
Cilibiu Bogdan 9960a37e9a add aria label and selected (#4999) 2019-08-19 22:53:25 +02:00
Cilibiu Bogdan f5c5e7cf9e add aria-sort (#4997) 2019-08-19 11:33:48 +01:00
Cilibiu Bogdan 3453cacaea [ADF-4802] Login accessibility (#4988)
* login button aria label

* password toggle accessibility

* translation

* fix test

* fix automation if
2019-08-12 16:41:32 +01:00
Cilibiu Bogdan b176a43fba [ADF-4497] ARIA role must be appropriate for the Breadcrumb element (#4986)
* breadcrumb accessibility

* translation
2019-08-12 16:28:53 +01:00
Cilibiu Bogdan ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +01:00
Cilibiu Bogdan 4603cef19e [ADF-4667] Document list - sorting icon RTL fix (#4848)
* sorting icon RTL fix

* single quotes over double quotes

* overspecify position
2019-06-14 10:04:59 +01:00
Cilibiu Bogdan f18d534f9e update documentation (#4814) 2019-06-06 11:17:22 +01:00
Cilibiu Bogdan cb25979a00 mirror mat icon when direction is rtl (#4815) 2019-06-06 11:13:07 +01:00
Cilibiu Bogdan 0684098f60 [ADF-4626] Breadcrumb - directionality styling (#4810)
* direction styling

* remove text align
2019-06-05 15:01:05 +01:00
Cilibiu Bogdan 0cfc5bc1b7 [ADF-4625] Search Input does not respect RTL mode (#4806)
* configurable animation

* bind state attribute to value

* configure animation state based on direction

* update tests

* lint

* direction style
2019-06-04 09:15:44 +01:00
Cilibiu Bogdan 148f9830aa fix textOrientation value (#4805) 2019-06-03 17:15:37 +01:00
Cilibiu Bogdan 9aafb80483 [ADF-4601] DemoShell - Side navigation RTL support (#4768)
* rtl support

* fix lint

* Run e2e in case demoshell has been changed

* Skip file

* Skip file

* remove demoshell directive

* refactor side navigation

* remove env.cloud file

* class name selectors

* side navigation selectors

* fix clickMenuButton selector

* nested menu element context

* fix notification navigation selector
2019-05-29 20:02:15 +01:00
Cilibiu Bogdan 9cf6f5519c [ADF-4579] Layout - RTL support (#4741)
* single contentAnimation state

* fine tune contentAnimation state based on direction and position

* tets

* fix mock component inputs

* use native direction attribute

* update docs

* pass direction to calculate sidenav layout

* update test

* fix unit test

* remove dialogs directionality workaround

* set document directionality service

* remove context menu direction workaround

* remove unneeded dependencies

* remove direction style workaround

* remove permission icon direction

* remove sidenav layout direction attribute

* update docs

* update sidenav layout direction

* test

* remove document type

* update test dependencies

* clear storage before test

* test

* fix dl gap

* try to fix Uncaught QuotaExceededError

* fix QuotaExceededError

* fix tests

* fix tests
2019-05-29 16:17:13 +01:00
Cilibiu Bogdan 58cf10be5f [ADF-4582] User preference - set layout orientation based on locale (#4744)
* set textOrientation based on locale

* remove manually setting textOrientation

* tests

* revert to getBrowserCultureLang

* match languages keys

* update tests

* fix types
2019-05-22 14:02:51 +01:00
Cilibiu Bogdan cff9bf0930 [ADF-4584] Header RTL styling (#4746) 2019-05-20 16:33:47 +01:00
Cilibiu Bogdan bb0bdbfc1d [ADF-4583] Upload dialog - RTL support (#4745)
* overwrite mat-drawer-content position

* set attributes based on direction and position

* add direction support

* update tests

* update doc

* fix direction description

* use native direction attribute

* bind to dir input

* update docs

* remove direction attribute

* listen to user preference textOrientation changes

* update tests

* remove unused import
2019-05-20 15:45:10 +01:00
Cilibiu Bogdan 52c5ec03bc [ADF-4578] remove duplicate language entry (#4739) 2019-05-17 10:56:37 +01:00
Cilibiu Bogdan 164d398abc [ADF-4227] Material Dialog - change direction option based on textOrientation (#4716)
* change matDialog direction based on textOrientation

* move dialog providers to material.module

* extend initial options

* move UserPreferencesService from factory

* update module

* update test

* material dialog correct reference

* extend default global options

* tests
2019-05-14 12:52:03 +01:00
Cilibiu Bogdan de0f906163 [ADF-4543] Language Menu - set layout orientation (#4719)
* language entry interface

* pass language object

* set textOrientation

* tests

* update doc

* add rtl language
2019-05-14 12:45:05 +01:00
Cilibiu Bogdan 4f13dcc3e2 [ADF-4545] Context Menu - RTL support (#4722)
* set overlay direction

* test
2019-05-14 12:43:52 +01:00
Cilibiu Bogdan 3b83539b13 [ADF-4227] Sidenav Layout - support direction (#4583)
* basic ui direction service

* direction property

* demo shell integration

* move the direction in up sidenav layout to allow also the header to reorganize
use the configuration editor to change rtl ltr
add documenation

* Update app.component.html

* fix unit tests

* fix overlay viewer e2e

* fix e2e
2019-04-25 00:48:41 +01:00
Cilibiu Bogdan cc53d96698 [ADF-4410] Upload dialog - remove delete action of version upload (#4618)
* undo remove node version implementation

* clean up style

* version upload row style

* upload version row cells

* update tests

* fix aria label
2019-04-18 15:36:37 +02:00
Cilibiu Bogdan 36ce9bce0d [ADF-4400] Versioning - restore does not update the document list (#4605)
* emit NodeInfo data on restore

* update row data and cache on node update event

* tests

* fix metadatat e2e
2019-04-16 11:59:37 +02:00
Cilibiu Bogdan 8975d4b6a6 [ADF-4371] Versioning - revert upload version on delete (#4572)
* revert upload version on delete

* methods return type
2019-04-10 16:30:50 +01:00
Cilibiu Bogdan 5b168af134 [ADF-3897] Upload Dialog - upload file error tooltip (#4148) 2019-01-15 16:28:41 +00:00
Cilibiu Bogdan baf9204a04 Uploaded over Uploading title (#4157) 2019-01-15 15:45:24 +00:00
Cilibiu Bogdan 7f106f7a56 [ADF-3864] Create library - no error is displayed when name contains white spaces only (#4101)
* only spaces error message

* title custom error support

* tests

* validate title against only spaces

* generate id only when title is valid
2018-12-21 18:06:35 +00:00
Cilibiu Bogdan 5396cfb662 library title case insensitive check (#4099) 2018-12-21 15:01:42 +00:00
Cilibiu Bogdan 3a9924e9df [ADF-3645] Shared link - e2e (#3853)
* relocate file

* methods and locators

* share file tests

* unshare file tests

* fix import

* use FormControllersPage

* use clickUnShareFile method

* break tests

* add methods for disabled day option

* test disabled day option

* fix test new import
2018-10-11 17:03:31 +01:00
Cilibiu Bogdan 95587de864 [ADF-3530] Share file dialog - expiration date update (#3860)
* disable button when no selection

* fix date
2018-10-04 15:38:42 +01:00
Cilibiu Bogdan 4ca80e13f1 [ADF-3530] Share file dialog - AC update (#3847)
* AC update

* use simple-snack-bar selector

* toContain matcher

* use fakeAsync for dialog content

* spy on snackbar component

* test NotificationService call

* tick

* use fixture whenStable
2018-10-03 09:53:25 +01:00
Cilibiu Bogdan 42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +01:00
Cilibiu Bogdan 3857364b39 subscribe until destroyed (#3776) 2018-09-12 13:03:12 +01:00
Cilibiu Bogdan 2deafbbdd7 default add comment button translation (#3696) 2018-08-14 15:43:16 +01:00
Cilibiu Bogdan 4404b724fa [ADF-3456] DocumentList - context menu (#3694)
* refactor context menu

* prune log

* remove fdescribe

* remove undescore from private

* fix e2e action buttons

* fix trailing space

* remove fdescribe
2018-08-14 15:43:15 +01:00
Cilibiu Bogdan f36f9fa862 [ADF-3374] Comments - add/view multiline comments (#3607)
* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event

* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event
2018-08-14 15:42:34 +01:00
Cilibiu Bogdan c0de0d5087 [ADF-3181] Auth Guard - redirect by string url (#3474)
* redirect by string url

* auth guard tests fix

* revise
2018-06-14 10:19:34 +01:00
Cilibiu Bogdan 2f12f518ef [ADF-3108] Search - facetQueries panel renders when not defined in configuration (#3417)
* show facetQueries based on configuration definition

* tests

* FacetQueries is defined
2018-05-31 22:05:46 +01:00
Cilibiu Bogdan 648ac585b4 [ADF-2627] Icons-only mode for Info Drawer (#3398)
* tab with icon

* docs

* test
2018-05-26 11:18:28 +02:00
Cilibiu Bogdan c5936e7db0 revert changes (#3387) 2018-05-24 10:15:42 +01:00
Cilibiu Bogdan 89ede1514b remove redundant logic (#3361) 2018-05-22 16:47:08 +01:00
Cilibiu Bogdan 374c5a3fed [ADF-2995] Permissions - Consumer should be able to upload a new version for his file on a private site (#3326)
* check node permission instead of parent

* tests
2018-05-16 09:40:49 +01:00
Cilibiu Bogdan f63614e964 pass actual redirect when no state (#3285) 2018-05-09 07:59:03 +01:00
Cilibiu Bogdan d456b3cba1 [ADF-2904] Search - redirect breaks application (#3268)
* set navigation commands over plain string

* fix test

* lint
2018-05-08 14:46:35 +01:00
Cilibiu Bogdan 3bc419e128 download shared nodes (#3229) 2018-04-25 11:01:00 +01:00
Cilibiu Bogdan 95a2a54017 update pagination on count 0 (#3228) 2018-04-24 17:24:01 +01:00
Cilibiu Bogdan ae8b7419a0 [ADF-2415] PDF Viewer - open password protected pdf files (#3022)
* pdf password dialog

* PDF viewer onPassword test

* pdf password dialog

* PDF viewer onPassword test

* test

* test

* test

* test

* test

* test

* test

* fix password test

* travis improvements
2018-03-21 21:30:20 +00:00
Cilibiu Bogdan de0fdd9ab4 translate group title (#3105) 2018-03-21 15:18:09 +00:00
Cilibiu Bogdan eedb7a65db disable fullscreen for media types (#3026) 2018-03-06 07:03:35 +00:00
Cilibiu Bogdan 69ac38713f [ADF-2388, ADF-2375] PDF Viewer - show buffer thumbnail on pagechange (#3011)
* disable thumbnails button until document is loaded

* show buffer thumbnail on page change

* correct value property

* correct test
2018-03-06 07:00:52 +00:00
Cilibiu Bogdan 1c48a3c0df [ADF-2355] Viewer - text color opacity (#2991) 2018-02-23 15:29:22 +00:00
Cilibiu Bogdan 9bbdf4331e [ADF-2338] PDF Thumbnail Pane - close button (#2977)
* close thumblist panel

* thumbnails template container
2018-02-22 09:29:20 +00:00
Cilibiu Bogdan 28ca71a5f9 [ADF-2137] Document Thumbnail Pane (#2943)
* pdf thumbnails

* update TestBed declarations

* add PdfViewerService to TestBed

* content projection

* update TestBed declaration

* update TestBed

* update TestBed

* docs

* pristine

* added doc component image

* use global PDFJS instance fro tests
2018-02-20 10:29:40 +00:00
Cilibiu Bogdan 3368607aff [ADF-2290] PDF Viewer - scroll event dispatch outside view container (#2922)
* use viewer pagechange event over document scroll

* undo declaration component deletion

* safe ngOnDestroy

* preserve context
2018-02-12 15:22:35 +00:00
Cilibiu Bogdan 39737b3df6 canActivateChild implementation (#2691) 2017-11-22 10:07:27 +00:00
Cilibiu Bogdan a9bb6dff3a missing style (#2670) 2017-11-20 13:23:38 +00:00
Cilibiu Bogdan 5fff7fcb29 no permission content (#2616) 2017-11-07 16:40:19 +00:00
Cilibiu Bogdan 834b8a98a2 redirect to previous state.url (#2615) 2017-11-06 23:47:17 +00:00
Cilibiu Bogdan 3478b06716 [ADF-1856] Document List - location fails for granular permissions (#2583)
* check if path has data

* updated docs

* check for required properties

* simplied condition
2017-11-02 14:25:39 +00:00
Cilibiu Bogdan 75b0267f0b emit errors (#2593) 2017-11-02 10:32:54 +00:00
Cilibiu Bogdan b0fe0ba03d error event description (#2584) 2017-11-01 11:36:01 +00:00
Cilibiu Bogdan b67ed7e545 removed DL reload dependency (#2581) 2017-11-01 09:36:51 +00:00
Cilibiu Bogdan 14e2cb83d3 use https (#2578) 2017-10-31 15:34:03 +00:00
Cilibiu Bogdan d019dab147 [ADF-1794] Document List - users can see sites they are not members of (#2552)
* member sites

* SitePaging type
2017-10-26 22:54:49 +01:00
Cilibiu Bogdan 2ce0441048 [ADF-1815] sort options (#2545) 2017-10-25 15:31:42 +01:00
Cilibiu Bogdan 834a61eda4 sort by file size (#2514) 2017-10-20 10:17:23 +01:00
Cilibiu Bogdan 4e558cb162 [ADF-1753] update counter (#2498) 2017-10-18 20:15:18 +01:00
Cilibiu Bogdan 448c5564b2 [ADF-1745] Delete multiple nodes (#2481)
* multiple delete

* removed restore functionality

* data types
2017-10-18 09:26:10 +01:00
Cilibiu Bogdan bfe8fc8d15 [ADF-1733] Restore files and folders from Trash (#2467)
* restore nodes

* changed @Inputs implementation

* NotificationService over mdSnackBar
2017-10-14 11:24:16 +01:00
Cilibiu Bogdan 892157f01c [ADF-1729] Mark Files and Folders as Favorite (#2466)
* favorite nodes

* removed fdescribe

* use Output over CustomEvent

* EventEmitter any
2017-10-13 10:34:25 +01:00
Cilibiu Bogdan c400d83b34 [ADF-1708] Context Menu - Material Design implementation (#2456)
* use angular material

* removed fdescribe
2017-10-11 10:14:52 +01:00
Cilibiu Bogdan 809e14d641 [ADF-1616] download zip dialog title (#2397) 2017-09-29 09:00:06 -04:00
Cilibiu Bogdan e295a05a56 remove import colors (#2254) 2017-09-05 15:16:41 +01:00
Cilibiu Bogdan e199d0cb6d [ADF-1457] Upload Dialog - Cancel all confirmation dialog (#2248)
* cancel all confirmation

* confirmation text
2017-09-05 15:16:41 +01:00
Cilibiu Bogdan 9e0d132353 also export NodeActionsService (#2250) 2017-09-05 15:16:41 +01:00
Cilibiu Bogdan 07ba8bc15f [ADF-1403] Upload Dialog - Delete files event (#2234)
* remove provisional service

* Error and Delete events

* delete status

* separate upload events

* update demo

* files upload counter and errors

* pendig files icon and action

* remove multiple files error key

* handle cancel files

* fixed component theme

* remove fdescribe

* resolved comments

* throw error
2017-09-05 15:16:41 +01:00
Cilibiu Bogdan d460824df4 prevent color inheritance (#2202) 2017-09-05 15:16:41 +01:00
Cilibiu Bogdan 4ec188141b [ADF-1358] Upload Dialog - Uploaded indicator should take in consideration cancelled files (#2197)
* indicate the number of files completed over cancelled ones

* changed test names
2017-09-05 15:16:41 +01:00
Cilibiu Bogdan 734c1260ca [ADF-1348] Upload Dialog - 'Cancel All' button does not render (#2192)
* refactored isUploadCancelled and isUploadCompleted

* improved checks
2017-09-05 15:16:41 +01:00
Cilibiu Bogdan 1c6ee6e7bf [ADF-924] upload dialog unit tests (#2132) 2017-08-01 11:25:32 +01:00
Cilibiu Bogdan aad7164042 [ADF-924] Upload Component enhancements (#2115)
* changed logic/design

* restored dialog component spec

* revert changes

* update upload dialog documentation

* public over private

* component close method
2017-08-01 11:25:32 +01:00