mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fixed Rare bug: All Boards page icons random dance. Reverted changing migrations. Fixed reordering cards. Part 2.
Fixes #4214 Thanks to xet7 !
This commit is contained in:
parent
44bfe89ea8
commit
e1a00090ba
5 changed files with 15 additions and 49 deletions
|
|
@ -54,7 +54,6 @@ const noValidate = {
|
|||
};
|
||||
const noValidateMulti = { ...noValidate, multi: true };
|
||||
|
||||
/*
|
||||
Migrations.add('board-background-color', () => {
|
||||
const defaultColor = '#16A085';
|
||||
Boards.update(
|
||||
|
|
@ -91,6 +90,7 @@ Migrations.add('add-cardcounterlist-allowed', () => {
|
|||
);
|
||||
});
|
||||
|
||||
/*
|
||||
Migrations.add('add-boardmemberlist-allowed', () => {
|
||||
Boards.update(
|
||||
{
|
||||
|
|
@ -106,6 +106,7 @@ Migrations.add('add-boardmemberlist-allowed', () => {
|
|||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
*/
|
||||
|
||||
Migrations.add('lowercase-board-permission', () => {
|
||||
['Public', 'Private'].forEach(permission => {
|
||||
|
|
@ -117,6 +118,7 @@ Migrations.add('lowercase-board-permission', () => {
|
|||
});
|
||||
});
|
||||
|
||||
/*
|
||||
// Security migration: see https://github.com/wekan/wekan/issues/99
|
||||
Migrations.add('change-attachments-type-for-non-images', () => {
|
||||
const newTypeForNonImage = 'application/octet-stream';
|
||||
|
|
@ -257,7 +259,6 @@ Migrations.add('add-swimlanes', () => {
|
|||
});
|
||||
});
|
||||
|
||||
/*
|
||||
Migrations.add('add-views', () => {
|
||||
Boards.find().forEach(board => {
|
||||
if (!board.hasOwnProperty('view')) {
|
||||
|
|
@ -269,7 +270,6 @@ Migrations.add('add-views', () => {
|
|||
}
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
Migrations.add('add-checklist-items', () => {
|
||||
Checklists.find().forEach(checklist => {
|
||||
|
|
@ -308,7 +308,6 @@ Migrations.add('add-card-types', () => {
|
|||
});
|
||||
});
|
||||
|
||||
/*
|
||||
Migrations.add('add-custom-fields-to-cards', () => {
|
||||
Cards.update(
|
||||
{
|
||||
|
|
@ -453,7 +452,6 @@ Migrations.add('add-authenticationMethod', () => {
|
|||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
*/
|
||||
|
||||
Migrations.add('remove-tag', () => {
|
||||
Users.update(
|
||||
|
|
@ -479,7 +477,6 @@ Migrations.add('remove-customFields-references-broken', () => {
|
|||
);
|
||||
});
|
||||
|
||||
/*
|
||||
Migrations.add('add-product-name', () => {
|
||||
Settings.update(
|
||||
{
|
||||
|
|
@ -575,7 +572,6 @@ Migrations.add('add-defaultAuthenticationMethod', () => {
|
|||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
*/
|
||||
|
||||
Migrations.add('add-templates', () => {
|
||||
Boards.update(
|
||||
|
|
@ -821,7 +817,6 @@ Migrations.add('fix-incorrect-dates', () => {
|
|||
);
|
||||
});
|
||||
|
||||
/*
|
||||
Migrations.add('add-assignee', () => {
|
||||
Cards.update(
|
||||
{
|
||||
|
|
@ -1125,7 +1120,6 @@ Migrations.add('add-description-text-allowed-on-minicard', () => {
|
|||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
*/
|
||||
|
||||
Migrations.add('add-sort-field-to-boards', () => {
|
||||
Boards.find().forEach((board, index) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue