Commit graph

639 commits

Author SHA1 Message Date
Jake Barnby
bc778f507d
Update to sequence 2025-05-23 22:51:20 +12:00
Jake Barnby
7861cb7c49
Merge branch 'feat-expose-sequence' into feat/auto-increment 2025-05-23 10:45:47 +00:00
Darshan
a413a613f5
Merge branch 'main' into feat-sequence 2025-05-23 15:35:39 +05:30
ArnabChatterjee20k
e586afceb7 updates 2025-05-23 14:11:57 +05:30
ArnabChatterjee20k
73764941b6 updated tests and collection method 2025-05-23 13:23:33 +05:30
ArnabChatterjee20k
02426df1ca linting 2025-05-23 12:53:10 +05:30
ArnabChatterjee20k
1d0577b07d added encrypt to the get and list atttributes 2025-05-23 12:51:59 +05:30
ArnabChatterjee20k
1a4a10400b added test for the encrypted string in the server 2025-05-23 12:12:23 +05:30
ArnabChatterjee20k
0cccb75273 added encrypt property in the attribute string response model 2025-05-23 12:05:42 +05:30
ArnabChatterjee20k
70f7f71a95 Merge branch 'main' into feat/auto-increment 2025-05-22 23:56:40 +05:30
Jake Barnby
71e3446498
Change internal ID to sequence 2025-05-23 02:55:29 +12:00
ArnabChatterjee20k
8796670c66 reverted test 2025-05-21 13:19:07 +05:30
ArnabChatterjee20k
9fa6deae61 reverted the tests and updated the plan checking condition 2025-05-21 13:14:22 +05:30
Jake Barnby
20f2cbffda
Merge pull request #9811 from ArnabChatterjee20k/upsert-single-document-route
Upsert single document route
2025-05-21 19:29:31 +12:00
ArnabChatterjee20k
43aae24132 updated tests for the custom server test 2025-05-21 11:38:34 +05:30
ArnabChatterjee20k
f534b9e460 added checking for encrypt and plan allowing encryption of string attribute 2025-05-21 11:00:01 +05:30
ArnabChatterjee20k
80e842444b updated test for upsertion 2025-05-20 14:28:16 +05:30
ArnabChatterjee20k
b5d31d1b76 updated the upsert test for the relationship 2025-05-20 12:11:41 +05:30
ArnabChatterjee20k
559b6024bc linting 2025-05-19 16:00:38 +05:30
ArnabChatterjee20k
256aa684a2 updated tests 2025-05-19 15:59:38 +05:30
ArnabChatterjee20k
08478b8d39 removed document existence check for the document id
updated labels
added tests for upserts
2025-05-19 13:56:11 +05:30
Matej Bačo
ac6450c726 Merge branch '1.6.x' into 1.7.x 2025-05-15 18:03:15 +02:00
ArnabChatterjee20k
9055645d06 updated test for the array attribute index overriding 2025-05-13 18:21:34 +05:30
arnab
cd806e80d7 updated tests and validations 2025-05-13 15:39:13 +05:30
Matej Bačo
af0c872999 Merge branch '1.6.x' into 1.7.x 2025-05-13 10:11:39 +02:00
arnab
a970512e3c added length param, response model, e2e test 2025-05-13 10:35:04 +05:30
Darshan
6bdfe3b895 address naming comments. 2025-05-10 11:34:20 +05:30
Darshan
5dca1ff0d6 update: fix test variable. 2025-05-10 10:36:16 +05:30
Darshan
a067b77e90 update: model; add|update: graphql tests [wip]. 2025-05-09 20:04:02 +05:30
Darshan
f16ba8dee3 add: table api tests. 2025-05-09 17:25:36 +05:30
Darshan
c5074fd52f update: move around tests. 2025-05-08 19:53:31 +05:30
Jake Barnby
540102ff97
Explicitly catch exceptions 2025-05-08 18:10:26 +12:00
Jake Barnby
c3f0bec1ff
Validate nested internals 2025-05-08 18:09:37 +12:00
Jake Barnby
eaa105477a
Fix tests for permissions/relationships updates 2025-05-08 17:17:02 +12:00
Jake Barnby
be7ea1f798
Add bulk upsert route 2025-05-08 02:49:02 +12:00
Jake Barnby
05821c2993
Fix conditional 2025-05-07 15:46:17 +12:00
Jake Barnby
41ecccda1e
Revert "Fix tests for model changes"
This reverts commit f5d243e229.

