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

Fixes export to only allow one zip on the server per user #1080

Merged
merged 8 commits into from
Mar 23, 2018

Conversation

taylortom
Copy link
Member

This is then overwritten with each export.

Fixes #1056.

@simondate simondate closed this Mar 9, 2016
@simondate simondate deleted the issue/1056 branch March 9, 2016 12:41
@lc-thomasberger lc-thomasberger restored the issue/1056 branch March 9, 2016 13:01
@taylortom taylortom reopened this Mar 9, 2016
@taylortom
Copy link
Member Author

Maybe need to revaluate this in conjunction with #1091

@taylortom taylortom added this to the 0.?.0 Import/Export milestone Mar 30, 2017
@taylortom
Copy link
Member Author

@dancgray could you have a look at this? I think it's still a valid issue.

@dancgray
Copy link
Member

@taylortom this is still a valid issue. Single zip per user should be fine, it would only be a problem if users share login details and export source for different courses at the same time. It will reduce disk space compared with current setup.

});
}
});
} else {
res.statusCode = 401;
return res.json({
return res.status(401).json({
success: false,
message: app.polyglot.t('app.errorusernoaccess')
});
}
});
});
// TODO probably needs to be moved to download route
Copy link
Contributor

@canstudios-louisem canstudios-louisem Feb 23, 2018

Choose a reason for hiding this comment

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

This is a good time to address this TODO. Were calling it download it should probably be part of the download lib and route.

* develop: (537 commits)
  ignore .vscode and package-lock.json
  supress npm warnings
  article view now generated after article model saved
  Fixes #1772
  Amend check to allow undefined data
  Switch to local log func
  Stop throwing error if repo update check failed
  Fix version check
  Add override for removal of list items
  Handle response errors better
  amend title for clarity following code review
  better help text, more consistent use of '?' in titles
  remove some ARIA labels that were not used add the core properties _isVisible and _isHidden add missing 'instruction' property to article & block improve usability through better titles/help text
  Master changes (#1741)
  Fix bug with recursive function call
  Remove testing header
  Update CHANGELOG for release 0.4.0 (#1739)
  Enchancements to install/update (#1726)
  Amend contentModel._children to allow for arrays
  fixes 1474
  ...

# Conflicts:
#	frontend/src/core/editor/global/views/editorView.js
#	lib/helpers.js
#	plugins/output/adapt/index.js
@dancgray dancgray removed their assignment Mar 20, 2018
* develop: (80 commits)
  update
  Check if user is course owner
  Require modules before plugins
  Change to ensureDirSync
  refactor to set scrollTop after all animations are completed
  hook into transition end event instead of post render
  Fixes #1906
  Allow MongoDB authentication in install script
  Fix modules define
  Fix globalData
  Make sure we load the plugin
  Fix issue with merge
  Save isVisible and isHidden on blocks and components
  Fix context menu for page
  Move plugin folder to modules
  Refactor for readability
  Update comments
  Fix plugin code broken in refactor
  Persist sort prefs indefinitely
  Remove config-sample.json
  ...

# Conflicts:
#	frontend/src/modules/editor/global/views/editorView.js
@taylortom taylortom merged commit d7a5ae7 into develop Mar 23, 2018
@taylortom taylortom deleted the issue/1056 branch March 23, 2018 16:28
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.

5 participants