Commit graph

297 commits

Author SHA1 Message Date
loks0n
7db65f46ae feat: add compression toggle env 2025-01-16 17:23:22 +00:00
Jake Barnby
1cd7c397de
Revert "Fix dead connections" 2025-01-13 19:24:58 +13:00
Christy Jacob
cde1d6e83e
Merge pull request #9190 from appwrite/fix-dead-connections
Fix dead connections
# Conflicts:
#	composer.lock
2025-01-13 18:03:40 +13:00
Jake Barnby
b88d9c51fb
Revert "Fix dead connections" 2025-01-10 20:19:34 +13:00
Jake Barnby
941c9f1905
Add connection health check to http error handler 2025-01-08 21:15:33 +13:00
Fabian Gruber
1bc419b6a1 feat(swoole): allow configuration override of available cpus 2025-01-06 13:48:01 +01:00
Christy Jacob
50601bd454 chore: use redis adapter for abuse 2024-12-20 20:14:50 +05:30
Christy Jacob
b97dea7996
Revert "chore: initial commit" 2024-12-19 20:27:54 +05:30
Christy Jacob
ed918e1748 Merge branch '1.6.x' of github.com:appwrite/appwrite into migrate-to-redis-abuse 2024-12-17 10:09:00 +05:30
Christy Jacob
396faa56c2 chore: initial commit 2024-12-17 08:21:38 +05:30
Christy Jacob
75b42e134a chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
Fabian Gruber
f0b6c729c9 feat: add more tags to sentry 2024-11-26 16:13:55 +01:00
Matej Bačo
9d3bc1f80a Fix swoole task warning 2024-11-25 11:04:04 +01:00
Matej Bačo
2fcfd1d7c9 Add safe workers 2024-11-22 13:57:42 +00:00
Jake Barnby
f9e518b2b0
Fix shared tables v2 deletes 2024-11-21 16:49:49 +13:00
Jake Barnby
415dedc135
Create V2 shared tables databases on server start 2024-11-21 16:46:10 +13:00
loks0n
d257fdb045
chore: remove redundant compression 2024-11-21 14:24:56 +13: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
loks0n
d0cf0f6d1d feat: min size env 2024-11-08 19:48:32 +01:00
loks0n
83cbddb926 fix: test 2024-11-07 20:31:12 +01:00
loks0n
71eba6a879 fix: tests 2024-11-07 18:21:41 +01: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
Damodar Lohani
d4b480b014
catch error pushing error logs everywhere 2024-09-26 16:36:51 +05:45
Binyamin Yawitz
5cdb8388a1
chore: versions update 2024-08-23 13:02:54 -04:00
Matej Bačo
d5db9253cd Fix breaking changes in lib 2024-08-16 11:25:01 +00: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
Torsten Dittmann
8bc75b2bbe fix: remove console static files from loading 2024-07-17 22:22:03 +02:00
Jake Barnby
e74a5cbf6e
Remove detailed trace from error logs 2024-07-09 15:15:03 +12:00
Khushboo Verma
cd6878c597 Add comment for payload size 2024-05-09 15:11:02 +05:30
Khushboo Verma
e583f44147 Increase chunk size to 10 MB 2024-05-03 18:01:15 +05:30
Christy Jacob
95300d796b
Revert "Update chunk size to 7 MB" 2024-05-03 10:19:03 +04:00
Khushboo Verma
87fb11914e Update chunk size to 7 MB 2024-05-02 19:38:45 +05:30
Khushboo Verma
89daa5e479 Update payload size to 11 MB to accomodate 10 MB chunk size 2024-05-02 14:30:18 +05:30
Khushboo Verma
885e7019f8 Update chunk size to 10 MB 2024-05-01 23:37:18 +05:30
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
57309ad4db
Use swoole process mode instead of base
https://github.com/swoole/swoole-src/discussions/4856#discussioncomment-3796282
2024-02-23 00:51:19 +13: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
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
Torsten Dittmann
ceb868c9d7 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa 2024-02-01 11:57:32 +01:00
Torsten Dittmann
208abe17e7 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa 2024-01-08 12:20:08 +01:00
fogelito
cc5ae73f57 purgeCached changes 2023-12-14 15:32:06 +02:00
Matej Bačo
f4ada97d1a Allow any hostname, and serve API+Console by default 2023-09-05 17:02:07 +02:00
Jake Barnby
8530830d90
Clean up 2023-08-29 12:01:37 -04:00
Jake Barnby
0a1ab4ae60
Add back codes env var 2023-08-28 22:24:52 -04:00
Jake Barnby
aff9dbfb31
Disable swoole curl hook 2023-08-28 21:14:37 -04:00
Matej Bačo
dedacecb52 Enable coroutines for VCS, upgrade version to 1.4 2023-08-20 10:46:44 +02:00
Matej Bačo
1592533c98 Disable coroutine to fix DB issues 2023-08-11 12:02:06 +02:00
Khushboo Verma
056b7120a6 Add additional information to deployments 2023-08-09 16:24:46 +05:30
Matej Bačo
d5fd3a28f9 More QA fixes 2023-08-06 15:11:30 +02:00
Matej Bačo
906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +02:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
Matej Bačo
1db0c57518 PR review changes 2023-08-04 07:59:23 +02:00
Khushboo Verma
0b6fb471f6 Updated GitHub comment table 2023-08-04 01:04:04 +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
Torsten Dittmann
1f46d03e8c feat: initial mfa implementation 2023-06-22 15:35:49 +02:00
Matej Bačo
53deb68985 Improve performance of listRepositories 2023-06-16 11:07:47 +02:00
Damodar Lohani
57411db2d3 upadate to use refactored collections config 2023-06-15 00:34:12 +00:00
Steven Nguyen
02cd8720f7
Don't clear cache on startup 2023-05-31 14:06:25 -07:00
Torsten Dittmann
4ebe485f05 remove: leftover from http.php 2023-04-24 13:11:39 +02:00
Torsten Dittmann
ff82a24a4b feat: migration 2023-04-24 13:00:23 +02:00
Jake Barnby
48b018fd9d
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2 2023-03-24 20:53:41 +13:00
fogelito
28af0669f6 docker-compose.yml temp mount 2023-03-16 11:11:04 +02:00
Steven Nguyen
137c2d663e
Prevent cache from being flushed on start
We shouldn't clear the cache because scheduled functions are also
in the cache and we don't want to lose them.
2023-03-14 16:09:14 -07:00
Steven Nguyen
7ab490ab68
Prevent cache from being flushed on start
We shouldn't clear the cache because scheduled functions are also
in the cache, and we don't want to lose them.
2023-03-14 16:07:37 -07:00
Matej Bačo
47dbf4c8f6 Fix wildcard bugs 2023-02-19 12:04:12 +01:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
Matej Bačo
eea635fe4b Basic implementation for Open Runtimes V2 2023-02-09 15:27:11 +01: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
Damodar Lohani
f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00: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
Christy Jacob
080abbbb79 Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console 2022-11-17 20:26:10 +05:30
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
Torsten Dittmann
9f384e016f Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-09 15:47:23 +01:00
Eldad Fux
1d59b8bd54 Leftovers 2022-11-03 18:28:28 +02:00
Eldad Fux
995283c15d Removed enableCoroutine support 2022-11-03 18:27:41 +02:00
Eldad Fux
de610855fe Updates 2022-11-03 17:19:55 +02:00
Christy Jacob
b2d884e329 Merge branch 'master' of github.com:appwrite/appwrite into 1.1.x 2022-11-01 22:21:19 +05:30
Christy Jacob
aff7c59097 feat: update database library 2022-10-31 12:02:51 +00:00
Torsten Dittmann
4f3188c63f Merge branch 'rebase-1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-10-31 09:47:35 +01:00
Torsten Dittmann
d387f198db Merge branch 'master' of https://github.com/appwrite/appwrite into rebase-1.1.x 2022-10-31 09:45:51 +01:00
Eldad Fux
fdf88d8355 HTTP Tests 2022-10-29 17:05:26 +03:00
Eldad Fux
8e492a9797 Tests 2022-10-28 17:45:16 +03:00
Christy Jacob
269266127d feat: update db library 2022-10-28 14:30:31 +05:30
Steven Nguyen
719aa67afa
Remove PDO rethrow
The PDOException was rethrown in general.php so that it could be caught
in the catch block of http.php. However, [a change in
utopia-php/framework](9d37326851)
caused the exception to be masked as an Exception rather than the
underlying PDOException. As such, the `$th instanceof PDOException` in
http.php is always false and `$db = null` is never executed. Since these
snippets of code aren't doing anything or adding value, they should be
removed.

