Commit graph

4934 commits

Author SHA1 Message Date
Jake Barnby
9fde875904
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-09-22 16:12:45 +12:00
Jake Barnby
c1782f6f58
Don't remove required attributes 2025-09-19 15:28:41 +12:00
Hemachandar
0812ac97a9 tests 2025-09-18 14:09:42 +05:30
ArnabChatterjee20k
52ceddcd5a linting 2025-09-17 20:02:36 +05:30
ArnabChatterjee20k
c5e9ec3969 added cases for checking default added or not 2025-09-17 20:00:10 +05:30
ArnabChatterjee20k
5b09ebe54b added cases for with default values 2025-09-17 19:46:06 +05:30
ArnabChatterjee20k
4815780476 Add spatial column validation during required mode and tests for existing data in databases 2025-09-17 18:01:29 +05:30
fogelito
614285f1ae Add Scope for tests 2025-09-16 11:29:13 +03:00
Jake Barnby
fb65d7a965
Add scoped tests 2025-09-16 13:25:15 +12:00
Steven Nguyen
536cff9cc6
chore: add specification validator test 2025-09-15 21:39:23 +00:00
Damodar Lohani
13b98409ae reset length 2025-09-14 05:56:56 +00:00
Damodar Lohani
800db0b99d Fix magic URL token length 2025-09-14 05:23:30 +00:00
Damodar Lohani
53a117bd0f Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-09-14 04:49:34 +00:00
Jake Barnby
5c09e8ae00
Lint 2025-09-13 00:35:03 +12:00
Jake Barnby
edc637b762
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-13 00:29:19 +12:00
Jake Barnby
304ebf12b9
Add more tests 2025-09-13 00:04:49 +12:00
Jake Barnby
7120bce761
Handle structure exception 2025-09-12 21:47:40 +12:00
ArnabChatterjee20k
addd140925 updated composer 2025-09-12 11:24:19 +05:30
ArnabChatterjee20k
9c5c5343a4 Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-11 21:58:09 +05:30
ArnabChatterjee20k
289cf4db0a testing with symlink 2025-09-11 21:55:36 +05:30
Jake Barnby
65ad2c9ff5
Handle usage + realtime 2025-09-12 01:45:16 +12:00
Jake Barnby
ef685c5bc1
Fix tests 2025-09-12 00:19:39 +12:00
Jake Barnby
e6c83f364c
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-11 21:17:50 +12:00
Jake Barnby
8706828c22
Fix tests 2025-09-11 21:13:41 +12:00
Damodar Lohani
b8e3a19586
Merge branch '1.8.x' into feat-apps-module-dl 2025-09-11 14:47:14 +05:45
Jake Barnby
de1ecaa9c9
Merge pull request #10473 from appwrite/spatial-type-attributes
Spatial test tablesdb updates
2025-09-11 19:44:55 +12:00
Jake Barnby
498484ca4e
Legacy DB support 2025-09-11 17:54:55 +12:00
Jake Barnby
f9b92ddead
Fix namespace 2025-09-11 16:37:43 +12:00
Jake Barnby
461c8681af
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsResources.php
2025-09-11 16:36:49 +12:00
ArnabChatterjee20k
e212ec997a cloud test failing due to wrong spatial type for other adapters 2025-09-10 19:53:33 +05:30
Damodar Lohani
4578819a58 revert test update 2025-09-10 07:59:00 +00:00
Damodar Lohani
6099313cb4 Fxi teams tests 2025-09-10 07:57:45 +00:00
Damodar Lohani
d8e769ef1f
Merge branch '1.8.x' into feat-apps-module-dl 2025-09-10 12:48:44 +05:45
Jake Barnby
7b9ead6a68
Merge pull request #10463 from appwrite/spatial-type-attributes
Spatial type attributes sdk updates
2025-09-10 18:48:49 +12:00
Damodar Lohani
2be8895dfd Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-09-10 03:56:34 +00:00
ArnabChatterjee20k
0dd7d45993 updated tests 2025-09-09 22:56:59 +05:30
Jake Barnby
78ffab5116
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php
2025-09-09 00:52:39 +12:00
Jake Barnby
495eeeb929
Support legacy 2025-09-09 00:50:48 +12:00
Jake Barnby
abf6c0a0b8
Add more bulk tests 2025-09-08 19:20:26 +12:00
Chirag Aggarwal
f67edb2c48 update test 2025-09-08 09:49:58 +05:30
Jake Barnby
2b1dd8be0e
Merge pull request #10443 from appwrite/spatial-type-attributes
Spatial type attributes
2025-09-06 04:44:06 +12:00
Jake Barnby
812a09f556
Add read-your-write support 2025-09-06 04:26:49 +12:00
Jake Barnby
391942ba72
Fix bulk logged queries 2025-09-06 02:37:17 +12:00
Jake Barnby
489f8db376
Apply to TablesDB tests 2025-09-06 00:13:48 +12:00
Jake Barnby
3f7d05ca8f
Remove invalid test for spatial order on MySQL 2025-09-06 00:10:28 +12:00
Jake Barnby
0ca53304b7
Fix boundary inclusive contains on mysql 2025-09-06 00:10:00 +12:00
ArnabChatterjee20k
97a28878ca Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-05 16:16:48 +05:30
ArnabChatterjee20k
4ed42d3304 updated request and response model 2025-09-05 16:15:17 +05:30
Jake Barnby
3d5caaa0bb
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-05 01:05:44 +12:00
Jake Barnby
d28643bd2b
Update DB 2025-09-05 01:02:30 +12:00
Jake Barnby
aa51bb5052
Lint 2025-09-05 00:13:39 +12:00
Jake Barnby
307b458889
Add tests 2025-09-04 23:56:16 +12:00
Jake Barnby
5702def9d2
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-09-04 04:00:57 +12:00
Jake Barnby
de5df4b72e
Add extra tests 2025-09-04 03:57:03 +12:00
Matej Bačo
10cfc15904 Add set-cookie tests 2025-09-03 17:49:10 +02:00
ArnabChatterjee20k
fdeb8c48c5 added permission upsert test 2025-09-03 19:53:20 +05:30
ArnabChatterjee20k
b7a0f53994 updated tests 2025-09-03 19:43:33 +05:30
ArnabChatterjee20k
a2e9ee73dc bulk upsert support 2025-09-03 19:36:24 +05:30
ArnabChatterjee20k
0d77a33cf1 updated update endpoint to spatial appwrite validator 2025-09-03 00:40:04 +05:30
ArnabChatterjee20k
22b797165a Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-02 23:07:32 +05:30
ArnabChatterjee20k
b01f146b1c Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-02 23:04:12 +05:30
ArnabChatterjee20k
8f7085ccfc pr followups 2025-09-02 23:00:31 +05:30
Jake Barnby
00f91c444c
Fix tests 2025-09-03 04:55:31 +12:00
Jake Barnby
2202dc9747
Handle intra-transactional ops with state tracking 2025-09-03 04:29:42 +12:00
Jake Barnby
5528e9964b
Updates tests 2025-09-03 03:53:08 +12:00
Jake Barnby
7861ee8cbd
Add transaction scopes to test keys 2025-09-03 03:42:44 +12:00
ArnabChatterjee20k
1112058689 pr followups 2025-09-02 18:07:34 +05:30
ArnabChatterjee20k
cfe9b34cd5 updated pr followups 2025-09-02 17:33:30 +05:30
Jake Barnby
f836fbeba5
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
#	src/Appwrite/Utopia/Response.php
2025-09-02 23:31:47 +12:00
Matej Bačo
b1c1acf36b Finish refactor for internal select queries 2025-09-02 11:16:47 +02:00
Matej Bačo
31b8e3361d Merge branch '1.8.x' into feat-select-queries-on-deployments 2025-09-02 11:03:20 +02:00
Jake Barnby
6e5fe9c33f
Check verison 2025-09-01 22:41:30 +12:00
Jake Barnby
fb8270733e
Allow running tests with specific response format 2025-09-01 22:09:30 +12:00
Jake Barnby
8834163c91
Fix tests 2025-08-29 21:01:09 +12:00
Jake Barnby
57071af3e8
Handle privileged 2025-08-29 20:38:55 +12:00
Jake Barnby
f0c10acbb4
Fix readonly attr stripping on write 2025-08-29 19:30:59 +12:00
ArnabChatterjee20k
7360dd68e0 updated tests 2025-08-27 17:41:52 +05:30
Chirag Aggarwal
ee292d04a6 delete execution 2025-08-27 17:32:21 +05:30
Chirag Aggarwal
a2eec2eac6 fix: 201 2025-08-27 17:30:24 +05:30
Chirag Aggarwal
f4ea5fad4a add test case 2025-08-27 17:22:08 +05:30
ArnabChatterjee20k
ba0d334f80 Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-08-27 17:00:28 +05:30
ArnabChatterjee20k
0e343125b7 updated graphql queries 2025-08-27 16:35:55 +05:30
ArnabChatterjee20k
7a4929a51f added update and default cases for the spatial attributes endpoints 2025-08-27 16:30:25 +05:30
Matej Bačo
f2dd03e597 Add request to filters, to allow deployment model to respect select queries 2025-08-27 11:20:14 +02:00
Khushboo Verma
a81d980334 Resolve merge conflicts 2025-08-27 12:54:22 +05:30
Khushboo Verma
bca1996d99 Merge branch '1.7.x' into feat-extend-function-headers 2025-08-27 12:40:09 +05:30
Khushboo Verma
c087449725 Fix schedule execution test 2025-08-27 12:39:38 +05:30
Khushboo Verma
2d497cbdd5
Merge branch '1.8.x' into feat-add-execution-and-log-response-headers 2025-08-27 11:58:18 +05:30
Jake Barnby
9b453e79ac
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php
2025-08-27 16:30:11 +12:00
Jake Barnby
76db65583d
Fix GQL test 2025-08-27 15:21:23 +12:00
copilot-swe-agent[bot]
6763b8ecb6 Apply sequence integer casting fix to Row.php and add test assertion
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-08-26 20:06:26 +00:00
ArnabChatterjee20k
51b01ab803 Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-08-26 21:46:43 +05:30
ArnabChatterjee20k
0aee34185a updated distance queries 2025-08-26 21:11:30 +05:30
ArnabChatterjee20k
b28ec182d7 added spatial index tests 2025-08-26 20:54:55 +05:30
Matej Bačo
cdd85c0b16 PR review changes 2025-08-26 15:51:24 +02:00
Matej Bačo
2ce0f370dc PR review changes 2025-08-26 15:44:15 +02:00
Matej Bačo
a413235f8d add new tests 2025-08-26 15:29:11 +02:00
Khushboo Verma
aac98b2ec7 Update function domain test 2025-08-26 18:56:26 +05:30
Khushboo Verma
8df305576c Add execution id and log id to response headers 2025-08-26 18:34:43 +05:30
ArnabChatterjee20k
3755d58d62 added tests for bulk operation 2025-08-26 17:07:20 +05:30
ArnabChatterjee20k
a80c410d07 added relationship tests for the spatial type attributes 2025-08-26 16:15:26 +05:30
Matej Bačo
afc0a908ef Add new tests 2025-08-26 12:34:14 +02:00
Matej Bačo
01ea91dd97 fix tests 2025-08-26 12:26:38 +02:00
ArnabChatterjee20k
b01fc7c38f added spatial query testing 2025-08-26 15:33:26 +05:30
Khushboo Verma
1458505201 Address PR comments 2025-08-26 12:55:51 +05:30
Khushboo Verma
2876fad322 Merge branch '1.7.x' into feat-extend-function-headers 2025-08-25 12:50:59 +05:30
Jake Barnby
04f7def624
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-08-25 16:05:57 +12:00
fogelito
ad96379623 Restrict array list 2025-08-24 18:09:38 +03:00
fogelito
959db2ea02 Restrict array list 2025-08-24 18:08:12 +03:00
fogelito
ba79dda788 Check no change 2025-08-24 17:39:29 +03:00
fogelito
d2dedf97bb Run tests 2025-08-24 11:48:15 +03:00
fogelito
c7a769274e Fix nothing was updated 2025-08-24 11:33:10 +03:00
Jake Barnby
5bbb806c02
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x 2025-08-23 11:04:35 +12:00
Steven Nguyen
4a6a8053c4
Merge pull request #10329 from appwrite/fix-token-expiry
fix - incorrect file token expiry
2025-08-22 15:32:43 -07:00
Matej Bačo
011a9cb7a3 Fix tests 2025-08-22 11:31:14 +02:00
Matej Bačo
ebf48655a0 Formatting fix 2025-08-22 11:16:18 +02:00
Matej Bačo
d7159ef483 Add deploymentId to execution response model 2025-08-22 11:11:37 +02:00
ArnabChatterjee20k
afba5583bb added server and client test for create , update and delete 2025-08-22 12:47:35 +05:30
Evan
6225ad680e
Merge branch '1.7.x' into fix-token-expiry 2025-08-21 11:04:30 -07:00
Evan
0371e488e9 test fix/lint 2025-08-21 11:02:53 -07:00
Cursor Agent
e6e7a728a0 Enhance token JWT validation in TokensConsoleClientTest with comprehensive checks
Co-authored-by: evanleair <evanleair@gmail.com>
2025-08-21 16:10:06 +00:00
Jake Barnby
557bffb350
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-08-22 00:35:12 +12:00
Matej Bačo
669844ba28 Add cookie test for site execution 2025-08-21 13:27:55 +02:00
Khushboo Verma
10eed78b73 Test truncation in one test 2025-08-21 14:32:48 +05:30
Khushboo Verma
bc47ac7caa Truncate logs and errors from beginning 2025-08-21 12:49:31 +05:30
Evan
2beb6ba0cf
Update tests/e2e/Services/Tokens/TokensConsoleClientTest.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2025-08-20 12:51:25 -07:00
Jake Barnby
842dce2659
Update tablesDb -> tablesDB 2025-08-21 02:20:05 +12:00
Khushboo Verma
1bd6b6452c Fix PR changes 2025-08-20 18:53:55 +05:30
Khushboo Verma
ed16808930 Add executionId and client IP to execution headers 2025-08-20 16:35:40 +05:30
Jake Barnby
1505696d9c
Increase wait timeout 2025-08-20 21:55:44 +12:00
Jake Barnby
3286b1283d
Fix tests 2025-08-20 18:21:37 +12:00
Matej Bačo
52af439cac Fix backwards comptibility 2025-08-19 16:43:31 +02:00
Jake Barnby
b965d1077c
More fix namespace 2025-08-20 01:41:46 +12:00
Jake Barnby
14f8f9af4e
Fix namespace 2025-08-20 01:39:18 +12:00
Jake Barnby
a53be858a8
Fix email gql 2025-08-20 01:33:01 +12:00
Matej Bačo
6f5d038340 adjust tests to new domain validator 2025-08-19 14:42:41 +02:00
Jake Barnby
f27ac986fa
Fix un-fixed ref 2025-08-19 23:14:36 +12:00
Jake Barnby
6f170fdb6d
Fix static user refs 2025-08-19 23:13:47 +12:00
Jake Barnby
64fd27ee06
Fix tablesDB GQL payloads for DB resource 2025-08-19 23:03:36 +12:00
Jake Barnby
6d2832831c
Remove weird static/const mix 2025-08-19 23:03:18 +12:00
Jake Barnby
c9641f72a8
Remove invalid test 2025-08-19 23:02:17 +12:00
Jake Barnby
c323435dad
Remove filter 2025-08-19 22:09:30 +12:00
Jake Barnby
42d6a7b00d
Fix hardcoded collectionId 2025-08-19 20:08:13 +12:00
Evan
9f548af7dd
Merge branch '1.7.x' into fix-token-expiry 2025-08-18 16:55:28 -07:00
Evan
3ed5699876 Better jwt handling and tests 2025-08-18 10:57:15 -07:00
Evan
f5f6ec71de Address stnguyen90 feedback: simplify JWT logic and fix test expectations
- Remove excessive logic and 1-minute expiration hack as requested
- Simplify token expiry handling to directly use existing  value
- Remove problematic test that creates tokens with past expiry dates
- Update existing test to properly verify JWT expiration behavior
- Use proper base64url decoding for JWT payload testing
2025-08-18 09:39:19 -07:00
Jake Barnby
e58091d86b
Fix tests 2025-08-19 03:16:55 +12:00
Jake Barnby
d3d669e539
Test fixes 2025-08-19 02:57:52 +12:00
Jake Barnby
68bf4a6f44
Fix usage 2025-08-19 01:50:32 +12:00
Jake Barnby
c1e37b9130
Fix dangling tests 2025-08-19 01:24:51 +12:00