Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: multipart #978

Open
wants to merge 320 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
320 commits
Select commit Hold shift + click to select a range
df5a891
Merge branch 'feat-go-multipart' into feat-kotlin-multipart
byawitz Aug 29, 2024
7eb9808
chore: fixes
loks0n Aug 30, 2024
993183e
fix: tests
loks0n Aug 30, 2024
1277306
fix(php): review notes
byawitz Aug 30, 2024
cadc398
Merge branch 'feat-php-multiparts' into feat-go-multipart
byawitz Aug 30, 2024
8e670eb
feat: whitespace
loks0n Aug 30, 2024
39c3645
fix: add accept header
loks0n Aug 30, 2024
fbddeb3
fix: dont chunk
loks0n Aug 30, 2024
a8d10c7
chore: remove plan
loks0n Aug 30, 2024
e00a93a
Merge pull request #943 from appwrite/feat-python-multipart
christyjacob4 Aug 30, 2024
b3f8668
fix: whitespace
loks0n Aug 30, 2024
705cca2
fix(go): review notes
byawitz Aug 30, 2024
246ef53
Merge branch 'feat-multipart' into feat-ruby-multipart
loks0n Aug 30, 2024
1092817
Merge remote-tracking branch 'origin/feat-multipart' into feat-php-mu…
byawitz Aug 30, 2024
bc7b8fb
Merge remote-tracking branch 'origin/feat-multipart' into feat-go-mul…
byawitz Aug 30, 2024
270bd0f
Merge branch 'feat-go-multipart' into feat-kotlin-multipart
byawitz Aug 30, 2024
f514c62
Merge pull request #940 from appwrite/feat-php-multiparts
christyjacob4 Aug 30, 2024
66ff8b5
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Aug 30, 2024
7d00979
Merge branch 'feat-multipart' into feat-go-multipart
byawitz Aug 30, 2024
6eb54ad
Merge branch 'feat-go-multipart' into feat-kotlin-multipart
byawitz Aug 30, 2024
a55d02b
Merge branch 'feat-multipart' into feat-binary-support-for-node
vermakhushboo Aug 30, 2024
c2075c3
fix(php): wrong condition
byawitz Aug 30, 2024
d064c85
Multipart changes for node
vermakhushboo Aug 30, 2024
4d2f3ea
feat(kotlin): multipart testing
byawitz Aug 30, 2024
32b40f1
fix(go): review notes
byawitz Aug 30, 2024
e95b918
Merge pull request #968 from appwrite/fix-multipart-php
christyjacob4 Aug 30, 2024
6913e18
fix(go): removing leftover
byawitz Aug 30, 2024
fffd00f
Merge pull request #942 from appwrite/feat-go-multipart
christyjacob4 Aug 30, 2024
ebce1c4
feat: multipart parsing
loks0n Aug 30, 2024
14c2f7c
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Aug 30, 2024
58cd958
Add test for multipart
vermakhushboo Aug 31, 2024
39a2ca8
fix: hash
loks0n Sep 2, 2024
1a455a3
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 2, 2024
0cad1a1
chore: update
loks0n Sep 2, 2024
817030a
chore: formdata
loks0n Sep 2, 2024
75ebe51
Remove getName method from payload
vermakhushboo Sep 2, 2024
feec371
feat: multipart deno
loks0n Sep 2, 2024
a715377
Merge branch 'refs/heads/feat-multipart' into feat-dotnet-mutlipart
byawitz Sep 2, 2024
442b85e
feat(dotnet): multipart
byawitz Sep 2, 2024
8e0daa2
fix: specs
loks0n Sep 2, 2024
e8f3ebf
fixes
loks0n Sep 2, 2024
0f7470c
fix: test param name
loks0n Sep 2, 2024
88c51ed
fixes
loks0n Sep 3, 2024
d9c85b6
fixes
loks0n Sep 3, 2024
009b5bf
fixes
loks0n Sep 3, 2024
f88b9a0
fix
loks0n Sep 3, 2024
9604701
feat: working !
loks0n Sep 3, 2024
9f9c6d0
fix: params
loks0n Sep 3, 2024
d039925
fix: ruby php
loks0n Sep 3, 2024
ba61664
Replace File with payload for createFile and createdeployment
vermakhushboo Sep 3, 2024
91171a2
Merge branch 'feat-multipart' into feat-binary-support-for-node
vermakhushboo Sep 3, 2024
09a4c7b
fix: if
loks0n Sep 3, 2024
754512f
fix: throw
loks0n Sep 3, 2024
7c57637
feat: python standardization
loks0n Sep 3, 2024
4d98942
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 3, 2024
9a611ce
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 3, 2024
8777d9e
fix(kotlin): reviews
byawitz Sep 3, 2024
4744823
test(kotlin): change to match new baseline
byawitz Sep 3, 2024
ae310e5
feat(kotlin): parsing binary body
byawitz Sep 3, 2024
1c02bf3
refactor(dotnet): methods names
byawitz Sep 3, 2024
c390cee
Merge branch 'feat-kotlin-multipart' into feat-android-multipart
byawitz Sep 3, 2024
d8b5f2e
feat(android): multipart
byawitz Sep 3, 2024
daaf744
refactor(php): adjusting methods
byawitz Sep 3, 2024
8187c6e
refactor(go): adjusting methods
byawitz Sep 3, 2024
7100f9e
Merge pull request #941 from appwrite/feat-ruby-multipart
loks0n Sep 3, 2024
d7000fa
Merge branch 'feat-multipart' into feat-binary-support-for-node
vermakhushboo Sep 4, 2024
88e5af6
feat: new intf
loks0n Sep 4, 2024
5cd1124
Merge pull request #972 from appwrite/refactor-php-and-go-multipart
christyjacob4 Sep 4, 2024
e3be1d2
Add size to payload class
vermakhushboo Sep 5, 2024
27d2e31
Merge branch 'feat-multipart' into feat-binary-support-for-node
vermakhushboo Sep 5, 2024
136ad1b
Change chunkedUpload method
vermakhushboo Sep 5, 2024
9a911b2
Add upload in specs.json
vermakhushboo Sep 5, 2024
72e7fc2
Rename Payload.ts.twig to payload.ts.twig
vermakhushboo Sep 5, 2024
4319b3b
Change payload to lowercase
vermakhushboo Sep 5, 2024
91aac79
Import blob for node 16
vermakhushboo Sep 5, 2024
e0af92d
feat(dotnet): multipart
byawitz Sep 5, 2024
d702969
Merge branch 'feat-multipart' into feat-dotnet-mutlipart
byawitz Sep 5, 2024
d3a4ad2
refactor: changing specs to generic
byawitz Sep 5, 2024
e7deb33
Merge branch 'feat-multipart' into feat-kotlin-multipart
byawitz Sep 5, 2024
1a134e5
feat(kotlin): multipart
byawitz Sep 5, 2024
c826ea7
fix(kotlin): nullable type for payload
byawitz Sep 5, 2024
b4ee640
Merge branch 'feat-kotlin-multipart' into feat-android-multipart
byawitz Sep 5, 2024
0a81159
feat(android): multipart
byawitz Sep 5, 2024
7f48733
fix(android): adding missing tests
byawitz Sep 5, 2024
2d9f286
Accept blob in fromFile instead of path
vermakhushboo Sep 5, 2024
7a92cb3
fixes
loks0n Sep 6, 2024
b687f7b
fixes
loks0n Sep 6, 2024
3a36436
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 6, 2024
28ce109
Replace require with import
vermakhushboo Sep 6, 2024
89d059a
Fix toBinary method
vermakhushboo Sep 6, 2024
0d38994
fixes
loks0n Sep 6, 2024
e48ff77
fix
loks0n Sep 6, 2024
37f82c4
fix imports
loks0n Sep 6, 2024
bfba3bd
fix: breaks
loks0n Sep 9, 2024
2d8493c
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 9, 2024
1dc857c
feat: adding tests for compiled languages
byawitz Sep 16, 2024
a6bc1e0
Merge pull request #975 from appwrite/feat-multipart-compiled-tests
christyjacob4 Sep 16, 2024
c2936f4
Merge branch 'feat-multipart' into feat-kotlin-multipart
byawitz Sep 16, 2024
a355780
test: changing to new test
byawitz Sep 16, 2024
160e71c
Merge branch 'feat-kotlin-multipart' into feat-android-multipart
byawitz Sep 16, 2024
f5806e1
test: changing to new test
byawitz Sep 16, 2024
364294f
Merge branch 'feat-multipart' into feat-dotnet-mutlipart
byawitz Sep 16, 2024
a70a03a
test: changing to new test
byawitz Sep 16, 2024
b3b4f49
Remove toFile and fromFile methods
vermakhushboo Sep 17, 2024
7717b95
Update switch case
vermakhushboo Sep 17, 2024
5dbed12
Fix node 16 failing test
Meldiron Sep 17, 2024
4bd4865
Remove default file name
Meldiron Sep 17, 2024
987495f
Merge pull request #964 from appwrite/feat-binary-support-for-node
Meldiron Sep 17, 2024
aef307c
Merge remote-tracking branch 'origin/feat-multipart' into feat-multip…
Meldiron Sep 17, 2024
3165261
Fix consistency
Meldiron Sep 17, 2024
f500352
Fix tests
Meldiron Sep 17, 2024
939d485
chore: payload type
loks0n Sep 17, 2024
d6a39cb
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 17, 2024
41c1df8
Fix web build
Meldiron Sep 17, 2024
1407c33
feat: refactor payload
loks0n Sep 17, 2024
ab1452a
Revert changes
Meldiron Sep 17, 2024
2cca7fc
fix: python & ruby tests
loks0n Sep 17, 2024
1b741bc
Merge remote-tracking branch 'origin/feat-multipart' into feat-deno-m…
Meldiron Sep 17, 2024
9e60d8c
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 17, 2024
4cb324f
Merge pull request #965 from appwrite/feat-multipart-web
Meldiron Sep 17, 2024
eafe20d
Merge branch 'master' of https://github.com/appwrite/sdk-generator in…
loks0n Sep 17, 2024
bbb3c47
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 17, 2024
be5abac
Add Deno multipart tests
Meldiron Sep 17, 2024
aee8844
Merge branch 'feat-deno-multipart' of https://github.com/appwrite/sdk…
Meldiron Sep 17, 2024
aa297dd
Merge branch 'feat-multipart' into feat-deno-multipart
Meldiron Sep 17, 2024
ae5bec1
feat: react native tests
loks0n Sep 17, 2024
d81ddee
feat: params to payload
loks0n Sep 17, 2024
98900e8
Fix Deno tests
Meldiron Sep 17, 2024
cd1fa69
Fix spacing
Meldiron Sep 17, 2024
8f88d0e
Deno old version test fixed
Meldiron Sep 17, 2024
61567bd
Merge pull request #977 from appwrite/feat-deno-multipart
Meldiron Sep 17, 2024
d09537a
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 17, 2024
a30900e
Merge branch 'feat-multipart' into feat-dotnet-mutlipart
Meldiron Sep 17, 2024
ae8c38e
PR review changes
Meldiron Sep 17, 2024
3ca5ad4
Fix tests
Meldiron Sep 17, 2024
4abc55f
Fix linter
Meldiron Sep 17, 2024
88d469b
Merge pull request #970 from appwrite/feat-dotnet-mutlipart
Meldiron Sep 17, 2024
7b8edb0
Merge branch 'feat-multipart' into feat-kotlin-multipart
Meldiron Sep 17, 2024
0e62c61
Remove leftover
Meldiron Sep 17, 2024
8309e62
PR review changes
Meldiron Sep 17, 2024
f786b69
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 17, 2024
9e5867f
Fix kotlin tests
Meldiron Sep 17, 2024
3d16f0f
Cleanup attempt
Meldiron Sep 17, 2024
09c24d1
Update Kotlin.php
Meldiron Sep 17, 2024
0129058
fix: payload use
loks0n Sep 17, 2024
d511209
Merge pull request #944 from appwrite/feat-kotlin-multipart
Meldiron Sep 17, 2024
2e4de97
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 17, 2024
643a26a
feat: multipart parsing
loks0n Sep 17, 2024
854d74b
feat: missing dep
loks0n Sep 17, 2024
d286b6d
Merge branch 'feat-multipart' into feat-android-multipart
Meldiron Sep 17, 2024
f3fdd89
PR review changes
Meldiron Sep 17, 2024
11c5378
Dart multipart
vermakhushboo Sep 17, 2024
4417e1b
Merge branch 'feat-multipart' into feat-add-binary-support-for-dart
Meldiron Sep 17, 2024
bbb9505
fix: parsing
loks0n Sep 17, 2024
e6674a9
feat: missing import
loks0n Sep 17, 2024
e60dfb8
Fix Dart failing tests
Meldiron Sep 17, 2024
c265bc6
Merge pull request #945 from appwrite/feat-android-multipart
Meldiron Sep 17, 2024
7b73919
Merge branch 'feat-multipart' into feat-add-binary-support-for-dart
Meldiron Sep 17, 2024
9368bf3
Fix Flutter tests
Meldiron Sep 17, 2024
cc74c42
Add multipart tests
Meldiron Sep 17, 2024
ea631d2
feat: fixes
loks0n Sep 17, 2024
0608080
update payload
lohanidamodar Sep 18, 2024
16342a0
fixes to multipart response parsing
lohanidamodar Sep 18, 2024
bfa2cbb
fixes and refactor
lohanidamodar Sep 18, 2024
6176354
Merge pull request #981 from appwrite/feat-binary-support-dart-DL
lohanidamodar Sep 18, 2024
98ff3f5
Update client_browser.dart.twig
lohanidamodar Sep 18, 2024
2372278
Update client_browser.dart.twig
lohanidamodar Sep 18, 2024
dcb5450
fix issues with payload and model
lohanidamodar Sep 18, 2024
b6446a7
fix payload
lohanidamodar Sep 18, 2024
29ca251
fix typo
lohanidamodar Sep 18, 2024
8a69d86
Apply suggestions from code review
Meldiron Sep 18, 2024
5ff7a4f
reset payload IO for now
lohanidamodar Sep 18, 2024
bf4e32c
fixed payload test
lohanidamodar Sep 18, 2024
2abcfdd
fix dart doc comment
lohanidamodar Sep 18, 2024
96b846f
remove getter
lohanidamodar Sep 18, 2024
17dcbc6
Merge pull request #980 from appwrite/feat-add-binary-support-for-dart
Meldiron Sep 18, 2024
9fe63be
fix: build
loks0n Sep 18, 2024
7f17459
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 18, 2024
63aaeda
fix: dev
loks0n Sep 18, 2024
c751ede
Fixed to_string and to_binary for python
vermakhushboo Sep 20, 2024
b426bbd
Merge pull request #985 from appwrite/fix-python-multipart
christyjacob4 Sep 24, 2024
21c6902
feat: specs validation test
loks0n Sep 26, 2024
53442dc
fix: complied -> compiled typo
loks0n Sep 26, 2024
40db59e
feat: to_string and to_json tests for payload
loks0n Sep 26, 2024
ae14970
chore: typo
loks0n Sep 26, 2024
5ce29b3
fix: deno, php, ruby, web tests
loks0n Sep 26, 2024
7f2100a
fix: python
loks0n Sep 26, 2024
36c6329
fix: dart, php, deno
loks0n Sep 26, 2024
01a5a79
fix: dart type
loks0n Sep 26, 2024
e80b39f
chore: composer update
loks0n Sep 26, 2024
061c943
chore: composer fmt
loks0n Sep 26, 2024
da583b6
fix: web
loks0n Sep 26, 2024
09f1445
fix: web
loks0n Sep 26, 2024
d4336a4
fix: indentation
loks0n Sep 26, 2024
95887bb
chore: lint
loks0n Sep 26, 2024
700e23e
feat: multipart echo tests
loks0n Sep 26, 2024
59b1572
fix: deno
loks0n Sep 26, 2024
7a6d16e
fix: ruby
loks0n Sep 26, 2024
bd53120
fix: python
loks0n Sep 26, 2024
497c6ab
fix: python
loks0n Sep 27, 2024
246f3b5
fix: php
loks0n Sep 27, 2024
76c09f2
fix: php
loks0n Sep 27, 2024
766f420
fix: cli
loks0n Sep 27, 2024
d43080b
feat: better error
loks0n Sep 27, 2024
7efc532
fix: web
loks0n Sep 27, 2024
d65ac93
fix: ruby
loks0n Sep 27, 2024
462fe32
fix: ruby
loks0n Sep 27, 2024
6637cda
fix: deno
loks0n Sep 27, 2024
c56a3fe
fix: deno
loks0n Sep 27, 2024
f697cb6
fix enum dart
lohanidamodar Sep 30, 2024
77984be
fix(ruby): add mime-types dep
loks0n Sep 30, 2024
fb4f87f
fix(kotlin): multipart tests
loks0n Sep 30, 2024
0612d4a
fix(ruby): downgrade mime-types
loks0n Sep 30, 2024
6b43960
fix(go): multipart tests
loks0n Sep 30, 2024
df0c356
fix(go): multipart tests
loks0n Sep 30, 2024
55ddcd3
fix(deno): multipart test syntax
loks0n Sep 30, 2024
a652eba
fix(dart): multipart tests
loks0n Sep 30, 2024
46336ba
fix(dart): multipart tests
loks0n Sep 30, 2024
b030e06
test: use tmp for file_copy.png
loks0n Sep 30, 2024
e19401e
test: fix tmp path
loks0n Sep 30, 2024
0bd2e39
fix(ruby,python): create dir if not exists payload.tofile
loks0n Sep 30, 2024
4896fa8
fix(ruby): require fileutils
loks0n Sep 30, 2024
c122aff
fix(flutter): multipart tests
loks0n Sep 30, 2024
b1739b9
fix(dart): fake test
loks0n Sep 30, 2024
155f72f
fix(android): multipart tests
loks0n Sep 30, 2024
0c10b69
fix(deno): fake test
loks0n Sep 30, 2024
f930df5
fix(dotnet): path
loks0n Sep 30, 2024
6e58220
fix(kotlin): type
loks0n Sep 30, 2024
beda039
fix(kotlin): tests
byawitz Sep 30, 2024
a97b595
fix(android): multipart tests
loks0n Sep 30, 2024
c8629aa
Merge pull request #990 from appwrite/dart-fix-enum-caps
loks0n Sep 30, 2024
4a24baf
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Sep 30, 2024
9737c21
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Oct 1, 2024
025ea7c
fix: multipart compiled
loks0n Oct 1, 2024
0284ff0
Merge pull request #979 from appwrite/feat-react-native-multipart
loks0n Oct 1, 2024
8396704
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Oct 1, 2024
56e14bd
fix: typo
loks0n Oct 1, 2024
392dc35
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Oct 1, 2024
4a9f874
fix(dotnet): chunk upload
byawitz Oct 1, 2024
35c43c9
Merge pull request #992 from appwrite/fix-dotnet-uploads
loks0n Oct 1, 2024
d9f30e9
Merge branch 'feat-multipart' of https://github.com/appwrite/sdk-gene…
loks0n Oct 1, 2024
734523d
fix(android): multipart tests
loks0n Oct 1, 2024
a796ccc
fix(go): compile error
loks0n Oct 1, 2024
b2ffda2
Merge pull request #989 from appwrite/feat-better-multipart-tests
loks0n Oct 1, 2024
0dbf8fd
Merge branch 'master' of https://github.com/appwrite/sdk-generator in…
loks0n Oct 8, 2024
ec64301
Merge branch 'master' of https://github.com/appwrite/sdk-generator in…
loks0n Oct 10, 2024
c8a8b4d
fix: toPascalCase
loks0n Oct 10, 2024
9d87b84
chore: fmt
loks0n Oct 10, 2024
a0ed7a0
fix(ruby): headers
loks0n Oct 10, 2024
ce4401b
fix(ruby): spacing
loks0n Oct 10, 2024
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
25 changes: 22 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
Deno1303,
DotNet60,
DotNet80,
FlutterStable,
FlutterBeta,
Go112,
Go118,
FlutterStable,
Go122,
KotlinJava8,
KotlinJava11,
KotlinJava17,
Expand Down Expand Up @@ -101,3 +100,23 @@ jobs:

- name: Lint
run: composer lint

specs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: curl

- name: Install
run: composer install

- name: Validate specs
run: composer test tests/SpecsTest.php

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"ext-mbstring": "*",
"ext-json": "*",
"twig/twig": "3.14.*",
"matthiasmullie/minify": "1.3.*"
"matthiasmullie/minify": "1.3.*",
"utopia-php/fetch": "^0.2.1"
},
"require-dev": {
"phpunit/phpunit": "11.*",
Expand Down
Loading
Loading