Comments (6)
The ADF is based on Angular 14 so far, we are upgrading to the most recent Angular but it will take time. For the time being you won't be able to upgrade your app unless ADF is running the same Angular.
from alfresco-ng2-components.
@DenysVuika But 15 is already EOL
So why are we going to an old version? Why not directly to 18 at this point?
from alfresco-ng2-components.
The ADF is based on Angular 14 so far, we are upgrading to the most recent Angular but it will take time. For the time being you won't be able to upgrade your app unless ADF is running the same Angular.
Hello. Do you have an approximative delivery date for the upgrade ? Thank you
from alfresco-ng2-components.
@shazada @anakin59490 we are upgrading to latest, with intermediate upgrades per each version, no ETA for now
from alfresco-ng2-components.
For Angular 15, you can test with the https://github.com/Alfresco/alfresco-ng2-components/releases/tag/7.0.0-alpha.2
from alfresco-ng2-components.
thank you,
this is what i add in my existing project (I use Angular 15 and i would like only use ecm) :
package.json:
"dependencies": {
"@alfresco/adf-content-services": "^7.0.0-alpha.2",
"@alfresco/adf-core": "^7.0.0-alpha.2",
"@alfresco/adf-extensions": "^7.0.0-alpha.2",
"@alfresco/js-api": "^8.0.0-alpha.2",
...
app.config.json:
"{
"ecmHost": "https://localhost:8443",
"providers": "ECM",
"authType": "OAUTH",
"oauth2": {
"host": "https://identity-server-host",
"clientId": "your-client-id",
"secret": "",
"scope": "openid",
"implicitFlow": true,
"redirectUri": "http://localhost:4200",
"silentLogin": true
},
"application": {
"name": "MyApp"
},
"languages": [
{
"key": "en",
"label": "English"
},
{
"key": "fr",
"label": "French"
}
],"
proxy.conf :
"module.exports = {
"/alfresco": {
target: "https://localhost:8443",
secure: false,
changeOrigin: true,
// workaround for REPO-2260
onProxyRes: function(proxyRes, req, res) {
const header = proxyRes.headers['www-authenticate'];
if (header && header.startsWith('Basic')) {
proxyRes.headers['www-authenticate'] = 'x' + header;
}
}
},
logLevel: 'debug'
};"
I have added a AdfModule file that I have imported in my app.module file :
"import { NgModule } from '@angular/core';
import {CoreModule, TRANSLATION_PROVIDER, TranslateLoaderService, AppConfigService} from '@alfresco/adf-core';
import { ContentModule } from '@alfresco/adf-content-services';
import {TranslateLoader, TranslateModule} from "@ngx-translate/core";
@NgModule({
imports: [
// ADF modules
CoreModule.forRoot(),
ContentModule.forRoot(),
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateLoaderService }
})
],
providers: [
AppConfigService,
{
provide: TRANSLATION_PROVIDER,
multi: true,
useValue: {
name: 'app',
source: 'assets/i18n'
}
}
]
})
export class AdfModule {}
"
And in angular.json:
""assets": [
"src/favicon.ico",
"src/assets",
"src/app.config.json",
{
"glob": "/*",
"input": "resources",
"output": "/resources"
},
{
"glob": "/",
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
"output": "/assets/prebuilt-themes"
},
{
"glob": "**/",
"input": "node_modules/@alfresco/adf-core/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
"output": "/assets"
},
{
"glob": "pdf.worker.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "pdf.worker.min.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
}
],"
But I have an injection issue : "NullInjectorError: No provider for r!"
I think by checking code that it comes from AuthenticationService in adf-core.mjs
Thank you in advance
from alfresco-ng2-components.
Related Issues (20)
- Alfresco Viewer Component Bug After Upgrade HOT 3
- ADF identity user info compenent doesn't work in ADF 6.1.1 HOT 1
- BaseAuthenticationService onLogin ReplaySubject property wrong behavior HOT 1
- Process Service Down on NPM? HOT 2
- adf-content-metadata-card configuration for excluded properties ignores all but 1 configuration
- UploadApi.uploadFile() uploads file into "undefined" folder if relativePath is undefined
- NodesApi.getNodeContent() causes JS error if ifModifiedSince property is undefined HOT 1
- Authentication error (401) causes undefined object error while tries to call invalidateSession() HOT 1
- What happened to the release notes and upgrade guides? ⚠️ HOT 7
- token
- Unable to use process-services with ADF 6.7.1 or 6.8.0 and Basic authentication HOT 1
- Critical vulnerability of peer dependency `formidable` HOT 1
- Unable to extend FormComponent from @alfresco/adf-process-services as model.service is not exported HOT 3
- Start Process Component & Default Values HOT 1
- adf-version-list pop-up does not show the versions of the document
- Preview hotkeys makes images zoom and rotate
- Filters on documentlist are not reset when navigating in the documentlist
- app.config.json contains validation errors is thrown in console while upgrading ADF components from 6.1.0 to 6.9.0 and application is not coming up HOT 1
- Wrong German translation for FILE_UPLOAD.MESSAGES.UPLOAD_ERROR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfresco-ng2-components.