1
0
Fork 0
mirror of synced 2024-09-09 14:21:24 +12:00
Commit graph

7740 commits

Author SHA1 Message Date
fogelito
a5e67db604 fulltext 2022-10-26 23:12:46 +03:00
fogelito
8e8801b11c adapter change 2022-10-26 23:05:25 +03:00
fogelito
08e44f0656 some changes 2022-10-26 22:14:39 +03:00
Christy Jacob
c2be54ca7f
Revert "Fix usage on DB Pools" 2022-10-26 21:32:40 +05:30
Christy Jacob
3a857bb16e Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-usage-fix 2022-10-26 15:42:55 +00:00
Torsten Dittmann
32f2333ab6 test: mysql adapter 2022-10-26 16:38:40 +02:00
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
Christy Jacob
2d6a00e56f Merge branch 'feat-mysql-test' of github.com:appwrite/appwrite into feat-db-pools 2022-10-25 19:26:23 +05:30
Christy Jacob
503bd53a47 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-mysql-test 2022-10-25 13:48:59 +00:00
Christy Jacob
ca602199da feat: update mysql changes 2022-10-25 13:42:30 +00:00
Damodar Lohani
4dc6e2fb6a use register to reclaim 2022-10-24 02:33:19 +00:00
Damodar Lohani
70afd1efed pool reclaim 2022-10-24 01:34:12 +00:00
Damodar Lohani
adf3f74ef2 refill pools on exception 2022-10-23 08:19:10 +00:00
Damodar Lohani
c8b5301267 update maintenance to delete only hourly metrics older than 3 months 2022-10-23 07:29:13 +00:00
Damodar Lohani
bde7fe21c4 remove unused param 2022-10-23 07:03:50 +00:00
Damodar Lohani
8048d24857 deprecate database aggregation 2022-10-23 05:17:50 +00:00
Damodar Lohani
3ed3ef9d71 rename variable 2022-10-23 04:46:23 +00:00
Damodar Lohani
ff6c6003fc get project db for CLI 2022-10-22 03:08:28 +00:00
Damodar Lohani
a385b01d4a using project db properly 2022-10-22 02:25:22 +00:00
Vincent (Wen Yu) Ge
9a1f54baf1
Merge branch 'master' into doc-unique-id 2022-10-21 17:43:52 -04:00
Damodar Lohani
03f8e20dfd Merge remote-tracking branch 'origin/master' into feat-usage-refactor 2022-10-21 06:27:03 +00:00
Damodar Lohani
dfa35e0a0b fix periods on usage endpoints 2022-10-21 05:45:25 +00:00
Eldad Fux
27c4e24fa5 Unused classes 2022-10-21 08:41:17 +03:00
Eldad Fux
54469e9b4d Unused classes 2022-10-21 08:41:12 +03:00
Damodar Lohani
d35b438255 fix collection and document counts 2022-10-21 01:50:03 +00:00
Damodar Lohani
a7e1e5f25f fix period 2022-10-21 01:40:33 +00:00
fogelito
1b776f7fdc some changes 2022-10-20 23:59:00 +03:00
Eldad Fux
e113253e35 Fixed tests 2022-10-19 17:13:38 +03:00
Eldad Fux
e5c62c6730 Fixed usage of DSN database 2022-10-19 16:55:58 +03:00
Eldad Fux
a1157fb49b Env vars clean ups 2022-10-19 15:59:13 +03:00
Eldad Fux
58ef860959 Merge branch 'feat-db-pools-eldad' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-19 15:41:42 +03:00
Eldad Fux
159fd5fc59 Change URLURL to AppwriteURL 2022-10-19 15:41:38 +03:00
Christy Jacob
41b420d313 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-19 10:00:56 +00:00
Christy Jacob
584ec3160a Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-10-19 09:52:52 +00:00
Eldad Fux
d51c379514 Fixed linter errors 2022-10-19 11:35:30 +03:00
Eldad A. Fux
61d6b435b3
Merge pull request #4530 from appwrite/feat-bump-api-specs
Update API specs
2022-10-19 09:28:13 +03:00
Steven Nguyen
080116cff8 Update API specs 2022-10-18 21:05:54 +00:00
Eldad Fux
4fe5c0dd1d Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-18 17:29:21 +03:00
Christy Jacob
6bfb76b620 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-10-18 07:57:34 +00:00
Damodar Lohani
868e487a59 fix bucket collection name 2022-10-18 07:52:41 +00:00
Damodar Lohani
e7c82a28dd more fixes 2022-10-18 07:09:11 +00:00
Damodar Lohani
305dafe2ad update missing stats 2022-10-18 06:53:17 +00:00
Eldad Fux
d5fafe0ffc Fixed realtime tests 2022-10-17 20:37:28 +03:00
Eldad Fux
52d44f0599 Updated Realtime server 2022-10-17 20:26:21 +03:00
Eldad Fux
1632ae61eb Fixing CLI tasks 2022-10-17 19:43:51 +03:00
Eldad Fux
2e23721774 Fixed maintenance container 2022-10-17 15:46:56 +03:00
Eldad Fux
65e004f145 Fixed health API and add new test endpoints 2022-10-17 14:43:57 +03:00
Damodar Lohani
5b90c433ab fix collection id 2022-10-17 07:53:55 +00:00
Damodar Lohani
00d194d5d1 fix linters 2022-10-17 07:37:30 +00:00
Damodar Lohani
f3c183b563 listen to delete events 2022-10-17 07:10:18 +00:00
Damodar Lohani
f78cb09694 Merge remote-tracking branch 'origin/master' into feat-usage-refactor 2022-10-17 06:55:01 +00:00
Damodar Lohani
84f5842c81 document create listener 2022-10-17 06:52:24 +00:00
Eldad Fux
f6449687b5 Create connections only on fill method 2022-10-17 01:49:53 +03:00
Eldad Fux
fe29e58f22 Fixed doctor health checks 2022-10-16 20:48:53 +03: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
019fa11616 setup to use database listeners 2022-10-16 08:50:53 +00: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
8437aa894d Removed unused imports 2022-10-16 01:51:11 +03:00
Eldad Fux
f15d476889 Fixed specification 2022-10-16 01:44:41 +03:00
Eldad Fux
13847fc155 Added verbose error log for dev mode 2022-10-16 01:44:03 +03: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
d5849c39f3 Removed unused namespaces 2022-10-15 21:57:55 +03:00
Eldad Fux
95a9ded28f Adjusted compose files and tests 2022-10-15 21:17:03 +03:00
Eldad Fux
0506dbb30e Adapted HTTP API 2022-10-15 17:14:17 +03:00
Eldad Fux
0e9c6db759 Added new connections 2022-10-15 16:49:37 +03:00
Eldad Fux
daecc1aa76 Init new connection pool, removed old extensions 2022-10-15 11:52:50 +03:00
Damodar Lohani
e2555e2448 fix metadata creation 2022-10-14 11:25:22 +00:00
Damodar Lohani
be3743e227 fix renamed function 2022-10-14 11:24:37 +00:00
Damodar Lohani
f86a5b5fcd fix renamed methods 2022-10-14 11:12:59 +00:00
Damodar Lohani
65337bc9e9 fix metadata creation 2022-10-14 11:07:32 +00:00
Christy Jacob
98bdcfe04e
Merge pull request #4292 from Akshay-Rana-Gujjar/fix-3810-incorrect-error-when-updating-phone-to-existing-number
fixed: wrong error message show on adding duplicate number to a user
2022-10-14 12:02:39 +04:00
Steven Nguyen
02ab2b8a63
Update SDK License to match opensource.org
The difference made it so pub.dev was unable to detect the license.
2022-10-12 09:57:54 -07:00
Torsten Dittmann
bc66efa1a5 chore: prepare 1.0.3 2022-10-12 12:03:55 +02:00
Steven Nguyen
5542e5b04c Only delete collection data for correct db
Ensure attributes, indexes, and audit for correct database is deleted.
2022-10-11 22:51:10 +00:00
Eldad Fux
fc8c40c62f Removed unused hostnames 2022-10-10 19:34:57 +03:00
Damodar Lohani
9b2db20b3b fix backfill 2022-10-09 06:33:14 +00:00
Damodar Lohani
22b00c019d update usage period on get for databases 2022-10-09 06:30:26 +00:00
Eldad Fux
690c275ee2 Hide _APP_DB_PROJECT and _APP_DB_CONSOLE from docs 2022-10-08 10:26:51 +03:00
Eldad Fux
a229eac2cc Renamed DatabasePool to Pools 2022-10-08 08:51:58 +03: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
Eldad Fux
5af7dc943f Renamed DatabasePool to Pools 2022-10-08 08:42:53 +03:00
Christy Jacob
1a9c4e3756 fix: mysql indexes issue 2022-10-06 18:41:15 +05:30
Akshay Rana
da9133ae85 fixed: wrong error message show on adding duplicate number to a user 2022-10-04 23:48:15 +05:30
Vincent (Wen Yu) Ge
4cee87273c
Merge branch 'master' into doc-unique-id 2022-10-04 10:51:38 -04:00
Christy Jacob
12b1ecfcf9 feat: mysql support 2022-10-04 17:04:42 +05:30
Torsten Dittmann
120216f715 Merge branch '1.0.x' of https://github.com/appwrite/appwrite into chore-prepare-1-0-2 2022-10-04 12:19:18 +02:00
Vincent (Wen Yu) Ge
55985c47d4 Update specs 2022-10-03 21:21:27 +00:00
Vincent (Wen Yu) Ge
ae2100244f Update unique() to be ID.unique() 2022-10-03 20:22:28 +00:00
Torsten Dittmann
5d32ddb408 Merge branch '1.0.x' of https://github.com/appwrite/appwrite into chore-prepare-1-0-2 2022-09-30 14:36:53 +02:00
Torsten Dittmann
e5271dbda9
Merge branch '1.0.x' into fix-function-vars-null 2022-09-30 14:29:22 +02:00
Torsten Dittmann
0c1222f0f5 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.0.x 2022-09-30 14:23:06 +02:00
Torsten Dittmann
e0b9f57d85
Revert "Feat app region" 2022-09-30 12:32:58 +02:00
Torsten Dittmann
757a3f8651 chore: prepare 1.0.2 2022-09-30 12:27:26 +02:00
Torsten Dittmann
637a97c4de Merge branch '1.0.x' of https://github.com/appwrite/appwrite into fix-function-vars-null 2022-09-30 12:06:32 +02:00
Torsten Dittmann
6c1e2ae537
Merge branch '1.0.x' into fix-boolean-attribute-default-value 2022-09-30 11:56:31 +02:00
Torsten Dittmann
d511c2d2ad
Merge pull request #3858 from appwrite/fix-certificate-fail-mail
Fix: Certificate -> Mail worker communication
2022-09-30 11:54:31 +02:00