# Conflicts:
#	app/controllers/api/databases.php
2025-05-07 15:45:46 +12:00
Jake Barnby
f5d243e229
Fix tests for model changes 2025-05-07 15:14:05 +12:00
Darshan
7a52ace9b2 update: attributes <> columns errors. 2025-05-06 16:53:20 +05:30
Darshan
6e8dbfc674 update: documents <> rows errors. 2025-05-06 16:48:20 +05:30
Darshan
59e5ce0664 update: collections <> tables errors. 2025-05-06 16:44:19 +05:30
Jake Barnby
af09f17e02
Max 1 operation 2025-05-06 22:05:59 +12:00
Darshan
9ec897f7d6 fix: filtering 2025-05-06 12:05:06 +05:30
Darshan
9e1105b61f update: tests. 2025-05-06 11:29:56 +05:30
Jake Barnby
66a40eb175
AI review fixes 2025-05-06 02:21:45 +12:00
Jake Barnby
2f091a1fab
Fix permissions set 2025-05-05 21:45:30 +12:00
Darshan
75c9db8031 update: tests to use the 1.7.x changes on databases. 2025-05-05 14:07:34 +05:30
Jake Barnby
808f338c7c
Fix all bulk/relationship tests 2025-05-05 17:20:24 +12:00
Jake Barnby
1f08344c8d
Fix update test 2025-05-05 17:01:05 +12:00
Jake Barnby
384e606503
Fix bulk update relationship test 2025-05-05 16:52:06 +12:00
ArnabChatterjee20k
7750ada4d8 * exposed internal id as a part of auto increment id
* updated test cases regarding internal id
2025-05-01 18:55:04 +05:30
Jake Barnby
453bb8ab70
Update tests for changes 2025-04-30 12:09:13 +12:00
Jake Barnby
2238f6d822
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.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.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	composer.lock
#	src/Appwrite/Specification/Format/Swagger2.php
2025-04-30 10:45:18 +12:00
Darshan
21715448ac fix|update: database tests for new error messages. 2025-04-26 16:07:32 +05:30
Matej Bačo
d8103cb57e Merge branch '1.7.x' into 1.6.x 2025-04-25 12:18:04 +02:00
arnab
e6e28f32ff added comments for test case 2025-04-17 14:59:37 +05:30
arnab
fb6ec704a1 test case added 2025-04-17 14:44:59 +05:30
Jake Barnby
cd72d70432
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations 2025-04-17 17:09:51 +12:00
Jake Barnby
b9e8c1d8bc
Skip server console test 2025-04-16 13:07:11 +12:00
Jake Barnby
94f9d0140b
Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.x-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/init.php
#	composer.json
#	composer.lock
2025-03-17 20:44:08 +13:00
Chirag Aggarwal
3e9e0652b0
Merge branch '1.6.x' into feat-development-keys 2025-03-05 15:10:13 +05:30
Jake Barnby
99377e26ee
Reset fixes 2025-03-05 15:09:06 +13:00
Jake Barnby
a5c4fe0a2d
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# 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
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
#	docs/references/databases/create-document.md
2025-03-05 12:44:39 +13:00
Chirag Aggarwal
c79ed286b1 chore: update tests 2025-02-26 17:35:06 +00:00
Chirag Aggarwal
431eea2787 Merge branch '1.6.x' into feat-development-keys 2025-02-21 09:24:04 +00:00
Chirag Aggarwal
c660b9d858 chore: fix tests 2025-02-20 14:56:23 +00:00
Chirag Aggarwal
f9cc7882aa chore: fix tests 2025-02-20 14:43:21 +00:00
Chirag Aggarwal
077fe10d80 chore: fix tests 2025-02-20 14:12:14 +00:00
Chirag Aggarwal
b0ced9b351 chore: updated tests 2025-02-20 13:37:13 +00:00
Chirag Aggarwal
ccb7dfa839 chore: added test cases 2025-02-20 11:15:05 +00:00
Chirag Aggarwal
9ebb4b9626
Merge branch '1.6.x' into pla-2428 2025-02-14 09:04:30 +05:30
Chirag Aggarwal
e59d95a108 Merge branch '1.6.x' into feat-development-keys 2025-02-13 18:25:39 +00:00
fogelito
e4ae0d463d assertStringContainsString 2025-02-13 11:37:12 +02:00
fogelito
8778e2e666 lint 2025-02-13 11:35:16 +02:00
fogelito
8f212ccd30 in_array 2025-02-13 11:24:13 +02:00
fogelito
e8a306253b Fix test 2025-02-13 11:22:40 +02:00
fogelito
6abf8ce727 Fix index length test 2025-02-13 10:44:27 +02:00
fogelito
8c3a243a5d Typo 2025-02-10 15:40:45 +02:00
fogelito
7a8688932c Add test 2025-02-10 15:40:21 +02:00
Jake Barnby
386c6076b2
Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	composer.json
#	composer.lock
2025-02-05 01:52:35 +13:00
Chirag Aggarwal
deb556242e chore: update test 2025-02-04 08:35:26 +00:00
Chirag Aggarwal
1e71eb84c4 chore: added devkeys to account and database tests 2025-01-29 04:25:52 +00:00
Darshan
00a2413366 fix: tests due to additional response vars. 2025-01-23 19:17:20 +05:30
Bradley Schofield
8fb7a2db32 Merge branch '1.6.x' into feat-bulk-operations
# 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
#	app/controllers/api/functions.php
#	app/controllers/api/migrations.php
#	app/controllers/api/projects.php
#	app/controllers/api/proxy.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	app/controllers/api/vcs.php
#	composer.json
#	composer.lock
#	docs/references/account/create-push-target.md
#	docs/references/account/delete-push-target.md
#	docs/references/account/update-push-target.md
#	src/Appwrite/SDK/Method.php
#	src/Appwrite/Specification/Format/OpenAPI3.php
#	src/Appwrite/Specification/Format/Swagger2.php
2025-01-23 11:19:20 +09:00
Bradley Schofield
f707be6ed3 Add extra tests 2024-12-04 09:13:08 +09:00
Bradley Schofield
bcb4ffa404 Fix Tests 2024-12-03 17:39:25 +09:00
Bradley Schofield
c0d4b58eea Merge branch 'feat-bulk-operations' into feat-bulk-create
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesCustomClientTest.php
2024-12-03 17:06:35 +09:00
Bradley Schofield
e2ab6a05ab Fix permissions and accompanying tests 2024-12-03 16:40:03 +09:00
Bradley Schofield
3d4917727b Address Comments 2024-12-03 15:14:07 +09:00
Bradley Schofield
c47f65d27c
Merge remote-tracking branch 'origin/feat-bulk-operations' into feat-bulk-updates 2024-12-03 05:03:02 +00:00
Bradley Schofield
e1fffa775e Fix Tests 2024-11-25 15:23:22 +09:00
Bradley Schofield
67b95c4b39 Update API Signature to DB Lib and get realtime/events working 2024-11-22 11:07:05 +09:00
Bradley Schofield
791f0dda79 Update to use new DB Lib and get realtime working 2024-11-22 10:43:45 +09:00
Christy Jacob
f490d4edaf
Merge pull request #8797 from appwrite/feat-migration
Feat migration
# Conflicts:
#	composer.lock
2024-11-21 14:08:20 +13:00
Bradley Schofield
dd6bd745df Address Comments, fix permission bug 2024-11-13 13:41:18 +09:00
Bradley Schofield
a8f3b63ded Add Tests for Relationships and Permissions, Update error messages to be a little clearer 2024-11-13 10:00:40 +09:00
Bradley Schofield
6faad29907 Initial Version 2024-11-12 10:20:46 +09:00
Bradley Schofield
44234da995 Implement Bulk Updates API 2024-11-11 15:27:26 +09:00
Christy Jacob
b1a1ad618a
Revert "Update database" 2024-11-09 01:01:14 +04:00
Jake Barnby
78c4bb395c
Fix test 2024-11-08 21:59:42 +13:00
Bradley Schofield
5bf20289a5 Address Comments 2024-11-08 16:17:29 +09:00
Bradley Schofield
95861d068d Fix Tests 2024-11-07 13:14:15 +09:00
Bradley Schofield
86053e9028 Implement Bulk Deletes API 2024-11-07 12:30:17 +09:00
Jake Barnby
f6658c4f5a
Merge remote-tracking branch 'origin/1.6.x' into check-cursor-value 2024-10-17 18:32:11 +13:00
Jake Barnby
16d65f32b3
Review fixes 2024-10-16 21:35:32 +13:00
fogelito
7a64987da7 Fix message 2024-10-15 17:25:10 +03:00
fogelito
c9e2be0e08 Fix failing test 2024-10-15 16:35:26 +03:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
Bradley Schofield
82687c8ca4 Merge branch 'main' into 1.5.x-db-storage-metrics
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	app/controllers/api/project.php
#	src/Appwrite/Utopia/Response/Model/UsageProject.php
#	tests/e2e/General/UsageTest.php
2024-09-19 15:37:27 +09:00
Jake Barnby
e73053d5b2
Merge remote-tracking branch 'origin/1.6.x' into 1.6.1 2024-09-06 22:26:01 +12:00
Jake Barnby
24746de9ba
Merge remote-tracking branch 'origin/1.6.1' into feat-renaming-attributes
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
2024-09-05 15:31:04 +12:00
Jake Barnby
501e7c2fa0
Add assertion 2024-09-05 14:28:15 +12:00
Bradley Schofield
627cbe285f Address Comments 2024-08-30 19:18:45 +09:00
Bradley Schofield
36c9749098 Add Tests 2024-08-30 18:50:42 +09:00
Bradley Schofield
8770638d71 Implement Renaming Attributes in the API 2024-08-16 15:18:52 +09:00
Bradley Schofield
519a444617 Update Tests 2024-07-18 16:47:18 +09:00
Damodar Lohani
d33048b792 adding 10 rows 2024-06-24 05:58:29 +00:00
fogelito
661329b977 Invalid cursor value 2024-05-09 19:54:28 +03:00
Damodar Lohani
729db1aa17 fix date format 2024-05-09 03:08:27 +00:00
Damodar Lohani
5105d07bbf Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-tests-for-cl-1 2024-05-08 06:09:46 +00:00
Damodar Lohani
b27f70ee81 ignore few tests 2024-05-08 06:08:23 +00:00
Jake Barnby
0e9838d290
Remove logging and test files 2024-05-07 15:48:20 +12:00
Jake Barnby
b2e956a14d
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-isolation-modes
# Conflicts:
#	.gitignore
#	app/cli.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init.php
#	app/realtime.php
#	app/worker.php
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/DeleteOrphanedProjects.php
#	src/Appwrite/Platform/Tasks/GetMigrationStats.php
#	src/Appwrite/Platform/Workers/Databases.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Platform/Workers/Hamster.php
#	tests/e2e/General/HTTPTest.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2024-04-30 19:40:47 +12:00
Jake Barnby
aeea5e8328
Merge pull request #7341 from appwrite/collection-not-found
databases.php collection not found
2024-04-29 21:04:31 +12:00
Jake Barnby
ab7a5f4575
Fix test 2024-04-29 19:07:16 +12:00
Matej Bačo
9616de7576 Merge branch 'main' into refactor-usage-sn-1.5.x 2024-04-26 13:11:21 +02:00
Jake Barnby
476074cc5b
Add test 2024-04-23 15:20:25 +12:00
fogelito
e15afe65c0 Fix error 2024-04-18 11:33:17 +03:00
fogelito
6c92962468 composer.lock 2024-04-18 11:29:57 +03:00
fogelito
0e8bc6b4b4 Fix bad copy 2024-04-18 11:25:03 +03:00
fogelito
a7318fdf8b Chnage message 2024-04-18 09:26:11 +03:00
fogelito
84ffc95773 Revert 2024-04-09 18:25:49 +03:00
fogelito
f73f8c9ae1 Move test tp base 2024-04-09 18:24:01 +03:00
fogelito
d74504c837 formatting 2024-04-09 17:59:32 +03:00
fogelito
2bbff0e0b6 Disable console project 2024-04-09 17:45:16 +03:00
Matej Bačo
d091b37a15 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +02:00
fogelito
88ba765953 tests serviceStatusForDatabases 2024-03-24 09:54:24 +02:00
fogelito
b7103e9462 tests serviceStatusForDatabases 2024-03-21 22:59:09 +02:00
fogelito
cdb521a311 Try to reproduce 2024-03-21 22:23:19 +02:00
fogelito
d1be965e8c disable serviceStatusForDatabases 2024-03-21 22:20:39 +02:00
Damodar Lohani
b409efc492 fix path 2024-03-10 08:01:10 +00:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Jake Barnby
74a3d6531f
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-isolation-modes
# Conflicts:
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/CalcTierStats.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2024-03-04 19:50:10 +01:00
Damodar Lohani
5f4970befd fix path 2024-03-04 12:49:56 +00:00
Damodar Lohani
86dc85f3a4 fix file path 2024-03-04 12:17:35 +00:00
Jake Barnby
44ec1502f0
Merge remote-tracking branch 'origin/main' into 1.5.x 2024-02-26 18:35:25 +13:00
Utkarsh Ahuja
faeb9aa8d4 tests: internal id in query select 2024-02-25 14:22:12 +00:00
fogelito
03ce64d41a Merge branch '1.5.x' of github.com:appwrite/appwrite into twoWayKey-2
 Conflicts:
	composer.lock
