Commit graph

1326 commits

Author SHA1 Message Date
Martin Filser
b9d6fe8146 Merge remote-tracking branch 'origin/master' into 'upgrade-meteor' 2022-05-01 10:54:19 +02:00
Martin Filser
000e27a4a1 Board copy moves the attachments to the "copied from board storage" 2022-04-30 21:05:04 +02:00
Martin Filser
fbb0ed5ec1 Board copy work now again
- there was an error at attachment copy
- fixes: https://github.com/wekan/wekan/issues/4485#issue-1211353265
2022-04-30 21:04:37 +02:00
Martin Filser
58d760a615 FileStoreStrategy, moveToStorage, wrong variable in error handling 2022-04-30 21:04:21 +02:00
Martin Filser
2e5ec0308f Adjust all other moment imports to moment-with-locales 2022-04-27 17:24:42 +02:00
Martin Filser
3fad014e91 Multi-File Storage code was missing after merge
- Merge commit was: 68e8155805
- Partially resolved by this commit: a34cbf95e8
2022-04-27 17:18:53 +02:00
Martin Filser
efc19ea88c FileStoreStrategyFactory, added logic to determine the right file storage strategy to use 2022-04-23 09:58:59 +02:00
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