reviewable/pr1251/r1 v0.41
Lauri Ojansivu 8 years ago
parent 415343bbd0
commit fb79c8786a
  1. 8
      CHANGELOG.md
  2. 14
      models/users.js
  3. 2
      package.json
  4. 4
      sandstorm-pkgdef.capnp

@ -1,3 +1,11 @@
# v0.41 2017-09-25 Wekan release
This release fixes the following bugs:
* [Can't create user and login after install. Reverting REST API: Create user despite disabling registration](https://github.com/wekan/wekan/issues/1249).
Thanks to GitHub user xet7 for contributions.
# v0.40 2017-09-25 Wekan release
This release adds the following new features:

@ -108,10 +108,6 @@ Users.attachSchema(new SimpleSchema({
type: Boolean,
optional: true,
},
fromAdmin: {
type: Boolean,
optional: false,
},
}));
// Search a user in the complete server database by its name or username. This
@ -439,12 +435,6 @@ if (Meteor.isServer) {
user.isAdmin = true;
return user;
}
if (options.from === 'admin') {
user.fromAdmin = true;
return user;
}
const disableRegistration = Settings.findOne().disableRegistration;
if (!disableRegistration) {
return user;
@ -534,9 +524,6 @@ if (Meteor.isServer) {
Users.after.insert((userId, doc) => {
if (doc.fromAdmin)
return;
//invite user to corresponding boards
const disableRegistration = Settings.findOne().disableRegistration;
if (disableRegistration) {
@ -595,7 +582,6 @@ if (Meteor.isServer) {
username: req.body.username,
email: req.body.email,
password: 'default',
from: 'admin',
});
JsonRoutes.sendResult(res, {

@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "0.40.0",
"version": "0.41.0",
"description": "The open-source Trello-like kanban",
"private": true,
"scripts": {

@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 27,
appVersion = 28,
# Increment this for every release.
appMarketingVersion = (defaultText = "0.40.0~2017-09-25"),
appMarketingVersion = (defaultText = "0.41.0~2017-09-25"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,

Loading…
Cancel
Save