mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
v0.41
This commit is contained in:
parent
415343bbd0
commit
fb79c8786a
4 changed files with 11 additions and 17 deletions
|
@ -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
|
# v0.40 2017-09-25 Wekan release
|
||||||
|
|
||||||
This release adds the following new features:
|
This release adds the following new features:
|
||||||
|
|
|
@ -108,10 +108,6 @@ Users.attachSchema(new SimpleSchema({
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
optional: true,
|
optional: true,
|
||||||
},
|
},
|
||||||
fromAdmin: {
|
|
||||||
type: Boolean,
|
|
||||||
optional: false,
|
|
||||||
},
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// Search a user in the complete server database by its name or username. This
|
// Search a user in the complete server database by its name or username. This
|
||||||
|
@ -439,12 +435,6 @@ if (Meteor.isServer) {
|
||||||
user.isAdmin = true;
|
user.isAdmin = true;
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.from === 'admin') {
|
|
||||||
user.fromAdmin = true;
|
|
||||||
return user;
|
|
||||||
}
|
|
||||||
|
|
||||||
const disableRegistration = Settings.findOne().disableRegistration;
|
const disableRegistration = Settings.findOne().disableRegistration;
|
||||||
if (!disableRegistration) {
|
if (!disableRegistration) {
|
||||||
return user;
|
return user;
|
||||||
|
@ -534,9 +524,6 @@ if (Meteor.isServer) {
|
||||||
|
|
||||||
Users.after.insert((userId, doc) => {
|
Users.after.insert((userId, doc) => {
|
||||||
|
|
||||||
if (doc.fromAdmin)
|
|
||||||
return;
|
|
||||||
|
|
||||||
//invite user to corresponding boards
|
//invite user to corresponding boards
|
||||||
const disableRegistration = Settings.findOne().disableRegistration;
|
const disableRegistration = Settings.findOne().disableRegistration;
|
||||||
if (disableRegistration) {
|
if (disableRegistration) {
|
||||||
|
@ -595,7 +582,6 @@ if (Meteor.isServer) {
|
||||||
username: req.body.username,
|
username: req.body.username,
|
||||||
email: req.body.email,
|
email: req.body.email,
|
||||||
password: 'default',
|
password: 'default',
|
||||||
from: 'admin',
|
|
||||||
});
|
});
|
||||||
|
|
||||||
JsonRoutes.sendResult(res, {
|
JsonRoutes.sendResult(res, {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wekan",
|
"name": "wekan",
|
||||||
"version": "0.40.0",
|
"version": "0.41.0",
|
||||||
"description": "The open-source Trello-like kanban",
|
"description": "The open-source Trello-like kanban",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
|
||||||
appTitle = (defaultText = "Wekan"),
|
appTitle = (defaultText = "Wekan"),
|
||||||
# The name of the app as it is displayed to the user.
|
# The name of the app as it is displayed to the user.
|
||||||
|
|
||||||
appVersion = 27,
|
appVersion = 28,
|
||||||
# Increment this for every release.
|
# 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.
|
# Human-readable presentation of the app version.
|
||||||
|
|
||||||
minUpgradableAppVersion = 0,
|
minUpgradableAppVersion = 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue