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
Torsten Dittmann
e0b9f57d85
Revert "Feat app region"
2022-09-30 12:32:58 +02:00
Christy Jacob
3b802e9ba6
Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools
2022-09-27 20:59:50 +05:30
Damodar Lohani
e80e65946b
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-app-region
2022-09-19 12:01:56 +00:00
Torsten Dittmann
e6432df04b
fix: phpcomments
2022-09-12 16:09:28 +02:00
Torsten Dittmann
35fc397ecc
fix: remove unnecessary try/catch
2022-09-12 16:08:29 +02:00
Torsten Dittmann
a059ec11e7
add some fixes
2022-09-09 11:38:54 +02:00
Damodar Lohani
0cd1da0680
remove dump
2022-09-09 05:06:07 +00:00
Torsten Dittmann
b19b9d450f
feat: migration of 1.0.0
2022-09-08 18:46:18 +02:00
Damodar Lohani
ed81ff1263
regions using config instead
2022-09-08 07:19:14 +00:00
Damodar Lohani
cf1c9452c1
region in UI
2022-09-08 06:24:58 +00:00
Damodar Lohani
4ba8e725ea
compression attribute on default bucket
2022-08-31 02:29:06 +00:00
Christy Jacob
ceb11f839f
feat: fix realtime tests
2022-08-24 14:21:26 +05:30
Jake Barnby
714bbc0af0
Fix default bucket missing create permission
2022-08-24 20:27:27 +12:00
Jake Barnby
66539bbe3a
Review updates for role helper usage
2022-08-19 16:04:33 +12:00
Jake Barnby
b007acfa95
ID updates
2022-08-14 22:33:36 +12:00
Jake Barnby
b2e659bd3f
Review fixes
2022-08-14 17:21:33 +12:00
Jake Barnby
fe5d3a1892
Use permission helpers
2022-08-14 17:21:11 +12:00
Jake Barnby
68cc919aaa
Test fixes
2022-08-14 02:10:28 +12:00
Christy Jacob
4521907b83
feat: refactor workers
2022-08-12 21:39:45 +05:30
Jake Barnby
62b1eba836
Replace write refs
2022-08-05 17:23:18 +12:00
Jake Barnby
d9f0ece812
Remove new properties from DB level
2022-08-04 12:08:16 +12:00
Jake Barnby
ed9d331f89
Pass through collection config permissions and document security
2022-08-03 21:52:55 +12:00
Jake Barnby
1ab86c9331
Role reference updates
2022-08-03 16:17:49 +12:00
Christy Jacob
561e7b43e1
feat: review comments
2022-08-03 00:26:45 +05:30
Jake Barnby
4520114780
Refactor storage to use new permissions
2022-08-02 21:19:15 +12:00
Christy Jacob
86e8470784
feat: linter fixes
2022-07-26 14:07:08 +05:30
Christy Jacob
e5dceddfe7
feat: review comments
2022-07-26 00:19:53 +05:30
Christy Jacob
22b4e8ed83
feat: update naming convention
2022-07-16 11:23:58 +05:30
Christy Jacob
ebc971f8dc
feat: realtime db pool
2022-07-16 00:19:50 +04:00
Christy Jacob
662800cc67
Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools
2022-07-14 03:42:26 +04:00
Christy Jacob
43ec31e393
feat: restructuring db pools
2022-07-09 17:41:14 +04:00
Christy Jacob
8d5dd605d8
feat: refactor DatabasePool class
2022-07-01 14:18:33 +02:00
Christy Jacob
373295b498
feat: add new projectDB resource
2022-06-30 17:38:47 +02:00
Christy Jacob
1c1a635d5a
feat: rename db to consoleDB
2022-06-30 13:01:29 +02:00
Christy Jacob
69f1798758
feat: add db-pools
2022-06-23 10:50:00 +02:00
Torsten Dittmann
a37f84da01
fix: migration
2022-06-22 23:11:42 +02:00
Torsten Dittmann
bbdf70ee90
feat: use new $createdAt and $updatedAt attributes
2022-06-15 14:46:52 +02:00
Christy Jacob
039d9f0ead
feat: inital commit for multiple db pools
2022-06-14 16:57:57 +02:00
Torsten Dittmann
105ae1caec
Merge branch 'master' into fix-1662-logs-minor-spelling-mistake
2022-06-03 12:34:08 +02:00
Everly Precia Suresh
19300ccdd7
format files in app, src, tests
2022-05-23 14:54:50 +00:00
Damodar Lohani
0a1fbcd23d
add missing attribute keys
2022-03-27 08:01:50 +00:00
Bradley Schofield
8c984a555f
Add a 'detailedTrace' extra for the logger library
2022-03-18 10:05:38 +00:00
Christy Jacob
37c6fd75d8
Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor
2022-02-28 20:18:48 +04:00
Torsten Dittmann
de12605d66
feat: add option to configure worker numbers
2022-02-28 12:05:11 +01:00
Damodar Lohani
6aec8ad02c
fix creating default bucket
2022-02-28 13:39:19 +05:45
Damodar Lohani
d73d3015eb
Merge branch 'master' into feat-storage-buckets
2022-02-10 01:20:16 +00:00
Damodar Lohani
64b3a04465
fix remove adapter attribute from storage buckets
2022-01-31 12:50:12 +05:45
Torsten Dittmann
d3150afebc
feat: migration for 0.13
2022-01-18 12:05:04 +01:00
Damodar Lohani
1e3514b7b2
update antiVirus to antivirus for consistency
2022-01-16 13:40:55 +05:45
Damodar Lohani
e16f64d84b
fix default bucket creation issue
2022-01-10 12:16:33 +05:45
Damodar Lohani
2239e4a5e6
Merge branch 'feat-s3-integration' into feat-refactor-storage-resource
2022-01-07 15:47:38 +05:45
Damodar Lohani
d20062f63a
Merge branch 'feat-storage-buckets' into feat-large-file
2022-01-06 15:01:21 +05:45
Matej Baco
a762fe7b3e
Moved request format to app init
2022-01-02 16:19:27 +01:00
Matej Baco
b703943b26
Merge branch 'feat-database-indexing' into feat-quest-filters
2021-12-31 16:48:52 +01:00
Matej Baco
1c18ddc1bb
Merge branch 'feat-database-indexing' into feat-improve-error-logging
2021-12-31 14:40:14 +01:00
Matej Baco
ae4d02c0f0
Cleanup of POC
2021-12-31 09:40:35 +01:00
Matej Baco
592ab3ab00
WIP: Request filters refactor (into HTTP.php)
2021-12-30 17:17:01 +01:00
Torsten Dittmann
f48708ddf4
fix: use env var instead of hard coded value
2021-12-28 13:04:58 +01:00
Torsten Dittmann
693b8c7185
fix: replace internal and external database with project database
2021-12-27 13:45:23 +01:00
Matej Baco
bd9d777717
PR review changes
2021-12-27 11:35:51 +01:00
Damodar Lohani
36409dafc6
fix bucket role
2021-12-23 15:53:37 +05:45
Damodar Lohani
4cd8f05f69
fixes to files collection
2021-12-23 15:18:44 +05:45
Damodar Lohani
b6d0607c72
update console db for default buckets
2021-12-23 14:43:11 +05:45
Damodar Lohani
535bdee74a
update remove sub collection and use the configured collections itself
2021-12-23 14:16:32 +05:45
kodumbeats
bc2703ea08
Set default database for collections
2021-12-22 20:51:49 -05:00
Matej Baco
ac64cde0a2
Error handler resources removed
2021-12-21 16:21:30 +01:00
Matej Baco
f03ab69bf3
Implemented logger in http server
2021-12-21 16:01:40 +01:00
Matej Baco
5fcc5b9b38
Code cleanup
2021-12-21 15:41:58 +01:00
Matej Baco
c82549cdf4
Applied changes from PR into db-indexing solving unexpected errors returning 200 codes
2021-12-21 11:47:06 +01:00
Matej Baco
195e721fbb
Removed debug code
2021-12-21 11:42:58 +01:00
Torsten Dittmann
f9016c7e7d
fix: status code on uncaught exception
2021-12-21 11:12:33 +01:00
Matej Baco
cba3618c35
Tests fix
2021-12-21 10:29:09 +01:00
Damodar Lohani
879bff2bb1
Merge branch 'feat-storage-buckets' into feat-large-file
2021-12-19 13:01:09 +05:45
Torsten Dittmann
e2297da3da
feat: add more arrow functions
2021-12-17 11:41:26 +01:00
Damodar Lohani
9e9256386b
Merge branch 'feat-storage-buckets' into feat-large-file
2021-12-03 10:31:30 +05:45
Torsten Dittmann
ac796048d8
replace old collections file
2021-12-01 12:48:23 +01:00
Damodar Lohani
d029c94bc8
Merge branch 'feat-storage-buckets' into feat-large-file
2021-10-17 11:45:45 +05:45
Torsten Dittmann
a585a9090a
fix realtime with db refactor
2021-10-07 17:35:17 +02:00
Damodar Lohani
dfa5f6e6c4
correct comment
2021-09-30 14:22:03 +05:45
Damodar Lohani
6afd021233
setting the payload size to 6mb so that at leaset 5 mb chunk is supported
2021-09-27 12:10:37 +05:45
Gireesh Puthumana
8b170cbbd2
Fix for #1662 . Corrected the spelling in the logs.
2021-09-26 17:33:36 -04:00
Damodar Lohani
380ebdc62d
Merge branch 'feat-storage-buckets' into feat-large-file
2021-09-08 13:47:05 +05:45
Eldad Fux
168e5b56a8
Fixed spelling mistakes
2021-08-08 18:56:07 +03:00
Damodar Lohani
10155d89ba
Merge branch 'feat-storage-buckets' into feat-large-file
2021-07-27 11:42:29 +05:45
Eldad A. Fux
cf9f99fdc8
Merge pull request #1427 from appwrite/feat-cleanup-old-db-lib
...
Feat cleanup old DB lib
2021-07-26 22:57:56 +03:00
Eldad Fux
f7c415cd2c
Removed Authorization2 references
2021-07-25 17:51:04 +03:00
Eldad Fux
13c1bb045d
Cleanup old db library
2021-07-25 17:47:18 +03:00
kodumbeats
4242ba75f5
Remove unneeded continue statements
2021-07-21 15:14:18 -04:00
kodumbeats
12e2ebc2b5
Define loop control vars outside loop
2021-07-20 15:11:54 -04:00
kodumbeats
e16bfe7fd3
Move reconnection loop to first call to db
2021-07-20 14:59:58 -04:00
kodumbeats
9870c6fdff
Attempt to reconnect five times before throwing exception
2021-07-20 13:01:47 -04:00
Damodar Lohani
8c0e891079
Merge branch 'feat-storage-buckets' into feat-large-file
2021-07-20 11:37:00 +05:45
kodumbeats
8a205d1b63
Retry initial db connection once before throwing exception
2021-07-19 15:39:31 -04: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
Damodar Lohani
eb0f711c22
Merge branch 'feat-storage-buckets' into feat-large-file
2021-07-18 11:30:37 +05:45
kodumbeats
3c475e37a9
Add delay to wait for db before initialization
2021-07-16 10:35:46 -04:00
Damodar Lohani
f9185d943a
fix payload size to 5MB
2021-07-15 16:01:51 +05:45
Torsten Dittmann
e9a37e9a53
Merge pull request #1385 from TorstenDittmann/fix-broken-pdo-connection
...
fix(http): reset pdo connection if broken
2021-07-12 18:39:57 +02:00
Torsten Dittmann
cff517a2ab
adapt to review
2021-07-12 18:15:21 +02:00
Torsten Dittmann
df24011d8b
fix(http): reset pdo connection if broken
2021-07-12 12:04:00 +02:00
Torsten Dittmann
18d4a0def0
fix(app): remove app resource and replace with utopia
2021-07-12 11:51:58 +02:00
kodumbeats
01555eb8ef
Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes
2021-07-05 13:40:38 -04:00
Eldad Fux
0152e3b69c
Sync with dbpool changes
2021-07-04 18:14:39 +03: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
Eldad Fux
c3cd9637f6
Updated create collection
2021-07-04 15:05:46 +03:00
kodumbeats
23dd38cedb
Add param for default values when creating collections
2021-07-02 11:47:17 -04:00
kodumbeats
0b9f6341d2
Get a connection from pool in coroutine
2021-07-01 16:35:09 -04:00
kodumbeats
d68f7254be
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-db-refactor-routes
2021-07-01 12:51:07 -04:00
kodumbeats
a912e2f20e
Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes
2021-06-30 14:24:48 -04:00
Torsten Dittmann
44ba052fcb
feat(db): improved connection pools
2021-06-28 09:19:33 +02:00
Eldad Fux
03ff844291
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing
2021-06-26 22:47:53 +03:00
kodumbeats
829240e38c
Add retry to first db connection and improve logging
2021-06-16 16:32:10 -04:00
Eldad Fux
f3ff50d686
Fixed logs time attribute
2021-06-12 21:39:59 +03:00
Eldad A. Fux
a3053b2a2b
Merge branch 'feat-database-indexing' into feat-audit-abuse
2021-06-12 17:54:55 +03:00
Eldad Fux
2cf16881f1
Replaced * with role:all
2021-06-11 21:23:16 +03:00
Torsten Dittmann
665d57106e
feat(server): database connection pools
2021-06-11 18:09:46 +02:00