Eldad Fux
5ce3de4933
Merge remote-tracking branch 'origin/main' into feat-eldad2-coroutines
2024-04-02 02:13:15 +02:00
Eldad Fux
beda5293b4
Fix format
2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8
Updated getEnv to use system lib
2024-04-01 13:02:47 +02:00
Matej Bačo
2a0a69f3ed
Fix connections pool
2024-03-09 11:59:45 +01:00
Matej Bačo
db1674811f
Finish fixing code QL warnings
2024-03-08 13:57:20 +01:00
Torsten Dittmann
b8b3a69a55
fix: specs
2024-03-08 10:28:25 +01:00
Torsten Dittmann
dfef0e732c
sync: main -> 1.5.x
2024-03-07 17:16:39 +01:00
Matej Bačo
efeb898be1
Import fixes
2024-03-07 15:29:42 +01:00
shimon
dfac3d585a
Merge branch 'main' of github.com:appwrite/appwrite into remove-cloud-scripts
2024-03-06 17:58:58 +01:00
Torsten Dittmann
b8b1d8629f
fix: tests
2024-03-05 11:09:19 +01:00
Torsten Dittmann
a53e630536
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x-2
2024-03-05 10:31:51 +01:00
Christy Jacob
7ae09ba795
Revert "Revert "usage/usage-dump queue health endpoints""
2024-02-25 13:42:28 +05:30
Khushboo Verma
141cdf4c82
Fix content-type of file
2024-02-23 20:10:25 +05:30
Christy Jacob
a8098831a3
Revert "usage/usage-dump queue health endpoints"
2024-02-22 12:21:48 +05:30
Christy Jacob
3f5e40ad46
Merge pull request #7591 from appwrite/feat-storage-health-check
...
Add storage health check
2024-02-22 12:16:10 +05:30
Jake Barnby
379c79dae9
Consistent naming for device resources
2024-02-21 03:10:51 +13:00
shimon
1577be9172
usage/usage-dump queue health endpoints
2024-02-19 21:36:14 +02:00
Khushboo Verma
e4a86d9777
Remove global function
2024-02-19 09:19:54 +05:30
Khushboo Verma
3b1233eaa9
Add deviceFunctions and deviceBuilds as well
2024-02-18 18:28:41 +05:30
Khushboo Verma
00db19257d
Add health storage check
2024-02-15 11:57:24 +05:30
shimon
96317f0acb
sync with main
2024-02-13 10:46:24 +02:00
Jake Barnby
37522ea66f
Merge branch '1.5.x' into fix-catch-exception
2024-02-13 12:47:36 +13:00
Jake Barnby
18f7168160
Merge main
2024-02-12 14:18:19 +13:00
Christy Jacob
ba4f708137
Apply suggestions from code review
...
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2024-02-08 23:26:43 +05:30
Christy Jacob
243ddd4b33
Merge pull request #7519 from appwrite/update-param-name
...
Update param name
2024-02-08 12:55:19 +05:30
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
...
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:
} catch (\Exception $e) {
$deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {
As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Khushboo Verma
fb127270ce
Add test for empty domain
2024-02-06 16:04:58 +05:30
Khushboo Verma
11ceeff5ca
Add health certificate validity endpoint
2024-02-06 15:15:03 +05:30
Christy Jacob
3c7fae7843
chore: update param name
2024-01-30 08:10:13 +00:00
Christy Jacob
91e625cfc2
chore: linter
2024-01-26 18:04:06 +00:00
Bradley Schofield
126c3a38de
Add threshold
2024-01-26 15:55:55 +00:00
Bradley Schofield
772d42cef8
Update health.php
2024-01-26 09:52:41 +00:00
Bradley Schofield
e2c05fea8c
Update health.php
2024-01-26 09:42:21 +00:00
Bradley Schofield
73b1837d66
Remove HealthFailedJobs Model
2024-01-26 09:41:30 +00:00
Bradley Schofield
47af19dd17
Update app/controllers/api/health.php
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-25 10:21:52 +00:00
Bradley Schofield
867bc0281c
Update health.php
2024-01-24 17:48:27 +00:00
Bradley Schofield
d3b8ce704e
Add failed queue endpoint
2024-01-18 16:18:49 +00:00
Khushboo Verma
7902defe69
Addressed PR comments
2023-11-17 19:29:57 +05:30
Khushboo Verma
c34dc4dae0
Add flag to send logs to logger
2023-11-16 23:51:09 +05:30
Matej Bačo
967854d34a
Fix grammar
2023-11-13 14:39:33 +01:00
Matej Bačo
a029287e5a
Implement health tresholds
2023-11-13 14:07:11 +01:00
Christy Jacob
d33b8c2ce1
Merge branch '1.4.x' into fix-null-password-history
2023-11-09 07:44:44 -08:00
shimon
dd9d8010c1
db health api throws an error when ping fails
2023-11-08 15:20:50 +02:00
Steven Nguyen
9f7bbe4869
Fix the Health service's get X queue endpoints
...
Before this, the endpoints called $client->sumProcessingJobs() which
only gets the currently processing jobs, but this endpoint should return
what's currently in queue, pending to be processed. This should be
retrieved using $client->getQueueSize().
2023-11-03 16:57:30 +00:00
Christy Jacob
18dc8749d5
chore: update health API
2023-10-19 09:25:38 +00:00
Steven Nguyen
1d7c9d84d2
Fix get database queue endpoint params
...
A path param cannot be optional so change it to a query param.
2023-10-18 17:42:27 -07:00
Christy Jacob
3d7cd91176
chore: fix injections
2023-10-18 19:54:56 +00:00
Christy Jacob
be26e4b729
chore: remove resque library and update health check endpoints
2023-10-18 19:44:06 +00:00
Christy Jacob
9fa93e0449
chore: review comments
2023-09-27 22:13:03 +00:00
Matej Bačo
e58bf7f695
Rename audits back to logs
2023-09-27 21:24:56 +00:00
Matej Bačo
5120152369
Add all worker health endpoints
2023-09-27 21:24:41 +00:00
Vincent (Wen Yu) Ge
86f0e6008c
Merge branch 'master' into sentence-case
2023-09-27 11:11:58 -04:00
Dakshi
16a2135d4a
updated based on review
2023-08-02 02:19:20 +05:30
Dakshi
12228ccef4
converted desc to sentence case
2023-08-01 20:56:48 +05:30
Matej Baco
91de1cbcf3
Fix bug
2022-11-18 15:22:46 +01:00
Matej Baco
762d52bca8
Fix failing tests
2022-11-16 20:39:35 +01:00
Eldad Fux
d51c379514
Fixed linter errors
2022-10-19 11:35:30 +03:00
Eldad Fux
65e004f145
Fixed health API and add new test endpoints
2022-10-17 14:43:57 +03:00
Christy Jacob
3b802e9ba6
Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools
2022-09-27 20:59:50 +05:30
Christy Jacob
d2bf8b25de
feat: update db pools
2022-08-13 13:27:04 +05:30
Bradley Schofield
96c6c0ff00
Migrate all exceptions to new signature
2022-07-26 15:24:32 +01:00
Christy Jacob
42f0bddd60
feat: merge and fix conflicts
2022-07-15 13:54:27 +04:00
Christy Jacob
1c1a635d5a
feat: rename db to consoleDB
2022-06-30 13:01:29 +02:00
Everly Precia Suresh
19300ccdd7
format files in app, src, tests
2022-05-23 14:54:50 +00:00
Torsten Dittmann
3990ef7fa2
Merge branch 'master' of https://github.com/appwrite/appwrite into 0.14.x
2022-05-08 17:15:25 +02:00
Everly Precia Suresh
2729237edc
retrigger build
2022-05-02 15:04:14 +00:00
Everly Precia Suresh
fd3a802a30
regroup namespaces
2022-05-02 14:34:01 +00:00
Everly Precia Suresh
d2008d33a5
refactor health.php
2022-05-02 14:28:36 +00:00
Torsten Dittmann
224c34b6a6
fix: remove usage queue
2022-04-19 15:28:30 +02: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
17c3491d27
use storage from resource instead
2022-02-15 08:43:57 +00:00
Christy Jacob
6e88817831
feat: use general server errors in health API
2022-02-07 00:55:45 +04:00
Christy Jacob
53807ab47c
feat: update error codes in the health API
2022-02-06 21:21:47 +04:00
Torsten Dittmann
753824428a
fix: throw exception when antivirus is not available
2022-01-03 10:50:52 +01:00
Matej Baco
c8d7148903
Tests fixed
2021-12-20 12:34:48 +01:00
Matej Baco
e065470ffc
Merge branch 'feat-database-indexing' into feat-health-api-response-models
2021-12-20 12:09:50 +01:00
Matej Baco
29076758ac
Updated tests, fixed response models
2021-12-16 13:19:04 +01:00
Matej Baco
24c2ef67d4
Updated antivirus spelling
2021-12-15 12:02:01 +01:00
Matej Baco
ea7b5970c3
Post-PR review fixes
2021-12-15 11:19:29 +01:00
Matej Bačo
5b1378d324
Apply suggestions from code review
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-12-15 11:09:43 +01:00
Matej Bačo
77d6ea8890
Apply suggestions from code review
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-12-15 11:06:26 +01:00
Matej Baco
5d373e1ce7
Created Response models + applied them
2021-12-14 15:17:55 +01:00
Torsten Dittmann
d099b0133c
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing
2021-11-17 11:39:03 +01:00
Torsten Dittmann
3741786e07
Merge pull request #2225 from PineappleIOnic/health-improve-db-test
...
Improve health check for Database
2021-11-08 10:42:55 +01:00
Bradley Schofield
91827930c0
Improve exception
2021-10-27 10:21:16 +01:00
Torsten Dittmann
1fd4e6c3c8
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing
2021-10-25 16:01:07 +02:00
Nicolò Santilio
8639db0cd2
Update health.php
2021-10-20 17:30:59 +02:00
Bradley Schofield
aca61d1902
Update Cache Test
2021-10-18 16:08:50 +01:00
Bradley Schofield
7540dafa9b
Update health.php
2021-10-15 10:40:25 +01:00
Bradley Schofield
f988a89cf3
Update health.php
2021-10-15 10:05:21 +01:00
Eldad Fux
95dacecf3a
Removed the tasks service
2021-07-27 17:16:12 +03:00
Eldad Fux
bbc20dad10
Merge branch 'master' of github.com:appwrite/appwrite into fix-db-sync-with-master
2021-07-18 17:17:29 +03:00
Torsten Dittmann
18d4a0def0
fix(app): remove app resource and replace with utopia
2021-07-12 11:51:58 +02:00
Eldad Fux
14909a04f2
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing
2021-07-04 17:14:06 +03:00
Torsten Dittmann
44ba052fcb
feat(db): improved connection pools
2021-06-28 09:19:33 +02:00
Damodar Lohani
f26b8f05f5
use exception instead
2021-06-10 14:11:16 +05:45
Damodar Lohani
4563faedcb
fix warning
2021-06-10 12:05:46 +05:45
Eldad Fux
26d0d5d3dc
Implemented search
2021-05-27 13:09:14 +03:00
Damodar Lohani
40a8a4c366
fixing clamav status when clamav is not running
2021-05-25 15:11:20 +05:45
Eldad Fux
69abbba02b
Changed god account to root account
2021-05-12 17:53:25 +03:00