Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 23 11:38
    oliverfoster labeled #183
  • Jan 23 11:38
    oliverfoster closed #183
  • Jan 23 11:33
    oliverfoster commented #185
  • Jan 19 15:49
    taylortom edited #186
  • Jan 19 15:49
    taylortom edited #186
  • Jan 19 15:49
    taylortom labeled #186
  • Jan 19 15:49
    taylortom opened #186
  • Jan 19 14:27
    taylortom opened #185
  • Jan 19 14:27
    taylortom labeled #185
  • Jan 17 09:45
    github-actions[bot] labeled #184
  • Jan 17 09:45
    github-actions[bot] commented #184
  • Jan 17 09:45

    github-actions[bot] on v3.0.9

    (compare)

  • Jan 17 09:45

    github-actions[bot] on master

    Chore(release): 3.0.9 [skip ci]… (compare)

  • Jan 17 09:44

    oliverfoster on 183

    (compare)

  • Jan 17 09:44

    oliverfoster on master

    Fix: Pass semverOptions to sati… (compare)

  • Jan 17 09:44
    oliverfoster closed #184
  • Jan 16 17:26
    oliverfoster assigned #183
  • Jan 16 17:26
    oliverfoster labeled #184
  • Jan 16 17:26
    oliverfoster assigned #184
  • Jan 16 17:24
    swashbuck review_requested #184
canstudios-matth
@canstudios-matth
Ah, okay.
Thank you for the heads up, I'll investigate further.
Oliver Foster
@oliverfoster
:+1: np
canstudios-matth
@canstudios-matth
@oliverfoster I was using the default registry, I think. Switching to ours fixed it. Thank you for helping out, don't think I'd have ever figured that one out!
Oliver Foster
@oliverfoster
noice
Greg Sweet
@gps03

looking fro some guidance with an SSL error I am getting with adapt-cli create course command. I am behind some pretty restrictive government security is there a config file for adapt-cli where I can set things like my proxy credentials?

Error: Oh dear, something went wrong. I'm terribly sorry. Couldn't check latest version of adapt_framework. Error: unable to get local issuer certificate

OS: MacOS 12.1

Oliver Foster
@oliverfoster
I'm afraid not @gps03
I've not seen that error before, but some quick googling around suggests it's less to do with proxy configs.
Greg Sweet
@gps03
I've been working on this for a few days now and have narrowed the issue down to bower. Git works just fine on its own but when bower attempts to initiate the download is when I pop the SLL error mentioned above. I am scouring for bower configuration information, but so far have only found the switch to set strict-ssl to false in the .bowerrc file. However I am immediately getting the "unable to get issuer certificate" an error in my IDE. Thoughts appreciated.
Oliver Foster
@oliverfoster
bower is a reasonably large project, can you be more specific about which download it's performing before it errors? is it the plugin entry from the bower repository or the plugin meta data from github or the plugin files from github?
Greg Sweet
@gps03
image.png
It is immediate. The create command allows me to enter the details (type, name, branch, now/later) but immediately returns the cert error. I've tried pinging the http://adapt-bower-repository.herokuapp.com repo directly as well but only time out. I can successfully clone the adapt_framework repo, it just appear that when bower calls git it fails.
Oliver Foster
@oliverfoster
Ok that helps.
Oliver Foster
@oliverfoster
if you force the adapt cli to use the repository server with an https connection by invoking this line https://github.com/adaptlearning/adapt-cli/blob/master/lib/Constants.js#L46
which you can do using:
$ env ADAPT_REGISTRY=https://adapt-bower-repository.herokuapp.com/ adapt create course
can you let me know if that works?
Greg Sweet
@gps03
image.png
Greg Sweet
@gps03
No Joy. Same error. I am at a complete loss as I am only seeing this error with Adapt-CLI.
Oliver Foster
@oliverfoster
can you see a list of plugins if you go to https://adapt-bower-repository.herokuapp.com/packages/ in your browser?
Greg Sweet
@gps03
Yes, that page loads in the browser. I've also made a couple of attempt to isolate the network traffic from bower, and haven't been successful. I am thinking the error is accurate and bower is not accessing the keychain correctly; Therefor not getting cert and erroring out before attempting any get requests. I am attempting to dig into bower to see how it attempts traffic (git, curl) and if there is a configuration somewhere that needs to be updated to get it to access the keychain correctly.
Oliver Foster
@oliverfoster
All of the ways bower connects to the internet are with external executables / libraries / node apis.
All of which use a combination of their own code and the operating system.
Bower doesn't do anything at the network layer itself
Greg Sweet
@gps03
At this point I've added local config files for git, bower, and npm and either supplied the cert directly in the config file or pointed to the copy of the .pem in my project dir. Still get the same error, still not seeing any network traffic (handshakes refused, etc.) at the time the error pops. I had one brief glimmer of hope when I added rejectUnauthorized=false to the project .bowerrc and got a 404 error instead of the certificate error, but I only saw that once.
Oliver Foster
@oliverfoster
did you try this in the .bowerrc?
  "strict-ssl": false,
