Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/788 #801

Merged
merged 7 commits into from
Sep 3, 2015
Merged

Issue/788 #801

merged 7 commits into from
Sep 3, 2015

Conversation

brian-learningpool
Copy link
Member

Adds support for refreshing core plugins as part of the upgrade.

This is enabled via a CKEditor config on initialisation.
This features the addition of the lib/bowermanager.js helper, and moving the bower management to core.  Further re-work is required to remove old, redundant code.
The 'build' folder was automatically added in v1.x of the Adapt framework but is not in v2.x.  This change should allow backwards compatibility.
@@ -362,7 +362,7 @@ Origin.prototype.createServer = function (options, cb) {
}, configuration.getConfig('dbName'));
};

Origin.prototype.startServer = function () {
Origin.prototype.startServer = function (options) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

options should be checked, and defaulted if not passed:

options = 'undefined' === typeof options ? { skipVersionCheck: false } : options;

or similar

- Swapped console.log() calls for logger.log()
- Moved defaulting the 'options' object to startServer()
@darylhedley
Copy link
Contributor

+1 - all tested and worked with my courses. Although I reckon running npm install for the user would be a nice addition

@brian-learningpool
Copy link
Member Author

There's a separate issue for that here #804. ;)

@dancgray
Copy link
Member

dancgray commented Sep 3, 2015

+1 works for me

In course.json:
- customStyle
- tags
- heroImage

In components.json:
- _componentType

While looking into this it was noticed that the editorOnly property did not work
 with arrays/array items -- that is now fixed.
@dennis-learningpool
Copy link
Member

+1 tested and working. nice one.

brian-learningpool added a commit that referenced this pull request Sep 3, 2015
@brian-learningpool brian-learningpool merged commit 5bc6a02 into develop Sep 3, 2015
@brian-learningpool brian-learningpool deleted the issue/788 branch September 3, 2015 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants