100 Commits
Author SHA1 Message Date
Cilibiu BogdanandAdina Parpalita da8b2d64ae 1.9.1 bump (#1359)
* 1.9.1

* 1.9.1 bump

* bump aos version to the one containing the hot fix

* bump aca-shared

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
2020-03-07 14:46:58 +02:00
Cilibiu BogdanandAdina Parpalita 33d79960ab [MNT-21394] Edit in Microsoft Office opens MS Excel documents then immediately prompts that a newer version exists (#1357)
* aos url

* upgrade puppeteer

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
2020-03-07 05:45:21 +02:00
Cilibiu Bogdan f526db9657 [ACA-2621] Shared link - when dialog is closed focus is not returned to trigger (#1255)
* use custom component action

* adjust component. to render icon and menu action

* pass action data

* update selection after dialog closes

* update mocks
2019-11-22 14:16:23 +02:00
Cilibiu Bogdan cb268f2ebe [ACA-2489] - Drag and Drop is not operable with keyboard alone (#1235)
* filter out image-viewer for key navigation

* cancel keyboard navigation for cdk-overlay-container children
2019-10-24 07:55:57 +03:00
Cilibiu Bogdan 37f3a07906 fix revert (#1232) 2019-10-21 12:26:34 +03:00
Cilibiu Bogdan f29c477ce8 [ACA-2499] Document list - search results accessibility (#1212)
* accessibility

* fix focus outline
2019-09-30 12:27:59 +03:00
Cilibiu Bogdan 21ffcaf013 ADF 3.5.0-4de00f (#1198) 2019-09-09 13:51:54 +03:00
Cilibiu Bogdan 1091c6fe86 [ACA-2746] Side Navigation - conditionally render group of items (#1197)
* filter groups based on rule

* test

* update docs
2019-09-06 17:16:43 +03:00
Cilibiu Bogdan edf1e52e94 [ACA-2745] Viewer - return to location on close (#1196)
* use viewNodeExtras when calling action

* open viewer based on ViewNodeExtras data

* resolve closing destination based on ViewNodeExtras query params

* remove unused param

* call ViewNodeAction with correct params

* update tests

* update docs
2019-09-06 14:17:29 +03:00
Cilibiu Bogdan 2aa44ac6d8 [ACA-2499] DocumentList - custom name column link does not have a role (#1188)
* custom element as accessibility link

* fix focus outline

* internationalization key

* folder link aria-label

* use not folder evaluation  for shared files
2019-08-22 14:33:01 +03:00
Cilibiu Bogdan e31c0d6caf [ACA-2087] Overlay Viewer (#1175)
* viewer outlet over preview route

* use ViewNodeAction over ViewFileAction

* pass data to dynamic component

* ViewNodeComponent for view file  custom actions

* update docs

* pass primary url to show preview outlet

* update tests

* reset selection on navigation event

* document list update selection action when not viewer

* close viewer for move and delete from viewer

* location as router commands to work with search query

* make viewer to behave like former preview

* viewer error route

* call correct preview method

* remove view/error route

* navigate to show error

* span element for action name

* fix folder navigation

* fix test

* page title fix

* update tests

* locate better the viewer toolbar

* fix viewer url  link

* update navigation rules

* document-list directive tests

* try workaround for chrome 76

* try another workaround for using chromedriver 75 instead of 76

* ViewerEffects tests

* reset selection over reload

* fix tests

* add reset event test

* remove actions

* context menu action refresh on favourite

* reset selection on navigation

* add delete and upload events

* takeUntil after operators

* remove chrome workaround parameter

* filter navigation event
2019-08-08 15:38:50 +03:00
Cilibiu Bogdan 16291f9ad6 remove sign out action (#1157) 2019-07-09 15:06:49 +01:00
Cilibiu Bogdan de46b7f1fb remove OAUTH check (#1156) 2019-07-09 14:32:17 +03:00
Cilibiu Bogdan 896800e434 i18n update (#1148) 2019-07-05 09:23:25 +01:00
Cilibiu Bogdan 1bcb29473d relative order for context menu (#1145) 2019-07-02 15:45:58 +03:00
Cilibiu Bogdan 39de66088c reordering (#1143) 2019-06-28 12:06:48 +03:00
Cilibiu Bogdan e12fe93759 relocate edit folder (#1142) 2019-06-27 15:13:59 +03:00
Cilibiu Bogdan 16b7eee621 [ACA-2645] Shared - don't render shared settings action for multiple selection (#1141)
* check if is single selection

* tests
2019-06-27 09:18:00 +01:00
Cilibiu Bogdan 17ce7f1cbc [ACA-2473] action menus - reorder and capitalisation (#1135)
* reorder actions and typography

* capitalize labels

* added titlecase pipe name

* remove titlecase pipe

* actions titlecase strings

* update e2e

* fix text selector

* e2e exclude deleteaction checks
2019-06-26 12:02:40 +03:00
Cilibiu Bogdan 9e0e50d57d [ACA-2643] Upload new version - refactoring (#1138)
* refactor upload version effect

* subscriber noop fn

* move logic to subscribe

* tests
2019-06-26 10:33:13 +03:00
Cilibiu Bogdan 9b74063032 update edited folder node (#1136) 2019-06-21 15:34:16 +01:00
Cilibiu Bogdan aeffbe91b1 manually import locales (#1131) 2019-06-17 09:34:05 +01:00
Cilibiu Bogdan ca5795fac0 rtl fixes (#1128) 2019-06-14 10:26:31 +03:00
Cilibiu Bogdan 24217dc050 upgrade ADF 3.3.0 alpha (#1123)
* update to alpha

* remove locale
2019-06-08 15:01:24 +01:00
Cilibiu Bogdan baef12dd0f mirror mat-icon when rtl (#1119) 2019-06-05 14:08:40 +03:00
Cilibiu Bogdan 9fef05b69f 3.3.0 alpha update (#1118)
* alpha

* locale
2019-05-31 13:30:11 +03:00
Cilibiu Bogdan d28114f2ee [ACA-2390] Evaluators - user is admin (#1116)
* user isAdmin rule

* register rule

* test

* update docs

* remove fdescribe
2019-05-24 16:12:54 +01:00
Cilibiu Bogdan 07c7f49af1 [ACA] 3.3.0 alpha update (#1108)
* update to 3.3.0 alpha

* add arabic language

* layout orientation support

* take direction from parent

* set direction based on language locale on initialization

* test
2019-05-15 13:38:50 +01:00
Cilibiu Bogdan 996975fdb5 [ACA-2375] Contextmenu - RTL support (#1099)
* direction element wrapper

* use CONTEXT_MENU_DIRECTION injection

* direction injection token

* refactor positionStrategy

* set CONTEXT_MENU_DIRECTION  value

* test
2019-05-08 16:22:03 +01:00
Cilibiu Bogdan 6cb1ad4101 [ACA-2374] Sidenav - RTL support (#1098)
* add rtl HostBinding

* sidenav direction input

* remove unused style

* rtl style changes

* test
2019-05-07 07:33:09 +01:00
Cilibiu Bogdan ad1c8c58e6 enable tests (#1093) 2019-05-03 16:00:02 +01:00
Cilibiu Bogdan b2b234c3cb [ACA-2345] Metadata - edit button is not displayed for folders (#1078)
* remove node type check

* tests
2019-04-17 11:57:30 +03:00
Cilibiu Bogdan 5bf77dfc81 [ACA-2322] Sidenav - support dynamic components (#1066)
* dynamic components support

* subscribe to sidenav selector

* update module for extension

* sidenav selector

* support dynamic components definistion

* update docs

* stabilise tests

* Update src/app/components/sidenav/sidenav.module.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/components/sidenav/sidenav.module.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* rename selector
2019-04-12 10:39:05 +01:00
Cilibiu Bogdan 839c9d0dbb [ACA-2320] Navigation - support store actions (#1052)
* move component into folder

* update module

* add children template references

* clean up styling

* clean up theme

* use content projection

* remove old tests

* button menu component

* expand menu component

* link item component

* resolve action directive

* custom active link directive

* collapse template reference

* expanded template reference

* expansion panel directive

* item template directive

* menu panel directive

* support for ngrx actions

* update side navigation inplementation

* remove unused component

* remove unused styling

* update module

* clean up

* unit tests

* unit tests

* remove unused component

* lint

* remove unused import

* fix test

* add tooltip

* fix text

* fix e2e

* use action route commands

* remove fdescribe

* styles fix

* e2e fix tooltip test

* fix active route when drill down

* update docs
2019-04-05 13:03:40 +01:00
Cilibiu Bogdan ba1c3c9e3b [ACA-2284] Shared Link - Error when trying to download a shared file (#1026)
* shared link content download action

* use same action and effect

* call appropriate api baes on location

* remove unused property
2019-03-21 16:29:13 +02:00
Cilibiu Bogdan 8819f97de1 set relevance descending by default (#1027) 2019-03-21 12:56:28 +02:00
Cilibiu Bogdan c93afe23aa assert file extension validity first (#1025) 2019-03-19 07:13:12 +00:00
Cilibiu Bogdan becd71adff [ACA-2260] Open in Office - action breaks application in IE (#1014)
* ie office luncher workaround

* open office without location navigation

* check instance before remove
2019-03-13 16:26:54 +00:00
Cilibiu Bogdan 675d57c7e3 menu filter disabled items (#1009) 2019-03-11 07:44:43 +00:00
Cilibiu Bogdan d0d7765af3 [ACA] Search - show error message on error (#1003)
* show error message

* remove fdescribe
2019-03-08 09:39:16 +00:00
Cilibiu Bogdan 003cadfd86 fix route url special characters (#1000) 2019-03-06 14:29:17 +00:00
Cilibiu Bogdan 69632b4aed fix lockby position (#986) 2019-03-04 13:17:26 +00:00
Cilibiu Bogdan 2bbab615b0 add separator (#974) 2019-02-26 11:19:59 +02:00
Cilibiu Bogdan 7ad12f832a [ACA-2207] Upload Dialog - restore previous version on delete (#951)
* restore version over delete node

* apply prettier

* clean up unnecessary dependencies

* remove style file

* set CANCEL status on on deleted node version instances

* Update upload.module.ts

remove extra licence text

* fix typo

* remove duplicate strings
2019-02-25 09:27:19 +00:00
Cilibiu Bogdan 2be93af273 [ACA-2180] Viewer toolbar - rearrange actions layout (#962)
* merge action in toolbar submenu

* viewer add info drawer action

* toggle infoDrawer extension action

* hide viewer toolbar info drawer action

* fix typo

* allow to  unsubscribe from infoDrawerOpened event
2019-02-24 14:20:21 +00:00
Cilibiu Bogdan 525ba7e73e [ACA-2216] Shared link preview - use extension actions (#964)
* isSharedFileViewer evaluator

* navigation evaluators tests

* update docs

* fallback for SharedLink entry

* shared link view use extensions

* rules for link shared view actions

* dedicated extension definition for shared link action toolbar

* resolve selection and actions

* update tests

* remove un used imports

* nest shared link viewer toolbar actions in to viewer structure
2019-02-24 12:50:23 +00:00
Cilibiu Bogdan 4ed77d45bb [ACA-2221] Lock node - check selection is not null (#966)
* check selection is not null

* test
2019-02-22 09:02:44 +02:00
Cilibiu Bogdan 2fd0ff3825 [ACA-2177] Actions - rearrange actions order (#922)
* rearange actions

* remove separator duplication

* don't show last divider element

* update e2e

* update e2e

* Update toolbar-single-selection.test.ts

remove fdescribe

* move comment as well

* edit folder locator

* edit folder action

* edit folder action from toolbar more menu

* edit folder context menu id

* dont render versions tab
2019-02-19 12:26:34 +02:00
Cilibiu Bogdan 1554ca83ae [ACA-2193] Upload new content version - unsubscribe upload event (#925)
* remove console log

* unsubscribe upload event after new version

* unit tests
2019-02-14 18:03:07 +00:00
Cilibiu Bogdan 88fddec15f [ACA-213] Version Dialog - tests (#948)
* enable Esc action to close dialog

* version dialog form tests

* test fix
2019-02-14 16:21:38 +00:00
Cilibiu Bogdan 190af14643 disable versioning tab in info drawer (#941) 2019-02-14 12:00:21 +02:00
Cilibiu Bogdan bb5ce29445 [ACA-2199] Upload Version - granular permission (#938)
* canUploadVersion evaluator

* change upload version action rule

* update docs

* simplify condition

* unit tests and code fixes
2019-02-13 21:04:48 +00:00
Cilibiu Bogdan 51b08d2283 [ACA-213] Upload Version - version options use boolean values (#940)
* version form data interface

* subscribe value data type

* use form data  boolean value

* update tests
2019-02-13 17:26:11 +00:00
Cilibiu Bogdan 9b2cbdde49 [ACA-2210] Version Dialog - update button text (#939)
* dialog action buttons text to uppercase

* dialog text Cancel over Close

* update translation reference
2019-02-13 16:29:48 +00:00
Cilibiu Bogdan 25e7f5139e [ACA-2198 ACA-2206] Node version - align dialog with XD (#937)
* make comment field not required

* make Minor default version option

* tests

* fix form version options label

* test form state on initialization
2019-02-13 14:41:49 +02:00
Cilibiu Bogdan 894a928187 [ACA-2193] Lock node - unlock after new version is uploaded (#924)
* unlock node api call

* unlock action and effect

* unlock node after version upload

* check if locked

* clear version input on dialog cancel event

* update viewer on node version upload

* update viewer on file upload delete

* test

* update tests

* update tests

* rename evaluators

* update docs
2019-02-10 13:56:02 +00:00
Cilibiu Bogdan 5cc4f8ec55 [ACA-2164] Node version action (#916)
* export upload effects and actions

* remove node version effect and action

* remove node version theme

* change old version manager implementation

* get node info from store selection

* upload version dialog container

* node version form

* update app module

* upload version effect and action

* update version action

* internationalization

* refresh on upload version

* remove old implementation tests

* remove adf-version-manager dialog implementation

* revert adf version component

* fix viewer version action
2019-02-07 09:04:46 +00:00
Cilibiu Bogdan 913685eb14 [ACA-213] Edit Offline - permissions (#911)
* edit offline action rules

* unlock node error message

* update extensions rules

* lock unlock evaluators

* LockNodeDirective over EditOfflineDirective

* disable tests failing cause of unrelated bug

* isUserWriteLockOwner over isUserWriteLock
2019-02-05 18:39:11 +00:00
Cilibiu Bogdan e004d365a9 [ACA-213] Edit Offline (#909)
* WRITE_LOCK evaluator

* evaluate actions for WRITE_LOCK

* edit offline action

* DL icon for WRITE_LOCK files

* edit offline directive

* custom name column

* localisation

* toggle offline edit extension

* move takeUntil operator

* add tooltip

* better selector to differentiate Edit folder from Edit Offline

* default to empty object for null properties object

* isPersonalFiles evaluator

* isLibraryFiles evaluator

* isLibraryFiles evaluator

* isPersonalFiles evaluator

* update canEditLockedFile rule
2019-02-01 11:52:08 +00:00
Cilibiu Bogdan 71074b2bf1 [ACA] Create Library - switch to ADF component (#893)
* use adf component

* fix component name locator
2019-01-09 08:19:09 +00:00
Cilibiu Bogdan af3af845aa add context menu (#881) 2018-12-17 16:43:27 +02:00
Cilibiu Bogdan f68200a633 [ACA-2067] Side navigation - highlight element with children only when not expanded (#880)
* highlight parent element condition

* update test

* e2e
2018-12-17 08:54:53 +02:00
Cilibiu Bogdan 0202926465 Merge pull request #878 from Alfresco/development
1.6.0
2018-12-12 20:36:40 +02:00
Cilibiu Bogdan 8e16bd59e0 [ACA] localisation (#877)
* updates

* update e2e
2018-12-12 17:26:37 +00:00
Cilibiu Bogdan 5a1257c9ff [ACA-2081] Search - toolbar not visible after viewer is closed (#869)
* router event filter search

* test

* added comment
2018-12-11 17:05:54 +00:00
Cilibiu Bogdan 9c5bc74fbe [ACA-2074] Create Library - title & id validation (#865)
* add i18n string

* render title custom errors

* update form validation

* tests
2018-12-10 19:44:44 +00:00
Cilibiu Bogdan ec3eeb7a63 [ACA-2075] Create Library dialog is not focused when opening it for the second time (#863)
* remove autofocus property

* let dialog focus elements

* remove autoFocus dialog configs

* autoFocus default config
2018-12-07 16:12:15 +00:00
Cilibiu Bogdan e1133eb5b2 [ACA-2053] Create folder - focus on first form input (#860) 2018-12-07 07:31:29 +00:00
Cilibiu Bogdan c7d11b93fc update selection witout locked files (#859) 2018-12-06 16:34:06 +00:00
Cilibiu Bogdan 4c274acb3c [ACA-1917] Extensions - evaluate actions for locked files (#858)
* locked file evaluator

* add extension reference

* update docs

* disable versioning for locked files

* disable metadata edit for locked files

* update e2e
2018-12-06 15:29:12 +00:00
Cilibiu Bogdan 23ad4190e3 [ACA-1993] Favorite libraries - custom pagination (#855) 2018-12-05 11:45:19 +00:00
Cilibiu Bogdan e020dc4b77 [ACA-1923] Extensions - sort children by order (#850)
* sort children by order

* update cspell
2018-12-04 16:32:49 +00:00
Cilibiu Bogdan 48127a2421 [ACA-2056] Upload - not able to cancel upload after upload fails due to No network connection (#839)
* resolve unknown response status

* fallback error is null

* Update src/app/components/upload-dialog/file-uploading-dialog.component.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>
2018-11-29 13:47:54 +00:00
Cilibiu Bogdan 6c821d0fba [ACA-1924] Context menu - filter out disabled children (#838) 2018-11-28 12:25:00 +00:00
Cilibiu Bogdan 4c77ace5eb [ACA-1057] Upload - snack-bar error messages (#837)
* upload error notification

* remove duplicate

* test
2018-11-28 10:32:12 +00:00
Cilibiu Bogdan 9b717c2743 [ACA-2047] navigate to restored library content folder (#836) 2018-11-28 09:49:39 +00:00
Cilibiu Bogdan 6e0bfe8187 autofocus on first input (#834) 2018-11-27 18:45:10 +00:00
Cilibiu Bogdan db8be5c1b1 [ACA-1057] Upload dialog - file upload error message (#832)
* Upload dialog

* prettier lint

* changed to Uploaded text

* remove unnecessary implementation

* todos
2018-11-27 16:49:58 +00:00
Cilibiu Bogdan 647117b488 [ACA-2044] custom library icon consistency (#826)
* add custom library icon

* isLibrary custom type guard

* meaningfull cutom class name

* update isLibrary check for trash

* use custom image for libraries in trash

* remove duplicate subscriber

* change image source color

* remove custom class

* remove library image class

* remove custom type guard
2018-11-26 19:36:33 +00:00
Cilibiu Bogdan ec4f1a673f update isShared check (#828) 2018-11-26 16:12:10 +02:00
Cilibiu Bogdan 5b4af869b1 [ACA-2039] Libraries - custom icon (#825)
* custom icon for library nodes

* match DL folder color
2018-11-23 17:39:31 +00:00
Cilibiu Bogdan 0bd64f2543 [ACA-1607] Libraries - add/remove favorite library action (#816)
* workaround rework

* avorite unfavorite i18n reference

* extension definition

* is favorite library default value

* add action tooltip

* toglle favorite library state

* add toggle favorite library directive

* remove default isFavorite library value

* rework favorite library directive

* mark selected as favorite on favorite libaries route

* update tests

* add context menu delete library action

* update e2e
2018-11-22 10:37:14 +00:00
Cilibiu Bogdan 43b55102be Context menu - library files fix (#815) 2018-11-21 16:01:59 +00:00
Cilibiu Bogdan 54105c9671 [ACA-1498] DND - uploading drop folder onto a folder (#809) 2018-11-19 11:24:37 +00:00
Cilibiu Bogdan 760de2f762 [ACA-2005] Trash - display library name (#805)
* library title and tooltip

* test
2018-11-16 19:40:14 +00:00
Cilibiu Bogdan 8b1b7a78cc reload on events (#808) 2018-11-16 17:51:40 +02:00
Cilibiu Bogdan da41834524 [ACA-20] Add/Remove favorite library (#804)
* custom add favorite library

* addFavoriteLibrary component

* tests

* update doc

* add content event

* reload on remove favorite library

* consistency

* app.selection.library over app.navigation.isLibraries

* fix duplicate id name
2018-11-16 12:46:36 +02:00
Cilibiu Bogdan 031198e784 [ACA-20] Sidenav - navigate to first child route when expanded for the first time (#798)
* bradcrumb root title

* use correct i18n string reference

* expansion panel state directive

* takeUntil

* fix text

* parameter type

* fix title error message reference

* fix My Libraries test and add separate one for Favourite Libraries
2018-11-14 12:09:24 +02:00
Cilibiu Bogdan aa6995e7b2 reset selection state on navigation (#793) 2018-11-12 12:56:02 +00:00
Cilibiu Bogdan c9f2895ead [ACA-20] fix sort key (#796) 2018-11-09 17:49:08 +00:00
Cilibiu Bogdan 4a420cc9f9 [ACA-20] Favorite Libraries (#789)
* libraries submenu config

* fix item id

* favorite libraries columns

* libraries submenu text

* columns text

* submenu schema

* submenu routes

* role column component

* favorite libraries list api

* register favorite libraries presets

* favorite libraries list component

* register role column component

* dl custom node list is library route

* empty state message icon

* remove custom id

* merge subscriptions

* adapt to child route

* fix component selector

* revert to favorite library route

* sidenav main links font weight

* libraries children contants

* library expand panel method

* update e2e

* libraries children columns consistency

* isLibrary workaround for custom node list

* update isLibrary evaluator

* update e2e

* lint

* Update src/assets/app.extensions.json

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* use correct preset

* update e2e

* update page titles values

* find child active link

* fix expected value

* update expected

* role column tests

* check if menu is expanded
2018-11-09 13:53:51 +00:00
Cilibiu Bogdan dae45fce57 [ACA-20] Sidenav - submenu conditional icon templates (#786)
* remove focus outline

* button effect

* submenu conditional icon templates

* clean up styling

* update menu locator

* update library PO locators
2018-11-07 13:07:25 +02:00
Cilibiu Bogdan ae20b3ed75 xit over fit 2018-11-06 23:45:55 +02:00
Cilibiu Bogdan 42125b67ec render tooltip descripiton (#785) 2018-11-06 17:05:40 +02:00
Cilibiu Bogdan 88678852e7 [ACA-20] Sidenav - submenu support (#779)
* transform children data

* update navigation schema for children

* sidenav submenu

* update style

* disable extansion panel animation

* child routerLinkActive template reference

* getApplicationNavigation test

* minimised submenu indicator

* sort navigaton children
2018-11-06 14:08:57 +02:00
Cilibiu Bogdan 264597439b isQuickShareEnabled evaluator doc (#782) 2018-11-06 11:47:29 +02:00
Cilibiu Bogdan 44a9ade552 [ACA-1806] Viewer - navigate on node delete event (#775)
* navigate onode delete event

* remove console
2018-11-03 17:46:58 +00:00
Cilibiu Bogdan 408bacd483 [ACA-1958] Library - 'visibility' label (#769)
* use Visibility label

* update e2e
2018-10-31 17:32:05 +02:00
Cilibiu Bogdan b5cf1bf18d [ACA-1957] Library metadata - check title uniqueness (#767)
* add hint element

* check title uniqueness

* update tests
2018-10-30 19:10:56 +00:00
Cilibiu Bogdan 8d68ada078 [ACA-1959] [ACA-1960] Library metadata form action buttons state (#766)
* hide Edit button if no permission

* disable Update button if form is pristine
2018-10-30 15:21:37 +00:00