Commit graph

55 commits

Author SHA1 Message Date
Martin Filser
72b8672e62 Move storage names for filesystem and gridfs to constants 2022-04-20 20:50:41 +02:00
Martin Filser
9ef45a75af removed createOnAfterUpload file and use existing code for initial file move to GridFS 2022-04-20 20:50:41 +02:00
Martin Filser
927f155078 WRITABLE_PATH is mandatory, so simplify the code logic 2022-04-20 20:50:41 +02:00
Martin Filser
883beba9ed Split AttachmentStoreStrategy classes to new FileStoreStrategy classes 2022-04-20 20:50:41 +02:00
Martin Filser
0fcfd8e168 Attachment filename contains now the filename of the uploaded file 2022-04-20 20:50:41 +02:00
Martin Filser
44fd652b05 Move Attachment to other storages now possible 2022-04-20 20:50:41 +02:00
Martin Filser
1f277af722 remove old attachment storagePath log message 2022-03-10 23:17:06 +01:00
Martin Filser
6d5651e53f Attachments, ensure index of cardId exists 2022-03-10 23:07:57 +01:00
Martin Filser
368fe24956 Ensure to create the upload directory 2022-02-18 10:59:12 +03:00
Denis Perov
59823a0661 Support WRITEABLE_PATH envrionemnt variable 2022-02-06 13:19:58 +03:00
David Arnold
6a9bc12664 Revert "use tempdirs"
This reverts commit a7d51cf21b.
2022-02-06 13:19:58 +03:00
David Arnold
e99130d3ea use tempdirs 2022-02-06 13:19:58 +03:00
David Arnold
a15ee068d1 hack: Nasty hack for covercard auth 2022-02-06 13:19:58 +03:00
David Arnold
1c2dbe5149 Fix: access denied on second load 2022-02-06 13:19:58 +03:00
David Arnold
0254282daf fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-02-06 13:19:58 +03:00
David Arnold
9471eb327e fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-02-06 13:19:58 +03:00
David Arnold
13a6067081 fixup! Ref: Avatars to use modern gridfs 2022-02-06 13:19:58 +03:00
David Arnold
c85f710e74 fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-02-06 13:19:58 +03:00
David Arnold
412b60f794 fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-02-06 13:19:58 +03:00
David Arnold
e702f17c7b Ref: original & and use fileObj.meta
fileObj.meta is part of the ostrio:files API and be passed to the
constructor. This is less hacky than trying tu update a persistet object
after the fact.
2022-02-06 13:19:58 +03:00
David Arnold
966541704c Ref: Attachments to use modern gridfs (rm localstore) 2022-02-06 10:55:54 +03:00
John R. Supplee
0e593c7d81 Add admin reports to admin panel
* Broken cards
* Attachments
* Orphaned Attachments
2021-04-06 12:24:08 +02:00
Lauri Ojansivu
d52affe658 Move In Progress ostrio-files changes to separate branch, and revert ostrio-files changes, so that:
- Export to CSV/TSV with custom fields works
- Attachments are not exported to disk
- It is possible to build arm64/s390x versions again.

Thanks to xet7 !

Related #3110
2020-05-25 17:54:51 +03:00
Romulus Urakagi Tsai
4064f3f406 Fix migrated attachment not readable bug
Remove reduandant files
2020-05-20 15:11:22 +08:00
Romulus Urakagi Tsai
4c5a2fbd1f Card clone OK 2020-05-14 14:55:54 +08:00
Romulus Urakagi Tsai
012ca39a8d Attachment activities merging done 2020-05-08 11:50:43 +08:00
Romulus Tsai 蔡仲明
c3458855bd Merge branch 'master' into lib-change 2020-05-08 10:13:11 +08:00
Romulus Urakagi Tsai
4448488767 Done attachments activities operating 2020-05-08 09:32:19 +08:00
Jonathan Baird
9819c9f801 add a notification drawer like trello 2020-03-27 11:35:03 -06:00
Romulus Urakagi Tsai
b34ed58289 Start writing migration 2020-02-13 08:47:41 +00:00
Romulus Urakagi Tsai
617fdaeb74 Fix sandstorm storage path 2020-01-14 07:06:20 +00:00
Romulus Urakagi Tsai
d26bf04bfa Change to relative path and /var/attachments to store 2020-01-14 06:29:34 +00:00
Romulus Urakagi Tsai
6cdd464f54 Uploaded done, but uploading not 2019-11-27 09:40:19 +00:00
Romulus Urakagi Tsai
4dcdec0084 Attachment upload from card done, need to fix download link 2019-11-20 10:40:09 +00:00
Romulus Urakagi Tsai
05c53ca01d Trying to upload an attachment with Meteor-Files 2019-11-18 01:47:26 +00:00
Sam X. Chen
c569565ec0 Bugfix: 2560, 2604 - enable mixed mode mongodb attachment and filesystem attachment while reading 2019-08-10 00:48:05 -04:00
Sam X. Chen
13a13e8eca Add Features: allowing wekan master to set where the attachments stored on server instead of mongodb 2019-08-08 16:24:58 -04:00
Justin Reynolds
3eb4d2c341 Prettier & eslint project style update 2019-06-28 12:56:51 -05:00
Justin Reynolds
c60e80d25b Add createdAt and modifiedAt to all collections 2019-06-27 09:13:20 -05:00
Lauri Ojansivu
23ccb3b991 Show attachment name in Outgoing Webhook when attachment is removed from card.
Thanks to xet7 !

Related #2285
2019-06-11 13:11:35 +03:00
windblow
143e93f483 Add variables for activity notifications Fixes #2285 2019-04-06 12:45:31 +03:00
Justin Reynolds
3c49e2d0ed Performance Enhancements 2019-02-28 11:44:29 -06:00
Lauri Ojansivu
df84a2be9a Fix lint errors. 2018-09-16 01:50:36 +03:00
Angelo Gallarello
f7446ba934 Remove attachment activity 2018-08-16 17:18:55 +02:00
Lauri Ojansivu
9b465bc98b Fix lint errors back to eslint requirements. 2018-05-18 15:20:20 +03:00
Lauri Ojansivu
7f4401f3a2 Fix lint errors. Update changelog. 2018-01-25 08:22:11 +02:00
Lauri Ojansivu
6622dbb56b Meteor 1.6.0.1, Node 8.9.3, NPM 5.5.1, fibers 2.0.0 2018-01-22 00:18:59 +02:00
Ghassen Rjab
181af6f250 Fix lint errors 2017-09-02 13:42:23 +01:00
Ghassen Rjab
6ff0cf91e2 Add source field to imported attachments
We use this field to prevent adding attachments' related activities automatically only. Then this field will be removed.
2017-09-02 07:17:42 +01:00
Ghassen Rjab
ad09630d4e use beforeWrite method of CollectionFS instead of collection-hooks 2017-08-31 22:02:11 +01:00