Commit graph

285 commits

Author SHA1 Message Date
Jake Barnby
db94070162
Use DSN for project database 2024-05-06 17:33:36 +12:00
Jake Barnby
c4deb0ba93
Allow shared tables namespace override 2024-05-03 21:30:38 +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
Matej Bačo
2551cf6fb1 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-17 17:56:31 +02:00
Jake Barnby
f95800de73
Revert connection changes 2024-04-12 14:37:15 +12:00
Jake Barnby
4bef6125f7
Use on worker stop to properly reclaim realtime redis connections and unsubscribe 2024-04-09 17:05:44 +12:00
Jake Barnby
899bba64d1
Add try/catch/reclaim around sending stats 2024-04-08 14:55:41 +12:00
Jake Barnby
fc4cbb8174
Move getConsole tick inside try/catch 2024-04-08 14:40:51 +12:00
Jake Barnby
293d85525c
Fix on message db resource fetch 2024-04-08 13:43:53 +12:00
Jake Barnby
2452d3a479
Reclaim only the used connection for realtime 2024-04-04 18:57:33 +13:00
Khushboo Verma
f66a65f27b Comment timer tick 2024-04-03 22:54:14 +05:30
Matej Bačo
d091b37a15 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +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
Christy Jacob
f8c44c8a50 chore: linter 2024-03-29 10:18:33 +00:00
Matej Bačo
440d924518 Allow getCache override 2024-03-20 14:14:23 +01:00
Matej Bačo
2ae9d0b710 Make realtime resources configurable 2024-03-20 13:47:20 +01:00
Torsten Dittmann
fc028b953e fix: formatter 2024-03-08 00:30:23 +01:00
Torsten Dittmann
f51c39cd2b Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x 2024-03-08 00:30:02 +01:00
Jake Barnby
664df69a5f
Fix method refs 2024-03-07 17:49:59 +01:00
Jake Barnby
8a73203635
Revert debugs 2024-03-07 14:52:13 +01:00
Jake Barnby
1ffb80f2f7
Fix realtime db 2024-03-07 10:37:57 +01:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Khushboo Verma
d3b0b00917 Allow users to disable APIs 2024-03-04 23:12:54 +01:00
Matej Bačo
39997c817f Fix failing tests 2024-01-15 14:37:47 +00:00
Jake Barnby
cb03ad1a15
Merge pull request #7003 from appwrite/feat-query-metadata
Feat query metadata
2023-10-27 12:52:34 +13:00
Jake Barnby
89236955fb
Fix setting metadata 2023-10-26 22:28:23 +13:00
Torsten Dittmann
fbcbd0d430 feat: realtime error handling 2023-10-24 14:32:22 +02:00
Jake Barnby
bb0744842d
Set metadata for all database instantiations 2023-10-18 16:21:10 +13:00
Steven Nguyen
a13b7606a2
Fix console db namespace 2023-08-21 15:53:30 -07:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
Jake Barnby
f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
# Conflicts:
#	composer.lock
2023-02-14 14:22:08 +13:00
Damodar Lohani
e70408094a Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-25 10:38:29 +00:00
Christy Jacob
0a98ad6042 Merge branch 'master' of https://github.com/appwrite/appwrite into fix-4446-updated-timestamp-format-to-ISO-in-realtime-payload 2023-01-20 09:51:19 +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
c4bbf08d52
Revert realtime from workerPools -> pools 2022-11-16 20:20:08 +13:00
Jake Barnby
860f077787
Use separate registry entry for worker pools 2022-11-16 12:50:37 +13:00
Torsten Dittmann
7288520f38 fix: realtime console project 2022-11-15 13:30:18 +01:00
Jake Barnby
cca33c6c5d
Remove redundant import 2022-11-15 20:39:41 +13:00
Bradley Schofield
0b883df5ec Fix Tests 2022-11-14 09:42:18 +00:00
Bradley Schofield
66b805829c Move authDuration into auths attribute in project 2022-11-14 09:30:45 +00:00
Jake Barnby
6d1ae05b64
Fix registry usages 2022-11-14 11:42:35 +13:00
Jake Barnby
702bb413dc
Merge remote-tracking branch 'origin/feat-mysql-test' into feat-realtime-dbpools
# Conflicts:
#	.env
#	app/config/variables.php
#	app/init.php
#	app/realtime.php
#	composer.lock
2022-11-14 11:21:58 +13:00
Jake Barnby
ee69a306a9
Merge remote-tracking branch 'origin/fix-realtime-connections' into feat-cloud-jake 2022-11-10 13:26:19 +13:00
Jake Barnby
b6839fa8f1
Capture pools on init 2022-11-09 16:39:15 +13:00
Jake Barnby
958e5424f0
Revert "Revert "WIP fix too many connections" registry changes"
This reverts commit 11c3060682.
2022-11-09 16:12:50 +13:00
Jake Barnby
11c3060682
Revert "WIP fix too many connections" registry changes
This reverts commit a6ffab09df.
2022-11-08 12:25:54 +13:00
Jake Barnby
a6ffab09df
WIP fix too many connections 2022-11-07 23:31:54 +13:00
Bradley Schofield
4cfc3b3a7f Update authDuration fallback value 2022-11-04 10:12:02 +00:00
Bradley Schofield
94676a6c16 Alter sessionVerify to remove expire 2022-11-04 09:50:59 +00:00
Eldad Fux
d31a3ab088 Updated dependencies 2022-11-04 07:26:56 +02:00
Eldad Fux
e5c62c6730 Fixed usage of DSN database 2022-10-19 16:55:58 +03:00
Eldad Fux
d51c379514 Fixed linter errors 2022-10-19 11:35:30 +03:00
Akshay Rana
641a4af8d4 upated the timestamp code 2022-10-18 22:40:50 +05:30
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
Akshay Rana
1fcc5eccb1 updated timestamp format to ISO string in realtime payload 2022-10-17 12:44:44 +05:30
Eldad Fux
fa0216cd6d Removed legacy connection push 2022-10-16 14:53:31 +03:00
Eldad Fux
a229eac2cc Renamed DatabasePool to Pools 2022-10-08 08:51:58 +03:00
Christy Jacob
12b1ecfcf9 feat: mysql support 2022-10-04 17:04:42 +05:30
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
7c9d8fcf64 feat: update worker class 2022-08-24 22:56:30 +05:30
Christy Jacob
47b206c445 feat: update maintenance task 2022-08-24 21:58:04 +05:30
Christy Jacob
59e7e5caa7 feat: linter issues 2022-08-24 21:03:54 +05:30
Christy Jacob
9cfefe58bf feat: refactoring classes 2022-08-24 20:52:54 +05:30
Christy Jacob
85bfdd8f54 feat: refactoring classes 2022-08-24 20:26:41 +05:30
Christy Jacob
ceb11f839f feat: fix realtime tests 2022-08-24 14:21:26 +05:30
Jake Barnby
cb6fc7f618 Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	.gitignore
#	app/config/collections.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	composer.lock
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby
7019be987c Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/account.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/workers/deletes.php
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
#	src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Jake Barnby
f36f176849 Role helper usage 2022-08-17 15:11:49 +12:00
Jake Barnby
77a28a2de7 Don't use ID helper with existing ID's 2022-08-15 23:24:31 +12:00
Jake Barnby
613a0f8006 ID and test fixes 2022-08-15 02:22:38 +12:00
Jake Barnby
9c260164ef Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-14 23:46:34 +12:00
Jake Barnby
6a5de3e0b6 Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/config/collections.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/api/teams.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Account/AccountBase.php
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
#	tests/e2e/Services/Storage/StorageBase.php
#	tests/e2e/Services/Storage/StorageCustomClientTest.php
#	tests/e2e/Services/Storage/StorageCustomServerTest.php
#	tests/e2e/Services/Teams/TeamsBase.php
#	tests/e2e/Services/Webhooks/WebhooksBase.php
#	tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
#	tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
#	tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Steven
610ec1a6a4 Update database query syntax 2022-08-14 05:44:55 +00:00
Christy Jacob
d2bf8b25de feat: update db pools 2022-08-13 13:27:04 +05:30
Jake Barnby
8d83b6ada3 Fix realtime abuse check 2022-08-10 17:42:20 +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
Matej Bačo
ef3496d55b Bug fixing afte merge 2022-07-25 12:37:29 +00:00
Christy Jacob
5bb0698ded feat: fix linting errors 2022-07-22 08:23:10 +05:30
Christy Jacob
cbccaf9527 feat: update migration 2022-07-16 00:58:15 +04:00
Christy Jacob
ebc971f8dc feat: realtime db pool 2022-07-16 00:19:50 +04:00
Christy Jacob
42f0bddd60 feat: merge and fix conflicts 2022-07-15 13:54:27 +04:00
fogelito
97250d8193 Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes 2022-07-14 16:35:25 +03:00
fogelito
0816dd15f9 remove comments 2022-07-14 16:12:44 +03: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
8e936dc3c2 feat: fix realtime tests 2022-07-07 14:39:23 +04:00
Christy Jacob
afd40cae77 fix: add realtime worker 2022-07-07 01:43:54 +04:00
Torsten Dittmann
806a67b1b0 fix: realtime authentication on console 2022-07-06 12:53:30 +02:00
Torsten Dittmann
9eb016d0f4 fix: realtime reconnect behaviour 2022-06-21 18:00:23 +02:00
Torsten Dittmann
3aa49f773a fix: all of the workers 2022-06-20 11:22:53 +02:00
Torsten Dittmann
32ed46c899 Revert "fix: realtime db"
This reverts commit c36504e678.
2022-06-20 09:44:44 +02:00
Torsten Dittmann
4b3a90bb54 Revert "fix: workers"
This reverts commit c89b62a7b4.
2022-06-20 09:37:00 +02:00
fogelito
f637114a1a move debugs 2022-06-19 18:45:35 +03:00
Torsten Dittmann
c36504e678 fix: realtime db 2022-06-19 12:58:43 +02:00