Harry Adel
f934aea2a5
Return data on client (sync) and Promise on server (async) naturally, without wrapping in an extra Promise
2026-02-18 18:24:55 +02:00
Harry Adel
2f6e34c5f5
Make ReactiveCache async for Meteor 3.0 compatibility
...
- Convert all ReactiveCacheServer methods to async
- findOne() → findOneAsync()
- find().fetch() → find().fetchAsync()
- Meteor.user() → Meteor.userAsync()
- Convert ReactiveCache facade methods to async
- Server path uses await for async operations
- Client path returns sync Minimongo result (wrapped in Promise)
This prepares the codebase for Meteor 3.0 where MongoDB
operations are async.
2026-01-31 20:50:40 +02:00
Harry Adel
0635a663f0
Remove pwix:blaze-layout
2026-01-14 00:13:21 +02:00
Lauri Ojansivu
a8de2f224f
Use attachments from old CollectionFS database structure, when not yet migrated to Meteor-Files/ostrio-files, without needing to migrate database structure.
...
Thanks to xet7 !
2025-10-10 19:07:04 +03:00
Martin Filser
2dfeb3924b
reactiveCache, removing commented out code
2024-08-06 22:33:03 +02:00
Martin Filser
a9932823c4
ReactiveMiniMongoIndex for Server-Side
...
- fixes : #5069 (move card rule on checklist complete doesn't work)
2023-11-09 19:45:22 +01:00
Martin Filser
c4882707e9
use ReactiveMiniMongoIndex for notifications
2023-11-08 23:23:10 +01:00
Martin Filser
73b5bbfc9e
ReactiveCache, full implementation of the collection "Translation"
2023-08-20 21:37:25 +02:00
Martin Filser
bf313ca842
ReactiveCache, serialize and parse json with EJSON
...
- date object wasn't serialized and parsed right
- fixes #5086
2023-08-20 18:21:18 +02:00
Martin Filser
394149b2e0
ReactiveCache, use default parameters
...
- it's not related to any known bug (as far as I know)
- it's only a good coding style to have default parameters
2023-08-20 16:21:04 +02:00
Yevhenii Pertiaka
b1525d4221
Added new function to add cumstom translation strings on Admin panel
2023-08-17 21:54:14 +09:00
Lauri Ojansivu
1c5857f064
Forked meteor-globals and meteor-reactive-cache to @wekanteam/meteor-globals and @wekanteam/meteor-reactive-cache to update to newest non-vulnerable dependencies.
...
Thanks to xet7 !
2023-07-19 21:08:21 +03:00
Martin Filser
538e197147
Move every Avatars.find(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:29 +02:00
Martin Filser
1c0a1e021a
ReactiveCache, adding parameter "getCursor"
2023-07-18 21:25:29 +02:00
Martin Filser
42fad8fb98
ReactiveMiniMongoIndex, added getCardCommentsWithCardId
2023-07-18 21:25:29 +02:00
Martin Filser
316acd0366
ReactiveMiniMongoIndex, added getChecklistItemsWithChecklistId
2023-07-18 21:25:29 +02:00
Martin Filser
f80ecded0a
ReactiveMiniMongoIndex, added getChecklistsWithCardId
2023-07-18 21:25:29 +02:00
Martin Filser
40a5422e75
ReactiveMiniMongoIndex created, Javascript Index of MiniMongo Client Database
...
- I didn't find a solution to have indexes in MiniMongo on client. As i see /
believe there isn't this feature yet in Meteor (v2.10).
- I got this and many more results while looking for an solution:
https://forums.meteor.com/t/adding-indexing-to-minimongo/9130/12
https://github.com/meteor/meteor-feature-requests/issues/66
So to speed up the MiniMongo i decided to create a own class for this,
currently per query. Of course, this isn't the best solution, but works for now
good.
2023-07-18 21:25:29 +02:00
Martin Filser
76aae41637
Move every InvitationCodes.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
49071ca5fd
Move every SessionData.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
6b7b464acc
Move every Integrations.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
767d8e66e7
Move every ImpersonatedUsers.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
e30edce73e
Move every CardCommentReactions.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
f5796faa84
Move every Triggers.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
b48297df22
Move every Actions.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
c262620993
Move every Rules.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
06e374f0ff
Move every Cards.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
ba9e2debe2
ReactiveCache, adding options to every method
2023-07-18 21:25:28 +02:00
Martin Filser
6c8a5cc580
ReactiveCache, adding methods for Mongo.Collection#find
2023-07-18 21:25:28 +02:00
Martin Filser
3a7eece244
ReactiveCache, id Methods can contain now selector to get the first object (findOne())
2023-07-18 21:25:28 +02:00
Martin Filser
3fc9c6efe7
Move every Attachments.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
fe2015735a
Move every Team.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
2ab34d3b87
Move every Org.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
79ea4d6d1e
Move every Activities.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
0a7ffe4cb0
Move every CardComments.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
0e714a90e0
Move every ChecklistItems.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
6e1ef3d94a
Move every Users.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
b7dbeba7de
add currentSetting to ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
3f3b4746a9
adding ReactiveCache to other source code
2023-07-18 21:25:28 +02:00
Martin Filser
16130b3f73
Move ReactiveCache to imports
...
- so it's available for the Server too
2023-07-18 21:25:27 +02:00