100 Commits
Author SHA1 Message Date
Cilibiu Bogdan 0864c387e1 [ACA-4339] Library actions - Delete (#2137)
* allow action

* e2e
2021-05-14 14:38:12 +01:00
Cilibiu Bogdan 2eacfbabe3 remove cropper (#2130)
* remove cropper

* bump
2021-05-12 17:08:34 +01:00
Cilibiu Bogdan b981d24595 [ACA-4339] Libraries - Delete action for non-site members is rendered (#2046)
* show selection action only if role is manager

* update expectation data

* differentiate actions between member and non member
2021-03-25 13:27:20 +00:00
Cilibiu Bogdan 58cfbc075a [ACA-2923] Viewer - type link node is not not displaying (#2030)
* use content node id over filelink id

* tests
2021-03-02 12:37:36 +00:00
Cilibiu Bogdan 28876a30e6 [ACA-4224] DocumentList - clear filterers action renders previous selection toolbar actions (#2007)
* also reset instance state

* fix test
2021-02-19 16:20:34 +00:00
Cilibiu Bogdan dab9ddbdca [ACA-4026] Register plugins dynamically (#1803)
* bump adf

* remove $references entries

* register plugin dynamically
2020-11-19 18:06:54 +00:00
Cilibiu Bogdan ffa7ca3aa6 [ACA-3996] Libraries list is not re-ordered in ACA as it is in ADW (#1721)
* reorder libraries sections

* update e2e

* e2e update

* e2e update
2020-10-07 16:40:48 +01:00
Cilibiu Bogdan 29f2f67491 accessibility (#1689) 2020-09-25 10:58:49 +01:00
Cilibiu BogdanandAdina Parpalita 68594cbbc0 [ACA-3907] Document list header should not appear on an empty list (#1657)
* show header based on data

* try another selector

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-09-22 09:16:19 +01:00
Cilibiu Bogdan f908005178 declare client side sorting (#1605) 2020-08-14 15:32:22 +01:00
Cilibiu Bogdan cf4af3bab5 [ACA-3788] Viewer - toolbar disappears after refresh (#1592)
* reset results if not in viewer outlet

* update tests
2020-08-11 15:41:09 +01:00
Cilibiu Bogdan a42b853814 include definition field (#1582) 2020-08-07 08:42:01 +01:00
Cilibiu Bogdan 234b41b917 [ACA-3296] Header - support actions order (#1464)
* header action order property

* apply sort for parents and children

* update tests

* use parent class to set style

* render user component through configuration

* header should allow disable actions rendering

* update e2e header resource
2020-05-19 16:56:03 +01:00
Cilibiu Bogdan 7b0ce29000 [ACA-3278] Header - extension actions not visible (#1462)
* custom toolbar actions theme

* update  tests
2020-05-12 08:53:30 +03:00
Cilibiu Bogdan ebdaa39209 [ACA-2994] Snackbar- notifications are displayed with wrong colours (#1431)
* enforce colors

* fix themes order

* remove important
2020-04-27 14:53:25 +01:00
Cilibiu Bogdan b84cdcb1cc [ACA-3081] upgrade @types/jasmine to latest (#1425)
* fix @type/jasmine update errors

* bump coverage

* fix linting
2020-04-22 12:38:22 +01:00
Cilibiu Bogdan 88f8b4065e [ACA-3043] Create From Template - relativePath not working when ACS installation language is different (#1411)
* use primary path to get node information

* breadcrumb transform based on paths intersection

* update tests
2020-04-15 12:44:26 +01:00
Cilibiu Bogdan c80cf9bdd2 MNT-21394 Edit in Microsoft Office opens MS Excel documents then immediately prompts that a newer version exists (#1355)
* aos path

* node info allowableOperations and path

* fallback when path elements are not defined

* fallback for no path

* fix tests

* call default optionals params

* node info include path
2020-03-17 08:37:47 +02:00
Cilibiu Bogdan 59b529160d Merge pull request #1349 from Alfresco/master
sync development with master
2020-02-20 12:17:44 +02:00
Cilibiu Bogdan 3af624b8c5 Merge pull request #1348 from Alfresco/development
1.10.0
2020-02-19 09:51:10 +02:00
Cilibiu Bogdan 66a440c26e bump version (#1344) 2020-02-17 19:06:26 +02:00
Cilibiu Bogdan 5284f96981 bump 1.10.0 (#1343)
* 1.10.0

* bump app config
2020-02-17 17:35:51 +02:00
Cilibiu BogdanandAdina Parpalita 1a16d74b62 [ACA-2174][ACA-2173] Shared / Favorites - edit offline (#1341)
* edit offline

* try to fix test for viewer - password protected file

* bug: Edit in Microsoft Office action is displayed in Shared Files for a locked file
move Shared Files workaround down in the file to fix this

* remove some workarounds, update some comments

* remove other workarounds, make some tests independent, enable lock icon on Search results

* forgotten change

* remove another workaround

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-17 16:02:25 +02:00
Cilibiu Bogdan f4cfc96849 hide floating label (#1339) 2020-02-13 17:36:36 +02:00
Cilibiu Bogdan d6a8075642 [ACA-2280] Favorite Libraries - Previous page is not loaded when deleting all items from current page (#1338)
* pagination target

* default pagination config

* prevent ExpressionChangedAfterItHasBeenCheckedError
2020-02-13 09:15:32 +02:00
Cilibiu Bogdan 04cf47c7df bump version (#1335) 2020-02-10 21:11:50 +02:00
Cilibiu BogdanandAdina Parpalita d4f04323b3 ADF 3.7.0-bab49 (#1324)
* adf 3.7.0-1754

* fix header name selector

* fix  more / less state

* click correct button

* check correct button

* remove Thumbnail column from headers list

* 3.7.0-0256a update

* remove Thumbnail. from headers list

* remove Thumbnail

* header cell value selector

* adf 3.7.0-bab49

* change selector after accessibility fixes

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-06 15:31:27 +02:00
Cilibiu Bogdan 874392159d resolve node id for different nodes (#1327) 2020-01-31 06:53:55 +02:00
Cilibiu Bogdan 5102f7d64d [ACA-2704] move Locked By to aca-shared library (#1322)
* move component to aca-shared

* use aca-shared import

* update e2e

* fix selector prefix

* remove

* move node utils to aca-shared

* update reference

* fix lint

* fix linting
2020-01-28 07:00:48 +00:00
Cilibiu Bogdan 4c7a95c7e6 [ACA-2870] Create from template - extra unnecessary call is performed when opening the dialog (#1321)
* hide inputs via configuration

* remove styling workaround
2020-01-27 13:14:46 +02:00
Cilibiu Bogdan f0a9b5bf43 explicit route string over generic name (#1318) 2020-01-27 13:13:37 +02:00
Cilibiu Bogdan 1eab186340 adf update (#1319) 2020-01-23 17:16:26 +02:00
Cilibiu Bogdan 5e203cab96 [ACA-2882] Create from template - generic form errors (#1317)
* remove type from error message

* change validation message

* change required message
2020-01-23 09:58:30 +02:00
Cilibiu Bogdan 7c30ad139f check properties object exists (#1316) 2020-01-22 16:45:22 +02:00
Cilibiu Bogdan 34c559c7d5 filter out folder links (#1314) 2020-01-22 12:17:43 +02:00
Cilibiu Bogdan 8603d13f71 [ACA-1921] Create folder structure from template (#1309)
* update template actions

* update template effects

* declare menu option

* rename dialog component

* rename service

* update tests

* update docs

* e2e fix locator

* fix translation reference
2020-01-22 10:35:32 +02:00
Cilibiu Bogdan 8b7c7b5ed4 [ACA-2873] Move acaContextActions to aca-shared library (#1301)
* move to aca-shared library

* export directive

* context menu action

* import directive from shared library

* context menu effect

* test

* update docs

* fix production code

* fix imports

* fix licence header

* fix licence headers
2020-01-20 10:42:42 +02:00
Cilibiu Bogdan 66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Cilibiu Bogdan 0bc4a3453b [ACA-2869] Create File from template - keep the dialog open if creation fails due to the usage of a duplicate file name (#1299)
* rename create from template flow action

* create from template action

* dialog service

* subscribe to dialog service

* dispatch create file from template action on submit

* update tests

* subject value type

* break effects and refactoring

* update tests

* update docs

* change version number
2020-01-16 11:21:06 +02:00
Cilibiu Bogdan 4dcb0d2a26 disabled action tooltip (#1304) 2020-01-15 12:17:28 +02:00
Cilibiu BogdanandAdina Parpalita 503075143b [ACA-2871] Create File from template - filter link files (#1298)
* filter rows

* tests

* small rename of the tests

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-01-14 10:09:32 +02:00
Cilibiu Bogdan fab739de05 trim value (#1297) 2020-01-09 09:54:54 +02:00
Cilibiu Bogdan 9104ab33c3 distinct button state style (#1296) 2020-01-08 15:49:46 +02:00
55547ed163 [ACA-2850][ACA-2849] Viewer - document properties not refreshed after changes or uploading new version (#1286)
* update viewer on upload complete

* prevent multiple same actions triggers

* Display node again after upload was complete

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Update src/app/components/page.component.ts

return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

Co-authored-by: Martin Muller <damadden88@googlemail.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-01-02 20:17:59 +02:00
Cilibiu Bogdan db2a6a7ef7 [ACA-2835] Favorites list - incorrect viewer actions when opened via link (#1279)
* stop event propagation

* tests
2019-12-16 16:26:56 +02:00
Cilibiu Bogdan 3221caea87 adf update 3.7.0-5c1aff (#1274)
* adf dep update

* fix ACA-2175 TODO

* remove workarounds
2019-12-05 12:02:04 +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