Commit graph

115 commits

Author SHA1 Message Date
fogelito
b2aa2cc247 typo 2026-02-12 16:36:37 +02:00
fogelito
5756b58d4d $tableId 2026-02-12 15:59:34 +02:00
fogelito
2cb98a87c8 tablesdb 2026-02-12 15:58:39 +02:00
fogelito
db6a3342c0 fix tests 2026-02-12 15:52:39 +02:00
Jake Barnby
4f7337759f Expose row bytes used/bytes free on table/collection 2026-02-05 22:53:04 +13:00
Jake Barnby
413a91bd0a Lint 2026-02-03 22:33:51 +13:00
Jake Barnby
23c3496a63 Add missing model map 2026-02-03 22:30:02 +13:00
Jake Barnby
c9aac86a6b Merge remote-tracking branch 'origin/1.8.x' into feat-string-types
# Conflicts:
#	composer.lock
2026-01-30 02:07:33 +13:00
premtsd-code
71670f8169
Merge branch '1.8.x' into fix-10612-validate-relationship-document-id 2026-01-28 11:17:50 +00:00
Prem Palanisamy
7f3ea98924 refactor: use array_is_list() and assertEventually helper 2026-01-27 13:00:29 +00:00
Prem Palanisamy
63e6a51af1 test: add assertion for relationship column polling 2026-01-26 15:45:42 +00:00
Prem Palanisamy
1ee2539ce0 fix: generate unique ID before validation per coderabbit suggestion 2026-01-26 15:45:42 +00:00
Prem Palanisamy
aed9816d1e fix: validate relationship document ID 2026-01-26 13:48:32 +00:00
Jake Barnby
046a7cd90e test: skip update tests pending utopia-php/database fix
The updateAttribute method in utopia-php/database does not yet support
VARCHAR, TEXT, MEDIUMTEXT, and LONGTEXT types. These tests are skipped
until the upstream library adds support for updating these attribute types.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 06:15:21 +13:00
Jake Barnby
c42fbc49f5 fix: remove max-size varchar test that exceeds row width limit
The test tried to create multiple VARCHAR attributes in the same
collection, including a 16381-character varchar. The cumulative
row width exceeded MariaDB's 65535 byte row limit, causing the
test to fail with a 400 error.

Calculation: 1067 (base) + 1021 (255*4+1) + 401 (100*4+1) + 201
(50*4+1) + 20 (array) + 65526 (16381*4+2) = 68236 bytes > 65535

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 04:25:06 +13:00
Jake Barnby
60a0b663b9 Add tests 2026-01-23 01:51:52 +13:00
Jake Barnby
2cfb5ecfd9 Reapply "Merge pull request #11130 from appwrite/feat-auth-instance"
This reverts commit 38687bc24e.
2026-01-15 04:08:00 +13:00
Jake Barnby
38687bc24e Revert "Merge pull request #11130 from appwrite/feat-auth-instance"
This reverts commit c12cad80bb, reversing
changes made to 2a17429226.

# Conflicts:
#	composer.lock
2026-01-15 03:48:42 +13:00
Jake Barnby
5c915ef92f Reapply "Merge pull request #11099 from appwrite/feat-auth-instance"
This reverts commit 321fc8ee70.
2026-01-14 19:07:49 +13:00
Jake Barnby
321fc8ee70 Revert "Merge pull request #11099 from appwrite/feat-auth-instance"
This reverts commit a4734a5de7, reversing
changes made to 15922fb88c.

# Conflicts:
#	composer.lock
2026-01-14 02:37:17 +13:00
Jake Barnby
7573ee75a2 Use authorization instance 2026-01-07 20:04:28 +13:00
Darshan
16f9c35850 update: tests. 2026-01-04 12:09:11 +05:30
Jake Barnby
dc85d44647
Revert "Refactor auth single instance" 2025-12-20 02:54:50 +13:00
Jake Barnby
13f4aa9a80 Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init/resources.php
#	composer.lock
#	src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
#	src/Appwrite/Platform/Workers/Migrations.php
2025-12-18 18:17:41 +13:00
ArnabChatterjee20k
70395cfacc added tableid and collectionid in increment and decrement 2025-12-13 23:43:51 +05:30
Darshan
ef5f0ed6b4 update: to use placeholders. 2025-12-11 15:26:45 +05:30
Jake Barnby
aec7f27ce4 Fix tests 2025-12-08 23:20:40 +13:00
shimon
4ad249f918 Revert "Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance""
This reverts commit 8765d5650a.
2025-11-26 12:05:12 +02:00
Jake Barnby
8765d5650a Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance"
This reverts commit 919b01a1b1, reversing
changes made to deb5039352.
2025-11-19 16:21:06 +13:00
Jake Barnby
6274d5a3e4
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-14 05:21:40 +00:00
Jake Barnby
ab90563989 Fix tests 2025-11-14 17:31:17 +13:00
Jake Barnby
2ab36f4cd6 Use helper for tests 2025-11-14 16:40:00 +13:00
Jake Barnby
46d785bbb8 Fix tests 2025-11-12 21:04:17 +13:00
Jake Barnby
353e84bb74 Fix keys 2025-11-11 21:10:11 +13:00
Jake Barnby
74ff9a955b Fix transactions + operators 2025-11-11 20:20:08 +13:00
Shimon Newman
30f4b846d2
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-03 09:21:13 +02:00
Jake Barnby
600da2a504 Add operator support 2025-10-31 11:47:20 +13:00
Shimon Newman
d38399dcc0
Merge branch '1.8.x' into refactor-auth-single-instance 2025-10-29 20:38:04 +02:00
shimon
a7dbb3daea Refactor API parameters to replace 'includeTotal' with 'total' across multiple endpoints for consistency in response handling. 2025-10-29 11:08:08 +02:00
shimon
9e79d883a0 Refactor authorization retrieval in realtime and update imports in migration files; clean up whitespace in tests 2025-10-28 14:16:26 +02:00
shimon
cc6319a2c7 singletone fix 2025-10-28 11:09:20 +02:00
shimon
33f88fa5e0 Refactor authorization handling across multiple modules to use the new getAuthorization() method. Update CHANGES.md to reflect the change in usage worker authorization. Adjust composer.json to specify the correct version for utopia-php/database. Update plugin-api-version in composer.lock. 2025-10-22 16:35:48 +03:00
shimon
5f3316ff18 fix assertion order 2025-10-20 18:38:14 +03:00
shimon
9be7f4d72c Merge remote-tracking branch 'origin/feat-disable-count' into feat-disable-count 2025-10-20 18:28:14 +03:00
shimon
fb4e3e1b9d Implement 'includeTotal' parameter across multiple API endpoints to control total count in responses, ensuring consistent behavior in session, log, and membership retrievals. 2025-10-20 18:18:17 +03:00
Jake Barnby
94d02aff4f
Fix DB tests 2025-10-21 01:24:50 +13:00
Jake Barnby
7512a0db6b
Fix cross-API compat 2025-10-10 17:27:09 +13:00
Jake Barnby
bf589f7485
Fix client side 2025-10-10 02:16:58 +13:00
Jake Barnby
8193f0fcac
Ensure create/upsert stores in state by generated ID not unique string 2025-10-09 16:24:25 +13:00
Jake Barnby
3d3f50064d
Force set state on increment 2025-10-09 15:50:18 +13:00