2024-02-25 11:01:08 +02:00
Jake Barnby
957f08a3ef
Fix max int test 2024-02-24 01:55:00 +13:00
loks0n
b76771a8b4 fix: tests 2024-02-20 12:41:49 +00:00
fogelito
796e44a1ed Merge branch '1.5.x' of github.com:appwrite/appwrite into twoWayKey-2 2024-02-13 11:46:33 +02:00
fogelito
6c064430fb Merge branch '1.5.x' of github.com:appwrite/appwrite into json_syntax_error 2024-02-12 17:41:42 +02:00
fogelito
103fec1664 parseQueries 2024-02-08 18:10:25 +02:00
fogelito
98a6b96af9 Hardcode size and orders 2024-02-08 15:01:20 +02:00
fogelito
a782e20315 Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
 Conflicts:
	app/controllers/api/account.php
	composer.json
	composer.lock
	src/Appwrite/Platform/Tasks/CalcTierStats.php
	tests/e2e/Services/Account/AccountBase.php
2024-01-25 17:44:05 +02:00
Bradley Schofield
2b31c76918 Update DatabasesBase.php 2024-01-25 10:04:41 +00:00
Torsten Dittmann
80193175f1 test: fix database validator descriptions 2024-01-24 15:56:43 +01:00
fogelito
667abce8f5 Create indexes & query contains 2024-01-21 18:22:02 +02:00
fogelito
3689435176 Arrays tests 2024-01-21 10:10:18 +02:00
Jake Barnby
51b2019ab6
Merge remote-tracking branch 'origin/1.5.x' into json-parsing
# Conflicts:
#	composer.lock
2024-01-09 13:56:01 +13:00
shimon
99f1543f1b Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	Dockerfile
	app/console
	app/init.php
	composer.lock
	src/Appwrite/Platform/Services/Workers.php
	src/Appwrite/Platform/Tasks/Hamster.php
