Skip to content

Commit bed7169

Browse files
Merge pull request #2541 from adaptlearning/issue/2540
Reintroduce fixed Mongoose dependency
2 parents 9100738 + 558a6fd commit bed7169

File tree

4 files changed

+24
-54
lines changed

4 files changed

+24
-54
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to the Adapt authoring tool are documented in this file.
55
**IMPORTANT**: For information on how to **correctly and safely** update your installation, please consult **INSTALL.md**.<br/>
66
_Note that we adhere to the [semantic versioning](http://semver.org/) scheme for release numbering._
77

8+
## [0.10.5] - 2020-11-09
9+
10+
Bugfix release.
11+
12+
### Fixed
13+
- Users can change the passwords of other users ([#2540](https://github.com/adaptlearning/adapt_authoring/issues/2540))
14+
815
## [0.10.4] - 2020-08-21
916

1017
Bugfix release.
@@ -711,6 +718,7 @@ Initial release.
711718
- Loading screen of death
712719
- Session cookie security issues
713720

721+
[0.10.5]: https://github.com/adaptlearning/adapt_authoring/compare/v0.10.4...v0.10.5
714722
[0.10.4]: https://github.com/adaptlearning/adapt_authoring/compare/v0.10.3...v0.10.4
715723
[0.10.3]: https://github.com/adaptlearning/adapt_authoring/compare/v0.10.2...v0.10.3
716724
[0.10.2]: https://github.com/adaptlearning/adapt_authoring/compare/v0.10.1...v0.10.2

lib/application.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,17 +290,9 @@ Origin.prototype.createServer = function (options, cb) {
290290
requestDomain.session = req.session;
291291
requestDomain.on('error', next);
292292
requestDomain.run(next);
293-
req.domain = requestDomain;
294293
});
295294
server.use(auth.initialize());
296295
server.use(auth.session());
297-
server.use((req, res, next) => {
298-
if (!process.domain) {
299-
// set process.domain again, fixes adaptlearning/adapt_authoring#2504
300-
req.domain.enter();
301-
}
302-
next();
303-
});
304296
server.use(express.static(path.join(require('./configuration').serverRoot, 'frontend', 'build')));
305297
server.use(express.static(path.join(require('./configuration').serverRoot, 'frontend', 'src', 'libraries')));
306298
if(!app.configuration.getConfig('isProduction')) {

package-lock.json

Lines changed: 14 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adapt_authoring",
3-
"version": "0.10.4",
3+
"version": "0.10.5",
44
"license": "GPL-3.0",
55
"description": "A server-based user interface for authoring eLearning courses using the Adapt Framework.",
66
"keywords": [
@@ -62,7 +62,7 @@
6262
"mime": "^2.4.4",
6363
"moment": "^2.24.0",
6464
"mongodb-uri": "^0.9.7",
65-
"mongoose": "^5.9.18",
65+
"mongoose": "5.8.13",
6666
"morgan": "^1.9.1",
6767
"multer": "^1.4.2",
6868
"needle": "^2.4.0",

0 commit comments

Comments
 (0)