mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Do those imports!
This commit is contained in:
parent
c85f710e74
commit
3da88ed858
8 changed files with 15 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from '../../../models/attachments';
|
||||||
|
|
||||||
Template.attachmentsGalery.events({
|
Template.attachmentsGalery.events({
|
||||||
'click .js-add-attachment': Popup.open('cardAttachments'),
|
'click .js-add-attachment': Popup.open('cardAttachments'),
|
||||||
'click .js-confirm-delete': Popup.afterConfirm(
|
'click .js-confirm-delete': Popup.afterConfirm(
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from '/models/attachments';
|
||||||
|
|
||||||
const specialHandles = [
|
const specialHandles = [
|
||||||
{userId: 'board_members', username: 'board_members'},
|
{userId: 'board_members', username: 'board_members'},
|
||||||
{userId: 'card_members', username: 'card_members'}
|
{userId: 'card_members', username: 'card_members'}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ import Avatars from '/models/avatars';
|
||||||
import Users from '/models/users';
|
import Users from '/models/users';
|
||||||
import Org from '/models/org';
|
import Org from '/models/org';
|
||||||
import Team from '/models/team';
|
import Team from '/models/team';
|
||||||
|
import Avatars from '/models/avatars';
|
||||||
|
|
||||||
Template.userAvatar.helpers({
|
Template.userAvatar.helpers({
|
||||||
userData() {
|
userData() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
// Activities don't need a schema because they are always set from the a trusted
|
// Activities don't need a schema because they are always set from the a trusted
|
||||||
// environment - the server - and there is no risk that a user change the logic
|
// environment - the server - and there is no risk that a user change the logic
|
||||||
// we use with this collection. Moreover using a schema for this collection
|
// we use with this collection. Moreover using a schema for this collection
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,10 @@ import {
|
||||||
TYPE_TEMPLATE_CONTAINER,
|
TYPE_TEMPLATE_CONTAINER,
|
||||||
} from '/config/const';
|
} from '/config/const';
|
||||||
import Users from "./users";
|
import Users from "./users";
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
const escapeForRegex = require('escape-string-regexp');
|
const escapeForRegex = require('escape-string-regexp');
|
||||||
|
|
||||||
Boards = new Mongo.Collection('boards');
|
Boards = new Mongo.Collection('boards');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import {
|
||||||
TYPE_LINKED_BOARD,
|
TYPE_LINKED_BOARD,
|
||||||
TYPE_LINKED_CARD,
|
TYPE_LINKED_CARD,
|
||||||
} from '../config/const';
|
} from '../config/const';
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
Cards = new Mongo.Collection('cards');
|
Cards = new Mongo.Collection('cards');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
const Papa = require('papaparse');
|
const Papa = require('papaparse');
|
||||||
|
import Attachments from './attachments';
|
||||||
|
|
||||||
|
//const stringify = require('csv-stringify');
|
||||||
|
|
||||||
// exporter maybe is broken since Gridfs introduced, add fs and path
|
// exporter maybe is broken since Gridfs introduced, add fs and path
|
||||||
export class Exporter {
|
export class Exporter {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import Attachments from '../../models/attachments';
|
||||||
|
|
||||||
// This is the publication used to display the board list. We publish all the
|
// This is the publication used to display the board list. We publish all the
|
||||||
// non-archived boards:
|
// non-archived boards:
|
||||||
// 1. that the user is a member of
|
// 1. that the user is a member of
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue