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

1.5.x #746

Merged
merged 440 commits into from
Mar 8, 2024
Merged

1.5.x #746

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
440 commits
Select commit Hold shift + click to select a range
833dff5
rearrange attribute
lohanidamodar Jan 22, 2024
1c6b856
fix tests
lohanidamodar Jan 22, 2024
8ef3c22
Merge pull request #761 from appwrite/feat-queries-update
abnegate Jan 22, 2024
53747c5
Add Android or + contains queries
abnegate Jan 22, 2024
d2430f2
Add base tests for contains + or queries
abnegate Jan 22, 2024
e73f417
fix json encode and import
lohanidamodar Jan 22, 2024
f4cab05
or and contains test for query
lohanidamodar Jan 22, 2024
0c42e4e
fix query helper responses
lohanidamodar Jan 22, 2024
c479f89
Fix Android tests
abnegate Jan 22, 2024
d4624e3
Fix list type
abnegate Jan 22, 2024
9bd8fff
Fix closing brace
abnegate Jan 22, 2024
c119f9f
Fix collection literals
abnegate Jan 22, 2024
bbea69d
Fix missing toString
abnegate Jan 22, 2024
74803b8
Internal init notification handlers client
abnegate Jan 22, 2024
658f23b
Add client setter to allow explicitly setting push provider ID
abnegate Jan 22, 2024
c7ffa64
add missing query tests to Flutter
lohanidamodar Jan 23, 2024
8564591
Merge pull request #762 from appwrite/feat-fix-queries-tests
lohanidamodar Jan 23, 2024
040acdb
Fix missing example imports
abnegate Jan 24, 2024
358d22e
Ad google-services json to example
abnegate Jan 24, 2024
3535140
Remove redundant SAM constructors
abnegate Jan 24, 2024
8b94c54
Add service to example
abnegate Jan 24, 2024
9730c93
Force-start notification handler service on client init
abnegate Jan 25, 2024
9ae05ef
Override service start hooks to handle internal actions before deferr…
abnegate Jan 25, 2024
4c95c6d
Ensure cookie listener is re-set on service create if reclaimed since…
abnegate Jan 25, 2024
b8a1c88
Early fail if token is not new
abnegate Jan 25, 2024
cc633c6
Recreate target on user change
abnegate Jan 25, 2024
36ccbee
Fix listener not initialized on create
abnegate Jan 25, 2024
0ec1409
Remove debug logging
abnegate Jan 29, 2024
545273d
Reorder functions by visibility
abnegate Jan 29, 2024
e70dff7
Fix Java 8 build
abnegate Jan 29, 2024
ef5e497
Update tests for new gradle + JDK version
abnegate Jan 29, 2024
f2242db
Merge remote-tracking branch 'origin/1.5.x' into feat-android-messaging
abnegate Jan 29, 2024
539b37c
Fix imports
abnegate Jan 29, 2024
e43db99
Remove redundant classpath
abnegate Jan 29, 2024
d965d7c
feat: json queries web, node, deno, php
loks0n Feb 1, 2024
c39abbc
feat: ruby python kotlin json queries
loks0n Feb 1, 2024
8e2852d
fix: tests for node, deno, web
loks0n Feb 1, 2024
6f3e17e
fix: most python tests
loks0n Feb 1, 2024
2eb6c74
fix: ruby tests
loks0n Feb 1, 2024
db9d3d9
fix: php tests
loks0n Feb 1, 2024
0bf6b36
fix: deno tests
loks0n Feb 1, 2024
f38a5ee
fix: web tests use prototype
loks0n Feb 1, 2024
23c0f54
fix: web chromium tests
loks0n Feb 1, 2024
9f29b57
fix: python tests
loks0n Feb 1, 2024
2c33a19
fix: dotnet tests
loks0n Feb 1, 2024
27639c9
fix: kotlin tests
loks0n Feb 1, 2024
3c94b9f
fix: swift tests 😎
loks0n Feb 1, 2024
4373381
feat: js use Query[] type
loks0n Feb 1, 2024
a0a8df6
fix: failing tests
loks0n Feb 2, 2024
86c4d59
feat: `and` queries
loks0n Feb 2, 2024
e5e74a3
fix: android ruby tests
loks0n Feb 2, 2024
d8c27a4
Add listenable cookie jar
abnegate Feb 2, 2024
d9892d1
fix: js serialisation
loks0n Feb 2, 2024
6d1b139
Replace cookie jar with listenable
abnegate Feb 2, 2024
25bd6e7
Allow internal access to client headers
abnegate Feb 2, 2024
e802528
Fix example for spec updates
abnegate Feb 2, 2024
6f144e2
Add method to make sidestep request to client
abnegate Feb 2, 2024
96a7db8
Update shared prefs listener to cookie listener
abnegate Feb 2, 2024
508a964
Fetch existing and new user with appropriate cookies on cookie change
abnegate Feb 2, 2024
e4fb5f6
Update delete existing target to account for appropriate cookie
abnegate Feb 2, 2024
31f14a6
Update create/update target to account for appropriate cookie
abnegate Feb 2, 2024
1384714
Fix imports
abnegate Feb 2, 2024
5b512e2
Reset cookies after target manipulation
abnegate Feb 2, 2024
9faa6e2
fix: serialisation js
loks0n Feb 2, 2024
ef5547a
fix: ruby tests
loks0n Feb 2, 2024
5cd2a6a
fix: types check
loks0n Feb 2, 2024
3568423
chore: swift hacks - forgive me
loks0n Feb 2, 2024
029c92a
chore: fmt
loks0n Feb 2, 2024
d6f6161
chore: remove brackets for ruby if
loks0n Feb 2, 2024
2b2d5ea
fix: remove test count
loks0n Feb 2, 2024
12ba380
chore: swift improvements
loks0n Feb 2, 2024
9bb0a78
feat: js serialise in flatten
loks0n Feb 2, 2024
945a2e8
fix: deno
loks0n Feb 2, 2024
8d61a2d
fix: web flatten
loks0n Feb 2, 2024
e5043f1
chore: ruby simplify
loks0n Feb 2, 2024
e99e74d
chor: dotnet use List<object>
loks0n Feb 2, 2024
d2ab35e
Add Delegate protocol
abnegate Feb 3, 2024
991a2f3
Update cookie key
abnegate Feb 3, 2024
a93d63b
Add google service plist to examples
abnegate Feb 3, 2024
2f6e129
Add firebase dependency
abnegate Feb 3, 2024
1617b1c
Update for spec changes
abnegate Feb 3, 2024
5f6fa17
Add cookie listener hooks
abnegate Feb 3, 2024
7325c41
Add notification handler class
abnegate Feb 3, 2024
cba8948
Set handler client on init
abnegate Feb 3, 2024
9b6a7dc
Add push provider ID setter
abnegate Feb 3, 2024
81d019c
Add handler request function
abnegate Feb 3, 2024
590a04d
Implement cookie listener
abnegate Feb 3, 2024
47e1fc5
Implement target management on cookie or token hook
abnegate Feb 3, 2024
4e93a7b
Use notification name constant
abnegate Feb 3, 2024
273877c
Fix default content type
abnegate Feb 3, 2024
9cecb33
Remove redundant local function
abnegate Feb 3, 2024
d7e1c46
Block async so cookies aren't saved until listener completes
abnegate Feb 3, 2024
45fc835
Check if permission granted before registering for notifications
abnegate Feb 3, 2024
6175c29
Handle APNS and FCM tokens separately
abnegate Feb 3, 2024
56fa2d7
Remove redundant mutability
abnegate Feb 3, 2024
e8b38bf
Only add body if non nil
abnegate Feb 3, 2024
93d8674
Add provider enum to switch between FCM and APNS
abnegate Feb 3, 2024
586cd1d
Fix example method call
abnegate Feb 3, 2024
6287998
Inline convert queries to JSON to avoid changing method parameter types
abnegate Feb 5, 2024
9658d32
Update tests
abnegate Feb 5, 2024
78efd59
Don't double escape
abnegate Feb 5, 2024
9799984
Fix refs
abnegate Feb 5, 2024
1e30fde
Decode and re-encode and/or queries to fix double escaping
abnegate Feb 5, 2024
971f5bc
Fix dart types
abnegate Feb 5, 2024
25b9e34
Fix deno types
abnegate Feb 5, 2024
b03af24
Fix PHP loop
abnegate Feb 5, 2024
862849e
Fix .NET tests
abnegate Feb 5, 2024
3b12eb5
Fix web tests
abnegate Feb 5, 2024
ecaf6e0
Fix dart/flutter to string
abnegate Feb 5, 2024
677a61c
Fix swift init from decoder visibility
abnegate Feb 5, 2024
07ef867
Merge pull request #766 from appwrite/feat-json-queries
abnegate Feb 5, 2024
c360b76
Add provider as setup parameter
abnegate Feb 5, 2024
0f6eebe
Merge remote-tracking branch 'origin/1.5.x' into feat-apple-messaging
abnegate Feb 5, 2024
72a9f97
Remove google service files
abnegate Feb 5, 2024
c634187
Remove template refs
abnegate Feb 5, 2024
7816d5b
Bump swift
abnegate Feb 5, 2024
c9a24dc
Fix image ref
abnegate Feb 5, 2024
ac20d4b
Fix Apple multiplatform
abnegate Feb 5, 2024
d9d4abb
Fix leftover
abnegate Feb 5, 2024
adb837c
Fix Android example
abnegate Feb 5, 2024
967bb69
Merge pull request #767 from appwrite/feat-apple-messaging
abnegate Feb 5, 2024
e325c39
Consistent pre-release version checks
abnegate Feb 5, 2024
390b915
Fix Android example build
abnegate Feb 5, 2024
7055573
Remove Apple specific code from Swift
abnegate Feb 5, 2024
7edf9c1
feat: oauth-return-location-header
loks0n Feb 5, 2024
673ffa1
feat: deno oauth return location header
loks0n Feb 5, 2024
3fe8910
Use 1.5.x spec for examples
abnegate Feb 7, 2024
74da3b5
Remove variadic params from JS platforms for and/or queries
abnegate Feb 7, 2024
e4e101e
Fix Android + Kotlin deployment JDK versions
abnegate Feb 7, 2024
991fdef
Fix Kotlin model generics
abnegate Feb 7, 2024
e9bd785
test: fix custom assertion
loks0n Feb 9, 2024
f31f6f5
fix: custom assertion
loks0n Feb 12, 2024
6fa5f60
chore: fmt
loks0n Feb 12, 2024
72c01a0
fix: base.php
loks0n Feb 12, 2024
6e344b9
chore: fmt
loks0n Feb 12, 2024
f19d699
chore: revert
loks0n Feb 12, 2024
2118ada
fix: dart test
loks0n Feb 12, 2024
6c3fb00
fix: php
loks0n Feb 12, 2024
d80a1ba
fix: dotnet
loks0n Feb 12, 2024
7738cff
fix: dotnet
loks0n Feb 12, 2024
e900794
chore: revert kotlin fix
loks0n Feb 12, 2024
14e2a20
Move to non-appwrite package
abnegate Feb 14, 2024
16fa50a
Move example to non-appwrite package
abnegate Feb 14, 2024
e64a1db
Add messaging service to example
abnegate Feb 14, 2024
2ae8df0
Remove notification handler and activity extensions
abnegate Feb 14, 2024
5e9c471
Add OS permissions request helper
abnegate Feb 14, 2024
a49910a
Update file lists
abnegate Feb 14, 2024
cfdb613
Update PHP
abnegate Feb 14, 2024
3a371e0
Fix import
abnegate Feb 14, 2024
939e4bb
Remove redundant files
abnegate Feb 14, 2024
e9c89af
Add debug info
abnegate Feb 14, 2024
afee7e5
Fix Android tests
abnegate Feb 14, 2024
c5cb767
Revert debug changes
abnegate Feb 14, 2024
8f8b134
Merge pull request #772 from appwrite/feat-android-messaging
abnegate Feb 14, 2024
93e1bd0
Merge remote-tracking branch 'origin/1.5.x' into test-fix-failing-test
abnegate Feb 14, 2024
55c40dd
JSON improvements for Kotlin
abnegate Feb 14, 2024
acbe91e
Custom `Package.swift` for Apple
abnegate Feb 14, 2024
3185ab1
Fix dependency cycle
abnegate Feb 14, 2024
038b88b
Fix Android/Kotlin number serialization
abnegate Feb 14, 2024
eef8273
Fix imports
abnegate Feb 14, 2024
5f7b1b1
Revert gradle for implicit JDK version usage
abnegate Feb 14, 2024
8d6667f
Fix Swift query values
abnegate Feb 14, 2024
5e3d016
Revert removal of sub query encoding
abnegate Feb 14, 2024
8b2a917
Test JSON strings by decoding as order is undefined
abnegate Feb 14, 2024
fd89ec2
Fix ordered tests
abnegate Feb 14, 2024
72b8f72
Fix go 118 test
abnegate Feb 14, 2024
d7db297
Remove redundant notification packages
abnegate Feb 14, 2024
4699f46
Merge pull request #769 from appwrite/test-fix-failing-test
abnegate Feb 14, 2024
b387f5b
Move firebase dependency to example
abnegate Feb 14, 2024
a7c1422
feat: add enum export to node sdk
loks0n Feb 14, 2024
2c0f7dd
Merge remote-tracking branch 'origin/master' into 1.5.x
abnegate Feb 15, 2024
a68ea0c
Update mock server
abnegate Feb 15, 2024
d8e1ec6
Fix mock server
abnegate Feb 15, 2024
fb62ed9
Add OS class
abnegate Feb 15, 2024
49e2443
Only compile OS class on Darwin
abnegate Feb 15, 2024
1413a93
fix: js enums
loks0n Feb 15, 2024
7451861
chore: cleanup diff
loks0n Feb 15, 2024
b76083a
chore: cleanup diff
loks0n Feb 15, 2024
5a334bb
Revert "chore: cleanup diff"
loks0n Feb 15, 2024
c4b1174
chore: cleanup diff
loks0n Feb 15, 2024
a851213
chore: fmt
loks0n Feb 15, 2024
d2248ea
feat: drop deno 1.19
loks0n Feb 15, 2024
f51c8f9
feat: add deno 1404
loks0n Feb 15, 2024
d99c26d
chore: revert dx changes
loks0n Feb 16, 2024
d185a91
chore(fix): enums type errors
2002Bishwajeet Feb 18, 2024
6382f41
Merge pull request #775 from 2002Bishwajeet/fix-enums-dart
lohanidamodar Feb 18, 2024
e74194f
Merge pull request #774 from appwrite/fix-exports-enums-js
abnegate Feb 19, 2024
88db428
Update Apple example for push notifications
abnegate Feb 20, 2024
91b33a3
Merge branch '1.5.x' of https://github.com/appwrite/sdk-generator int…
loks0n Feb 20, 2024
349a9ce
Merge remote-tracking branch 'origin/master' into 1.5.x
abnegate Feb 21, 2024
5604692
Fix examples
abnegate Feb 21, 2024
b1c24ff
Fix examples
abnegate Feb 21, 2024
bb57b68
fix: deno & node types
loks0n Feb 21, 2024
04a785a
feat: python oauth2 redirect string
loks0n Feb 21, 2024
efa1732
Fix swift example
abnegate Feb 21, 2024
6d5cf80
feat: ruby redirect OAuth2
loks0n Feb 21, 2024
242073b
fix: ruby
loks0n Feb 21, 2024
af7c1b0
feat: php oauth2 redirect
loks0n Feb 21, 2024
c1cca11
fix: ruby
loks0n Feb 21, 2024
577077e
fix: queries serialisation
loks0n Feb 21, 2024
7a52518
chore: removed unused imports
loks0n Feb 21, 2024
df8bd42
feat: dart
loks0n Feb 21, 2024
8316c90
fix: dart
loks0n Feb 21, 2024
c68a78d
feat: dotnet
loks0n Feb 21, 2024
49f7ae3
chore: cleanup indentation
loks0n Feb 21, 2024
9bf5dd9
chore: remove extra space
loks0n Feb 21, 2024
63a6c6a
fix: dotnet
loks0n Feb 21, 2024
aa5f8c4
chore: missing semi
loks0n Feb 21, 2024
dddb9a7
chore(dotnet): make PrepareRequest sync
loks0n Feb 21, 2024
e058c49
fix: dotnet
loks0n Feb 21, 2024
7751574
fix: dotnet
loks0n Feb 22, 2024
565832a
feat: try swift
loks0n Feb 22, 2024
03d6c89
fix: remove swift @available notice
loks0n Feb 22, 2024
039223a
feat: swift
loks0n Feb 22, 2024
345490b
fix: swift
loks0n Feb 22, 2024
9087898
chore: dotnet remove unneccessary condition
loks0n Feb 23, 2024
a436aa6
feat: kotlin
loks0n Feb 23, 2024
a1e7af3
Fix Android enum serialization
abnegate Feb 23, 2024
d4709f3
fix: android & apple
loks0n Feb 23, 2024
aa3b45d
Remove component activity from kotlin oauth
abnegate Feb 24, 2024
e3e8d7b
Make sure headers are included for all request types
abnegate Feb 24, 2024
aa05a4b
Fix Kotlin generic sub schema model nested types
abnegate Feb 24, 2024
f693fa1
Fix swift webauth return type
abnegate Feb 24, 2024
f0fe52b
Make sure headers are included for swift
abnegate Feb 24, 2024
eabec12
Fix Apple oauth refs
abnegate Feb 24, 2024
156d0d5
Remove redundant cookie listener
abnegate Feb 24, 2024
d8dd75b
Add redirect endpoint to mock server and specs
abnegate Feb 24, 2024
2588562
Update deps
abnegate Feb 24, 2024
110d946
Remove redundant classes
abnegate Feb 24, 2024
a8d0569
Update mock server to PHP 8.3
abnegate Feb 24, 2024
7d83c0f
Add test for server side webauth redirects returning as URL
abnegate Feb 24, 2024
fcade8a
Fix dart test
abnegate Feb 24, 2024
1e0920e
Fix ruby test
abnegate Feb 24, 2024
dd0a914
Fix swift test
abnegate Feb 24, 2024
eacc78b
Fix deno
abnegate Feb 24, 2024
27b46f9
Fix dotnet
abnegate Feb 24, 2024
ad6710f
Fix PHP
abnegate Feb 24, 2024
4c7e7de
Fix swift
abnegate Feb 24, 2024
b0ba1bf
Fix params for flutter tests to pass
abnegate Feb 24, 2024
3961b28
Fix Kotlin
abnegate Feb 24, 2024
972624d
Update checkout version to fix warnings
abnegate Feb 24, 2024
0a351a4
Update lint checkout
abnegate Feb 24, 2024
38119c7
Merge pull request #768 from appwrite/feat-oauth-return-location-header
abnegate Feb 24, 2024
b961010
Fix examples
abnegate Feb 27, 2024
38dce71
Fix example enum multi imports
abnegate Feb 27, 2024
d2d062f
fix: cli missing description
loks0n Mar 6, 2024
eacb16a
fix: remove recieve
loks0n Mar 6, 2024
518042b
Merge pull request #780 from appwrite/fix-cli-missing-description
loks0n Mar 6, 2024
4564f71
fix(cli): use new query format
stnguyen90 Mar 7, 2024
d9f959d
Merge pull request #782 from appwrite/fix-cli-queries
abnegate Mar 7, 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
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1']
sdk: [Android11Java8, Android11Java11, Android12Java8, Android12Java11, CLINode16, CLINode18, DartBeta, DartStable, Deno1193, Deno1303, DotNet60, DotNet70, FlutterStable, FlutterBeta, Go112, Go118, KotlinJava8, KotlinJava11, KotlinJava17, Node12, Node14, Node16, PHP74, PHP80, Python38, Python39, Python310, Ruby27, Ruby30, Ruby31, AppleSwift55, Swift55, WebChromium, WebNode]
php-version: ['8.2']
sdk: [Android5Java17, Android14Java17, CLINode16, CLINode18, DartBeta, DartStable, Deno1193, Deno1303, DotNet60, DotNet70, FlutterStable, FlutterBeta, Go112, Go118, KotlinJava8, KotlinJava11, KotlinJava17, Node16, Node18, Node20, PHP74, PHP80, Python38, Python39, Python310, Ruby27, Ruby30, Ruby31, AppleSwift56, Swift56, WebChromium, WebNode]

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

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

- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
Expand Down
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Eldad Fux",
Expand All @@ -28,14 +30,15 @@
"ext-curl": "*",
"ext-mbstring": "*",
"ext-json": "*",
"twig/twig": "^3.4.1",
"matthiasmullie/minify": "^1.3.68"
"twig/twig": "v3.8.*",
"matthiasmullie/minify": "1.3.*"
},
"require-dev": {
"phpunit/phpunit": "^9.5.21",
"brianium/paratest": "^6.4",
"squizlabs/php_codesniffer": "^3.6"
"phpunit/phpunit": "10.5.*",
"brianium/paratest": "v7.4.*",
"squizlabs/php_codesniffer": "3.9.*"
},
"minimum-stability": "dev",
"prefer-stable": true
"platform": {
"php": "8.2"
}
}
Loading