Remove pwix:blaze-layout

This commit is contained in:
Harry Adel 2026-01-14 00:13:21 +02:00
parent 9ebf4d2426
commit 0635a663f0
38 changed files with 771 additions and 432 deletions

View file

@ -202,7 +202,7 @@ if (Meteor.isServer) {
params.comment = comment.text;
if (board) {
const comment = params.comment;
const knownUsers = board.members.map(member => {
const knownUsers = board.members.map((member) => {
const u = ReactiveCache.getUser(member.userId);
if (u) {
member.username = u.username;
@ -223,7 +223,7 @@ if (Meteor.isServer) {
if (activity.boardId && username === 'board_members') {
// mentions all board members
const knownUids = knownUsers.map(u => u.userId);
const knownUids = knownUsers.map((u) => u.userId);
watchers = _.union(watchers, [...knownUids]);
title = 'act-atUserComment';
} else if (activity.cardId && username === 'card_members') {
@ -243,7 +243,6 @@ if (Meteor.isServer) {
title = 'act-atUserComment';
watchers = _.union(watchers, [uid]);
}
}
}
params.commentId = comment._id;
@ -300,7 +299,7 @@ if (Meteor.isServer) {
// due time reminder, if it doesn't have old value, it's a brand new set, need some differentiation
title = activity.timeOldValue ? 'act-withDue' : 'act-newDue';
}
['timeValue', 'timeOldValue'].forEach(key => {
['timeValue', 'timeOldValue'].forEach((key) => {
// copy time related keys & values to params
const value = activity[key];
if (value) params[key] = value;
@ -313,7 +312,7 @@ if (Meteor.isServer) {
if (new RegExp(BIGEVENTS).exec(atype)) {
watchers = _.union(
watchers,
board.activeMembers().map(member => member.userId),
board.activeMembers().map((member) => member.userId),
); // notify all active members for important events
}
} catch (e) {
@ -335,7 +334,7 @@ if (Meteor.isServer) {
_.intersection(participants, trackingUsers),
);
}
Notifications.getUsers(watchers).forEach(user => {
Notifications.getUsers(watchers).forEach((user) => {
// don't notify a user of their own behavior
if (user._id !== userId) {
Notifications.notify(user, title, description, params);
@ -350,7 +349,7 @@ if (Meteor.isServer) {
});
if (integrations.length > 0) {
params.watchers = watchers;
integrations.forEach(integration => {
integrations.forEach((integration) => {
Meteor.call(
'outgoingWebhooks',
integration,

View file

@ -1,6 +1,7 @@
import { ReactiveCache } from '/imports/reactiveCache';
import escapeForRegex from 'escape-string-regexp';
import { TAPi18n } from '/imports/i18n';
import { CustomFields } from './customFields';
import {
ALLOWED_BOARD_COLORS,
ALLOWED_COLORS,
@ -9,6 +10,7 @@ import {
TYPE_TEMPLATE_CONTAINER,
} from '/config/const';
import Users from "./users";
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import TableVisibilityModeSettings from "./tableVisibilityModeSettings";
// const escapeForRegex = require('escape-string-regexp');

View file

@ -1,4 +1,5 @@
import { ReactiveCache, ReactiveMiniMongoIndex } from '/imports/reactiveCache';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import {
formatDateTime,
formatDate,

View file

@ -1,6 +1,7 @@
import { ReactiveCache } from '/imports/reactiveCache';
const Papa = require('papaparse');
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import {
formatDateTime,
formatDate,

View file

@ -1,5 +1,6 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { createWorkbook } from './createWorkbook';
import {
formatDateTime,

View file

@ -1,5 +1,6 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
//var nodemailer = require('nodemailer');
// Sandstorm context is detected using the METEOR_SETTINGS environment variable

View file

@ -1,5 +1,6 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { TAPi18n } from '/imports/i18n';
import { CustomFields } from './customFields';
import {
formatDateTime,
formatDate,

View file

@ -2018,6 +2018,7 @@ Meteor.methods({
},
// Spaces: create a new space under parentId (or root when null)
createWorkspace({ parentId = null, name }) {
check(parentId, Match.OneOf(String, null));
check(name, String);
if (!this.userId) throw new Meteor.Error('not-logged-in');
const user = Users.findOne(this.userId) || {};

View file

@ -1,4 +1,5 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { CustomFields } from './customFields';
import {
formatDateTime,
formatDate,