mirror of
https://github.com/wekan/wekan.git
synced 2026-01-21 16:56:11 +01:00
Merge branch 'dollybean' of https://github.com/2020product/wekan into 2020product-dollybean
This commit is contained in:
commit
65fa2f626f
17 changed files with 1063 additions and 146 deletions
|
|
@ -793,3 +793,195 @@ Migrations.add('add-profile-hiddenMinicardLabelText', () => {
|
|||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-receiveddate-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsReceivedDate: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsReceivedDate: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-startdate-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsStartDate: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsStartDate: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-duedate-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsDueDate: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsDueDate: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-enddate-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsEndDate: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsEndDate: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-members-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsMembers: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsMembers: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-assignee-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsAssignee: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsAssignee: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-labels-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsLabels: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsLabels: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-checklists-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsChecklists: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsChecklists: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-attachments-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsAttachments: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsAttachments: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-comments-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsComments: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsComments: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-assigned-by-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsAssignedBy: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsAssignedBy: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-requested-by-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
allowsRequestedBy: {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
allowsRequestedBy: true,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue