60 Commits

Author SHA1 Message Date
swapnil-verma-gl
8c1d2f3cd7
Fixed configuration issue preventing unit tests for rules getting executed (#4466)
* Fixed configuration issue preventing unit tests for rules getting executed

* Added unit tests for SnackbarEffects to improve coverage

* Added unit tests for RouterEffects to improve coverage

* Excluding store actions, models, selectors and states from getting included in code coverage

* Added type to store
2025-03-21 15:44:12 +05:30
swapnil-verma-gl
1ef1976a4c
[ACS-9388] Print button is now disabled in viewer for media files (#4465)
* [ACS-9388] Print button is now disabled in viewer for media files

* [ACS-9388] Added canPrintFile rule to documentation. Code review fixes
2025-03-20 14:16:30 +05:30
swapnil-verma-gl
2efea8c6d8
Rollback visibility rules cleanup (#4426)
* Revert "[ACS-9369] Updated rule-migration-guide.md to include missed rule (#4420)"

This reverts commit b3e2af7f0fc1dbd67186d03c98ea8b6f4ab19f47.

* Revert "[ACS-9369] Resolved issues where visibility rules with a single element array would log errors (#4416)"

This reverts commit 4e33f1126da07cf18c1896f7e839336e493b12cb.

* Revert "[ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)"

This reverts commit f1c4dcf45d0d0ce038109510004bf0edb66c6e66.
2025-03-03 16:56:13 +05:30
swapnil-verma-gl
f1c4dcf45d
[ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)
* [ACS-8694] Updated occurrences of visible in extensions.json to use arrays instead of single strings. Cleaned up rules in aca-content.module.ts

* [ACS-8694] Removed extra commas

* [ACS-8694] Broke down canDelete rule into seperate entities

* [ACS-8694] Fixed typo for notEmpty rule

* [ACS-8694] Fixed rule for edit offline

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Fixed rule for manage versions context menu item

* [ACS-8694] Fixed rule for manage versions and manage permissions

* [ACS-8694] Added rules.canManageFolderRules

* [ACS-8694] Fixed typo

* [ACS-8694] Updated visibility rules for folder rules and AOS plugin

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Updated existing rules to use !isTrashcan() instead of isNotTrashcan()

* [ACS-8694] folder-rules.plugin.json now uses arrays for controlling visibility

* [ACS-8694] Updated app.extensions.schema

* [ACS-8694] Removed unused rules

* [ACS-8694] Added unit tests for canToggleFileLock

* [ACS-8694] Added rules-list.md

* [ACS-8694] Revert unneeded project.json change

* [ACS-8694] Fixed toggleEditOffline rule

* [ACS-8694] Added migration guide (#4139)

* [ACS-8694] Added migration guide

* [ACS-8694] Fixed typo

* [ACS-8694] Added missing rule migration. Fixed incorrect rule migration. Fixed typos

* [ACS-8694] Code review finding - Replaced instance of any

* [ACS-8694] Code review finding - Updated rules.md. Removed duplication of rules list from rules-list.md. Added pointer to rules-list.md under tips section

* [ACS-8694] Fixed build issue

* [ACS-8694] Removed unneeded isNotDetails rule
2025-02-25 17:00:22 +05:30
Mykyta Maliarchuk
4751dcd12c
[ACS-9158] Remove 'View Details' button from node Details page (#4351)
* [ACS-9158] Remove 'View Details' button from node Details page

* [ACS-9158] remove redundant onDestroy$

* cr fix
2025-02-21 14:53:22 +01:00
Mykyta Maliarchuk
09636b377d
[ACS-9211] Update license headers (#4372) 2025-02-04 12:11:48 +01:00
AleksanderSklorz
0fb9f9ebe3
[ACS-8398] unit tests part 3 (#4163)
* ACS-8398 Unit tests for search ai effects

* ACS-8398 Unit tests for canDisplayKnowledgeRetrievalButton rule

* ACS-8398 Unit tests for changes in document base page

* ACS-8398 Added unit tests for changes in recent files component

* ACS-8398 Unit tests for changes in lists pages

* ACS-8398 Moved variable to inside of describe

* ACS-8398 Moved repeated code to function

* ACS-8398 Reverted one change

* ACS-8398 Fix after rebase

* ACS-8398 Fix issue with repeated code

* ACS-8398 Fix issue with repeated code

* ACS-8398 Fixed unit tests

* ACS-8398 Fixed unit tests

* ACS-8398 Trigger job
2024-10-07 13:50:01 +02:00
jacekpluta
edcc6f8047
[ACS-8201] Knowledge Retrieval - getting AI response for one or more selected files (#4127)
* [ACS-8202] basic flow getting ai response for one or more selected files (#3936)

* ACS-8202 Added animated icon

* ACS-8202 Added search ai input

* ACS-8202 Added AI search results page

* ACS-8202 Allow to run knowledge retrieval on files inside library, shared, favourites and recent files

* ACS-8202 Hide icon when selected more than 100 files or non text files

* ACS-8202 Display notification when too many files are selected

* ACS-8202 Added agents dropdown

* ACS-8202 Styles for AI response

* ACS-8202 Applied design changes

* ACS-8202 Added query card to Knowledge retrieval page results

* ACS-8202 Fixed search collapsing when opened results page

* ACS-8202 Changed placeholder in input for results page, wrapping text and scrolling for results page

* ACS-8202 Display snackbar with messages when conditions are not met

* ACS-8202 Disallow run knowledge retrieval for libraries, leave input when click on x button

* ACS-8202 Renaming files

* ACS-8202 Trigger ai input by selecting agent instead of clicking on button

* ACS-8202 Reverted triggering showing input by selecting option from select

* ACS-8202 Display dropdown with agents by clicking on button

* ACS-8202 Structural changes - services and agents button component

* ACS-8202 Removed part for examples from search page

* ACS-8202 Simplified html for search page

* ACS-8202 Refactored html and styles for search page, translations for search page

* ACS-8202 More html and styles refactoring

* ACS-8202 Formatting html

* ACS-8202 Removed references to angular material classes

* ACS-8202 Added data automation id attributes

* ACS-8202 Load agents from backend, formatting html for agents button component and adding data automation ids to that component

* ACS-8202 Correction after rebase

* ACS-8202 Set agent for input based on selected agent from dropdown for agents button

* ACS-8202 Hide agent button for libraries pages and use translations for warnings when clicked on agents button

* ACS-8202 Pass agent id to search results page

* ACS-8202 Used form control instead of ngmodel for search query

* ACS-8202 Moved search ai service and search ai input state to ADF

* ACS-8202 Results page ts clean up

* ACS-8202 Used ask and getAnswer functions from search ai service

* ACS-8202 Cleaning of search ai navigation service

* ACS-8202 Small clean ups

* ACS-8202 Renamed sources to references

* ACS-8202 Fixed asking next question from results page

* ACS-8202 Added possibility to use knowledge retrieval from search results page

* ACS-8202 Fixed issue with selecting the same agent after previously closing input on search results page

* ACS-8202 Disallowed using knowledge retrieval on trash page

* ACS-8202 Hide toggling knowledge retrieval for tasks and processes, fixed displaying ask button for favorites page

* ACS-8202 Removed redundant image and function

* ACS-8202 Renamed breadcrumbTemplate to header

* ACS-8202 Removed redundant code, added some comments, made some fields as private

* ACS-8202 Display error message on search page

* ACS-8202 Accessibility changes

* ACS-8202 Small correction

* ACS-8202 Addressed comments

* ACS-8202 Displayed correct initials

* ACS-8202 Removed redundant imports

* ACS-8202 Change css value

* ACS-8202 Removed icon animation

* ACS-8202 Removed icon animation

* ACS-8201 Small correction after rebasing with Angular 15

* [ACS-8398] unit tests (#3973)

* ACS-8398 Unit tests for agents button and part for agents menu

* ACS-8398 Unit tests for search ai input component

* [ACS-8210] Agent basic details popup (#3942)

* [ACS-8210] Agent basic details popup

* [ACS-8210] Agent basic details popup - review fixes

---------

Co-authored-by: Aleksander Sklorz <aleksander.sklorz@hyland.com>

* [ACS-8382] Blurring the AI answer section before getting response from backend (#3948)

* [ACS-8398] Unit tests part 2 (#3989)

* ACS-8398 Unit tests for search ai input container

* ACS-8398 Unit tests for search ai navigation service and rest tests for search ai input container component

* ACS-8398 Added missing type

* [ACS-8484] Add feature flag to knowledge retrieval (#4003)

* [ACS-8562] "Ask Agent" button name is changed to "Ask Discovery"

* [ACS-8573] Allow user to ask question without file selection

* [ACS-8312] Display warning about losing response (#4012)

* ACS-8201 Fixed issues after rebase

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page (#4030)

[ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page

* [ACS-8399] Integrate all changes with backend (#4076)

* [ACS-8399] Integrate all changes with backend

* [ACS-8399] Integrate all changes with backend - review fixes

* Answers endpoint fix

* Answers endpoint fix (#4107)

* [ACS-8664] generic question redirection to hx insight page (#4102)

* ACS-8664 Open page in new tab

* ACS-8664 Loading HX insight url

* ACS-8664 Unit tests

* ACS-8664 Fix after rebasing

* ACS-8664 Fixed unit tests

* ACS-8664 Added type

* ACS-8664 Removed duplicated lines

* ACS-8664 Removed duplicated lines

* ACS-8664 Addressed comments

* [ACS-8695] Getting Agent avatar (#4110)

* [ACS-8695] Getting Agent avatar

* [ACS-8695] Getting Agent avatar - fixes

* [ACS-8695] Getting Agent avatar - fixes 2

* Adding mocked agent avatars (#4117)

* [ACS-8201] review fixes

* [ACS-8201] review fixes

* [E2E] excluded failing tests to fix later pt.1

* [ACS-8767] allow to open referenced files (#4129)

* ACS-8767 Opening referenced files

* ACS-8767 Reverted one line

* ACS-8767 Removed unwanted code

* ACS-8767

* ACS-8767 Unit tests for allowing clicking on references

* ACS-8767 Unit tests

* ACS-8767 Moved duplicated code to function

* ACS-8767 Resolved sonar issue

* ACS-8767 Resolved sonar issue

* [ACS-8201] knowledge retrieval feature flag - false

* [E2E] excluded failing tests to fix later pt.2

* ACS-8201 Fixed tests

---------

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
Co-authored-by: datguychen <adam.swiderski@hyland.com>
2024-09-20 14:47:41 +02:00
Mykyta Maliarchuk
1f9b34e860
[ACS-8371] fix viewer preview (#4017) 2024-08-08 09:43:05 -04:00
tamaragruszka
4f41b96695
[MNT-24334] allow to delete or move on search result page (#3898) 2024-06-19 11:32:47 +02:00
MichalKinas
0f3f580e24
[ACS-6366] Add missing unit tests for app rules (#3831)
* [ACS-6366] Aca-shared rules cleanup

* [ACS-6366] Add missing unit tests for app rules

* [ACS-6366] Move context creation to beforeEach
2024-05-08 08:53:30 +02:00
Adam Świderski
d9391bef51
[ACS-7453] updated license header to 2024 (#3747)
* [ACS-7453] updated license header to 2024

* [ACS-7453] Updated the rest of licenses manually to 2024

* [ACS-7453] review changes
2024-03-29 12:35:49 +01:00
MichalKinas
33264f0731
[ACS-6924] Rename tags and categories plugins to mitigate naming conflicts (#3687)
* [ACS-6924] Rename tags and categories plugins to mitigate conflicts

* [ACS-6924] Add missing logic for tags and categories plugins
2024-03-04 13:52:17 -05:00
Mykyta Maliarchuk
bcb7e634d9
[ACS-6445] Address #PT20471_7 Missing Access Control (#3627) 2024-02-05 14:59:07 +01:00
RomainBerthet
9366961d02
Implement case-insensitive matching for file extensions (#3570)
Enable case-insensitive matching when determining file extensions in the application. This enhancement ensures that the system accurately recognizes and processes file extensions regardless of the case used in the filenames.
2024-01-04 17:44:47 -05:00
Anukriti Singh
90c69b207c
[ACS-5645] Property Panel Feature (#3477)
* [ACS-5540] changes for edit aspect button

* added aspect edit button

* [ACS-5540]fixed unit test cases and added unit test cases

* [ACS-5540] Modified changes

* [ACS-5540] fixed file lock issue

* [ACS-5645]Implemented changes as per review comments

* [ACS-5540]Modified the test case title

* [ACS-5645] changes for aspect icon

* [ACS-5645] fixed aspect lock issue in small screen

* [ACS-5540] modified the aspect button changes

* [ACS-5540] modified the changes

* [ACS-5645] added unit test cases

* [ACS-5540] removed unwanted code

* [ACS-5540] fixed lock-file bug

* [ACS-5540] revert the unwanted changes

* [ACS-5540] modified changes

* [ACS-5540]Implemented the changes as per the review comments

* [ACS-5540] added group lock changes

* [ACS-5540] added tooltip

* [ACS-5540] Implemented the review comments

* [ACS-5540] added tooltips

* [ACS-5540] Added styles

* [ACS-5540]Added focus

* [ACS-5551]updated property panel design

* [ACS-5551]added null checks

* [ACS-5551] update style

* [ACS-5540] changes for edit aspect button

* added aspect edit button

* [ACS-5540]fixed unit test cases and added unit test cases

* [ACS-5540] Modified changes

* [ACS-5645]Implemented changes as per review comments

* [ACS-5645] changes for aspect icon

* [ACS-5540] modified the aspect button changes

* [ACS-5540] modified the changes

* [ACS-5540] revert the unwanted changes

* [ACS-5540] added group lock changes

* [ACS-5551]updated property panel design

* [ACS-5551]added null checks

* [ACS-5551] update style

* [ACS-5551] name updated

* [ACS-5551] unit test fix

* [ACS-5551] header issue fixed

* [ACS-5645] style updated

* [ACS-5645] border updated

* [ACS-6117] fixed aspect dispaly issue

* [ACS-5645] different node open issu fixed

* [ACS-5645] unit test issue fix

* [ACS-5645] unit test fix

* [ACS-5645] tabs design modify

* [ACS-5645] dependency updated

* [link-adf:ACS-564
5-property-panel-feature] test linking

* "[link-adf:ACS-5645-property-panel-feature]"

* [ACS-5645] revert adf linking changes

* add adf configs to libs

* fix issue with empty paths

* try using adf target

* [link-adf:ACS-5645-property-panel-feature] fix core mapping

* [link-adf:ACS-5645-property-panel-feature] revert target changes

* remove useless styles

* remove css hacks

* cleanup useless properties

* remove useless properties

* remove useless code

* [ACS-5645] added missing code

* [ACS-5654] add icon for full screen

* [ACS-5654] nodei con methods moved to thumbnail

* [ACS-5654] unit test added and code refactor

* [ACS-5645] unit test added

* [ACS-5645] panel issue fix

* [ACS-5645] removed unit test for editable property

* [ACS-5645] removed unused unit test

* [ACS-5645] unit test updated

* [ACS-5645] updated the unit test

* Modified the unit test cases for getNodeIcon

* Upsteam ADF-6.6.0-7287333895, Js-api-7.5.0-7287333895 version

* Fix failing test cases

* Fix failing e2e

---------

Co-authored-by: Yasa-Nataliya <yasa.nataliya@globallogic.com>
Co-authored-by: pkundu <priyanka.kundu@hyland.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: rbahirsheth <raviraj.bahirsheth@globallogic.com>
2023-12-27 10:26:11 +05:30
DominikIwanek
683138ced1
[ACS-6369] - ACA on multi select file/folder permisstion menu should not be shown (#3571) 2023-12-22 15:53:23 +01:00
AleksanderSklorz
2c69887e08
[ACS-6252] support disabling the tags and categories feature in the applications (#3533)
* ACS-6252 Allow to hide tags and categories from metadata panel and to hide tags column from personal files

* ACS-6252 Allow to hide tags column from all other lists

* ACS-6252 Allow to hide tags and categories from search filters

* ACS-6252 Set type for search field

* ACS-6252 Hide displaying tags and categories related operators, properties and aspects in folder rules when that feature is disabled

* ACS-6252 Get from service information if tags and categories are disabled

* ACS-6252 Handled case when tags and categories configuration is missing in app.config.json

* ACS-6252 Unit tests for changes for RuleActionUiComponent

* ACS-6252 Unit tests for changes for RuleSimpleConditionUiComponent

* ACS-6252 Unit tests for changes for MetadataTabComponent

* ACS-6252 Unit tests for changes for app rules

* ACS-6252 Unit tests for changes for AppExtensionService

* ACS-6252 Removed redundant private from constructor parameter and corrected unit test title

* ACS-6252 Hide link to category action if categories feature is disabled

* ACS-6252 Move to beforeEach
2023-11-28 14:09:00 +01:00
DominikIwanek
57ac20a8c5
[ACS-6278] - disable manage rules for smart folders (#3518) 2023-11-14 12:08:07 +01:00
DominikIwanek
b5d561dc5e
[ACS-6278] - stop showing 'edit aspects' and 'manage rules' when node is a smart folder (#3512)
* [ACS-6278] - stop showing 'edit aspects' and 'manage rules' when node is a smart folder
2023-11-09 09:30:21 +01:00
MichalKinas
69c00fc403
Sonarcloud issues fixes (#3499)
* Sonarcloud issues fixes

* Code smell fixes

* Refactoring to remove new code duplications

* Sonarcloud code smell fixes part I

* Sonarcloud code smell fixes part II

* Missing code smell fix

* Add new ESLint rules to cover fixed SonarCloud issues

* Add missing command

* Add missing is existing check
2023-11-03 06:43:06 -04:00
Denys Vuika
1963747590
[ACS-5279] improved plugin handling (#3332) 2023-07-12 08:27:28 +01:00
Denys Vuika
fd495f6e95
code cleanup (#3210)
* code cleanup

* rollback changes

* remove dead code

* remove debug app config

* cleanup unused locales

* no-unused-vars rule

* test fixes and cleanup

* remove unnecessary translate modules
2023-05-22 08:23:35 +01:00
MichalKinas
5fa5ac4117
[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
Yasa-Nataliya
6fac964d94
[ACS-3742] Layout changes for workspace (#2980)
* Layout changes for workspace sidemenu

* added header and search layout changes

* implemented review comments and removed process related code

* Added expand and collapse functionality

* Modified the paths

* linting fixes

* use standard material settings icon

* use only specific modules needed for page layout

* use standard "menu" icon for now

* use standard avatar icon for now

* cleanup user profile menu item

* cleanup About component layout

* remove hardcoded settings route

* deprecate "headerImagePath"

* deprecate "headerTextColor" customisation

* deprecate "headerColor" customisation

* proper toggle of the side menu

* proper sidebar header implementation

* user profile basic cleanup

* minor fixes

* cleanup buttons

* remove old app layout and use ADF one

* remove old header component

* cleanup old layout module

* fix unit tests

* cleanup unit tests

* cleanup header actions module

* deprecate unused main-action component

* cleanup styles

* restore removed method

* cleanup search results toolbar

* restore expand menu functionality

* cleanup code, back buttons for about and profile

* restore original code

* proper collapse button

* remove unused i18n key

* styles cleanup

* cleanup sidebar

* cleanup user profile

* add safety checks for focus after close

* layout fixes

* update view profile unit tests

* code cleanup after reviews

* cleanup header actions

* fix menu population, user info

* improved upload and create actions

* remove useless tests

* fix folder rules tests

* search button workaround

* e2e: remove wait

* add create/upload tooltips

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* try fix e2e

* update e2e extension configs

* try fix e2e

* try fix e2e

* fix eslint config

* try fix e2e

* move search button to extensions

* move upload and create to extensions

* remove header actions as no longer needed

* cleanup

* e2e fixes and cleanup for unwanted files

* linting fixes

* linting fixes

* added button type to support text buttons

* linting fixes

* added more unit tests to achieve code coverage requirement

* fixing code covergae for aca-content

* fixed code coverage for aca-shared

* linting fixes

* linting fixes

* cleanup

* version fix

---------

Co-authored-by: SheenaMalhotra182 <sheena.malhotra@globallogic.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: SheenaMalhotra182 <sheena.malhotra@contractors.onbase.com>
2023-04-20 07:18:24 -04:00
Nikita Maliarchuk
7245e994c5
[ACS-4959] Update license headers to reflect Hyland Copyright Guidelines (#3115)
* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
2023-04-13 04:32:30 -04:00
Bartosz Sekuła
c5951edccf
[AAE-11496] - Make aca-shared and aca-folder-rules buidlable (#2851)
* [AAE-11496] Fix aca-shared build

* Add build option to aca-folder-rules

* Add small test for aos
2022-12-20 19:21:22 +01:00
Bartosz Sekuła
456454fee1
[AAE-10533] Generic App shell for HxP applications (#2679)
* [AAE-10533] Generic App shell for HxP applications

* refactor

* fix scss mixin path

* remove forRoot in content-plugin

* remove provided routers

* revert router service

* revert template usage

* Added shell markdown

* Move login component to content-plugin

* Moved logic from app.component to app.service

* remove upload-area from shell

* cleaning

* cleaning

* update md

* abstract preferences

* allow to set shell parent route

* fix preferencesService name

* Fix for sidenav

* Fix CR comments

* [ci:force]

* move translation service mock to aca-shared

* fix e2e

* Fix page title

* remove drop area wrapper from whole application

* Fix e2e

* [ci:force]

* Remove blank page from shell

* Add upload files dialog

* [ci:force]

* Remove ExtensionsDataLoaderGuard from shell
2022-11-23 13:45:32 +00:00
MichalKinas
8081bc81d6
[ACA-4618] Decouple ACA and Governance (#2757)
* [ACA-4618] Remove governance dependecies from ACA

* [ACA-4618] Move canOpenWithOffice evaluator to ACA shared

* [ACA-4618] Add missing unit test changes

* [ACA-4618] Prettier fixes
2022-11-04 11:15:33 +00:00
Denys Vuika
df4a80f641
[MNT-22754] fix context menus for records (#2706)
* fix context menus for records

* fix unit tests

* fix unit tests
2022-10-11 22:21:30 +01:00
Denys Vuika
69cb107dd9
Angular 14 upgrade (#2598)
* angular 14

* material 14 and ADF 14

* latest ADF 5.x and theme import fixes

* use latest ADF 5.x

* update build command

* update travis command

* upgrade ngrx to v14

* upgrade flex layout lib

* fix after rebase

* fix after rebase

* upgrade to latest ADF
2022-08-25 12:05:00 +01:00
Denys Vuika
8312bf8d84
[ACS-3217] initial project scaffold for the Folder Rules (#2566)
* initial project scaffold

* visibility rules placeholders

* custom scope for rules evaluators

* unit tests and minor improvements

* update e2e

* add write permission check

* update e2e

* update e2e

* enable the env variable

* fix tests

* update e2e

* fix e2e
2022-07-08 10:53:53 +01:00
arditdomi
bacd9e5c10
[AAE-8201] - Add a way to hide libraries and secondary navbar sections (#2492)
* [AAE-8201] - Add a way to hide libraries and secondary navbar sections

* Add new variable

* Rename variable for toggling content service sections

* Fix lint errors

* Remove unnecessary or condition
2022-04-06 14:20:10 +01:00
Vito
23262d0949
[AAE-7101] - Introduced Eslint to ACA and added some fix to avoid errors (#2424)
* Conversion to ESlint

* Fixed ESLINT for ACA

* [AAE-6638] - typo in eslint file

* [AAE-6638] - attempt to fix problem on linting

* Check caching to improve lint speed

* Improved eslint for content-app

* Added new cache

* Remove cache file

* Removed eslintcache

* Attempt to make eslint run on travis

* Slow ng lint on travis

* Fixed eslint error
2022-02-09 08:40:04 +00:00
Vito
b7ba7b94b2
[ACA-4471] - Added show preview action for files in search results (#2169)
* [ACA-4472] - added preview button on info drawer

* [ACA-4472] - added preview button on info drawer

* [ACA-4472] - added preview button on info drawer

* [ACA-4472] - fixed lint

* [ACA-4472] - fixed unit test

* [ACA-4472] - fixed wrong import

* [ACA-4472] - reverted app.config

* [ACA-4472] - added some upgrades for styling

* [ACA-4472] - added some upgrades for styling

* [ACA-4472] - start fixing e2e

* [ACA-4472] - wrong whitespace

* [ACA-4471] - readded view button and fixed bug on closing

* [ACA-4471] - readded action

* [ACA-4238] - fix e2e #2

* [ACA-4471] - readded view button for e2e

* [ACA-4471] - readded view button for e2e
2021-06-16 16:21:29 +02:00
Vito
6dac2d7533
[ACA-4445] - added condition to check major version 7 (#2148)
* [ACA-4445] - added condition to check major version 7

* [ACA-4445] - fixed lint
2021-05-19 17:28:02 +01:00
Vito
fc01c5c9a9
[ACA-4238] - added aspect list dialog on context menu action (#2008)
* [ACA-4238] - added aspect list dialog on context menu action

* [ACA-4238] - lint fix

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e #2

* [ACA-4238] - fix e2e #3

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e #2

* Fix E2E #1

* Fix E2E #2

* Improved condition for edit aspect option

* [ADF-4238] - fix e2e #2

* [ADF-4238] - fix lint

* [ADF-4238] - fix e2e #3

* [ADF-4238] - fix e2e #4

* [ADF-4238] - fix e2e #5

* [ADF-4238] - fix e2e #6

* [ADF-4238] - fix e2e - final

* [ADF-4238] - removed console log

* [ADF-4238] - fixed linting

* [ADF-4238] - fixed last e2e failing
2021-02-26 13:48:04 +00:00
Denys Vuika
7a5350a06d
reduce duplication and code improvements (#1707)
* reduce code duplication

* reduce duplication, fix license headers

* simplify code

* typings fixes

* update tests

* minor fixes

* markdown fixes

* revert changes
2020-12-11 15:47:17 +00:00
davidcanonieto
b504a224ea
[ACA-3729] Join library action for Admin Users (#1801) 2020-11-23 15:07:12 +00:00
Denys Vuika
20f1752b48
[ADF-5247] always enabled language picker (via extensions) (#1730)
* always enabled language picker

* fix tests

* update e2e tests

* fix aos plugin
2020-10-15 08:57:04 +01:00
Denys Vuika
8803b3ccee
extra unit tests (#1713)
* typing fixes

* "canDownloadSelection" tests

* fix import

* move test to proper block
2020-10-06 11:13:05 +01:00
Denys Vuika
9c7ac17161
Various code fixes (#1704)
* fix typings and missing lib

* fix i18n typo, add typings

* code improvements

* fix missing awaits

* more fixes

* fix bug in the evaluators, simplify code

* more fixes
2020-10-04 18:09:27 +01:00
Denys Vuika
ddc6f36ab4
Prettier upgrade and e2e type checks (#1522)
* upgrade prettier

* noImplicitAny rule

* fix type

* update tsconfig

* upgrade to 150 print width
2020-07-14 10:03:23 +01:00
Denys Vuika
2854c17cd9
[ADF-5183] Upgrade to Angular 10 (#1506)
* upgrade preparation fixes

* remove fdescribe

* update browserlist config

* ng8

* ngrx 8

* ng9

* ngrx 9

* remove entryComponents

* unit tests

* ng 10

* latest ADF

* fix unit tests

* fix lint

* update deps and travis

* code fixes

* upgrade webdriver

* cleanup libs

* fix test

* update test

* Use browserTarget as target for lite-serve

* Use the update webdriver with CI condition

* Use version console.log('load', path

* Fix path sh

* Try to use remote env

* Add the . to export variabled

* Use hardcoded chrome version

* Remove the run remote

* Avoid to use the escape

* Skip flaky e2e and raise issue ACA-3615

* SKip failing e2e

* Skip flaky e2e and raise issue ACA-3615

* Fix close app toolbar menu and preconditions + tests of  mark-favorite.test.ts  Personal Files section

* Fix mark-favorite tests

* Fix ext-header test

* Fix new-menu tests

* Fix lint

* no message

* Fix viewer tests

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2020-07-09 09:37:06 +01:00
davidcanonieto
85f71f5ae1
[ACA-3427] Remove About tab when it's not useful (#1491)
* [ACA-3427] Remove About tab when it's  not useful

* Add unit tests for isLibraryManager rule

* Fix e2e tests

* Fix e2e tests and add rule to docs

* Fix e2e tests
2020-06-18 22:03:26 +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
Denys Vuika
e34962d21f fix build issues 2020-04-20 12:14:47 +01:00
Denys Vuika
bf509843b7
integrate Prettier with tslint (#1419)
* integrate prettier with tslint

* remove obsolte scripts

* update tsconfig

* fix lint issues

* fix lint errors

* more rules and fixes

* kebab case and lint fixes

* update helpers

* update util
2020-04-19 23:29:20 +01:00
Denys Vuika
6e33766fc4
remove external settings (#1413) 2020-04-15 12:33:54 +01:00
Denys Vuika
5a88c8c852
[ACA-1743] extension settings (#1399)
* upgrade tslib

* initial settings skeleton

* migrate language picker setting

* support string parameters

* remove process extensions workaround

* update extensions schema

* update docs

* unit tests

* fix unit test
2020-04-06 19:58:41 +02:00