Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Milochanzy
    @Milochanzy
    I can remove ajv-cli@3.1.0? that would be great, at least get me moving! @DenysVuika
    Denys Vuika
    @DenysVuika
    Screenshot 2020-10-30 at 14.57.00.png
    You can either remove all "validate-config" calls, of replace the validate-config command value with something like "echo 'skipped'"
    I will check if there's a new version of ajv released so that we upgrade the libs
    Milochanzy
    @Milochanzy
    @DenysVuika, Thanks will give it a try and update. Much appreciate the suggestion!
    Denys Vuika
    @DenysVuika
    We don't do extension endpoints for login at this point. What features are you missing in the current one?
    Milochanzy
    @Milochanzy
    @DenysVuika , I worked out the suggestion of removing "validate-config" from package.json. I am through with that particular issues, thanks a million. There is however some additional feedback I'd like to share. Some of the dependent modules have Security vulneravilities. Especially the ones with Angular 7 (angular-devkit). I am using the v8 latest version. Hoping it works.
    Any plan for upgrading to v8?
    Denys Vuika
    @DenysVuika
    what do you mean by v8 ?
    ACA is using Angular 10
    If you are in the web dev for some time, you should know that those vulnerabilities appear daily, and it takes time for entire JavaScript ecosystem to reflect that.
    as soon as Google updates it's dependencies, we update them too. I suggest raising issues in the corresponding library repositories, or you can raise PRs for ACA to update the libs. But we have dependabot that is watching for libs and creates PRs anyway
    Milochanzy
    @Milochanzy

    Hi @DenysVuika, For example
    https://www.npmjs.com/package/@angular-devkit/build-ng-packagr

    Check the "versions", I am using the "v8-lts", this does not correspond to Angular 8?

    Denys Vuika
    @DenysVuika
    this is the latest list of dependencies, not sure what exactly you are talking about, sorry: https://github.com/Alfresco/alfresco-content-app/blob/develop/package.json
    Milochanzy
    @Milochanzy
    I agree on not blindly following Snyk, but Firm does :(
    @DenysVuika What is the production stable branch for ACA?
    I cloned master branch
    Denys Vuika
    @DenysVuika
    Yes, it's master
    As I've said, we have Dependabot watching libs, and Snyk watching each PR. If there's something that appeared since the master was released - it gets to the next version on develop branch.
    Or you can manually keep everything updated for your clone, it's a matter of running "npm audit" and "npm audit fix" I believe
    Milochanzy
    @Milochanzy
    I see that from last time I downloaded the source, there are some changes :|. Let get the latest. Thanks for pointing it out.
    I tried npm fix on stuff I could :)
    We have a private NPM repo, so it make it difficult to work with npm fic. But let me try with the latest master code!
    Milochanzy
    @Milochanzy

    @DenysVuika, Need to provide manual review for the following vulnerability

    https://npmjs.com/advisories/1179

    Suggestion?
    Denys Vuika
    @DenysVuika
    what do you mean by "manual review" ?
    Milochanzy
    @Milochanzy
    when I do a "npm audit fix" it's not able to resolve the minimist vulnerability.
    Path │ lite-server > minimist
    Denys Vuika
    @DenysVuika
    lite-server is used for e2e tests, not ending up in the application in any way. if you want to get audit happy, you will need to ask "lite-server" team to upgrade the minimist I think
    as I've said already, we have a bot that bumps all dependencies as they are released to NPM, if it's not in "develop", then it's not fixed yet by corresponding projects
    George Hernando
    @ghernando_gitlab
    The ACA PDFJS viewer in version 2.1.0 has a 'Fit' option. I'd like to be able to have a 'full height' or 'full width' capability (actually both). I'm not sure what it's doing now -- it looks like it may be viewing at 100%. Is there a way to configure the behavior?
    Milochanzy
    @Milochanzy
    @DenysVuika for sharing the info. I finally got the ACA up on my office machine.
    Will work to get it up on my laptop
    NihatOsman
    @NihatOsman

    Hello, I installed ACA and I have a Cors issue. I changed only my url in proxy.conf.js -no change in app.config.json. app.config.json
    ecmHost": "{protocol}//{hostname}{:port}", "aosHost": "{protocol}//{hostname}{:port}/alfresco/aos", "baseShareUrl": "{protocol}//{hostname}{:port}/#/preview/s", "providers": "ECM", "authType": "BASIC",

    proxy.conf.js
    const API_CONTENT_HOST = 'My url'; module.exports = { '/alfresco': { target: API_CONTENT_HOST, 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; }} }, '/auth': { target: API_CONTENT_HOST, secure: false, changeOrigin: true }};

    Milochanzy
    @Milochanzy
    Hi, Is it possible to add static dropdown list for custom metadata on Alfresco content app?
    Denys Vuika
    @DenysVuika
    @NihatOsman probably you custom url is incorrect? proxy-conf.js file is the config for Angular development server, meaning it will work only if you use "npm start" or "ng run app" commands. Are you running like that?
    NihatOsman
    @NihatOsman
    @DenysVuika when my custom URL is not correct(different) I'm getting (You've entered an unknown username or password). I'm running with 'npm start' and I'm using the ACA 1.9.0. By the way, when I click on sign in I'm seeing 3 requests - the first one is localhost:4200 and the other two is for the server
    alt
    Stefan Bakić
    @sbakic_gitlab
    @DenysVuika There is a bug in datatable.component. It is not possible to unselect row in selectionMode="single".
    Denys Vuika
    @DenysVuika
    @sbakic_gitlab why is this a bug? what does this break?
    Dylan van den Brink
    @dylanvdbrink
    Hi, I'm trying to create a custom component. I've used the "library-list" component which is in the content-services-extension as an example. Registration, route and showing nodes work. But I also want to show the contextMenu and the toolbar that are shown when navigating in existing ACA components, which works in the "library-list" component but I can't seem to get it to work in my custom one. So my question is, how can we re-use the toolbar- and contextmenu actions in custom components?
    Dylan van den Brink
    @dylanvdbrink
    I've searched through the history here, but the working solution for @oviwon which suggests specifying aca-shared as a module dependency does not seem to work for me. The default "browser" context menu is not firing either so it seems like my data-table does override the functionality of the browser but does not show any context menu actions. The toolbar does not show any actions either.
    Denys Vuika
    @DenysVuika
    you need document list probably, the context menus and all other features are there, the data-table is just a basic table component
    Dylan van den Brink
    @dylanvdbrink
    Hmm okay thanks, still thinking of why it is working for the "content-services-extension" though
    Denys Vuika
    @DenysVuika
    @dylanvdbrink content-services-extension is an enterprise plugin for ADW, not ACA
    Dylan van den Brink
    @dylanvdbrink
    @DenysVuika Yes but as far as I can see it uses only aca shared and custom components, but you're right it could be a factor of why it isn't working
    Denys Vuika
    @DenysVuika
    it's hard to say what is not working just by what you describe, and as you have said - it's working in another case, so must be something you have missed in your app or configurations
    Dylan van den Brink
    @dylanvdbrink
    Yes probably, thanks anyway!
    jamilnour
    @jamilnour
    From my extension, is it possible to make the side menu expanded by default after login? User can minimize it as an option. Thx
    Denys Vuika
    @DenysVuika
    @jamilnour yes, you can dispatch TOGGLE_INFO_DRAWER action
    jamilnour
    @jamilnour
    @DenysVuika I wanted the left sidebar menu and not the right info drawer. Thx
    Denys Vuika
    @DenysVuika
    left sidebar is always expanded by default after login, you may have it collapsed because you collapsed it before. also, it is auto-collapsed on the search results I believe.