In addition, the `$db = null` may have been added to ensure the
connection was added back to the pool and/or reset if needed, but it
seems like that's not a problem anymore.
2022-10-25 10:05:52 -07:00
Eldad Fux
fa0216cd6d Removed legacy connection push 2022-10-16 14:53:31 +03:00
Eldad Fux
f2068a10e4 Added support for cache sharding, and fallback connections 2022-10-16 14:42:00 +03:00
Eldad Fux
224d526c84 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-16 12:24:53 +03:00
Damodar Lohani
90e9e5e7fd
Update app/http.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-10-16 11:49:12 +05:45
Damodar Lohani
00973d4a14 add try catch 2022-10-16 05:58:25 +00:00
Eldad Fux
7484656be3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-15 22:08:16 +03:00
Eldad Fux
0506dbb30e Adapted HTTP API 2022-10-15 17:14:17 +03:00
Damodar Lohani
e2555e2448 fix metadata creation 2022-10-14 11:25:22 +00:00
Torsten Dittmann
4210fdcb27 feat: console rewrite 2022-10-11 16:36:39 +02:00
Eldad Fux
c23c5c686c Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-08 08:48:06 +03:00
Eldad Fux
26b1a94d22 Renamed DatabasePool to Pools 2022-10-08 08:43:02 +03:00
Torsten Dittmann
fbbb150e86 Revert "Merge pull request #4041 from appwrite/revert-3789-feat-app-region"
This reverts commit 2117fa53f0, reversing
changes made to c634d12ef4.
2022-09-30 14:22:11 +02:00