Commit graph

279 commits

Author SHA1 Message Date
Christy Jacob
f25df67002 chore: remove sleep() for usage stats, since batch size is now 1 2025-02-23 15:39:37 +05:30
Christy Jacob
94108e6f3f chore: remove sleep() for usage stats, since batch size is now 1 2025-02-23 15:23:34 +05:30
Christy Jacob
f682e4ac6f chore: remoove sleep() for usage stats, since batch size is now 1 2025-02-23 14:56:15 +05:30
Matej Bačo
666e8f3ec9 Separate proxy rule creation 2025-02-22 18:56:51 +01:00
Matej Bačo
3932b8bdc1 Merge branch '1.7.x' into feat-sites 2025-02-19 12:54:05 +01:00
Khushboo Verma
262b152cd9 Add more rule tests 2025-02-18 12:12:12 +05:30
Khushboo Verma
3531d223e2 Fix general tests 2025-02-13 20:27:25 +05:30
Jake Barnby
1c91604c80
Only disable database reads/writes and network stats 2025-02-11 20:56:39 +13:00
Jake Barnby
76680bcbcc
Revert "Feat batch usage dump" 2025-01-28 22:29:24 +13:00
Eldad A. Fux
1db4bf7ae4
Merge pull request #9260 from appwrite/databases-reads-writes
Usage: Databases reads writes
2025-01-27 11:21:52 +01:00
Jake Barnby
297098b252
Revert test timing changes 2025-01-24 03:23:25 +13:00
Darshan
3cfd592351 fix: tests further. 2025-01-23 19:35:36 +05:30
Darshan
00a2413366 fix: tests due to additional response vars. 2025-01-23 19:17:20 +05:30
Jake Barnby
1360c16f65
Partial revert "Add project log"
This partially reverts commit 8097f1607f.
2025-01-24 01:43:25 +13:00
Jake Barnby
8097f1607f
Add project log 2025-01-24 01:34:44 +13:00
Jake Barnby
03a8f35082
Ensure wait overlaps aggregation interval 2025-01-24 00:14:30 +13:00
Jake Barnby
687be05d95
Speed up dev mode usage tests 2025-01-24 00:08:04 +13:00
loks0n
ec7f76f9fb fix: stats tests 2025-01-09 21:17:53 +00:00
loks0n
a85abdab4a fix: usage tests 2025-01-09 20:11:02 +00:00
loks0n
ee4b54857f fix: tests 2024-11-08 13:01:18 +01:00
loks0n
71eba6a879 fix: tests 2024-11-07 18:21:41 +01:00
loks0n
e0bd500aa2 fix: realtime event 2024-10-07 15:58:34 +01:00
loks0n
6dab42e59a chore: use project injectable 2024-10-07 14:00:19 +01:00
loks0n
ac5bc22817 feat: ping endpoint 2024-10-04 23:23:18 +01:00
loks0n
a45db60313 fix: falsy values 2024-10-02 14:16:25 +01:00
loks0n
ff174238e8 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-flaky-tests 2024-10-02 11:54:42 +01:00
loks0n
3cfc062d8d Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-flaky-tests 2024-10-01 20:53:08 +01:00
loks0n
f236b8e09a Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-payload-response-type 2024-09-30 11:41:37 +01:00
loks0n
c4a764d175 fix: use model instead of type 2024-09-26 10:56:21 +01:00
Bradley Schofield
3a68c77406 Try and get tests working 2024-09-24 14:28:11 +09:00
Bradley Schofield
e8bd577d4e Update metric count 2024-09-24 01:43:33 +09:00
Bradley Schofield
5c59083f4d Run Linter 2024-09-24 00:57:22 +09:00
Bradley Schofield
00acc2f73b Address Comments 2024-09-24 00:07:54 +09:00
Bradley Schofield
f9d0f8fc38 Run Linter 2024-09-23 18:16:18 +09:00
Bradley Schofield
a309f31a33 Add tests, move hooks to API Layer 2024-09-23 18:08:48 +09:00
loks0n
cb0416be7b chore: fmt 2024-09-19 21:08:04 +01: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
Torsten Dittmann
c5dae9f018 fix: backwards compatibility 2024-09-16 13:49:13 +02:00
Torsten Dittmann
8ac2f64353 fix: function storage metrics 2024-09-16 11:58:08 +02:00
Steven Nguyen
afdf34c45c
fix: update console redirect to include query params
Use `$request->getParams()` because `$request->getURI()` does not include
the query string.
2024-09-04 00:18:59 +00:00
Bradley Schofield
e17f391f25 Improve Test Reliabiltiy 2024-09-02 18:57:02 +09:00
Bradley Schofield
87e12d028d Increase timer, run linter. 2024-09-02 13:50:58 +09:00
Bradley Schofield
cdfc6e640a Add Tests 2024-09-02 13:18:19 +09:00
Bradley Schofield
3ed9dd288e Test 8GB 8192MB 2024-08-19 19:12:25 +09:00
Christy Jacob
bfa253297b Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main 2024-08-13 15:36:13 +00:00
Khushboo Verma
22853b7b59 Fixed test 2024-08-06 23:49:09 +05:30
Bradley Schofield
f46e210000 Move mbSeconds into 1.5.x 2024-07-30 17:53:28 +09:00
Bradley Schofield
519a444617 Update Tests 2024-07-18 16:47:18 +09:00
Torsten Dittmann
9e1b643c7b tests: fix endpoint to use traefik 2024-07-17 22:49:32 +02:00
Bradley Schofield
a710e9bfe4 Update UsageTest.php 2024-07-15 13:57:36 +09:00
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