Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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.
    jamilnour
    @jamilnour
    @DenysVuika What is the rule? I just expanded it and logout. After login it is collapsed again. Is this information saved? where? Thx
    Denys Vuika
    @DenysVuika
    you can check in the source code, the component is called sidenav.
    jamilnour
    @jamilnour
    Flag for sideNav expansion is saved in local storage as following username__expandedSidenav (true/false). in app.config.json we can configure the sideNav by setting preserveState and expandedSidenav to true or false. For my case I put them both to true. Everything is working fine.
    BenBrudo
    @BenBrudo
    Hi, we would like to override the URL used during a rest api call. Is there a way to do this in ACA or is it better to override the rest API Alfresco ?
    n-rodrig
    @n-rodrig
    I have seen no option to change user data and password on ACA. So I would like to add a new item to user menu with a component to support this functionality. Taking a look to the code Items on that menu comes from userActions. Are here any way to contribute a new entrance to that menu to execute an action?
    Milochanzy
    @Milochanzy
    Hi @DenysVuika , Does ACA 2.1.x work with ACS 6.2.x to support drop down on metadata fields based on content model (or other wise configurable)
    Leonardo Mattioli
    @LeoMattioli_twitter
    @Milochanzy drop down feature will be supported out of the box in ACS 7.0, that it's not available right now
    Milochanzy
    @Milochanzy
    Thanks @LeoMattioli_twitter , I could however patch the webscript in ACS 6.2 to make it work? Since the UI component already is ready to process property constraints, if in backend webscript service the property definition is added or updated it should work right? Cant wait for ACS 7 to become stable.
    From what I have seen in the ADF/ACA code is that "api/classes/{propertyName} has be called to get property details. right? So that might need patching?
    Leonardo Mattioli
    @LeoMattioli_twitter
    @Milochanzy, I don't know... I have never looked at that code and I don't know how it will be implemented in ACS 7. I just know that ACS 7 is expected in the first quarter of 2021.
    Milochanzy
    @Milochanzy
    @LeoMattioli_twitter Thanks for sharing feedback. I'm trying to check on it. so far seems like either the /cmm or /api/classes need enhacement
    Denys Vuika
    @DenysVuika