2024-01-02 11:49:23 +02:00
fogelito
dc203a494e Syntax change 2023-12-20 12:55:09 +02:00
Jake Barnby
121521d7c5
Merge remote-tracking branch 'origin/1.5.x' into json-parsing
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Tasks/DeleteOrphanedProjects.php
#	src/Appwrite/Platform/Tasks/Hamster.php
2023-12-15 18:22:08 +13:00
fogelito
310baef77f $queries to String 2023-12-10 20:05:33 +01:00
Christy Jacob
28d00668bd fix: failing tests 2023-12-09 00:48:34 +01:00
Christy Jacob
aa7d1a87f4 fix: failing tests 2023-12-09 00:27:35 +01:00
fogelito
630debdb84 Test 2023-12-06 19:07:29 +01:00
fogelito
cc81553cc5 orQueriesTest 2023-12-06 18:19:11 +01:00
Jake Barnby
c1f10b06a3
Fix index limit test 2023-11-28 01:34:29 +13:00
shimon
c9a4eb0a49 tests fix 2023-11-26 22:57:57 +02:00
shimon
21895e3ac0 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	app/controllers/api/storage.php
	app/init.php
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Services/Tasks.php
	src/Appwrite/Usage/Calculators/TimeSeries.php
2023-11-26 10:28:17 +02:00
Prateek Banga
ab35b75c37 fix test message 2023-11-17 20:14:55 +05:30
Prateek Banga
228b813994 fixes test case 2023-11-17 20:06:28 +05:30
fogelito
04afeb4a8d tests 2023-11-16 15:56:52 +02:00
shimon
9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
Jake Barnby
354211950f
Add timeout test 2023-10-19 17:06:57 +13:00
shimon
1036cb406d some fixes 2023-10-17 21:32:38 +03:00
shimon
039df4abb3 revert changes 2023-10-16 18:04:27 +03:00
shimon
94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
shimon
002fc19d60 tests fix 2023-10-10 21:02:24 +03:00
shimon
948f36a023 sync with 1.4 2023-10-05 16:15:39 +03:00
shimon
7f1507f810 sync with 1.4 2023-10-04 11:20:32 +03:00
Jake Barnby
efd25d6a70
Merge remote-tracking branch 'origin/feat-git-integration' into feat-framework-router-v2
# Conflicts:
#	app/controllers/api/users.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Storage/StorageBase.php
2023-08-22 17:58:42 -04:00
Jake Barnby
b48a64d1ad
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
# Conflicts:
#	app/controllers/api/functions.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Databases/DatabasesConsoleClientTest.php
2023-08-22 00:59:36 -04:00
Jake Barnby
942705b5f3
Fix database upgrade 2023-08-21 23:25:55 -04:00
shimon
8147f3ee7d rolling back usage flow 2023-08-20 15:29:43 +03:00
Jake Barnby
1e3fd5291e
Merge remote-tracking branch 'origin/cl-1.4.x' into fix-collection-disabled-mode-checks 2023-08-18 13:25:21 -04:00
Jake Barnby
a88f90dd90
Merge remote-tracking branch 'origin/1.4.x' into chore-1.4.x-upgrade
# 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
#	composer.lock
2023-08-17 19:51:36 -04:00
Jake Barnby
b6ffb385a7
Merge remote-tracking branch 'origin/cl-1.4.x' into fix-collection-disabled-mode-checks
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesConsoleClientTest.php
2023-08-16 15:55:19 -04:00
prateek banga
d6f4d76807 adds another scenario in test case 2023-08-16 14:57:50 +05:30
prateek banga
cb6760a957 removes unnecessary use statement 2023-08-14 22:02:54 +05:30
prateek banga
8e1ef812d3 resolve merge conflicts 2023-08-14 21:59:24 +05:30
Damodar Lohani
9d15f70db5 Merge remote-tracking branch 'origin/cl-1.4.x' into feat-framework-router-v2 2023-08-13 00:45:11 +00:00
Jake Barnby
7cd995ac3c
Apply suggestions from code review 2023-08-11 12:29:55 -04:00
prateek banga
29e1757364 lint fix 2023-08-11 17:28:32 +05:30
prateek banga
68736a53f9 Adds more complex test scenario 2023-08-11 17:25:34 +05:30
prateek banga
971ebbc686 fix test cases 2023-08-11 16:17:31 +05:30
Jake Barnby
6cd0e328d9
Review fixes 2023-08-10 16:44:38 -04:00
prateek banga
40047a2ed3 fix test cases 2023-08-10 20:03:02 +05:30
prateek banga
8cefc54ca3 merge resolve conflicts 2023-08-10 17:22:15 +05:30
prateek banga
983c810a45 adds assertion in test case 2023-08-10 17:18:45 +05:30
prateek banga
02d4b6b612 fix test case by adding internal attributes 2023-08-10 15:14:23 +05:30
prateek banga
185d09d764 adds more queries in tests, upgrade db library 2023-08-10 00:11:18 +05:30
Jake Barnby
d2ef51551d
Merge branch 'cl-1.4.x' into feat-add-encrypt-param 2023-08-08 23:06:14 -04:00
prateek banga
4d03610755 resolve merge conflicts 2023-08-09 03:23:45 +05:30
prateek banga
ebcb43bbad use getUser to fetch userId in test 2023-08-08 21:20:19 +05:30
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
prateek banga
fb3bab7e2e fix lint issues 2023-08-01 23:32:15 +05:30
prateek banga
40b0c081f7 remove checkPermission from Appwrite and more complex test case
This commit removes check pemission from update document in appwrite as permission is being checked by Utopia already. This commits also improves the test case to have 3 levels of depth with relationships
2023-08-01 23:29:15 +05:30
Damodar Lohani
18407ce6ff remove failing alias and alias tests 2023-07-31 05:53:27 +00:00
prateek banga
f7e96282db adds attribute for update method and makes test case to check more complex scenario 2023-07-29 12:01:10 +05:30
Jake Barnby
b615065fd2
Add tests for collection disabled 2023-07-28 11:51:11 -04:00
prateek banga
484ad8280e fixes test case assertion 2023-07-27 02:29:14 +05:30
prateek banga
e631f393fc fix lint issues and remove sleep from test 2023-07-27 02:23:20 +05:30
Prateek Banga
21bc2ae560 lint issues 2023-07-27 02:03:01 +05:30
Prateek Banga
b8b3d13f22 added test case for verifying permission issue with relations 2023-07-27 02:02:55 +05:30
Prateek Banga
a6abc7c4e8 add support of queries in list indexes 2023-07-27 01:19:48 +05:30
Prateek Banga
ead77d6cad Add support for queries in List attributes endpoint 2023-07-27 01:16:34 +05:30
Bishwajeet Parhi
f160c55ecb Chore: remove encrypt param on update Atrribute and tests as well 2023-07-26 11:25:25 +05:30
Bishwajeet Parhi
a15551368f Merge branch 'master' into feat-add-encrypt-param 2023-07-26 11:20:06 +05:30
Damodar Lohani
4fd5c72f34 Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
Prateek Banga
e1ba324196 fix formatting issues in comments according to feedback in PR. 2023-07-10 13:34:32 +05:30
Damodar Lohani
f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
Bishwajeet Parhi
f71fdfb0b9 chore: add encrypt param on update string attr + unit tests 2023-07-08 20:58:41 +05:30
Prateek Banga
a98248478f lint issues 2023-07-08 01:31:20 +05:30
Prateek Banga
4542ec34ae added test case to verify update of two way relationship 2023-07-08 01:28:24 +05:30
Bishwajeet Parhi
ed8bdc66c8 chore: fix indentation 2023-06-23 15:59:23 +05:30
Bishwajeet Parhi
ee30a3e9f4 chore: refactor tests and param positioning changes 2023-06-22 09:59:09 +05:30
Bishwajeet Parhi
09162e8880 chore: fix failing tests 2023-06-21 16:25:22 +05:30
Bishwajeet Parhi
7ce10023c0 chore: add tests and remove encrypt param on url,enum,ip,email 2023-06-21 16:15:00 +05:30
Jake Barnby
0363993f13
Fix errors 2023-06-15 17:28:35 +12:00
Bishwajeet Parhi
320579209e add new unit tests [failing] 2023-06-08 16:34:57 +05:30
Christy Jacob
44fd41d2ea Merge branch 'master' of https://github.com/appwrite/appwrite into 1.3.x 2023-05-30 16:58:22 +00:00
Jake Barnby
e44e4e7766
Merge pull request #5603 from appwrite/hotfix-route-mismatch
Update framework to fix route mismatches
2023-05-30 23:33:17 +12:00
Jake Barnby
d2bfe46fca
Set min length to 0 for default value when creating or updating a string attribute
(cherry picked from commit c61e54f69b)
2023-05-30 19:42:13 +12:00
Jake Barnby
edce3cceed
Fix tests
(cherry picked from commit 0661f1f889)
(cherry picked from commit bab804b8e1)

