Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tomasz
    @tomasz90:matrix.org
    [m]
    As far as I see modern dojo is quite similar to react in some areas
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    yea. my application is open source though, so if I want helping hands, I need to use more mainstream technology than Dojo2 (or Dojo1 by this point)
    I lacked that contextRequire: require and _WidgetsInTemplateMixin
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    Tomasz: good you have that solved!
    Tomasz
    @tomasz90:matrix.org
    [m]
    ehuelsmann: thanks. Though the solution is quite overcomplicated.
    I am glad that I started from more modern frameworks
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    Yea. In a world without CSS Grid module, ES2015 and more, building a framework like Dojo is hard work!
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    Hi.
    GitHub notified me on CVE-2021-23450 which is a vulnerability on Dojo. Is there general agreement on whether this is a true threat and whether it is patchable?
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    @dylans: Would you accept a PR for CVE-2021-23450 on the dojo/dojo repo and release 1.16.5, if that isn't already in the works?
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    @dylans: hi! I've submitted a PR to address CVE-2021-23450. Could you have a check and comment as to whether you think it's the correct fix?
    I'd be happy to backport the same fix to whatever other versions you'd like to release.
    rhpijnacker
    @rhpijnacker
    @dylans Is there going to be an update to release the fix for the CVE-20210-23450 vulnerability?
    rhpijnacker
    @rhpijnacker
    Looks like Chrome is going to remove some deprecated stuff from navigator, such as userAgent and appVersion.
    This is used by dojo/sniff.js and a few other places.
    Will dojo break because of this? Should there be an update to fix this?
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    @dylans: would you be so kind to release the fix for CVE-2021-23450 ?
    Nikola Radovanovic
    @nikoladsp

    Hi,

    I recently switch job and part of it is JS (Dojo framework) based UI.

    Now, I am no stranger in JS, but also not an advanced user. What would be the best (or at least recommended) way to get a grasp on the code. There are a quite few components scattered around, some of them producing compressed output (unfortunately, a very base, common one - used by other parts) and it is safe to say that there is no documentation.

    I was thinking to create maybe some xhr hook so I can log in calls as I click on UI that I can turn on/off, but not sure.

    Also was considering to add JSDoc as I go, but that's hard because I don't know the code and interaction. There is no cross-referencing atm, because code is organized using Debian packages, so not sure shall I first make this one work.

    Many thanks

    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    dylans (Dylan Schiemann): hi. Our application won't run with the recently released Dijit 1.17 (see dojo/dijit#194)
    One of us created a fix for it too: https://github.com/dojo/dijit/pulls/195
    @dylans: could you have someone look at it, or look at it yourself? We'd extremely appreciate it! Thanks!
    Dylan Schiemann
    @dylans
    @ehuelsmann:matrix.org I've reviewed it, if they can approve the CLA that would be great and then I can merge it.
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    @dylans: thanks! I'll get that worked out.
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    @dylans: I've submitted from my GitHub account as I already had the CLA on file with the Linux foundation. Apparently Yves didn't and wasn't comfortable signing the CLA either. So, since we developed it together, I've submitted it from my account. Both for master and for 1.17.
    Mikołaj Lemański
    @lemcoder

    Can I somehow override postCreate method in custom dojo widget to be async? I have widget with form that has to wait for response from server to create it's fields. The problem is server is sometimes taking long time to respond and then the async operation that I call inside postCreate somehow stops executing and is never finished.

    I've tried to use custom events and aspects but nothing seems to work.

    Mikołaj Lemański
    @lemcoder
    nevermind already fixed it
    David Rosenheim
    @David_Rosenheim_twitter
    can anyone point me to step-by-step instructions for creating and configuring a dojo 1 project in VS Code? Specifically, I need to the project to use Dojo Toolkit version 1.10.3 (yep, that's 7 years old, I know).
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    Does VS Code understand projects this old?!
    David Rosenheim
    @David_Rosenheim_twitter
    I suspect if you configure the packages.json correctly, it will even provide intellisense for all of the dojo functions and whatnot
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    ok. well, I don't remember how we did it, but our project uses Dojo 1 and has a packages.json: https://github.com/ledgersmb/LedgerSMB/blob/master/package.json
    all through npm
    David Rosenheim
    @David_Rosenheim_twitter
    I see all kinds of tutorials on the web for using npm to install Dojo/CLI which gives VS Code the necessary commands to create Dojo 2+ projects, but I don't know whether the CLI can be forced to use any of the Dojo 1 versions or not.
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    it can't.
    David Rosenheim
    @David_Rosenheim_twitter
    didn't think so
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    npm i dojo
    I think that is what added it to package.json for us.
    well, with the --save option, I guess.
    David Rosenheim
    @David_Rosenheim_twitter
    npm i -g dojo@1.10.3 I think will pull down the version I'm wanting
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    and install it globally, yes.
    if you leave out -g, it will install in a local "node_modules" directory.
    David Rosenheim
    @David_Rosenheim_twitter
    hmmm... you're suggesting I might not want to install globally?
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    it's not the common practice, no.
    David Rosenheim
    @David_Rosenheim_twitter
    so If I don't install globally, do I need to create my project in VS Code first?
    ehuelsmann
    @ehuelsmann:matrix.org
    [m]
    To be honest, we don't use VS Code in our project. Only package.json and some other tools from the JS ecosystem.
    santosh
    @santosh33897_twitter
    i am using dojo 1.16 but I was getting CVE-2015-8858 issue.. that needs to upgrade dependencies. my problem is how to upgrade dojo dependencies?
    Ferruccio
    @ferzMTD
    I had written a old application in dojo 1.x and now I've forgotten how dojo handle dijit.TitlePane with href attribute. The current trouble is that the ajax call doesn't forward session cookie and the response is a 401 for missing authentication.
    oliverbrown00
    @oliverbrown00
    I also wanna play pickleball inspired by https://pickleballobby.com/ check it out it's amazing.
    Deno Vichas
    @denov
    @ferzMTD i don't use any of the dijit layout stuff but you may be able to use something like
           notify('send', function(response, cancel) {
            const token = Auth.authToken();
            if(token) {
                response.xhr.setRequestHeader('Authorization', 'Bearer '+ token);
            }
        });
    @oliverbrown00 a while back i just upgrade everything to 1.16.3. i just dropped in the source, i don't remember there being any migration issues
    has anybody tried to upgrade the build tool in order to support ES2022 syntax? it doesn't seem like .? or ??=
    oliverbrown00
    @oliverbrown00
    I am using https://pressublimation.com/ but I was getting a CVE-2015-8858 issue.. that needs to upgrade dependencies. my problem is how to upgrade dojo dependencies.
    Can I work on scopes like this ( https://thescopes.net/ ) or do any suggestions?
    I also wanna play pickleball inspired by https://pickleballobby.com/ check it out it's amazing.