Commit graph

6416 commits

Author SHA1 Message Date
Jake Barnby
9ceeb76ad0
Merge branch '1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/GraphQL/Types/Mapper.php
2025-07-18 17:24:12 +12:00
Steven Nguyen
477682e062
fix: prevent injected $user from being shadowed 2025-07-14 16:05:58 -07:00
Steven Nguyen
100aea337f
fix: update OAuth2 redirect URLs
1. handle non-standard ports if the request came in on a non-standard port
2. use the _APP_CONSOLE_DOMAIN env var to handle cases where the Console domain may not be the endpoint domain such as on Appwrite Cloud
3. use the _APP_OPTIONS_FORCE_HTTPS env var to determine the protocol to be consistent with the rest of the codebase
2025-07-10 15:51:13 -07:00
Steven Nguyen
435a319fb6
Merge pull request #10130 from appwrite/fix-oauth2-redirect-validation
fix: success validation in oauth2 redirect
2025-07-10 09:06:43 -07:00
Steven Nguyen
11332ed1f9
chore: fix deprecation warning from passing null into json_decode 2025-07-09 22:10:17 -07:00
Steven Nguyen
53086fe975
fix: success validation in oauth2 redirect
We switched to using the Redirect class for validating redirect URLs to cover additional cases like react native expo scheme, but we missed this validation.
2025-07-09 15:11:30 -07:00
ArnabChatterjee20k
ca61b528b9 reverted the api signature and started handling it internally 2025-07-09 23:49:56 +05:30
ArnabChatterjee20k
c36720e3b0 updated param of permissiosns in upsert and updated tests for upsert without permissions 2025-07-09 16:37:41 +05:30
Darshan
14e52058c7 fix: file tokens not working on file-security. 2025-07-08 13:46:53 +05:30
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.github/workflows/benchmark.yml
#	composer.lock
#	src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Chirag Aggarwal
df9ef1ace9
Merge branch '1.7.x' into feat-exp-scheme 2025-07-04 15:22:44 +05:30
Khushboo Verma
131cdefac5
Merge branch '1.7.x' into chore-update-env-var-used-for-domain 2025-07-04 10:40:38 +05:30
Jake Barnby
2a73dddbdb
Fix health 2025-07-03 14:09:08 -04:00
Chirag Aggarwal
ef2dfb6cca
Merge branch '1.7.x' into feat-exp-scheme 2025-07-03 16:37:17 +05:30
Khushboo Verma
642d046d65
Merge branch '1.7.x' into chore-update-env-var-used-for-domain 2025-07-03 00:38:33 +05:30
Khushboo Verma
253195698e Merge branch '1.7.x' into chore-update-env-var-used-for-domain 2025-07-03 00:02:51 +05:30
Jake Barnby
2ce3118ba9
Remove path update 2025-07-02 13:36:46 -04:00
Darshan
ed2d12f896 update: full path on appwrite. 2025-07-02 19:55:42 +05:30
Darshan
fc1a9a4e16 fix: path and revert deps. 2025-07-02 19:13:13 +05:30
Darshan
aa9a82d8ce fix: document attribute type. 2025-07-02 14:32:16 +05:30
Jake Barnby
609e1adcf0
Catch 2025-06-30 22:27:18 -04:00
Khushboo Verma
58c1e2d6e2 Merge branch '1.7.x' into chore-update-env-var-used-for-domain 2025-07-01 02:29:08 +05:30
Chirag Aggarwal
8027251224
Merge branch '1.7.x' into feat-exp-scheme 2025-06-27 09:21:27 +05:30
Matej Bačo
a356e86ced Add previe wendpoint logging 2025-06-26 20:17:26 +02:00
Chirag Aggarwal
043cead66b chore: fix logging 2025-06-26 19:32:15 +05:30
Chirag Aggarwal
dbc58655b2 Merge branch '1.7.x' into feat-exp-scheme 2025-06-25 07:53:28 +05:30
Steven Nguyen
ffc7f4c7ae
Merge pull request #9590 from appwrite/fix-templates
Fix template to use button
2025-06-21 09:33:06 -07:00
Darshan
c08db975d6
Merge branch '1.8.x' into database-aliases 2025-06-19 14:52:13 +05:30
Jake Barnby
53a00deb0a
Merge pull request #10010 from ArnabChatterjee20k/dat-522
Added auth option to allow invalidating existing sessions
2025-06-18 17:41:41 -04:00
ArnabChatterjee20k
225b6e8413 updated tests and project invaldate session 2025-06-19 02:26:58 +05:30
ArnabChatterjee20k
56494ca427 updated invalidation session during the change password in the account endpoint 2025-06-18 13:30:24 +05:30
Khushboo Verma
520006864d Merge branch '1.7.x' into chore-update-env-var-used-for-domain 2025-06-18 11:07:25 +05:30
Khushboo Verma
5a3e44a36d Replace == with === 2025-06-18 11:06:35 +05:30
Jake Barnby
d84151192e
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x 2025-06-17 15:58:07 -04:00
Darshan
34e4299e10
Merge branch '1.8.x' into database-aliases 2025-06-17 10:13:38 +05:30
ArnabChatterjee20k
28fbd64864 updated session invalidation tests , models and descriptions 2025-06-17 00:40:32 +05:30
ArnabChatterjee20k
9bf4361761 updated indentation 2025-06-16 23:48:08 +05:30
ArnabChatterjee20k
7a0ba95231 updated onPasswordChange to invalidate session 2025-06-16 23:05:52 +05:30
Jake Barnby
3729c6b1c2
Cast sequence 2025-06-16 13:24:48 -04:00
Jake Barnby
e704e96290
Revert "Feat: Lazy-load relationships" 2025-06-16 11:48:27 -04:00
Jake Barnby
a21ccfd694
Merge pull request #9669 from appwrite/lazy-load-relationships
Feat: Lazy-load relationships
2025-06-16 11:48:18 -04:00
Jake Barnby
89f0c28e26
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.coderabbit.yaml
2025-06-16 11:37:50 -04:00
Khushboo Verma
5e345c0388 Revert some changes 2025-06-16 17:29:01 +05:30
Khushboo Verma
362618c5af Merge branch 'fix-github-check-urls' into chore-update-env-var-used-for-domain 2025-06-16 17:19:55 +05:30
Khushboo Verma
15f81d29f3 Merge branch '1.7.x' into fix-github-check-urls 2025-06-16 17:19:10 +05:30
Darshan
3be1aa3801
Merge branch '1.7.x' into fix-templates 2025-06-15 11:21:33 +05:30
ArnabChatterjee20k
74614e8d58 updated description of on password change 2025-06-14 18:09:20 +05:30
ArnabChatterjee20k
fde2f278e8 added invalidating sessions for the project users 2025-06-14 18:07:42 +05:30
Steven Nguyen
160c937dc2
fix: prevent 'Attribute "factors" must be an array' error
Because array_unique() preserves keys, the $factors can go from:

[
    0 => 'password',
    1 => 'totp',
    2 => 'totp',
    3 => 'email'
]

to:

[
    0 => 'password',
    1 => 'totp',
    3 => 'email'
]

and because this is not an array list, the validation fails.

Using array_values() after array_unique() will reset the keys to be sequential, resulting in:

[
    0 => 'password',
    1 => 'totp',
    2 => 'email'
]
2025-06-13 09:17:05 -07:00
Darshan
44a5a3eca1
Merge branch '1.8.x' into lazy-load-relationships 2025-06-13 20:01:01 +05:30