# Conflicts:
#	tests/e2e/Client.php
2023-05-30 19:01:46 +12:00
Jake Barnby
91c5e066ec
Update framework to fix route mismatches
(cherry picked from commit d42f6738a9)

# Conflicts:
#	composer.lock
(cherry picked from commit c2e711b021)

# Conflicts:
#	composer.json
#	composer.lock
2023-05-30 19:00:42 +12:00
Jake Barnby
bab804b8e1
Fix tests
(cherry picked from commit 0661f1f889)
2023-05-30 18:29:20 +12:00
Jake Barnby
c2e711b021
Update framework to fix route mismatches
(cherry picked from commit d42f6738a9)

# Conflicts:
#	composer.lock
2023-05-30 18:29:04 +12:00
Jake Barnby
c61e54f69b
Set min length to 0 for default value when creating or updating a string attribute 2023-05-30 14:52:59 +12:00
Jake Barnby
0372b0c590
Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php 2023-05-29 20:34:41 +12:00
Bishwajeet Parhi
729eed25e5 chore: fix formatting 2023-05-29 13:12:55 +05:30
Bishwajeet Parhi
9d1d985d0d chore: Add new unit tests 2023-05-26 17:54:35 +05:30
Bishwajeet Parhi
b0656acf9c chore: Add unitTests DatabaseConsoleClientTest 2023-05-24 23:10:12 +05:30
Bishwajeet Parhi
1a8729177f chore: formattin suggestion 2023-05-24 10:36:54 +05:30
Bishwajeet Parhi
4964b5c592
Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-05-23 13:30:48 +05:30
Bishwajeet Parhi
6e5ee27f7c
Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-05-23 13:30:39 +05:30
Bishwajeet Parhi
45f5d932f6 Add more Tests 2023-05-22 20:10:09 +05:30
Bishwajeet Parhi
7fe1f56122 chore: add more test coverage 2023-05-19 18:18:26 +05:30
Bishwajeet Parhi
40f70faa89 Feat: Add enable param in Database and Collection 2023-05-18 18:55:22 +05:30
Jake Barnby
30237ccfb1
Add test for updating existing document with relationship 2023-05-02 20:27:09 +12:00
Steven Nguyen
611dd9b86c
Return 404 if a user doesn't have access to a collection
It is better to return 404 so that an end user doesn't know if the
collection actually exists but they don't have access or they really
don't have access.
2023-04-19 17:21:41 -07:00
Jake Barnby
c7317b0468
Fix auto-setting custom ID on nested documents 2023-04-13 15:59:57 +12:00
Jake Barnby
84f4c757c3
Fix test 2023-04-11 16:21:22 +12:00
Jake Barnby
6591778f90
Fix query tests 2023-04-05 23:04:12 +12:00
Torsten Dittmann
f9adffc569 tests: add tests for cache on updating attributes 2023-03-31 14:56:38 +02:00
Jake Barnby
eb8258d548
Fix tests 2023-03-31 21:29:02 +13:00
Jake Barnby
939a0c5591
Add missing instanceof check 2023-03-31 17:56:25 +13:00
fogelito
05d7badd60 Delete related on 2 way 2023-03-30 20:36:24 +03:00
Jake Barnby
2f709a2e89
Fix test 2023-03-30 22:05:35 +13:00
Jake Barnby
ed54d9861f
Add back validation for fulltext index on search queries 2023-03-30 19:57:56 +13:00
Jake Barnby
9468c238de
Remove conflicts 2023-03-30 13:01:58 +13:00
fogelito
5aff6969db add relations into attributes collection 2023-03-29 23:31:49 +03:00
fogelito
0638fec40d related attributes call tests 2023-03-29 18:43:54 +03:00
fogelito
1af33d1af7 related attributes call tests 2023-03-29 18:34:49 +03:00
Jake Barnby
505ffc91ae
Fix existing tests 2023-03-28 22:08:36 +13:00
fogelito
18be424fc0 Test list attributes 2023-03-27 18:24:02 +03:00
Jake Barnby
948f04e71c
Lint 2023-03-27 19:26:27 +13:00
Jake Barnby
1cf25199ab
Recurse through nested documents to set collection ID 2023-03-27 19:03:00 +13:00
Jake Barnby
275c6bb3a0
Set databaseId for all nested documents 2023-03-27 15:42:36 +13:00
Jake Barnby
64ee75e80d
Revert "Extract $options on get attributes list"
This reverts commit 0ef6f32a10.
2023-03-27 12:18:47 +13:00
Jake Barnby
9ac08b496b
Merge remote-tracking branch 'origin/feat-relations-2' into feat-relations-2 2023-03-27 12:18:29 +13:00
fogelito
0ef6f32a10 Extract $options on get attributes list 2023-03-26 19:39:26 +03:00
fogelito
276b1de2b0 Disable 2 way for ManyToOne relation test 2023-03-26 16:27:07 +03:00
Jake Barnby
ac8d4fcb2a
Add relationships to attribute response model tests 2023-03-25 16:29:40 +13:00
Jake Barnby
48b018fd9d
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2 2023-03-24 20:53:41 +13:00
Jake Barnby
a48ce855c7
Move tests 2023-03-24 18:56:49 +13:00
Jake Barnby
24d1163703
Fix params 2023-03-24 16:57:56 +13:00
Jake Barnby
2775a92cdf
Add more tests 2023-03-24 16:48:50 +13:00
fogelito
e62e5c405a Select from parent and related 2023-03-23 18:34:49 +02:00
fogelito
3a7d00519f some tests assertArrayHasKey 2023-03-23 18:05:22 +02:00
fogelito
6539f15178 Fix return on test 2023-03-23 16:23:14 +02:00
fogelito
617a2c5fc8 New Queries Activation 2023-03-23 16:13:50 +02:00
fogelito
fad9ecd389 New Queries Activation 2023-03-23 16:11:02 +02:00
fogelito
969cff5e41 New Queries Activation 2023-03-23 16:08:38 +02:00
Torsten Dittmann
75b687786d chore: run formatter 2023-03-23 11:28:31 +01:00
Torsten Dittmann
010481bafc feat: change url for updating attributes 2023-03-23 11:25:40 +01:00
Jake Barnby
588d6651a2
Update tests 2023-03-23 18:34:13 +13:00
fogelito
60c54e2d10 Select Validator 2023-03-22 23:10:47 +02:00
fogelito
319698dab4 libraries 2023-03-22 19:14:41 +02:00
fogelito
34467de87d Update relationship get Attribute 2023-03-22 18:44:12 +02:00
fogelito
a824b46df0 Update relationship 2023-03-22 17:49:08 +02:00
fogelito
433b3be9ed $oneToMany tests 2023-03-21 19:52:25 +02:00
fogelito
e06e890279 query validators ignore nested 2023-03-21 14:32:05 +02:00
fogelito
a5f3af62bd Extract model options 2023-03-20 13:20:24 +02:00
fogelito
0c6f9bdb01 delete relation attribute 2023-03-19 19:31:15 +02:00
fogelito
eee29940bb Some tests 2023-03-19 19:09:17 +02:00
fogelito
038f4fc073 Some relation tests 2023-03-16 18:28:08 +02:00