1
0
Fork 0
mirror of synced 2024-09-01 02:11:05 +12:00
Commit graph

20978 commits

Author SHA1 Message Date
fogelito
65ab721c3d InvalidRelationshipValue 2024-04-09 15:32:23 +03:00
Jake Barnby
3859f037a1
Revert "Reclaim only used connections for workers"
This reverts commit fefb60557d.

# Conflicts:
#	app/worker.php
2024-04-09 20:50:33 +12:00
Jake Barnby
9a3f6e7f71
Add connections test 2024-04-09 20:27:30 +12:00
Jake Barnby
b50ec49ac1
Move Connections to pools namespace 2024-04-09 20:26:42 +12:00
Jake Barnby
388f450d89
Fix missing injection 2024-04-09 18:11:08 +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
fefb60557d
Reclaim only used connections for workers 2024-04-09 17:04:31 +12:00
Jake Barnby
730e7319df
Use connection group to reclaim all use connections for request 2024-04-09 17:03:28 +12:00
Jake Barnby
0e5f6a34b0
Merge pull request #7937 from appwrite/feat-reclaim-only-current-connection
Update database
2024-04-08 20:29:39 +12:00
Jake Barnby
a0051eaa81
Update database 2024-04-08 19:59:36 +12:00
Jake Barnby
c5c0c8a8e6
Merge pull request #6886 from appwrite/feat-reclaim-only-current-connection
Fix connection reclaim logic.
2024-04-08 16:14:04 +12:00
Jake Barnby
7b66cc5672
Revert getProjectDB change 2024-04-08 15:48:57 +12:00
Damodar Lohani
4612636144 fix test 2024-04-08 03:45:02 +00:00
Damodar Lohani
82e6db903a prevent functions domain and subdomain to be added as custom domain 2024-04-08 03:29:35 +00: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
be761dd5cd
Merge branch 'refactor-usage-sn' into feat-reclaim-only-current-connection 2024-04-08 14:34:52 +12:00
Jake Barnby
03446b7b8a
Merge pull request #7885 from appwrite/feat-7883-update-email-attachments-param
Update email attachments param
2024-04-08 13:59:17 +12:00
Jake Barnby
6ff81bc592
Merge pull request #7915 from appwrite/fix-7914-custom-smtp-messaging-error
Fix worker crash when using custom SMTP provider
2024-04-08 13:54:46 +12:00
Jake Barnby
293d85525c
Fix on message db resource fetch 2024-04-08 13:43:53 +12:00
Evan
a89a5713ac
Stale Workflow Creation 2024-04-05 14:00:58 -07:00
Khushboo Verma
9f7ecb98d3
Merge pull request #7925 from appwrite/chore-bump-executor-version
Bump executor version to 0.5.1
2024-04-05 23:04:00 +05:30
Khushboo Verma
6d5b087605 Bump executor version to 0.5.1 2024-04-05 22:39:52 +05:30
Steven Nguyen
201726dcd3
chore(specs): regenerate specs due to update email update 2024-04-04 08:06:33 -07:00
Steven Nguyen
f53dd03b93
feat(messaging): Add attachments param to update email endpoint
The param is added to the end to reduce the impact on param order
in SDKs.
2024-04-04 08:06:33 -07:00
Jake Barnby
048b4f76c8
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-reclaim-only-current-connection 2024-04-04 20:28:14 +13:00
Jake Barnby
6ff50103ac
Merge pull request #7917 from appwrite/feat-db-update
Update db for relationships and object as array attributes fixes
2024-04-04 20:16:44 +13:00
Jake Barnby
ccf437dac4
Update db for relationships and object as array attributes fixes 2024-04-04 19:56:09 +13:00
Jake Barnby
2452d3a479
Reclaim only the used connection for realtime 2024-04-04 18:57:33 +13:00
Jake Barnby
479ed3d0b1
Inline defaults 2024-04-04 18:51:40 +13:00
Jake Barnby
8974dcfb39
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-reclaim-only-current-connection
# Conflicts:
#	app/console
#	app/init.php
2024-04-04 17:21:16 +13:00
Jake Barnby
f0ee1926be
Merge pull request #7912 from appwrite/fix-sms-content-too-long
Change SMS verification message to only have the code
2024-04-04 14:56:14 +13:00
Jake Barnby
1f79d953d7
Merge pull request #7906 from appwrite/fix-7832-missing-event-param
Fix delete message event not firing
2024-04-04 14:53:31 +13:00
Eldad A. Fux
7f5ffbd53f
Merge pull request #7913 from appwrite/fix-7879-too-many-requests-creating-file
Add missing chunkId param to create file abuse key
2024-04-04 00:09:45 +02:00
Steven Nguyen
3525cc6d1e
fix(messaging): fix worker crash when using custom SMTP provider
Due to a bug in the Swoole TCP hook, the worker crashes when doing the
TLS handshake. This PR disables the Swoole TCP hook just like we do
in the mails worker.

