Commit graph

67 commits

Author SHA1 Message Date
Martin Filser
5e3a9dc059 Move every Meteor.user() to the ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
3b65113d05 Move every Cards.findOne() to the ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
9022e9949f Move every Boards.findOne(Session.get('currentBoard')) to the ReactiveCache 2023-07-18 21:25:28 +02:00
Lauri Ojansivu
4431ec5a27 Added missing character.
Thanks to xet7 !
2023-07-10 15:04:46 +03:00
Vid Smole
2c4ed5f298 Fix setting background image 2023-07-10 13:19:19 +02:00
Vid Smole
7a98445370
Better attachment viewer 2023-07-06 20:35:49 +02:00
Vid Smole
7ef3bba9f7
Better attachment gallery 2023-07-06 20:29:36 +02:00
Vid Smole
a8af5343a7 Fix typo 2023-06-30 12:48:23 +02:00
Vid Smole
070e8831b4 Add support for viewing pdfs 2023-06-30 12:48:18 +02:00
Lauri Ojansivu
47380244b8 Set card attachment as background image. Part 4.
Thanks to xet7 !

Related #486
2023-06-03 17:53:56 -04:00
Lauri Ojansivu
01a1eb177e Set card attachment as background image. Part 3.
Thanks to xet7 !

Related #486
2023-06-03 17:27:00 -04:00
Lauri Ojansivu
ed92db87bc Set card attachment as background image. Part 2.
Thanks to xet7 !

Related #486
2023-06-03 12:43:10 -04:00
Lauri Ojansivu
fd9478dc57 Try to fix build errors on some platforms.
Thanks to xet7 !

Related #4842
2023-02-21 21:27:34 +02:00
Lauri Ojansivu
382168a5b4 Try to fix some security issues. Part 2.
Thanks to responsible security disclosure contributors and xet7 !
2023-02-20 16:48:02 -05:00
Lauri Ojansivu
ff993e7c91 Try to fix some security issues.
Thanks to responsible security disclosure contributors and xet7 !
2023-02-20 01:21:33 +02:00
Lauri Ojansivu
fb6f618917 More S3 code.
Thanks to xet7 !

Related #142
2022-12-26 05:45:32 +02:00
Martin Filser
f6d7377977 Remove duplicate IDs issue 2022-12-19 21:14:08 +01:00
Martin Filser
110a83a736 Attachment size, changed calculation to npm filesize (Card Details) 2022-08-16 22:35:18 +02:00
Martin Filser
af120f2e0b Attachment uploads show's all uploading files 2022-08-16 22:35:18 +02:00
Martin Filser
ea937810f2 Attachment, simple upload progress bar 2022-08-16 22:35:18 +02:00
Martin Filser
a6b4a698af Attachment, upload all selected files
- until now only the first attachment was uploaded
2022-08-16 22:35:18 +02:00
Martin Filser
11f8b17a05 Attachment rename now without filename extension 2022-05-20 12:38:46 +02:00
Martin Filser
26e1c1dc4a Attachment file rename is now possible
- Relates to: #2099
2022-05-20 12:38:46 +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
8c7ed1855e Create Attachment Popup Menu 2022-04-20 20:48:32 +02:00
David Arnold
5a74d98795 Rem: unused previewAttachedImagePopup 2022-02-06 13:19:58 +03:00
David Arnold
0ad7eb4753 fixup! Ref: original & and use fileObj.meta 2022-02-06 13:19:58 +03:00
David Arnold
be712541d5 Revert "Do those imports!"
This reverts commit 64dcc70bd2.
2022-02-06 13:19:58 +03:00
David Arnold
3da88ed858 Do those imports! 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
ae8d4c1bbd Ref: attachment image paste 2022-02-06 13:19:58 +03:00
David Arnold
55acce9f0c Ref: Attachment upload handlers 2022-02-06 13:19:57 +03:00
Martin Filser
f3d5b887c8 Attachments, show file size in KB in card details 2021-11-26 00:10:09 +01:00
Martin Filser
a59dfa8fc0 Card Details Popup, every "Sub-Popup" must use .back() instead of .close()
- .close() closes the popup. Until now it was ok, but as the Card
  Details are opened in a popup too, .back() must be used to get the
  same behaviour back
- .back() is also .close() if there is no "popup layer" left
2021-10-25 12:53:04 +02:00
Lauri Ojansivu
28850e5510 Fixed Remove Cover button gives JS error.
Thanks to tsukasa1989 and xet7 !

Fixes #3400
2020-12-21 18:32:00 +02:00
Lauri Ojansivu
7f3c4acf62 Add some permission code, to see does it fix something.
Thanks to xet7 !

Related #3377
2020-12-17 21:27:02 +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
d26bf04bfa Change to relative path and /var/attachments to store 2020-01-14 06:29:34 +00:00
Romulus Urakagi Tsai
6ebd6defe9 Uploading dialog done 2020-01-02 09:16:28 +00:00
Romulus Urakagi Tsai
93337c20f8 Change upload routine, add upload popup 2019-12-24 08:57: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
Lauri Ojansivu
36e006fa4e Fix prettier. 2019-10-09 18:09:14 +03:00
benji
3064cdd371
Update attachments.js
added else condition to check if MAX_IMAGE_PIXEL is not set, so that it is possible to  upload attachments using drag-and-drop or Ctrl+V without setting the environmental-variable.
If this change is not allowed, please document in the wiki, that this is necessary for a fully-running wekan-instance
2019-10-09 14:24:45 +02:00
Sam X. Chen
67d23ff8ae Add Feature: Richer Editor insert picture as attachment instead of b64 string 2019-08-10 21:21:42 -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