did you see this closed issue in the bower github repo ? bower/bower#2105
Oliver Foster
@oliverfoster
It's incredibly difficult for me to help as I can't replicate your conditions
Greg Sweet
@gps03
Understood, and I do appreciate all the assistance. I definitely owe you a beverage of your choice.
nApTu3aHs
@nApTu3aHs

Hi, Oliver. I have a similar error.
adapt create component "test-component"
Oh dear, something went wrong. I'm terribly sorry. Response code 404 (Not Found)

I see list of plugins here: https://adapt-bower-repository.herokuapp.com/packages/
I tryed this: "strict-ssl": false,

Oliver Foster
@oliverfoster
We're currently in the middle of rewriting the adapt-cli @nApTu3aHs
the one you're using is a bit broken i'm afraid
What that command should do, is download https://github.com/adaptlearning/adapt-component this repo and automatically rename parts of the bower.json and files to the given name.
What you're having is an entirely different problem from Greg's
If you need to make a new component, may I suggest you duplicate one that already exists, such as adapt-contrib-text or adapt-contrib-mcq and make changes accordingly?
I will let you know when the new adapt-cli is ready for use
This is the pull request for its updates adaptlearning/adapt-cli#154
Charlie S
@cas2082_gitlab
Hi all, I apologise if I'm posting in the wrong place. I've used adapt-cli to create a few courses and I'm very happy with it. My concern relates to all the vulnerabilities npm tells me about when I install it... I've tried running 'npm audit fix' to no avail, and when I run 'npm audit fix --force' the vulnerabilities get worse! Windows 11, if that matters
Oliver Foster
@oliverfoster
You can ignore them @cas2082_gitlab they are generic warnings and don't consider the context of the use of the libraries.
These should be fixed when we release the next version of the adapt-cli
Charlie S
@cas2082_gitlab
@oliverfoster thank you for the answer!
Charlie S
@cas2082_gitlab
I needed to hide the back button on the navigation bar. I did this by deleting the appropriate <button class=> in src\core\templates\nav.hbs
I'm just wondering if there was a more elegant way to hide it than deleting the code? I'm quite new to all this!
Oliver Foster
@oliverfoster
@cas2082_gitlab you can also use css/less
in your theme
John Niezen
@johnniezen
We use the AT, and in Project settings have this CSS : .navigation .navigation-back-button{ display: none; }
works for us while we use always the start setting, we use them like single page courses
Chuck Lorenz
@chucklorenz
@cas2082_gitlab You might jump into the adapt_framework room. @5am_gitlab recently added some code he uses to control/hide the back button under certain circumstances. It might be worth trying/saving.
Charlie S
@cas2082_gitlab
Thank you all very much for the replies!
Charlie S
@cas2082_gitlab
A simple addition in theme-extras.less seems to have worked for me -
.nav__back-btn { .u-display-none; }
Thanks again to all