References:
* https://github.com/appwrite/appwrite/issues/7914
* https://github.com/appwrite/appwrite/pull/6966
* https://github.com/swoole/swoole-src/issues/4909
2024-04-03 13:43:38 -07:00
Steven Nguyen
4a2056890d
fix(storage): add missing chunkId param to create file abuse key
A previous PR added chunkId as an abuse key param to fix a problem where uploading multiple chunks of a file would trigger the `general_rate_limit_exceeded` error. For some reason, the parameter disappeared from the abuse key causing a regression. This PR adds the param back to fix the regression.

Reference:
* https://github.com/appwrite/appwrite/issues/7879
* https://github.com/appwrite/appwrite/pull/7154
2024-04-03 13:28:41 -07:00
Steven Nguyen
4171c86d22
fix(messaging): change SMS verification message to only have the code
Some providers have a limit on the length of the content. For example,
MSG91 has a 30 character limit and passing a longer value wil result
in an error:

     DLT Template variable exceeded max length

As such, we're going to change the content back to how we had it before
1.5 when were were only sending the code by itself until we decide on
a better solution.

Reference:

* https://github.com/appwrite/appwrite/issues/7823#issuecomment-1994618488
2024-04-03 11:53:21 -07:00
Eldad A. Fux
47213c50b6
Merge pull request #7911 from appwrite/remove-realtime-timer-tick
Comment timer tick
2024-04-03 19:49:26 +02:00
Khushboo Verma
f66a65f27b Comment timer tick 2024-04-03 22:54:14 +05:30
Matej Bačo
aa92257c76
Merge pull request #7910 from appwrite/chore-update-executor-version
Update executor version
2024-04-03 14:08:26 +02:00
Khushboo Verma
008c3ac19a Update executor version 2024-04-03 17:18:15 +05:30
Matej Bačo
a5dbfeee0f Fix unit test 2024-04-02 20:23:38 +00:00
Matej Bačo
baeaa9204c Linter fix 2024-04-02 20:03:15 +00:00
Matej Bačo
aaa1465e21 Fix code bugs 2024-04-02 16:58:45 +00:00
Matej Bačo
1234770dc8 CI/CD fixes 2024-04-02 18:48:12 +02:00
Matej Bačo
d091b37a15 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +02:00
Steven Nguyen
18603ac266
fix(messaging): fix delete message event not firing
The parameter and paylaod was missing from the request so it
failed to trigger.

Manually setting the payload is important because the payload
isn't in the response body like it is for create/update
operations.
2024-04-02 08:14:25 -07:00
Christy Jacob
a792f3de1d
Merge pull request #7896 from appwrite/fix-deployment-not-found-error
Create failed execution from worker if deployment doesn't exist
2024-04-02 17:49:28 +04:00
Khushboo Verma
26db6fa4c5 Remove var-dump 2024-04-02 17:49:09 +05:30
Matej Bačo
7c691b3c7c Fix version missmatch 2024-04-02 13:01:55 +02:00