mirror of
https://github.com/wekan/wekan.git
synced 2026-02-09 09:44:22 +01:00
Upgrade to Meteor 2.3.4
Thanks to xet7 !
This commit is contained in:
parent
e6dc20f6c7
commit
40265144af
316 changed files with 5049 additions and 32549 deletions
|
|
@ -1,26 +0,0 @@
|
|||
Meteor.startup(() => {
|
||||
// https://atmospherejs.com/lucasantoniassi/accounts-lockout
|
||||
// server
|
||||
|
||||
if (Meteor.isServer) {
|
||||
import { AccountsLockout } from 'meteor/wekan-accounts-lockout';
|
||||
|
||||
new AccountsLockout({
|
||||
knownUsers: {
|
||||
failuresBeforeLockout:
|
||||
process.env.ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE || 3,
|
||||
lockoutPeriod: process.env.ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD || 60,
|
||||
failureWindow:
|
||||
process.env.ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW || 15,
|
||||
},
|
||||
unknownUsers: {
|
||||
failuresBeforeLockout:
|
||||
process.env.ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE || 3,
|
||||
lockoutPeriod:
|
||||
process.env.ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD || 60,
|
||||
failureWindow:
|
||||
process.env.ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW || 15,
|
||||
},
|
||||
}).startup();
|
||||
}
|
||||
});
|
||||
|
|
@ -77,6 +77,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';
|
||||
|
|
@ -106,6 +107,8 @@ Migrations.add('card-covers', () => {
|
|||
Attachments.update({}, { $unset: { cover: '' } }, noValidateMulti);
|
||||
});
|
||||
|
||||
*/
|
||||
|
||||
Migrations.add('use-css-class-for-boards-colors', () => {
|
||||
const associationTable = {
|
||||
'#27AE60': 'nephritis',
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
|
|||
),
|
||||
);
|
||||
|
||||
this.cursor(presences.find({ userId: { $in: memberIds } }));
|
||||
//this.cursor(presences.find({ userId: { $in: memberIds } }));
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
import { FastRender } from 'meteor/staringatlights:fast-render';
|
||||
|
||||
FastRender.onAllRoutes(function() {
|
||||
this.subscribe('boards');
|
||||
});
|
||||
|
||||
FastRender.route('/b/:id/:slug', function({ id }) {
|
||||
this.subscribe('board', id, false);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue