69 Commits

Author SHA1 Message Date
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
Denys Vuika
1c6efc5584
release 2.0.1 (#1625) 2020-08-18 18:58:23 +01:00
Popovics András
cd1252cb94
[ACA-3394] Generally available file preview feature for extensions (#1496)
* Adding general purpose preview overlay route

Preparation for file preview feature

Remove unnecessary preview root route and ability to use loadChildren

Extract RouterExtensionService

Remove loadChildren support and use component instead

Cover RouterExtensionService with unit tests

Fix tests

Fix build

Fix rebase issue

Add generally available PluginPreviewAction

Add data option to child routes and navigateBackAsClose option for the preview component

Support plain mode preview

Fix linting

Update to latest alpha of ADF

* Adding documentation

* Rebase fix

* Update to latest adf
2020-08-07 18:24:38 +02:00
Cilibiu Bogdan
a42b853814
include definition field (#1582) 2020-08-07 08:42:01 +01:00
Silviu Popa
ce081aaad2
[ACA-3808] - fix e2e actionMenu (#1580)
* fix e2e actionMenu

* PR changes

* wait for context menu to close

* wait for menu to close after escape key

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-08-06 20:45:05 +01:00
Urse Daniel
f59abb4228
[ACA-100] View a previous version (#1562)
* added a feature to view a previous node version

* added latest versions

* added single selection to match the latest ADF change

* hide version list dialog when opening the viewer

* pass versionId to adf-viewer

* add view versions rendition routes for: shared, recent files, favorites, search.

* added functionality to download a previous version of a node

* small fix - no need to clear the store

* remove unused import

* removed changes

* Delete package-lock.json

* revert

* update to last dependencies

* ACA-3601: Add e2e tests for Preview of a file's previous version

* Address comments

* ACA-3601: Make sub-tests execute independently

* update dependencies

* ACA-3601: Add licenses

* Add type

* ACA-3601: Refactor execution

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2020-08-05 16:15:20 +03: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
Baptiste Mahé
2e8b863413
[ACA-3468] Enable Document List filters in ACA (#1495)
* [ACA-3471] too long french translation doesn't fix in the UI (#1499)

* [ACA-3538] Fix search result layout (#1500)

* [ACA-3468] Enable Document List filters in ACA

* [ACA-3468] Get pagination settings from document list

* [ACA-3468] Move event handlers and pagination to page component

* [ACA-3468] Remove useless OnChanges

* [ACA-3468] Fix linter

* [ACA-3468] Add test for document list definition

* [ACA-3468] Fix lint

* [ACA-3468] Remove identifier

* [ACA-3468] Update to lastest ADF alpha to fix search result

* [ACA-3468] Update to lastest ADF alpha

* Fixed unit test

* re-enable tests

* rollback changes to test

* fix reload

* * fixed search e2e

* fix issue with page reload on search results

* update tests

Co-authored-by: arditdomi <32884230+arditdomi@users.noreply.github.com>
Co-authored-by: PizzaVito <vito.albano.123@gmail.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: dhrn <dharan.g@muraai.com>
2020-06-29 17:28:31 +01:00
Denys Vuika
13e506e4dd
[MNT-21419] correctly reset search results (#1487)
* correctly reset search results

* fix tests

* reset the service intstead of copying

* Revert "fix tests"

This reverts commit 8c1ae87caa3828517f0e404f5bb15b7101ffffb6.

* fix app service tests
2020-06-17 12:27:48 +01:00
Mark Steadman
2ddacf4354
fix: proper menuitem aria for screen reader users (#1482) 2020-06-15 12:41:24 +01:00
Silviu Popa
33327bb505
[ACA-3315] - add predefined extension guard (#1478)
* [ACA-3315] - add predefined extension guard

* update extension loader

* update doc

* fix lint

* PR changes

* PR changes

* remove unnecesary code

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-02 14:03:46 +02:00