Martin Filser
6e1ef3d94a
Move every Users.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
7de50c0f4b
Bugfix, Avatar upload message "avatar-too-big" shows now the configured max filesize
2023-03-15 19:43:02 +01:00
Martin Filser
07926386ea
Bugfix, Avatar Upload didn't work if AVATARS_UPLOAD_MAX_SIZE wasn't defined or lower or equal to 0
2023-03-15 19:43:02 +01:00
Martin Filser
f4e11ff7c5
Avatars, use same namingFunction as Attachments
2022-08-21 11:10:27 +02:00
Martin Filser
f6fbd0a5c2
Attachment, rename not needed anymore since Meteor-Files 2.3.0
...
Thanks to @dr-dimitru
https://github.com/wekan/wekan/pull/4638#issuecomment-1217883870
00ab6f723b
2022-08-21 11:10:27 +02:00
Tobias Wolf
24566ce853
Reset avatar if removed
2022-08-20 09:01:18 +02:00
Tobias Wolf
c64a221453
Add support to validate uploaded avatars
2022-08-20 08:46:41 +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
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
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
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
44fd652b05
Move Attachment to other storages now possible
2022-04-20 20:50:41 +02: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
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
48cd554229
fixup! Ref: Avatars to use modern gridfs
2022-04-18 18:17:01 +03:00
David Arnold
6f995a5bdd
fixup! Ref: Avatars to use modern gridfs
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
1ae5bc482b
Ref: Avatars to use modern gridfs
2022-04-18 18:16:11 +03: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
77cb5d88de
fix: user avatar images & upload
2022-02-06 13:19:58 +03:00
David Arnold
1b591dcda9
Ref: pass through image size error message (correctly)
2022-02-06 13:19:58 +03:00
David Arnold
c41335a967
fixup! Ref: Avatars to use modern gridfs
2022-02-06 13:19:58 +03:00
David Arnold
7b64c8b235
fixup! Ref: Avatars to use modern gridfs
2022-02-06 13:19:58 +03:00
David Arnold
0f91eaa0a0
fixup! Ref: Avatars to use modern gridfs
2022-02-06 13:19:58 +03:00
David Arnold
52a63c5423
Ref: Avatars to use modern gridfs
2022-02-06 10:55:54 +03:00
Alexey Fedechkin
3d82323eaa
Update avatars.js
...
increase the maximum avatar size
2020-11-20 13:51:34 +07:00
Justin Reynolds
c60e80d25b
Add createdAt and modifiedAt to all collections
2019-06-27 09:13:20 -05:00
Maxime Quandalle
45b662a1dd
Centralize all mutations at the model level
...
This commit uses a new package that I need to document. It tries to
solve the long-standing debate in the Meteor community about
allow/deny rules versus methods (RPC).
This approach gives us both the centralized security rules of
allow/deny and the white-list of allowed mutations similarly to Meteor
methods. The idea to have static mutation descriptions is also
inspired by Facebook's Relay/GraphQL.
This will allow the development of a REST API using the high-level
methods instead of the MongoDB queries to do the mapping between the
HTTP requests and our collections.
2015-09-08 20:19:42 +02:00