mirror of
https://github.com/wekan/wekan.git
synced 2026-11-18 01:09:41 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5dadb4f0a1 | ||
|
|
1629e6aae6 | ||
|
|
0775e2a3e5 |
No files matched your search
@@ -1,5 +1,14 @@
|
||||
[Mac ChangeLog](https://github.com/wekan/wekan/wiki/Mac)
|
||||
|
||||
# v6.09 2022-02-28 WeKan ® release
|
||||
|
||||
This release tries to fix the following bugs:
|
||||
|
||||
- [Try to fix Admin Panel / Disable Registration and Disable Forgot Password](https://github.com/wekan/wekan/commit/0775e2a3e5c5d98e4d8c1954a15beb0688c73075).
|
||||
Thanks to urmel1960, Ben0it-T and xet7.
|
||||
|
||||
Thanks to above GitHub users for their contributions and translators for their translations.
|
||||
|
||||
# v6.08 2022-02-27 WeKan ® release
|
||||
|
||||
This release tries to fix the following bugs:
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
|
||||
appVersion: "v6.08.0"
|
||||
appVersion: "v6.09.0"
|
||||
files:
|
||||
userUploads:
|
||||
- README.md
|
||||
|
||||
@@ -56,15 +56,16 @@ Template.userFormsLayout.onCreated(function() {
|
||||
|
||||
Meteor.call('isDisableRegistration', (_, result) => {
|
||||
if (result) {
|
||||
$('.at-signUp').hide();
|
||||
$('.at-signup-link').hide();
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.call('isDisableForgotPassword', (_, data) => {
|
||||
Meteor.call('isDisableForgotPassword', (_, result) => {
|
||||
if (result) {
|
||||
$('.at-forgotPwd').hide();
|
||||
$('.at-pwd-link').hide();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Template.userFormsLayout.onRendered(() => {
|
||||
|
||||
+23
-12
@@ -2,18 +2,29 @@ const passwordField = AccountsTemplates.removeField('password');
|
||||
const emailField = AccountsTemplates.removeField('email');
|
||||
let disableRegistration = false;
|
||||
let disableForgotPassword = false;
|
||||
let passwordLoginDisabled = false;
|
||||
|
||||
Meteor.call('isDisableRegistration', (err, data) => {
|
||||
if (!err) {
|
||||
disableRegistration = data;
|
||||
console.log(data);
|
||||
Meteor.call('isPasswordLoginDisabled', (_, result) => {
|
||||
if (result) {
|
||||
passwordLoginDisabled = true;
|
||||
//console.log('passwordLoginDisabled');
|
||||
//console.log(result);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.call('isDisableForgotPassword', (err, data) => {
|
||||
if (!err) {
|
||||
disableForgotPassword = data;
|
||||
console.log(data);
|
||||
Meteor.call('isDisableRegistration', (_, result) => {
|
||||
if (result) {
|
||||
disableRegistration = true;
|
||||
//console.log('disableRegistration');
|
||||
//console.log(result);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.call('isDisableForgotPassword', (_, result) => {
|
||||
if (result) {
|
||||
disableForgotPassword = true;
|
||||
//console.log('disableForgotPassword');
|
||||
//console.log(result);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -43,8 +54,8 @@ AccountsTemplates.configure({
|
||||
confirmPassword: true,
|
||||
enablePasswordChange: true,
|
||||
sendVerificationEmail: true,
|
||||
showForgotPasswordLink: disableForgotPassword === false,
|
||||
forbidClientAccountCreation: disableRegistration === true,
|
||||
showForgotPasswordLink: !disableForgotPassword,
|
||||
forbidClientAccountCreation: disableRegistration,
|
||||
onLogoutHook() {
|
||||
const homePage = 'home';
|
||||
if (FlowRouter.getRouteName() === homePage) {
|
||||
@@ -55,14 +66,14 @@ AccountsTemplates.configure({
|
||||
},
|
||||
});
|
||||
|
||||
if (disableForgotPassword === false) {
|
||||
if (!disableForgotPassword) {
|
||||
[
|
||||
'forgotPwd',
|
||||
'resetPwd',
|
||||
].forEach(routeName => AccountsTemplates.configureRoute(routeName));
|
||||
}
|
||||
|
||||
if (disableRegistration === false) {
|
||||
if (!disableRegistration) {
|
||||
[
|
||||
'signUp',
|
||||
].forEach(routeName => AccountsTemplates.configureRoute(routeName));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v2
|
||||
appVersion: "6.08"
|
||||
appVersion: "6.09"
|
||||
dependencies:
|
||||
- condition: mongodb.enabled
|
||||
name: mongodb
|
||||
|
||||
@@ -14,7 +14,7 @@ serviceAccounts:
|
||||
##
|
||||
image:
|
||||
repository: quay.io/wekan/wekan
|
||||
tag: v6.08
|
||||
tag: v6.09
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
## Configuration for wekan component
|
||||
|
||||
+2
-2
@@ -444,7 +444,7 @@ if (Meteor.isServer) {
|
||||
|
||||
isDisableRegistration() {
|
||||
const setting = Settings.findOne({});
|
||||
if (setting.disableRegistration === 'true') {
|
||||
if (setting.disableRegistration === true) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
@@ -453,7 +453,7 @@ if (Meteor.isServer) {
|
||||
|
||||
isDisableForgotPassword() {
|
||||
const setting = Settings.findOne({});
|
||||
if (setting.disableForgotPassword === 'true') {
|
||||
if (setting.disableForgotPassword === true) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wekan",
|
||||
"version": "v6.08.0",
|
||||
"version": "v6.09.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wekan",
|
||||
"version": "v6.08.0",
|
||||
"version": "v6.09.0",
|
||||
"description": "Open-Source kanban",
|
||||
"private": true,
|
||||
"repository": {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>Wekan REST API v6.08</title>
|
||||
<title>Wekan REST API v6.09</title>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@@ -1558,7 +1558,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
|
||||
<ul class="toc-list-h1">
|
||||
|
||||
<li>
|
||||
<a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v6.08">Wekan REST API v6.08</a>
|
||||
<a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v6.09">Wekan REST API v6.09</a>
|
||||
|
||||
</li>
|
||||
|
||||
@@ -2146,7 +2146,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
|
||||
<div class="page-wrapper">
|
||||
<div class="dark-box"></div>
|
||||
<div class="content">
|
||||
<h1 id="wekan-rest-api">Wekan REST API v6.08</h1>
|
||||
<h1 id="wekan-rest-api">Wekan REST API v6.09</h1>
|
||||
<blockquote>
|
||||
<p>Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.</p>
|
||||
</blockquote>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
swagger: '2.0'
|
||||
info:
|
||||
title: Wekan REST API
|
||||
version: v6.08
|
||||
version: v6.09
|
||||
description: |
|
||||
The REST API allows you to control and extend Wekan with ease.
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
|
||||
appTitle = (defaultText = "Wekan"),
|
||||
# The name of the app as it is displayed to the user.
|
||||
|
||||
appVersion = 608,
|
||||
appVersion = 609,
|
||||
# Increment this for every release.
|
||||
|
||||
appMarketingVersion = (defaultText = "6.08.0~2022-02-27"),
|
||||
appMarketingVersion = (defaultText = "6.09.0~2022-02-28"),
|
||||
# Human-readable presentation of the app version.
|
||||
|
||||
minUpgradableAppVersion = 0,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name: wekan
|
||||
version: '6.08'
|
||||
version: '6.09'
|
||||
summary: Open Source kanban
|
||||
description: |
|
||||
WeKan ® is an Open Source and collaborative kanban board application.
|
||||
|
||||
Reference in new issue
Block a user