Commit Graph

96 Commits

Author SHA1 Message Date
Denys Vuika
23814e1e76 Optmise injections and imports (#3174)
* cleanup base page injections

* optimise breakpoint observer

* cleanup subscriptions

* optimise upload service injections

* optimise router imports

* fix test setup

* fix tests
2023-05-09 14:30:33 +01:00
Aayush Rohila
94185c3701 [ACA-4690] added width and max-width to sidebar (#3150) 2023-04-26 17:56:14 +05:30
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
42479d92cc [ACS-3742] Added styles for new layout design (#3137)
* added styling changes

* styling changes

* fixed the button text alignment

* style changes

* renamed the theme variable
2023-04-25 10:49:08 -04:00
swapnil-verma-gl
9148ccc6a9 [ACA-4679] Added code changes and env variables to enable DownloadPrompt and FileAutoDownload features on ACA (#3127)
* [ACA-4679] Added docker variables, app.config.json.tpl config and additional code for enabling non-responsive file preview download and file auto download features in ACA

* [ACA-4679] Added defaults for downloadPrompt for viewer and fileAutoDownload features. Updated variable names from 'nonResponsiveDialog' to 'downloadPrompt'

* [ACA-4679] Added unit test cases for FileAutoDownloadService

* [ACA-4679] Updated env variable references from NonResponsiveDialog to DownloadPrompt

* [ACA-4679] Added missing licence header on new files

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Removed unneeded env variable configuration for GithubActions jobs

* [ACA-4679] Updated .env file configuration in README.md
2023-04-20 18:14:13 -04: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
Denys Vuika
9609393d1e [ACS-4865] setup and enable code coverage for all projects (#3074) 2023-03-20 09:06:19 -04:00
Denys Vuika
b939d1c582 [ACS-4792] provide support for style linting (#3055)
* [ACS-4792] provide support for style linting

* style fixes

* style fixes

* style fixes

* disable yarn licenses until the issue is fixed

* fix package lock

* fix after rebase
2023-03-14 04:16:36 -04:00
Denys Vuika
8efd832a10 [AAE-10777] upgrade to latest ADF with common content services (#2970)
* upgrade to latest ADF with common content services

* update fix [link-adf:dev-eromano-AAE-10777]

* use latest ADF

* fix unit tests

* fix unit tests

* fix tests

* use latest ADF

* fix theming

* remove unused variables

* fix user info

---------

Co-authored-by: eromano <eugenioromano16@gmail.com>
2023-03-11 10:21:13 -05:00
Jatin Chugh
cf4e5fe97b [MOBILEAPPS-1707] Custom URL schema new issues from Frontend - dark squared shade for Open in App button, Banner is disappearing for the PDF files in ios and android (#3018)
* Custom URL schema issues after rigorous testing

* review comments addressed

* [MOBILEAPPS-1707] removed added space between classes

* [MOBILEAPPS-1707] removed important and added mat-button for higher priority
2023-02-28 22:19:38 +05:30
Jatin Chugh
04907df376 [MOBILEAPPS-1701] Custom URL schema issues fixed (#2998)
* Custom URL schema issues

* code implementation changes for checkForMobileAppFlag

* updated test cases

* requested changed addressed

* requested changed addressed

* cspell changes

* review comments addressed
2023-02-20 15:46:09 +00:00
Jatin Chugh
c10a1370a4 [MOBILEAPPS-1654] Open in App pop-up implementation in android and iphone (#2889)
* Open in App pop up implementation

* review comments addressed

* unit test cases added for open-in-app component and aca-mobile-app-switcher-service and review comments addressed

* cspell changes

* test case build failing issue resolved

* review comments addressed of using specific type and void in functions that do not return anything

* remaining review comments fixed for type cases

* added check for ipad and ipod

* checkForIOSDevice function removed and checked for ios device in same line

* spacing issues addressed

* missing unit tests added and some review comments addressed

* app.config.json file updated

* removed configuration variables from default Readme file

* used only boolean instead of string conversion in app service file

* session storage name change

* review comments addressed
2023-02-10 13:43:24 +05:30
Bartosz Sekuła
87c1c2b5df [AAE-11496] Make aca-shared buildable (#2916) 2023-01-24 19:36:26 +00:00
Alfresco Build
7636837278 Update branch for ADF 37680 and JS-API 5.3.0-511 [ci:force] (#2885)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.1-37679 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 37680

* [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.1-37679 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 37680

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.1-37679 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 37680

* [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.1-37679 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 37680

* [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.1-37679 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 37680

* Update app.service.spec.ts

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2023-01-05 02:43:09 +01:00
Eugenio Romano
83b159f816 [link-adf:dev-eromano-remove-dialog-move-shared] (#2881) 2023-01-04 23:54:32 +01: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
AleksanderSklorz
a189ccd676 [AAE-11830] Changes required to address comment in APPS (#2848) 2022-12-16 14:32:05 +01:00
AleksanderSklorz
b609a9cd33 [ACS-3757] returning focus to element from which they were opened (#2837)
* ACS-3757 Return focus to More Actions button after closing modals opened from that button

* ACS-3757 Return focus to specific row from personal files after closing modal opened from context menu from row

* ACS-3757 Fixed issue that sometimes node was undefined

* ACS-3757 Return focus after closing upload new version modal

* ACS-3757 Added restore focus on list of libraries, restoring focus to correct row when multi rows are selected, little refactoring

* ACS-3757 Use runActionById function instead of runAction

* ACS-3757 Fixed unit tests

* ACS-3757 Updated description

* ACS-3757 Adrressing comments for static and for selectors in jsons

* ACS-3757 Remove boolean flag from jsons

* ACS-3757 Added some unit tests

* ACS-3757 Resolved conflicts

* ACS-3757 Created ModalConfiguration interface

* ACS-3757 Increase version of ADF

* ACS-3757 Fix for e2e

* ACS-3757 Fix some more e2e

* ACS-3757 Removed log
2022-12-13 17:06:18 +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
eee6feca1a [ACS-3700] Pass mat menu items from external components to mat menu (#2720)
* [ACS-3700] Pass mat menu items from external components to mat menu

* [ACS-3700] Linter fixes
2022-11-02 13:10:27 +01:00
AleksanderSklorz
fd83219d54 [ACS-3545] a11y aca metadata sidebar (#2742)
* ACS-3545 Added aria label to progress bar for metadata sidebar

* ACS-3545 Fixed lint issues
2022-10-27 09:18:37 +01:00
MichalKinas
3e44f46575 [ACS-3552] Accessibility fixes for CSV file issues (#2705)
* [ACS-3552] Accessibility fixes for CSV file issues

* [ACS-3552] Fix tabindex attribute values
2022-10-11 23:46:10 +01:00
MichalKinas
958134e22d [ACS-3621] Fix context menu directive flaky unit test (#2675) 2022-10-03 10:07:36 +01:00
Ketevani Kvirikashvili
50c84a0e8c [AAE-10253] It shouldn't be possible to right click in a drag&drop empty area (#2611)
* [AAE-10253] It shouldn't be possible to right click in a drag&drop empty area

* changed expect

* add method isEmptyTable
2022-09-16 11:40:22 +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
Shubham Bansal
3a7938b895 APPS-1568 : ACA should be extended to support visibility rules for Document List columns. (#2560)
* APPS-1568 Extended rules visibility functionality for Document List columns

* APPS-1568 Unit test case added

* APPS-1568
2022-06-30 10:20:07 +05:30
Denys Vuika
4ec181f829 quick share unit tests (#2469) 2022-03-14 11:09:50 +00:00
Bartosz Sekuła
2cd84e2dde [AAE-7832] Custom header text colour is not applied to user name (#2467) 2022-03-11 17:10:05 +01:00
Bartosz Sekuła
c14ba477fd [AAE-6823] Customize font (#2423)
* [AAE-6823] Customize font

* Fix for adf vars

* update

* update

* update

* update

* [AAE-6823] Custom fonts

* [AAE-6823] Create new css var for new button

* [AAE-6823] Cleaning code

* [AAE-6823] Changed configuration to tpl

* [AAE-6823] Cleaning code

* [AAE-6823] Cleaning code
2022-02-10 15:04:12 +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
Antonio Felix
fde64be498 MNT-22687 - Fixed error in path when importing the new alfresco-office-extension service (#2432) 2022-02-08 16:21:43 +00:00
Antonio Felix
fce8857585 MNT-22687- Add new aosPlugin variable to hide or show the AOS plugin (#2382)
* MNT-22687- Add new aosPlugin variable to hide or show the AOS plugin

* MNT-22687 - Added a new interface to extend the RuleContext from ADF

* MNT-22687 - Removed carriage return and added whitespaces

* MNT-22687 - Removed carriage returns

* MNT-22687 - Fixed PR Comments
Completed documentation, removed environment variable from the package.json, added plugins section in the app.config.json.tpl

* MNT-22687 - Created a new service to deal with the new functionality. Reverted the old approach.

* MNT-22687 - Reverted missing file

* MNT-22687 - Reverted missing file

* MNT-22687 - Removed variable replacement

* MNT-22687 - Included environment variables in the README.md file
2022-02-08 13:18:28 +00:00
Bartosz Sekuła
60446dc36e [AAE-6309] New process start button (#2353)
* [AEE-6309] New start process button

* [AEE-6309] Added documentation

* [AEE-6309] Change main action to object

* [AEE-6309] Clean code

* [AEE-6309] Linting fix

* [AEE-6309] Fix trashcan translation

* [AEE-6309] Fix tests
2021-11-22 08:23:10 +01:00
Bartosz Sekuła
bc626798d5 [AAE-6057] Customize text color in the header (#2326)
* [AAE-6057] Customize text color in the header

* [AAE-6057] use css vars

* [AAE-6057] added tests

* [AAE-6057] clear code

* [AAE-6057] quick fix

* [AAE-6057] update css so they wark nicly with new --adf-header-text-color
2021-11-16 13:05:05 +00:00
Thomas Hunter
882f9de392 [ACS-437] Update Download UI to use direct access when enabled (#2321)
* [ACS-437] Update Download UI to use direct access when enabled

* Refactor

* Add unit tests

* Refactor by adding separate service

* Moved unit tests to ContentUrlService instead of DownloadEffects

* Move import in app.module.ts

* Fixed review comments

* npm install

* Fix lint error
2021-11-16 13:05:05 +00:00
Pablo Martinez Garcia
a847861100 [AAE-5874] Re-evaluate extension rules when context changes (#2296) (#2311)
* [AAE-5874] Re-evaluate extension rules when context changes

* [AAE-5874] Add disabled attribute to toolbar actions

* [AAE-5874] Fix unit tests
2021-11-16 13:05:05 +00:00
Popovics András
de355cc300 Revert "[AAE-5874] Re-evaluate extension rules when context changes" (#2301)
* Revert "[AAE-5874] Re-evaluate extension rules when context changes (#2296)"

This reverts commit fb140531f4.

* [ci:force]
2021-11-16 13:05:05 +00:00
Pablo Martinez Garcia
c4e4b50f8a [AAE-5874] Re-evaluate extension rules when context changes (#2296)
* [AAE-5874] Re-evaluate extension rules when context changes

* [AAE-5874] Add disabled attribute to toolbar actions

* [AAE-5874] Fix unit tests
2021-11-16 13:05:05 +00:00
Popovics András
46a179c75a [MNT-22574] Conditional AI Search (#2339)
* [MNT-22574] Support rules for search forms

* * fix lints

* Patch version increment

Co-authored-by: dhrn <dharan.g@muraai.com>
2021-11-04 15:09:18 +01:00
Pablo Martinez Garcia
219f8b7089 [ACA-4226] Fix rule ebabling in extensions (#2291) 2021-09-10 12:45:03 +01:00
Dharan
65826c27f6 [ACA-3669] Incorrect Version Number Displayed (#2281)
* [ACA-3669] Incorrect Version Number Displayed

* * fixed lint

* * test fixed
2021-09-06 11:00:45 +05:30
Eugenio Romano
0bc3d7c45f improve compatibility (#2256)
* improve compatibility

* fix

* fix

* fix

* fix
2021-08-16 16:33:31 +02:00
Eugenio Romano
4c0e6b8861 [ADF-5429] Remove old compatibility layer (#2251)
* Remove old compatibility layer
2021-08-10 16:55:18 +02:00
Dharan
6670f9c75d search extension docs updates (#2210)
* * docs updates

* * fix lints
2021-07-02 09:42:22 +01:00
Dharan
9df2c8eaa7 [ACA-4497] allow user to extend the search configuration (#2204)
* * support search extension

* * unit test added

* * fix lints

* Update application-features.md
2021-06-29 13:31:36 +02:00
Denys Vuika
35d6fb7b5c [ADF-5433] enable strict mode for angular templates (#2191)
* enable strict mode for angular templates

* update formatting

* fix lint

* fix formatting

* remove deprecated method

* upgrade to latest ADF

* restore error handler
2021-06-25 12:51:56 +01: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
Denys Vuika
d713fd189e [ADF-5407] style fixes before Angular 12 upgrade 2021-06-07 13:01:13 +01:00
Dharan
fa998cdd3e [ADF-5391] Cannot update multi-value metadata property (#2146)
* [ADF-5391] Cannot update multi-value metadata property

* * fix lint

* * remove unwanted lints

* fix upload screenshot

* fix upload screenshot

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-05-18 21:32:47 +01:00