Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
f5a335e
Merge pull request #844 from veliovgroup/dev
dr-dimitru Jun 29, 2022
313e842
Merge pull request #845 from veliovgroup/dev
dr-dimitru Jun 29, 2022
00ab6f7
Merge pull request #848 from veliovgroup/dev
dr-dimitru Aug 17, 2022
7d4796e
Merge pull request #858 from veliovgroup/dev
dr-dimitru Nov 3, 2022
df7a6c9
Merge pull request #859 from veliovgroup/dev
dr-dimitru Nov 3, 2022
4f58852
Merge pull request #860 from veliovgroup/dev
dr-dimitru Nov 3, 2022
b312ef9
Merge pull request #864 from veliovgroup/dev
dr-dimitru Feb 5, 2023
49f3bed
Merge pull request #871 from veliovgroup/dev
dr-dimitru Apr 28, 2023
93b7a73
implement async methods
bratelefant Dec 21, 2023
a6c6da3
getLink async
bratelefant Dec 21, 2023
926e8e2
lint fix
bratelefant Dec 21, 2023
c811a75
fix Match.OneOf etc lint rule
bratelefant Dec 21, 2023
b37aba8
tiny tests npm script
bratelefant Dec 21, 2023
f7bbba1
added some mocha testing
bratelefant Dec 21, 2023
4af4af6
script for mocha
bratelefant Dec 21, 2023
aac6555
Merge remote-tracking branch 'original-meteor-files/dev'
bratelefant Dec 21, 2023
e502124
tests
bratelefant Dec 21, 2023
91fbf48
few more tests
bratelefant Dec 21, 2023
c7fe2a3
link() is not async
bratelefant Dec 22, 2023
5c31934
more tests, remove tests fails
bratelefant Dec 22, 2023
743c12f
fixed tests
bratelefant Dec 22, 2023
ff30780
rest of cursor tests
bratelefant Dec 22, 2023
1ea4e38
few more tests
bratelefant Dec 22, 2023
bf63873
Add devDependencies and update removeAsync method
bratelefant Dec 27, 2023
e727ae8
addFileAsync
bratelefant Dec 27, 2023
3edc652
test for download
bratelefant Dec 28, 2023
f97b4a9
downloadAsync tests
bratelefant Dec 28, 2023
497e8c2
prepareUploadAsync
bratelefant Dec 28, 2023
2dfa4de
_finishUploadAsync and tests
bratelefant Dec 28, 2023
03e9ac7
removed style changes
bratelefant Jan 5, 2024
c9c00c1
revert non-functional changes
bratelefant Jan 6, 2024
3322531
first take on writeAsync
bratelefant Jan 6, 2024
f75d9f0
more tests
bratelefant Jan 6, 2024
64ea577
loadAsync with basic tests for load and loadAsync. More tests are nee…
bratelefant Jan 6, 2024
6da1c60
serve test
bratelefant Jan 6, 2024
03f145f
add ci
bratelefant Jan 6, 2024
3ec2b73
fixed test
bratelefant Jan 6, 2024
74286df
code review
bratelefant Jan 7, 2024
011fbbf
more code reviewed
bratelefant Jan 7, 2024
7b8d809
return something from previous
bratelefant Jan 9, 2024
0275b16
fixed test for `cursor.previous`
bratelefant Jan 9, 2024
b29cc0a
remove async
bratelefant Jan 10, 2024
a6754e3
onBeforeUpdate resolve or Boolean or return Boolean
bratelefant Jan 10, 2024
0c570ef
check if sync always works
bratelefant Jan 10, 2024
e0c3d9c
Internal methods and hooks async, added userAsync to `getUser`
bratelefant Jan 12, 2024
a91f3cc
upload methods
bratelefant Jan 12, 2024
d0fb24c
made _finishUpload async
bratelefant Jan 12, 2024
b90c8f6
updated tests
bratelefant Jan 12, 2024
1df0083
removed fiber db ops from `removeAsync`
bratelefant Jan 12, 2024
fac13c3
drop all fiber methods in core and cursor
bratelefant Jan 16, 2024
55259c0
threw out all fiber methods, renamed new methods
bratelefant Jan 17, 2024
e3b241d
only userId and userAsync in functions contexts
bratelefant Jan 17, 2024
9739d69
add beta version
bratelefant Jan 20, 2024
69cddf9
looks like `observe` returns a Promise under meteor-3.0-beta
bratelefant Jan 25, 2024
d573741
return fileObj in `uploaded` and `end` event
bratelefant Aug 7, 2024
22969a0
Initial commit
harryadel Sep 25, 2024
ed9e253
Merge branch 'master' of github.com:harryadel/Meteor-Files into onBef…
harryadel Sep 25, 2024
0d6707e
Merge pull request #2 from harryadel/onBeforeUpload
bratelefant Oct 7, 2024
3757d61
Create npm-shrinkwrap.json
dr-dimitru Jan 18, 2025
61e8250
Merge pull request #884 from bratelefant/master
dr-dimitru Jan 18, 2025
90a4a3f
feat: removeAsync
dr-dimitru Feb 4, 2025
8854ded
feat: insertAsync for Client
dr-dimitru Feb 4, 2025
1b9be96
doc: jsdoc update for insertAsync
dr-dimitru Feb 4, 2025
215bb4a
👨‍💻style: indentation
dr-dimitru Feb 16, 2025
7986a3d
👨‍💻 refactor: cursor implementation
dr-dimitru Feb 18, 2025
ddf7eca
👨‍💻 refactor: FilesCollectionCore (wip)
dr-dimitru Feb 18, 2025
7cb70aa
👨‍💻 refactor: FilesCollectionCore
dr-dimitru Feb 18, 2025
545b579
👨‍💻 refactor: `FilesCollectionCore` minor refactoring
dr-dimitru Feb 18, 2025
bf421aa
👨‍💻 refactor: `FilesCollection` Client (wip)
dr-dimitru Feb 18, 2025
d35b187
👨‍💻 refactor: Cursors (wip)
dr-dimitru Feb 18, 2025
5e77a5d
👨‍💻 refactor: Client's `FilesCollection` (wip)
dr-dimitru Feb 19, 2025
e8deedf
👨‍💻 refactor: Client's `FilesCollection` (wip_
dr-dimitru Feb 19, 2025
70bd599
👨‍💻 refactor: Client's `FilesCollection` (wip)
dr-dimitru Feb 19, 2025
ef59589
👨‍💻 refactor: Client's `FilesCollection`
dr-dimitru Feb 19, 2025
985d8bc
📔 docs: s3 integration to meet meteor@3 standarts
dr-dimitru Feb 19, 2025
14289e7
📔 docs: cfs migration to meet meteor@3 standarts
dr-dimitru Feb 19, 2025
3964c23
👨‍💻 doc: JSDoc minor update
dr-dimitru Feb 19, 2025
1ff840f
👨‍💻 refactor: `UploadInstance` and `FileUpload` classes
dr-dimitru Feb 19, 2025
f094d03
👨‍💻 refactor: `UploadInstance` and `FileUpload` classes
dr-dimitru Feb 19, 2025
6f9669a
🧹 refactor: remove deprecated eslint rules format
dr-dimitru Feb 19, 2025
dd839e4
👨‍💻 refactor: `UploadInstance`
dr-dimitru Feb 19, 2025
b233803
👨‍💻 refactor: writeStream class
dr-dimitru Mar 7, 2025
9d3a9e9
👨‍💻 refactor: `FileUpload` and `UploadInstance` classes
dr-dimitru Mar 10, 2025
0f4fb39
👨‍💻 refactor: `UploadInstance` class
dr-dimitru Mar 10, 2025
dc90431
👨‍💻 refactor: `UploadInstance` minor enhancements
dr-dimitru Mar 10, 2025
677bc05
📔 docs: improve S3 integration examples
dr-dimitru Mar 10, 2025
656b64d
👨‍💻 refactor: `insert` and `insertAsync` minor fixes
dr-dimitru Mar 10, 2025
0a4cd76
👨‍💻 refactor: server `FilesCollection` implementation
dr-dimitru Mar 10, 2025
3a49751
👨‍💻 refactor: JSDoc for `FileUpload` and `UploadInstance`
dr-dimitru Mar 10, 2025
5f073e8
📔 docs: JSDoc update
dr-dimitru Mar 10, 2025
2affb77
👨‍💻 refactor: helpers minor enhancement
dr-dimitru Mar 10, 2025
433a053
👨‍💻 refactor: fix typo
dr-dimitru Mar 10, 2025
4fe8d15
👨‍💻 refactor: Server `FilesCollection`
dr-dimitru Mar 10, 2025
48a5173
👨‍💻 refactor: typo fix
dr-dimitru Mar 10, 2025
b5e4a8b
🤓 refactor: TypeScript definitions
dr-dimitru Mar 10, 2025
212a27a
👨‍💻 refactor: server FilesCollection
dr-dimitru Mar 24, 2025
451892b
refactor: `WriteStream`
dr-dimitru Mar 24, 2025
aec7436
🤓 feat: TypeScript defenitions
dr-dimitru Mar 24, 2025
377da8f
✨ feat: FilesCollection#estimatedDocumentCount
dr-dimitru Mar 24, 2025
88b597d
👨‍💻 refactor: FilesCursor
dr-dimitru Mar 24, 2025
54151a1
👨‍💻 refactor: Server FilesCollection
dr-dimitru Mar 24, 2025
4aa33db
👨‍🔬 test: update & improve coverage
dr-dimitru Mar 24, 2025
cfedcc0
👨‍💻 refactor: WriteStream
dr-dimitru Mar 24, 2025
181fcca
📦 v3.0.0-beta.7
dr-dimitru Mar 24, 2025
aee10d1
🔥 hotfix: `afterUpload` event name
dr-dimitru Mar 26, 2025
de6cb00
🔥 hotfix: `FilesCollection#removeAsync()`
dr-dimitru Mar 26, 2025
6e017fb
📔 fix: JSDoc definitions
dr-dimitru Mar 26, 2025
07c01d9
✨ feat: `FileUpload#remainingTime` ReactiveVar
dr-dimitru Mar 26, 2025
5bb60b8
📦 v3.0.0-RC.1
dr-dimitru Mar 26, 2025
a62eeac
👷‍♂️ fix: github actions
dr-dimitru Mar 26, 2025
e779288
👷‍♂️ fix: github actions linter
dr-dimitru Mar 26, 2025
66a7232
👷‍♂️ add: `.eslintrc` to fix github action lint
dr-dimitru Mar 26, 2025
8c6b9bc
👷‍♂️ fix: issues raised by github actions lint
dr-dimitru Mar 26, 2025
77d1cf7
👷‍♂️ fix: issues raised by github actions lint
dr-dimitru Mar 26, 2025
217b269
👨‍💻 fix: #894 (secure cookie)
dr-dimitru Mar 26, 2025
5f4f9a9
📦 v3.0.0-RC.1
dr-dimitru Mar 26, 2025
00474cc
🔥 hotfix: `FileCursor#remove` method
dr-dimitru Mar 27, 2025
2cc8884
📔 docs: JSDoc update
dr-dimitru Mar 27, 2025
43ab154
👨‍💻 refactor: minor fixes
dr-dimitru Mar 27, 2025
7b25b7f
🔥 hotfix: Client `namingFunction` is now async
dr-dimitru Mar 27, 2025
82f87be
📔 docs: GridFS integration
dr-dimitru Mar 27, 2025
2dafe6d
👨‍🔬 tests: async chmod has no callback
dr-dimitru Mar 27, 2025
7b055d1
📔 docs: minor update
dr-dimitru Mar 27, 2025
ef7759b
📔 docs: README update
dr-dimitru Mar 27, 2025
1900ecc
📦 v3.0.0-RC.3
dr-dimitru Mar 27, 2025
e60462a
👨‍🔬 tests: fix lint warnings
dr-dimitru Mar 27, 2025
be748d4
📔 docs: README update
dr-dimitru Mar 27, 2025
e502dc0
📔 docs: README update
dr-dimitru Mar 27, 2025
c2b7b75
Update GridFS exmaple code
harryadel Mar 28, 2025
3384ff4
Apply the doctor prescription
harryadel Apr 2, 2025
1ed12d1
Merge pull request #900 from harryadel/update-document
dr-dimitru Apr 8, 2025
6f523b3
📔 Update docs `user()` -> `userAsync()`
dr-dimitru Sep 23, 2025
bdd40d5
📔 GridFS doc: refined
dr-dimitru Sep 23, 2025
9a07f14
📔 remove docs: `.user()` -> `.userAsync()`
dr-dimitru Sep 23, 2025
c79e8a1
✨ FileCursor#withAsync
dr-dimitru Sep 24, 2025
8d6e4dc
📔 Constructor: List all methods
dr-dimitru Sep 24, 2025
25d5947
📔 FileCursor: list new methods, update docs
dr-dimitru Sep 24, 2025
be09df9
📔 FilesCursor: list new methods, update docs
dr-dimitru Sep 24, 2025
71a2aed
📔 findOneAsync
dr-dimitru Sep 24, 2025
4b24cf8
📔 insertAsync
dr-dimitru Sep 24, 2025
4c0a903
⚠️ load method is deprecated
dr-dimitru Sep 24, 2025
37ca59d
⚠️ unlink method is deprecated
dr-dimitru Sep 24, 2025
83cd218
⚠️ write method is deprecated
dr-dimitru Sep 24, 2025
ccf45c7
📔 loadAsync
dr-dimitru Sep 24, 2025
3a0ea4f
📔 removeAsync
dr-dimitru Sep 24, 2025
9a4db04
📔 TypeScript definitions
dr-dimitru Sep 24, 2025
e73e327
📔 unlinkAsync
dr-dimitru Sep 24, 2025
6db539c
📔 writeAsync
dr-dimitru Sep 24, 2025
ba37a65
👨‍💻 server request handler: ensure `httpReq.headers.origin` exists be…
dr-dimitru Sep 24, 2025
c9bc651
👨‍💻 TS: add `withAsync`
dr-dimitru Sep 24, 2025
dd70320
📔 ToC -> docs/readme
dr-dimitru Sep 24, 2025
ad00bcc
🐞 Fix #885 - Empty file upload
dr-dimitru Sep 24, 2025
7a4ffc8
📔 Constructor Docs
dr-dimitru Sep 24, 2025
6666aff
🐞 Fix #901
dr-dimitru Sep 24, 2025
b1e431e
📔 API Docs
dr-dimitru Sep 24, 2025
f9833d4
📔 v3 migration document
dr-dimitru Sep 24, 2025
34efb67
📔 README
dr-dimitru Sep 24, 2025
1bd0929
📦 v3.0.0
dr-dimitru Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"browser": false
},
"globals": {
"Meteor": true,
"Package": true,
"Tinytest": true,
"Map": true,
Expand All @@ -18,6 +19,10 @@
"Worker": true,
"navigator": true
},
"ignorePatterns": [
"worker.*",
"node_modules"
],
"rules": {
"strict": [2, "never"],
"no-shadow": 2,
Expand Down Expand Up @@ -126,4 +131,4 @@
}],
"space-infix-ops": 2,
}
}
}
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on: [push, pull_request]

jobs:
lintcode:
name: lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22

- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-22-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-22-

- run: npm install
- run: npm run lint
37 changes: 37 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Test suite

on: [push, pull_request]

jobs:
tests:
name: Meteor package tests
runs-on: ubuntu-latest
# needs: [lintcode,lintstyle,lintdocs] # we could add prior jobs for linting, if desired
steps:
- name: checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22

- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-22-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-22-

- name: Setup meteor
uses: meteorengineer/setup-meteor@v2
with:
meteor-release: '3.1.2'

- run: |
meteor npm install
meteor npm run test:mocha
139 changes: 139 additions & 0 deletions .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

107 changes: 56 additions & 51 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,51 +1,56 @@
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:ostrio:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ostrio:[email protected]
ostrio:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:ostrio:[email protected]
[email protected]
[email protected]
meteortesting:[email protected]
meteortesting:[email protected]
meteortesting:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ostrio:[email protected]
ostrio:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Loading