Commit graph

75 commits

Author SHA1 Message Date
Lauri Ojansivu
68e8155805 Multi-File Storage.
Thanks to mfilser !

Related https://github.com/wekan/wekan/pull/4484

Merge branch 'master' into upgrade-meteor
2022-04-22 00:55:42 +03:00
Martin Filser
c6212c7d62 Initial attachment upload set's now "original" in filename too
- later if the file is moving to filesystem, it has "original" in the filename too.
2022-04-20 20:50:41 +02:00
Martin Filser
b8d14abe0c Attachment Management at Admin Console 2022-04-20 20:50:41 +02:00
Martin Filser
a064e03fc7 Store file on filesystem renew's the storage path 2022-04-20 20:50:41 +02:00
Martin Filser
9d587e76ab Remove filesCollection from FileStoreStrategy classes 2022-04-20 20:50:41 +02:00
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
Lauri Ojansivu
0c3ca14699 Merge branch 'upgrade-meteor-2.6' of https://github.com/majus/wekan into upgrade-meteor 2022-04-18 21:25:47 +03:00
Denis Perov
a4732bacce Support WRITEABLE_PATH envrionemnt variable 2022-04-18 18:18:15 +03:00
David Arnold
1cddd607ec Revert "use tempdirs"
This reverts commit a7d51cf21b.
2022-04-18 18:18:01 +03:00
David Arnold
80d0ec0898 use tempdirs 2022-04-18 18:18:01 +03:00
David Arnold
2288c8ac15 hack: Nasty hack for covercard auth 2022-04-18 18:18:01 +03:00
David Arnold
3d6085157e Fix: access denied on second load 2022-04-18 18:17:21 +03:00
David Arnold
0f272b1e66 fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-04-18 18:17:20 +03:00
David Arnold
dcac00696e fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-04-18 18:17:01 +03:00
David Arnold
4158334c2d fixup! Ref: Avatars to use modern gridfs 2022-04-18 18:17:01 +03:00
David Arnold
c29393dd7e fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-04-18 18:16:24 +03:00
David Arnold
fa9ed55d7d fixup! Ref: Attachments to use modern gridfs (rm localstore) 2022-04-18 18:16:24 +03:00
David Arnold
97356603aa 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-04-18 18:16:23 +03:00
David Arnold
c1dba52720 Ref: Attachments to use modern gridfs (rm localstore) 2022-04-18 18:16:22 +03:00
Lauri Ojansivu
c926475eb1 Fixed _ensureIndex to createIndex for MongoDB 5. Updated to latest Meteor beta. 2022-04-18 18:08:12 +03: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
Lauri Ojansivu
40265144af Upgrade to Meteor 2.3.4
Thanks to xet7 !
2022-02-15 13:16:27 +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