Lauri Ojansivu
a34cbf95e8
Add missing code.
2022-04-22 01:19:43 +03:00
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
cfb88baa7f
removed createInterceptDownload file and use existing code for http download
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
99c37bd521
removed createOnAfterRemove file and use existing code for remove file from GridFS
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
d63f1b740c
Avatars are using the FileStoreStrategyFactory too
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
dd0d5dbe9f
Output error if bucket.delete fails
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
54cf71ce1b
Activity at attachment deleting had an error (name is undefined)
...
- introduced by commit: e702f17c7b
2022-04-20 20:47:01 +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
1b83399236
Fix errant escape-string-regexp importing
2022-04-18 18:18:28 +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
09553b7672
migration: extract files from old storage and load into new storage
2022-04-18 18:17:21 +03:00
David Arnold
3d6085157e
Fix: access denied on second load
2022-04-18 18:17:21 +03:00
David Arnold
efcca9739a
fix: user avatar images & upload
2022-04-18 18:17:21 +03:00
David Arnold
1875551a93
Ref: pass through image size error message (correctly)
2022-04-18 18:17:21 +03:00
David Arnold
f847439e10
fix: thumbnail images now wrok
2022-04-18 18:17:21 +03:00
David Arnold
94bf192f12
fixup! fix: cover image - works now
2022-04-18 18:17:21 +03:00
David Arnold
bb780976e9
fixup! Hello gridfs lib + fsHooks for mongodb bucket storage
2022-04-18 18:17:21 +03:00
David Arnold
e4e8da4718
fix: cover image - works now
2022-04-18 18:17:20 +03:00
David Arnold
0f272b1e66
fixup! Ref: Attachments to use modern gridfs (rm localstore)
2022-04-18 18:17:20 +03:00
David Arnold
74deeeaaa6
Revert "Do those imports!"
...
This reverts commit 64dcc70bd2 .
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
48cd554229
fixup! Ref: Avatars to use modern gridfs
2022-04-18 18:17:01 +03:00
David Arnold
4929653367
fixup! Ref: original & and use fileObj.meta
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
2cddcd60a1
Do those imports!
2022-04-18 18:17:00 +03:00
David Arnold
c29393dd7e
fixup! Ref: Attachments to use modern gridfs (rm localstore)
2022-04-18 18:16:24 +03:00
David Arnold
6f995a5bdd
fixup! Ref: Avatars to use modern gridfs
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
075a9016d4
fixup! Ref: Avatars to use modern gridfs
2022-04-18 18:16:24 +03:00
David Arnold
47397e5be3
Fixup(ostrio-files): wrong export
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
f8d927c61a
Ref: trello & wekan importers
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
David Arnold
1ae5bc482b
Ref: Avatars to use modern gridfs
2022-04-18 18:16:11 +03:00
David Arnold
96f8b5c9f4
Hello gridfs lib + fsHooks for mongodb bucket storage
2022-04-18 18:15:42 +03:00
Denis Perov
4277d89514
Fix various bugs
2022-04-18 18:09:46 +03:00
Lauri Ojansivu
3c39953b42
Commented out extra index because of IndexOptionsConflict.
...
Thanks to xet7 !
2022-04-18 18:08:15 +03:00