180 Commits

Author SHA1 Message Date
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 fb140531f486111dcab91617a87992ae5dbe7b21.

* [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
Dharan
6700830c9d
[ACA-3897] Extendable viewer navigation (#2109)
* [ACA-3897] Extendable viewer navigation

* Update app.extensions.json
2021-05-07 15:54:18 +05:30
Dharan
759099bde7
[ACA-4287] Move hooks to shared library (#2052)
* * move hooks

* * import fixed

* fix prod build

* * refactor hook service

* * fixed test

* * docs added

* * revert tsconfig

* * revert tsconfig

* * docs updated

* * fixed setting testing

* * lint fixed

* * remove duplicate actions
2021-04-29 13:50:25 +05:30
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
Denys Vuika
b71e1530d1
stabilise unit tests (#1878)
* cleanup async usage

* cleanup async usage

* fix library favorite tests and code
2020-12-11 13:01:31 +00:00
Denys Vuika
71c2e40db8
[ACA-4205] Latest ADF and unit test fixes (#1861)
* upgrade ADF and cleanup test

* unit test stabilisation

* cleanup tests

* unit test stabilisation

* unit test stabilisation

* update ADF libs to latest alphas
2020-12-07 18:34:34 +00:00
Denys Vuika
092d430470
support ordering of document list columns (#1799) 2020-11-19 19:38:26 +00:00
Denys Vuika
53f61f19d6
Styles cleanup (#1764)
* remove useless context menu styles

* deprecate layout theme mixins

* cleanup name column

* use adf snackbar styles

* permissions and search results

* cleanup node versions dialog

* cleanup toolbar actions
2020-10-30 11:49:51 +00:00
Denys Vuika
7c894b250f
[ACA-4100] use ADF user info component (#1762)
* use adf user info

* delete old unit test

* remove e2e

* fix lint
2020-10-28 12:25:21 +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
9f67cae204
[ACA-2314] display "locked by" in search results (#1732)
* display "locked by" in search results

* Trigger build
2020-10-09 15:44:40 +01:00
Eugenio Romano
ba2961157a
[ACA-4022] Remove custom redirect strategy, the viewer doesn not reload (#1719)
* remove custom redirect strategy, the viewer doesn not reload

* Update extensions-data-loader.guard.ts

add return in case of no loaders

* remove the route strategy

* fix lint

* Fix link error

* Align unit test

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2020-10-06 18:45:03 +02:00
Denys Vuika
50c76f21e7
add "create menu" unit tests (#1720)
* add "create menu" unit tests

* submenu tests
2020-10-06 16:14:20 +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
arditdomi
4547621da6
Update to latest ADF and fix unit tests and broken e2e (#1702)
* Update to latest ADF

* Trigger a run with an older ADF version (investigation of e2e failures)

* Update to latest ADF

* Fix search e2e to search for a more specific search term according to the files uploaded
2020-10-02 12:28:31 +01:00
Denys Vuika
88e94a4ec9
[MNT-21386] move settings to a separate project (#1676)
* move settings to a separate project

* rework theming
2020-09-17 09:33:27 +01:00
arditdomi
651fb56ec6
Fix create menu and viewer evaluators not in sync with store values (#1634) 2020-08-26 10:09:22 +01:00