Amedeo Lepore 7abebf0652 [AAE-12501] Align JS API (#8344)
* [AAE-12501] Provide an AlfrescoApiService implementation that disable the AlfrescoApi oauth initialization when we use new oidc implementation

* [AAE-12501] Replace oauth2Auth with authentication service, define get username as abstract

* [AAE-12501] Replace sitesService with authentication service since sitesService get the username from oauth2Auth

* [AAE-12501] Call implicitLogin by authentication service

* [AAE-12501] Replace Oauth2Auth with AlfrescoApi and call the custom api without using authentication

* [AAE-12501] Replace oauth2Auth with authentication service to get the token

* [AAE-12501] Replace oauth2Auth with alfrescoApi

* remove unneeded JS-API dep
move auth in the right place

* [AAE-10501] Rename alfresco-api.http-client to adf-http-client

* [AAE-10501] Remove config from a CoreModule, a different service is provided in AuthModule to use angular http client instead of super agent

* [AAE-10501] Disable AlfrescoApi oauth initialization while using new adf oidc authentication

* [AAE-12501] Replace alfresco api client with AdfHttpClient

* [AAE-12501] Restore get username methods

* [AAE-12501] Get username with authentication service

* [AAE-12501] removee unused method

* [AAE-12501] Trigger on login when token is received

* [AAE-12501] Fix content-services unit test

* [AAE-12501] Fix import

* [AAE-12501] Fix core unit tests

* [AAE-12501] Fix process-services-cloud unit tests

* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request

* [AAE-12501] Fix process-services-cloud unit tests without Expectation

* [AAE-12501] Fix Core secondary entrypoints unit tests are not executed: move test.ts one level up in order to find all the spec files into the secondary entrypoints folders and update path

* [AAE-12501] Fix Core unit tests that weren't executed because of the previous test.ts wrong location

* [AAE-12501] Fix authentication token_issued subscription

* add emitters

* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues

* [AAE-12501] Install event-emitter dependency

* [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies

* [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded

* [AAE-12501] Fix license-header lint issue

* [AAE-14221] Regenerate lock file

* [AAE-14221] Fix sonarcloud issues

* [AAE-12501] Remove wrong character

* [AAE-12501] Regenerate lock file

* [AAE-12501] Fix BC: update alfresco api response error

---------

Co-authored-by: eromano <eugenioromano16@gmail.com>
2023-06-27 17:22:30 +02:00
2023-06-26 12:24:30 -04:00
2023-06-27 17:22:30 +02:00
2023-05-04 22:51:19 +01:00
2022-08-25 10:50:30 +01:00
2023-06-27 17:22:30 +02:00
2023-06-01 18:16:29 +02:00
2022-08-26 15:24:19 +01:00
2023-06-27 17:22:30 +02:00
2023-05-16 17:37:50 +01:00

Alfresco Application Development Framework (ADF)

Introduction

See the introduction page in our documentation for an overview of ADF along with links to useful starting points.

Prerequisites

Node: 18.x
NPM: 9.x

Also, check out the tutorial Creating your first ADF Application for full details on what you may need to install before using ADF.

See also

Components

You can find the sources for all ADF components in the lib folder.

Libraries

ADF Libraries list:

Demo Application

A separate application showcasing integration of components can be found here. The app has examples of basic interaction for both APS and ACS components.

Application generator for Yeoman

To speed up the development, you can use the Generator for Yeoman.

Browser Support

All components are supported in the following browsers:

Browser Version
Chrome Latest
Safari Latest
Firefox Latest
Edge Latest
Description
Languages
TypeScript 90.3%
HTML 4.5%
SCSS 2.5%
JavaScript 1.6%
C 0.8%
Other 0.2%