Commit Graph

309 Commits

Author SHA1 Message Date
Denys Vuika
5b054f234d [ACS-4536] deprecate and cleanup aca-settings module (#2978) 2023-02-11 00:28:29 +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
Jatin Chugh
6b72ef5b52 [ACS-4276] Header section content does not reflow to fit horizontally within the viewpoint when the page is adjusted to an equivalent width of 320px or 400% zoom (#2976) 2023-02-09 18:52:26 +00:00
Alfresco Build
704f0a8b65 Update branch for ADF 6.0.0-A.2-7992 and JS-API 5.4.0-561 [ci:force] (#2952)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 37793

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

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

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

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

* [AAE-10778] Fix viewer BC: replace adf-viewer with adf-alfresco-viewer

* Update @alfresco/adf-extensions and @alfresco/adf-content-services to 6.0.0-A.2-7992

* [AAE-10778] Fix viewer BC: fix Unit node effects unit tests, replace ViewUtilService with RenditionViewerService since method 'printFileGeneric' has been moved from ViewUtilService to RenditionViewerService

* Fix comments-tab unit test: provide a mock onLogout value

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2023-02-02 11:07:02 +01:00
Denys Vuika
567882e864 e2e cleanup (#2951)
* reduce the code

* reduce code

* reduce code

* reduce code

* cleanup tests

* more readable code

* cleanup code

* fix code

* even more cleanup

* remove some deprecated apis

* code fixes

* cleanup files

* more files switching to user actions
2023-02-01 23:22:37 +00:00
Bartosz Sekula
a325deaf1a [AAE-11496] Publish aca-folder-rules fix (#2954) 2023-02-01 14:52:05 +01:00
Bartosz Sekula
93cc64b9a9 [AAE-11496] Make aca-content buildable (#2859) 2023-01-31 19:32:27 +01:00
Bartosz Sekula
c8e861907d [AAE-11496] Publish aca-viewer and aca-preview (#2945)
* [AAE-11496] Publish aca-viewer and aca-preview

* fix tests
2023-01-31 15:35:51 +01:00
dependabot[bot]
5a11cc7cc8 Build(deps-dev): Bump prettier from 2.5.1 to 2.8.3 (#2907)
* Build(deps-dev): Bump prettier from 2.5.1 to 2.8.3

Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix linting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-01-30 14:52:42 +00:00
Bartosz Sekula
3c70572d16 [AAE-11496] Publish aca-about and aca-settings with public access (#2943) 2023-01-30 12:13:22 +01:00
Bartosz Sekula
7a176eb9a2 [AAE-11496] Build and publish aca-about and aca-settings (#2942)
* [AAE-11496] Build and publish aca-about and aca-content

* added libs to publish
2023-01-30 10:28:39 +01:00
Bartosz Sekula
010821d309 [AAE-11496] Build and publish adf-office-services-ext (#2935) 2023-01-27 17:49:17 +01:00
Bartosz Sekuła
87c1c2b5df [AAE-11496] Make aca-shared buildable (#2916) 2023-01-24 19:36:26 +00:00
Nikita Maliarchuk
93ba00516a [ACS-4446] Folder Rules Bug Fix: Error thrown when Condition If Name Starts With/Ends With is used (#2918)
* ACS-4446 - renamed names

* ACS-4446 - renamed 'less/greater than or equal' filds name
2023-01-24 17:14:55 +00:00
Gloria Camino
a1392c5ab5 LOC-406 - Updated UI files in 16 languages - aca-folder-rules (#2917) 2023-01-20 16:19:53 +00:00
Denys Vuika
073deda1c8 add missing linting for aca-content (#2910)
* add missing linting for aca-content

* improve node options for lint run
2023-01-17 13:46:51 +00:00
Nikita Maliarchuk
125724242f [ACS-4075] - Folder Rules bugfix: Execute Script uses node ref picker instead of dropdown (#2875)
* ACS-4075 - redisigned edit-rule-dialog from smart to ui component

* ACS-4075 - deleted 'console.log()'

* ACS-4075 - added type
2023-01-16 13:58:52 +01:00
Bartosz Sekuła
686a60385b [AAE-12099] Process only UI is broken and all sections are shown (#2903) 2023-01-13 12:45:23 +01:00
Thomas Hunter
b4503c1de9 [ACA-4633] Fix error script dropdown sometimes not having a label (#2899) 2023-01-12 09:34:25 +00:00
arohilaGL
2bd05c4788 Revert "[ACS-4108] bug fix for showing id instead of name. (#2888)" (#2896)
This reverts commit 6ed062f69a.
2023-01-10 15:34:00 +00:00
Thomas Hunter
28d9475ecd [ACA-4645] Fix for shareActions e2es (#2890)
* Fixed expiry date

* Remove tests from protractor.excludes.json

* Remove unnecessary coment

* Fixed test case C286329
2023-01-06 16:58:33 +00:00
Thomas Hunter
547e17bee8 Capitalised the 'r' in 'Manage rules' (#2891) 2023-01-06 15:56:05 +00:00
arohilaGL
6ed062f69a [ACS-4108] bug fix for showing id instead of name. (#2888) 2023-01-06 14:37:03 +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
Thomas Hunter
8f28408607 [ACA-4070] Add unit tests for linking rule sets (#2878)
* Commit before rebase

* Added some tests in the rule set picker

* Add unit tests for manage rules component
2023-01-04 16:14:03 +00:00
Eugenio Romano
8ba18bb6dc move nodeupdate in nodeapiservice (#2860)
* move nodeupdate in nodeapiservice

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

# Conflicts:
#	package-lock.json
#	package.json

* fix lint

* fix compiler issue
2023-01-02 09:21:06 +00: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
e570ef8da0 [AAE-11496] Move 'content-plugin' to projects folder as 'aca-content' (#2817)
* [AAE-11496] Move content-plugin to projects

* Fix unit test
2022-12-20 18:15:34 +01:00
MichalKinas
cb84a06e25 [ACA-4625] Add ADF linking to unit tests and e2es (#2853) 2022-12-20 09:40:33 +00: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
Thomas Hunter
8c7c40a3d4 [ACA-4644] Inherited & linked rules that are disabled should not be listed (#2843)
* [ACA-4644] Inherited & linked rules that are disabled should not be listed

* Added condition for linked rule sets to need only enabled rules

* Added a bypass for the empty rules list for linked rule sets that have only disabled rules

* Replaced array filter with some
2022-12-13 10:10:17 +00:00
Nikita Maliarchuk
088eac5a3a [ACA-4634] Folder Rules style fix: Edit and Delete Rule buttons disappear if rules have long description or name (#2842)
* [ACS-4146] - unit tests

* [ACS-4146] - removed console.log()

* ACS-3961 - style fixes

* ACS-3961 - removed calculated width
2022-12-11 12:10:15 +00:00
Nikita Maliarchuk
86178c3a3a [ACS-4146] Folder Rules bug fix: An empty list for a child folder is displayed instead of an empty content template (#2839)
* [ACS-4146] - functional implementation

* [ACS-4146] - unit tests

* [ACS-4146] - removed console.log()
2022-12-07 13:43:48 +01:00
Nikita Maliarchuk
79243bad54 [ACS-4129] Folder rules - temporarily change 'Category value' to text box (#2830)
* ACS-4129 - temporarily changed category-value to text box

* ACS-4129 - typo correction
2022-12-02 16:03:27 +00:00
Gloria Camino
95ed79bc0e LOC-400 - Localized UI files for ACA 4.0 in 16 languages (#2829) 2022-12-02 11:15:32 +00:00
Nikita Maliarchuk
d1c143333a [ACS-4091] Folder rules: "Add simple workflow" action clears out parameters when trying to set destination folder (#2826)
* ACS-4091 fixed a bug

* ACS-4091 - fixed typo
2022-12-01 15:22:45 +01:00
Thomas Hunter
409b9751a5 [ACA-4632] [ACA-4633] Fix error script dropdown not having any options + hide dropdown when isAsynchronous unchecked (#2825) 2022-12-01 13:55:01 +00:00
Nikita Maliarchuk
5d330d3e36 [ACA-4627] Folder Rules - clicking on Manage Rules button does not fire the correct requests to the backend for inherited rules (#2822)
* ACA-4627 - changed from parent id to the current folder id

* ACA-4627 - unit test
2022-11-30 20:18:08 +00:00
Thomas Hunter
bfe14f8143 [ACS-4630] Fix no different rule is selected when rule is deleted (#2824)
* [ACS-4630] Fix no different rule is selected when rule is deleted

* Add unit test

* Some tests were failing due to objects with same references being used across different tests
2022-11-30 18:28:40 +00:00
Nikita Maliarchuk
60ba8eb6ce [ACS-3895] ACA - Folder Rules: inherit rule sets toggle (#2808)
* ACS-3895 - initial layout

* ACS-3895 - finished functionality

* ACS-3895 - unit tests

* ACS-3895 - deleted comments

* ACS-3895 - small fixes

* ACS-3895 - renamed ruleSettings to ruleSettingsMock

* ACS-3895 - rebase
2022-11-24 19:07:21 +01:00
Thomas Hunter
d9d2441b3a [ACS-3513] [ACS-3515] Create, edit and delete rule set link (#2810) 2022-11-24 15:37:01 +00: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
Nikita Maliarchuk
81033450d8 [ACS-3860] Folder rules - Node picker for action parameters of type "d:noderef" (#2800)
* [ACS-3860] - added callback with node selector dialog

* ACS-3860 - implemented node picker for actions

* ACS-3860 - unit tests

* ACS-3860 - linting

* ACS-3860 - i18n

* ACS-3860 - small fix

* ACS-3860 - changed to private method, added typization

* ACS-3860 - removed useless getter and setter

* ACS-3860 - added 'noderef' to cspell.json
2022-11-22 13:30:46 +01:00
Thomas Hunter
03ed8e071a [ACS-4010] Rule sets listing regrouping (#2803)
* [ACS-4010] Rule sets listing regrouping

* Linting

* Unit tests

* Remove TODOs
2022-11-22 11:14:09 +00:00
AleksanderSklorz
ae551f03fc [ACS-3640] Reverting reverted changes for a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2785)
* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* ACS-3640 Correction for e2e

* ACS-3640 Reverting reverted corrections for e2e

* ACS-3640 Use data automation id

* ACS-3640 Update ADF version
2022-11-21 10:48:22 +01:00
Thomas Hunter
c75091bf59 [ACS-3887] Rule set listing, including linked & inherited rules (#2780)
* [ACS-3887] Rule set listing to include linked & inherited rules

* Handled rules & rule sets reloading after a create/update/delete operation

* Linting

* Start rewrite of folder rules service unit tests

* Rules service and rule sets service unit tests

* Readd rules services create, update & delete unit tests

* rule set list ui component unit tests

* Manage rules component unit tests

* Remove & modify comments
2022-11-16 16:29:26 +00:00
Nikita Maliarchuk
b63a07b012 [ACA-4624] - added placeholder (#2777) 2022-11-16 10:07:39 +01:00
Denys Vuika
cc41a575ac Revert snackbar changes (#2778)
* Revert "[AAE-10766] upgrade to new About component (#2769)"

This reverts commit 5ce4835e4c.

* restore about dialog changes

* latest ADF alpha
2022-11-15 17:01:04 +00:00