Commit graph

6516 commits

Author SHA1 Message Date
Chirag Aggarwal
048dbe81c7 chore: minify svg 2025-08-04 14:34:45 +05:30
Khushboo Verma
69dbb3222f Add check in proxy 2025-08-04 01:33:47 +05:30
Khushboo Verma
9f8fabe58a Verify domain CAA after certificate issuance 2025-08-04 01:12:58 +05:30
Khushboo Verma
484ebb5059 Check CAA record in DNSTest 2025-08-04 00:42:00 +05:30
Chirag Aggarwal
4c971910bb chore: fix import 2025-08-03 22:08:25 +05:30
Chirag Aggarwal
a00b93416d fix: cleansvg 2025-08-03 13:39:30 +05:30
Chirag Aggarwal
4adebc8ba2 chore: add svg sanitization 2025-08-03 13:33:10 +05:30
Chirag Aggarwal
f5682c0516 chore: add support for svg favicons 2025-08-03 13:23:34 +05:30
Jake Barnby
933f07c175
Add missing removal 2025-07-30 01:18:08 +12:00
Jake Barnby
ccf0a23bdf
Remove sequence on incoming docs 2025-07-30 01:02:21 +12:00
Jake Barnby
6347d7da3f
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-07-29 22:52:06 +12:00
Chirag Aggarwal
7ad01fcada linebreak 2025-07-29 12:23:06 +05:30
Chirag Aggarwal
06e4920ee2 fix: create email target when using email otp registration 2025-07-29 11:57:57 +05:30
fogelito
78887b9df6 fallbacks 2025-07-28 11:18:03 +03:00
fogelito
66fa7ad659 Use null default with fallback 2025-07-28 11:08:32 +03:00
fogelito
9a3687ae3b Run tests 2025-07-28 10:43:35 +03:00
Jake Barnby
cdbd89b3f3
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-1.8.x-client.json
#	app/config/specs/open-api3-1.8.x-console.json
#	app/config/specs/open-api3-1.8.x-server.json
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.8.x-client.json
#	app/config/specs/swagger2-1.8.x-console.json
#	app/config/specs/swagger2-1.8.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
Darshan
e67e6303b2 fix: templates on 1.7.x. 2025-07-25 14:30:03 +05:30
Luke B. Silver
2f39e16b97
Merge pull request #10156 from appwrite/feat-stats-usage-on-redis
feat: stats-usage on redis
2025-07-24 22:42:09 +01:00
loks0n
1d86cc6010 feat: stats-usage on redis 2025-07-24 16:19:13 +01:00
Khushboo Verma
607cc9a926
Merge branch '1.7.x' into 1we24-auto-suggest-default-branch 2025-07-24 20:31:10 +05:30
Matej Bačo
e4dc36edf0
Merge pull request #10198 from hmacr/1we17-preview-for-emails
Preview text for emails
2025-07-24 16:47:08 +02:00
hmacr
a8d5fc9998 format 2025-07-24 19:49:52 +05:30
Khushboo Verma
d607f227a2
Merge branch '1.7.x' into 1we24-auto-suggest-default-branch 2025-07-24 19:38:17 +05:30
Matej Bačo
b762e7fb73
Merge pull request #10181 from hmacr/1we9-use-preview-for-screenshots
fix: Use direct source for file-preview when empty
2025-07-24 13:39:24 +02:00
hmacr
f75b53f3bc Merge branch '1.7.x' into 1we17-preview-for-emails 2025-07-23 22:05:23 +05:30
hmacr
c5f8bdfd36 Preview texts for emails 2025-07-23 22:04:25 +05:30
Matej Bačo
b194558226 Switch from gzip to none compression 2025-07-23 15:49:07 +02:00
hmacr
f85a7410df Merge branch '1.7.x' into 1we9-use-preview-for-screenshots 2025-07-23 12:13:04 +05:30
hmacr
c83dd7aa13 Add defaultBranch in getRepository response 2025-07-23 11:45:27 +05:30
hmacr
50eca9ebbc update commit author name param 2025-07-23 09:53:09 +05:30
hmacr
2a7ce13224 Merge branch '1.7.x' into 1we19-fix-double-deployment 2025-07-23 09:38:37 +05:30
Steven Nguyen
898365a922
Merge pull request #10170 from appwrite/fix-templates
Fix default email templates
2025-07-22 18:25:57 -07:00
hmacr
9c0e6f4203 Skip deployment when commit is created by us 2025-07-22 20:39:36 +05:30
hmacr
bf3efea98d framework support + content for OTP & add-member email 2025-07-22 16:43:17 +05:30
Jake Barnby
cd39bd6512
Merge pull request #10179 from appwrite/dat-579
Added the cases of null permissions in the upsert route and update th…
2025-07-22 20:22:56 +12:00
ArnabChatterjee20k
7bb760b4a1 added test for relation related upsert , fixed formatting 2025-07-22 13:10:05 +05:30
Jake Barnby
afd6730a81
FIx name mismatch 2025-07-22 14:43:32 +12:00
hmacr
9da57a457b fix: Use direct source for file-preview when empty 2025-07-21 22:31:06 +05:30
ArnabChatterjee20k
8b88a09374 added the cases of null permissions in the upsert route and update the e2e test 2025-07-21 19:32:27 +05:30
Jake Barnby
51c95347a0
Merge remote-tracking branch 'origin/main' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
2025-07-21 20:42:16 +12:00
Jake Barnby
d32da05f92
Merge remote-tracking branch 'origin/main' into 1.7.x
# Conflicts:
#	app/config/specs/open-api3-1.7.x-console.json
#	app/config/specs/open-api3-1.7.x-server.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.7.x-console.json
#	app/config/specs/swagger2-1.7.x-server.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/init/constants.php
#	composer.lock
#	docs/references/databases/upsert-documents.md
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2025-07-21 19:22:15 +12:00
Darshan
e7315e23c7 fix: address comment. 2025-07-20 17:28:44 +05:30
Darshan
373ceecebb fix: add a default client name for session alerts 2025-07-20 16:40:29 +05:30
Darshan
0926250f17 fix: session alerts template. 2025-07-20 16:39:08 +05:30
Darshan
5243af937f fix: the default templates. 2025-07-20 14:40:30 +05:30
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
Ebenezer Don
a2261b8ad0 Clarify userId param in endpoints that create accounts 2025-07-07 13:22:52 +01:00
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
Khushboo Verma
221f15313c Update var name and generate specs 2025-06-13 15:55:02 +05:30
Khushboo Verma
4099f8968a Merge branch '1.7.x' into feat-ref-param-to-vcs-list-contents 2025-06-13 15:51:35 +05:30
Khushboo Verma
cee6420fa2 Use env vars instead of request 2025-06-13 15:50:53 +05:30