Commit Graph

212 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
Denys Vuika
5ce4835e4c [AAE-10766] upgrade to new About component (#2769)
* [AAE-10766] upgrade to new About component

* upgrade to latest ADF alpha

* update e2e to reflect snackbar changes

* Revert "update e2e to reflect snackbar changes"

This reverts commit 6164804bab.

* ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2734)

* 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

* use latest adf

* ACS-3640 Correction for e2e

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>

* remove the action check from the snackbar

* update e2e

* update e2e

* update e2e

* Update e2e

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2022-11-14 23:55:06 +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
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
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
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
Sushmitha V
49e48abf3a [AAE-6294] The list should be refreshed without allowing a used to se… (#2629)
* [AAE-6294] The list should be refreshed without allowing a used to select the same folder already deleted

* Changes done as per comment

* resolved build fails
2022-09-12 14:24:19 +02: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
e237e373eb remove unused project files (#2583)
* remove unused project files

* restore package for shared testing lib
2022-08-11 13:55:18 +01:00
Denys Vuika
fa68c6fcf4 Angular 13 upgrade (#2493)
* upgrade to Angular 13

* upgrade datetime picker libs

* upgrade to eslint 13

* fix eslint issues

* downgrade datetime picker

* fix scss builds

* use proper node version on travis

* fix e2e check

* fix test run

* upgrade ngrx to 13

* use latest ADF 5.x

* add missing ban plugin for eslint

* use latest ADF 5.x branch

* use latest ADF 5.x

* use latest ADF

* sync libs with adf and apps

* Updating to the right version of mat-datetime-picker

* Fix Test Suites: Search - AAE-10222

* Satisfy linter

* upgrade to adf 5.0.0-angular.13

* upgrade adf to 5.0.0-angular.13.1

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-08-09 18:39:25 +01:00
Thomas Hunter
a9f1946a0a [ACS-3255] Add basic dialog for create / update rule (#2568)
* [ACS-3255] Add basic dialog for create / update rule

* Remove test data

* Fix import

* Fix linting
2022-07-15 16:37:41 +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
Thomas Hunter
866ac19d82 [ACS-3109] Release 2.11.0 (#2549)
* [ACS-3109] Release 2.11.0

* Update git links in changelog
2022-06-16 17:06:17 +01:00
Thomas Hunter
746f31e299 [ACS-2838] Release 2.10.0 (#2515)
* [ACS-2838] Release 2.10.0

* update adf to correct version
2022-04-27 15:38:50 +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
31d677c12d Removing eslint react weird plugin (#2483)
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-03-29 15:05:07 +01:00
Denys Vuika
1727554517 [AAE-7145] upgrade to Ngrx 10 (#2479)
* upgrade to ngrx 10

* fix auth proxy

* migrate effects to newer syntax
2022-03-24 11:36:21 +00:00
Denys Vuika
6a9a863163 release 2.9.0 (#2476) 2022-03-17 19:14:49 +00:00
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
Denys Vuika
047c4bcd72 Release 2.8.0 (#2415)
* release 2.8.0

* update changelog script

* update changelog

* use latest ADF release
2022-01-27 16:10:37 +00:00
Bartosz Sekuła
37acccd6d6 [AAE-6811] Load custom theme (#2402) 2022-01-18 10:15:42 +01:00
Maurizio Vitale
4d1dab60b2 [AAE-6555] Rename the app into content-ce (#2375)
* Rename the app into conten-ce

* switch test to singleRun true

* Fix typo

* Use single run false for libs

* run test content-ce
2021-12-07 18:23:20 +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
Denys Vuika
4e2c968595 Release 2.7.0 (#2351)
* update app config

* update to latest ADF

* update package versions

* generate reports
2021-11-16 13:06:37 +00: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