Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:23
    jayseventwo commented #2570
  • 00:20
  • Oct 20 22:03
    jayseventwo commented #2570
  • Oct 20 10:22
    simondate commented #2570
  • Oct 20 10:21
    simondate opened #2571
  • Oct 20 10:17
    simondate commented #2570
  • Oct 18 04:25
    jayseventwo commented #2570
  • Oct 18 01:16
    jayseventwo commented #2570
  • Oct 16 13:12
    sadeghbarati starred adaptlearning/adapt_authoring
  • Oct 14 22:31
    jayseventwo opened #2570
  • Oct 14 03:15
    jayseventwo commented #2569
  • Oct 06 17:36
    chucklorenz labeled #2515
  • Oct 06 12:33
    fkcailiniyazi commented #2562
  • Oct 06 12:33
    fkcailiniyazi commented #2562
  • Oct 06 12:14
    fkcailiniyazi closed #2550
  • Oct 06 12:09
    fkcailiniyazi labeled #2564
  • Oct 06 12:08
    fkcailiniyazi commented #2565
  • Oct 06 12:06
    fkcailiniyazi commented #2569
  • Oct 06 12:05
    fkcailiniyazi commented #2569
  • Oct 06 12:04
    fkcailiniyazi commented #2569
Oliver Foster
@oliverfoster
you may have to manually run sudo npm install in the framework folder after applying the workaround sudo npm config set unsafe-perm true
caifu23
@caifu23

run node install will get errors:
error [24 Sep 21 11:31:19 +08:00] Error downloading the framework Cloning into 'E:\adapt2021\test0924\platform\temp\614d46780d1d0437585a9878\adapt_framework'...
fatal: unable to access 'https://github.com/adaptlearning/adapt_framework.git/': Empty reply from server

ERROR: Cloning into 'E:\adapt2021\test0924\platform\temp\614d46780d1d0437585a9878\adapt_framework'...
fatal: unable to access 'https://github.com/adaptlearning/adapt_framework.git/': Empty reply from server

Failed to create master tenant. Please check the console output.

alt
Sam Howell
@5am_gitlab
could it be the "tags/" after the specific git revision line? I could be wrong, but I don't remember having to put that in before, and I wonder if that could be the cause.
or is that autocompleted?
Tom Taylor
@taylortom
It's just a git checkout, so will accept anything that's valid input for that (both tags/v0.5.17 and just v0.5.17 should work)
caifu23
@caifu23
alt
How do I change the order of these and not show something?
Oliver Foster
@oliverfoster
You can't without changing the schemas for each plugin
Tom Taylor
@taylortom
Beat me to it @oliverfoster :sweat_smile:
Yep in your specific case @caifu23, you'll need to edit the course.model.schema file. Ordering should be easy, but taking things out isn't necessarily a straightforward task, as you'll need to make sure there are appropriate default values set somehow. You could potentially hide the fields you don't want with CSS and get around it that way.
caifu23
@caifu23
But I want to regroup all the configurations
Oliver Foster
@oliverfoster
It's going to take a lot of work changing the schemas and once you've done that you'll have a lot of custom plugins you won't be able to update without reapplying your work.
I suggest you don't do it.
caifu23
@caifu23
the course.model.schema file is in the temp\6152725232d6bb1d5cfcfbe2\adapt_framework\src\core\schema\course.model.schema ?
Oliver Foster
@oliverfoster
The AAT was not designed to fulfill that requirement.
caifu23
@caifu23
Should I use the Adapt_Framework framework to implement the requirements?
Oliver Foster
@oliverfoster
I'm not getting any more involved. I've told you what to edit and what the consequences are and recommended you don't do it.
Sorry
caifu23
@caifu23
Ok, thank you
Oliver Foster
@oliverfoster
:+1:
caifu23
@caifu23
Do I want to update the framework version by running node upgrade?
caifu23
@caifu23
Why did I change the file course.model.schema in the framework, and then executing node upgrade has no effect
Tom Taylor
@taylortom
Well it completely depends on what updates you chose, what was the output of the upgrade script?
caifu23
@caifu23
I chose to update manually and rely on my own framework's repository
Oliver Foster
@oliverfoster
@caifu23 you're going to need to be much more specific about what you changed and what your expectations are.
caifu23
@caifu23
in adapt_framework\src\core\schema\course.schema.json ,changed some of the title properties
{ "type": "object", "$schema": "http://json-schema.org/draft-04/schema", "id": "http://jsonschema.net", "$ref": "http://localhost/system/basicContent.schema", "properties": { "title": { "type": "string", "title": "标题", "required": true, "default": "未命名标题1", "inputType": "Text", "asterisk": true, "validators": [ "required" ], "translatable": true } } }
Tom Taylor
@taylortom
How did you originally install the authoring tool? It might be that you're missing the custom framework URL if you've set that up post-install
The standard process is to run the install script & input the custom FW URL which is stored in the config and later used in the update process
caifu23
@caifu23
I install the authoring tool。
Tom Taylor
@taylortom
Make sure you've got frameworkRepository set correctly in your config file, I think that's what you're missing
caifu23
@caifu23
alt
I run this, and the change takes effect
I think the update scope is different between installFramework and updateFramework
Tom Taylor
@taylortom

Make sure you've got frameworkRepository set correctly in your config file, I think that's what you're missing

Did you do this?

Your config file will be conf/config.json
caifu23
@caifu23
"authoringToolRepository": "https://github.com/adaptlearning/adapt_authoring.git",
"frameworkRepository": "http://120.79.101.85:8181/caifen/adapt_framework.git",
in conf/config.json
alt
Tom Taylor
@taylortom
Did you install the authoring tool before you created your framework fork?
caifu23
@caifu23
alt
Tom Taylor
@taylortom
Because I can't see anything in the code that will change the remotes if you wanted to change the framework repo after you've installed the authoring tool (i.e. your local framework will still be pointed to adaptlearning)
caifu23
@caifu23
yes, I install the authoring tool before created framework fork
Tom Taylor
@taylortom

You can check which remote's used by running this in your framework folder (it'll be in temp/):

git config --get remote.origin.url

And update it with this:

git remote set-url origin http://120.79.101.85:8181/caifen/adapt_framework.git
caifu23
@caifu23
alt
kylethrock
@kylethrock
is it possible to see the version of the authoring tool being used from client side?
Sam Howell
@5am_gitlab
yep, it's an attribute in the html element. Just enter dev tools and you'll see it at the top of the DOM
kylethrock
@kylethrock
@5am_gitlab Thanks!
Sam Howell
@5am_gitlab
:thumbsup:
ninode97
@ninode97
What are the supported file extensions by authoring tool?
Sam Howell
@5am_gitlab
For importing the src of a course? Or for the assets library?
caifu23
@caifu23
How to Chinese extentions?