Commit graph

279 commits

Author SHA1 Message Date
Matej Bačo
5fb41fd216 Fix executions 2024-07-03 08:00:17 +00:00
Christy Jacob
7b63f68fc3 chore: fix tests 2024-06-21 18:02:01 +00:00
Bradley Schofield
9113f265b7 Fix Tests 2024-06-11 06:40:37 +00:00
Bradley Schofield
98ca5faef1 Add Tests 2024-06-11 14:36:32 +09:00
Jake Barnby
9e487b8ccf
Revert "Merge pull request #8237 from appwrite/revert-8193-feat-remove-random-shared-tables"
This reverts commit 930ae6ded0, reversing
changes made to 1f6417b156.
2024-06-06 20:11:19 +12:00
Christy Jacob
ff6efc2855
Revert "Feat remove random shared tables" 2024-06-06 00:11:56 +05:30
Jake Barnby
bbb4b0bc12
Remove shared table headers 2024-05-24 20:29:25 +12:00
Jake Barnby
e9bac08de0
Fix header test 2024-05-07 17:59:24 +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
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Jake Barnby
fcc5a747d1
Fix test 2024-03-04 20:26:11 +01:00
loks0n
046c11ceb2 chore: revert X-Forwarded-For 2024-02-22 15:37:51 +00:00
loks0n
c225d4977b fix: general 2024-02-22 13:40:41 +00:00
loks0n
c627fbf2a5 fix: type err 2024-02-20 15:32:00 +00:00
loks0n
24bf5d2584 fix: usage tests 2024-02-20 15:27:01 +00:00
loks0n
c192712a58 chore: fmt 2024-02-20 14:58:50 +00:00
loks0n
7b88b6dbb1 test: refactor usagetest 2024-02-20 14:47:49 +00:00
loks0n
e051717232 fix: usage tests 2024-02-20 13:24:52 +00:00
Torsten Dittmann
de0e83f703 fix: move user and project logic from general to api hook 2024-02-16 17:58:51 +00:00
Torsten Dittmann
9f5a0312cf Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x 2024-01-24 11:24:59 +01:00
loks0n
56fe939713 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr 2024-01-13 09:55:44 +00:00
loks0n
b1ca8177ac test: fix expose headers test 2024-01-09 18:15:08 +00:00
loks0n
24ff63bd99 test: fix general tests 2024-01-09 17:53:49 +00:00
Steven Nguyen
dea3c0416b
Fix broken usage tests 2024-01-09 03:11:00 +00:00
Steven Nguyen
fc2a4e52e2
Update the usage test to retry since the test is flaky 2024-01-09 02:23:22 +00:00
Steven Nguyen
747779b245
Fix usage test checking wrong array key 2024-01-09 02:09:40 +00:00
Steven Nguyen
d2d36bbfae
Add changes from previous console platforms variable PR
See https://github.com/appwrite/appwrite/pull/4581
2024-01-03 20:38:42 +00:00
Steven Nguyen
06e385b346
Add changes from previous console platforms variable PR
See https://github.com/appwrite/appwrite/pull/4581
2024-01-03 19:30:42 +00:00
Torsten Dittmann
063db1e2bf feat: add execution aggregation to project usage 2023-12-12 18:48:21 +01:00
Torsten Dittmann
ba75f69969 feat: usage breakdown by project 2023-12-11 16:19:08 +01:00
Torsten Dittmann
95425832ae fix: tests and response models 2023-12-10 11:03:01 +01:00
shimon
5e17cde10f usage test 2023-10-25 15:57:03 +03:00
shimon
4c6976488c clean up 2023-10-25 15:06:54 +03:00
Jake Barnby
bd3be15d07
Fix options test 2023-10-19 21:23:54 +13:00
shimon
83ffea68d1 rolling back usage flow 2023-08-20 16:53:26 +03:00
shimon
8147f3ee7d rolling back usage flow 2023-08-20 15:29:43 +03:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
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
Christy Jacob
6853a44f03 feat: update tests 2023-06-15 11:06:04 +00:00
Steven Nguyen
092f0cfcaf Fix the routing for the default OAuth2 pages 2023-06-03 20:05:45 +05:30
Steven Nguyen
e87e2fc16d Fix the routing for the default OAuth2 pages 2023-06-03 14:16:47 +05:30
Torsten Dittmann
a664363525 fix: trailing wildcards 2023-06-02 15:20:58 +02: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
bab804b8e1
Fix tests
(cherry picked from commit 0661f1f889)
2023-05-30 18:29:20 +12:00
Torsten Dittmann
2178bfc126 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-database-update-attribute 2023-03-10 18:39:11 +05:30
Steven Nguyen
85a2d623a6
Update APIs to check X-Appwrite-Timestamp header
Appwrite will refer to the X-Appwrite-Timestamp header for when the
request was originally sent and reject the request if the Timestamp
is older than the updatedAt timestamp of the document.
2023-03-07 10:54:52 -08:00
Torsten Dittmann
6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +05:30
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
shimon
acbf676d94 test fix 2023-02-14 19:40:21 +02:00
shimon
ec52cbbb8c addressing comments 2023-02-06 09:20:03 +02:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
shimon
bddbc15f1a removed some unnecessary files 2023-01-31 17:02:22 +02:00
fogelito
c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
shimon
b61e6e0d5a usage test 2023-01-12 19:41:14 +02:00
shimon
9a2f734d3a compose.lock 2023-01-12 18:06:20 +02:00
Damodar Lohani
f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
shimon
20f9b0c655 refactor usage worker 2022-12-22 15:02:41 +02:00
shimon
5e394fed5d refactor usage worker 2022-12-21 21:03:09 +02:00
shimon
c02ef7b340 adding build.storage usage 2022-12-21 11:22:29 +02:00
fogelito
91db596b42 remove static $dateValidator 2022-12-19 13:21:09 +02:00
shimon
7b9a8c01f2 benchmarks 2022-12-19 10:30:32 +02:00
shimon
18f192ed65 benchmarks 2022-12-19 10:25:49 +02:00
shimon
86638e0079 e2e tests 2022-12-15 19:00:05 +02:00
shimon
7601c9047b e2e tests 2022-12-15 11:45:43 +02:00
fogelito
bdc3e9f935 $dateValidator 2022-12-15 10:51:27 +02:00
shimon
285bfe9fd7 e2e tests 2022-12-15 09:56:06 +02:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
shimon
961c408885 metric negative / positive values in worker 2022-12-14 09:34:04 +02:00
Matej Bačo
9163aa360e
Update tests/e2e/General/UsageTest.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-11-18 15:17:14 +01:00
Matej Baco
5ec548cc06 Fix more failing tests 2022-11-18 14:13:33 +01:00
Matej Baco
b39aa060c8 Fix usage endpoint in test 2022-11-18 10:15:11 +01:00
Jake Barnby
163cbc5052
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	composer.json
#	composer.lock
2022-11-17 21:41:56 +13:00
Jake Barnby
f9d2976c1d
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
#	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/init.php
#	app/tasks/sdks.php
#	composer.lock
#	docker-compose.yml
2022-11-16 19:37:35 +13:00
Torsten Dittmann
841c5479ed Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 16:39:52 +01:00
Torsten Dittmann
68e1a0b114 fix: remove unused import 2022-11-15 16:31:38 +01:00
Torsten Dittmann
1b533daeaa fix: remove manifest endpoint 2022-11-15 16:30:53 +01:00
Torsten Dittmann
5db924627a fix: tests 2022-11-15 16:28:33 +01:00
Torsten Dittmann
29edecf05d fix: tests 2022-11-15 16:19:13 +01:00
Torsten Dittmann
006cb4665e
Merge pull request #4674 from appwrite/fix-usage-executions
Fix: usage executions
2022-11-15 15:39:12 +01:00
Torsten Dittmann
10695a021a fix: usage tests timeout 2022-11-15 15:35:42 +01:00
Matej Bačo
e1ecf9aad7 Fix failing test 2022-11-15 09:41:55 +00:00
Matej Bačo
8dd5eb09f0 Fix executions usage count 2022-11-15 09:33:07 +00:00
Eldad A. Fux
42cedf8ed0
Merge pull request #3909 from appwrite/feat-usage-refactor
new stats to count resources
2022-11-10 11:05:36 +02:00
Torsten Dittmann
e315f5d2ac fix: database usage tests 2022-11-09 10:29:13 +01:00
Torsten Dittmann
4041c4964c tests: fix remaining tests for usage 2022-11-08 15:16:10 +01:00
Torsten Dittmann
1615121b3e tests: adapt to new response model 2022-11-08 14:38:43 +01:00
Damodar Lohani
1e5c94c2c6
Merge branch 'master' into feat-usage-refactor 2022-10-28 13:17:52 +05:45
Jake Barnby
9fbf8d6aee
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	tests/e2e/General/HTTPTest.php
2022-10-26 13:54:52 +13:00
Jake Barnby
1f49985d26
Remove var dumps 2022-10-25 19:38:31 +13:00
Jake Barnby
e2a63c10a1
Fix spec tests 2022-10-25 12:37:19 +13:00
Jake Barnby
889db82ad4
Fix spec tests 2022-10-25 12:34:57 +13:00
Damodar Lohani
8c3cfa877b open api schema validator changes 2022-10-23 07:18:52 +00:00
Damodar Lohani
5fe2102e26 remove redundant project 2022-10-21 07:25:42 +00:00
Jake Barnby
5a2dc60420
Fix options test 2022-10-19 22:23:08 +13:00
Damodar Lohani
1fdaaeef71 reduce waiting time 2022-10-18 06:19:57 +00:00
Damodar Lohani
d7f87051d6 fix test 2022-10-18 06:10:33 +00:00
Jake Barnby
3f98cef633
Fix spec test 2022-10-14 14:40:34 +13:00
Steven Nguyen
00a4929301 Fix date format for usage APIs 2022-09-15 23:48:09 +00:00
Christy Jacob
022e992041
Merge pull request #3802 from appwrite/feat-improve-usage-retry
Make usage tests only retry the usage fetch part
2022-09-12 20:30:13 +04:00
Christy Jacob
0ce6deedbe fix failing test 2022-09-09 21:47:24 +00:00
Christy Jacob
526705d440 feat: update failing tests 2022-09-10 00:19:09 +04:00
Steven Nguyen
0d016dea64 Make usage tests only retry the usage fetch part
Before this, usage tests retried creating usage AND fetching
the usage which caused some expected counts to be incorrect.
2022-09-09 17:19:25 +00:00
Matej Bačo
c7780c5fe6 Update allowed headers with new SDK headers 2022-09-05 08:08:24 +00:00
Jake Barnby
8fcb091f37
Add resource write abuse limit tests 2022-08-31 16:06:36 +12:00
Jake Barnby
b1cb6ab9bc
Add single retry to all usage tests 2022-08-31 11:35:46 +12:00
Steven
60a4563908 Fix usage tests 2022-08-25 22:15:11 +00:00
Damodar Lohani
7c2ecaec4b correct function status 2022-08-18 05:13:30 +00:00
Damodar Lohani
e63e79d3f9 linter fix 2022-08-18 01:50:55 +00:00
Damodar Lohani
acd5dfc23f update functions test 2022-08-18 01:49:41 +00:00
Damodar Lohani
b28d3ce302 fix usage test 2022-08-18 00:36:25 +00:00
Damodar Lohani
fca655a48d function usage test 2022-08-17 10:36:30 +00:00
Damodar Lohani
74a159ab99 fix key 2022-08-13 03:44:57 +00:00
Damodar Lohani
b5f5aff626 fix response and project usage issues 2022-08-11 06:05:38 +00:00
Damodar Lohani
ff794dc215 commenting out functions stat test as it seems to be inconsistent 2022-08-08 02:20:18 +00:00
Damodar Lohani
e922c9bc72 make tests dependent 2022-07-28 09:01:03 +00:00
Damodar Lohani
a0df8e7989 make test dependent 2022-07-28 07:28:00 +00:00
Damodar Lohani
62e1f8e96d fix missing semi-colon 2022-07-27 08:31:59 +00:00
Damodar Lohani
04eeb28c62 refactor to back 2022-07-27 08:28:23 +00:00
Damodar Lohani
85256f545c remove teardown 2022-07-27 08:14:31 +00:00
Damodar Lohani
e9bbcc9135 create project only once 2022-07-27 08:14:16 +00:00
Damodar Lohani
c823ca7ac6 make dependent to create only one project 2022-07-27 08:13:20 +00:00
Damodar Lohani
f85497a421 function test 2022-07-27 08:05:50 +00:00
Damodar Lohani
dea9aef965 convert execution/compute time to integer in test 2022-07-20 10:25:48 +00:00
Damodar Lohani
3d5c8b0053 fix naming of keys 2022-07-19 01:55:35 +00:00
Damodar Lohani
ff8e730b8a new function usages endpoint 2022-07-17 10:30:58 +00:00
Damodar Lohani
9fe6c0a3c0 functions test 2022-07-17 09:33:24 +00:00
Damodar Lohani
1c5e84324b functions test 2022-07-10 02:12:49 +00:00
Damodar Lohani
5d3c5a151f error checking and increase wait time 2022-07-06 05:16:25 +00:00
Damodar Lohani
4422613248 update tests with less waiting time 2022-07-06 01:56:47 +00:00
Damodar Lohani
c5b0a40279 fix linter errors 2022-07-05 07:11:27 +00:00
Damodar Lohani
e4144f2c64 remove dump 2022-07-05 07:05:06 +00:00
Damodar Lohani
ee6abd45db databases tests 2022-07-05 06:53:57 +00:00
Damodar Lohani
f4d74c4935 namespace 2022-07-04 09:31:14 +00:00
Damodar Lohani
9486a6b2a3 storage usage tests 2022-07-04 09:00:07 +00:00
Damodar Lohani
14dda66c03 more work on tests 2022-07-03 13:10:26 +00:00
Damodar Lohani
c6553aef3d linter fixes 2022-07-03 12:11:43 +00:00
Damodar Lohani
d5e8b23577 more tests 2022-07-03 02:42:13 +00:00
Damodar Lohani
1c1442a4fc linters fix 2022-06-30 09:40:27 +00:00
Damodar Lohani
477bc95a00 fixed test 2022-06-30 09:37:59 +00:00
Damodar Lohani
02f45abcb9 initial e2e test for usage stats 2022-06-30 09:33:40 +00:00
Damodar Lohani
7a58814c61 WIP 2022-06-30 04:27:11 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Christy Jacob
e1eb6942a7 feat: fix failing test 2022-02-26 06:01:02 +04:00
Damodar Lohani
beaf5962ce fixed specs and run test for 0.13.x as well 2022-02-23 11:30:14 +00:00
Christy Jacob
da7512e050 Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-add-error-codes 2022-02-17 02:25:29 +04:00
Damodar Lohani
353b92f2c6 Merge branch '0.13.x' into feat-storage-buckets 2022-02-15 03:42:28 +00:00
Christy Jacob
5fee7378ad feat: add test for error message 2022-02-13 13:12:16 +04:00