Commit Graph

25060 Commits

Author SHA1 Message Date
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
cl-billing-82
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
cl-billing-81
2024-04-03 14:08:26 +02:00
Khushboo Verma 008c3ac19a Update executor version 2024-04-03 17:18:15 +05:30
Eldad Fux bd57955168 Enabled coroutines 2024-04-03 13:43:20 +02:00
Jake Barnby 6f18303fcc Test that secret is not included in realtime payload 2024-04-03 16:37:58 +13:00
Jake Barnby fb408636a4 Set token secrets as sensitive event params 2024-04-03 16:36:53 +13:00
Jake Barnby e224ca440b Allow setting event parameters as sensitive 2024-04-03 16:36:21 +13:00
Matej Bačo a5dbfeee0f Fix unit test cl-1.5.4+1 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
cl-billing-80
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 cl-billing-79 2024-04-02 13:01:55 +02:00
Matej Bačo e3a039db49 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into refactor-usage-sn cl-billing-78 2024-04-02 11:42:18 +02:00
Matej Bačo 7a25a3c529 Upgrade database lib for ZDT 2024-04-02 11:42:10 +02:00
Damodar Lohani 76eacaf8e2 Merge pull request #7905 from appwrite/PEA-649-fix-storage-issue
PEA-649 storage do adapter http version
cl-billing-77
2024-04-02 14:37:43 +05:45
Damodar Lohani 026f5dde2d set http version to 1.1 for do spaces 2024-04-02 08:35:14 +00:00
Damodar Lohani 39da1b8028 composer update 2024-04-02 08:32:30 +00:00
Eldad Fux a1db69b7e7 Fixed missing System namespace 2024-04-02 08:13:28 +02:00
Eldad Fux 378bb5fda3 Fixed server 2024-04-02 03:14:19 +02:00
Eldad Fux be7a6e55f8 Fixed whitespace 2024-04-02 03:02:06 +02:00
Eldad Fux 5ce3de4933 Merge remote-tracking branch 'origin/main' into feat-eldad2-coroutines 2024-04-02 02:13:15 +02:00
Eldad Fux b570368f10 Fixed auth error in users usage 2024-04-01 23:57:20 +02:00
Eldad Fux c73ef2c649 Fixed 451 status code 2024-04-01 23:46:00 +02:00
Eldad A. Fux f875c6aa70 Merge pull request #7884 from appwrite/refactor-var-dump
Remove var_dump calls
2024-04-01 20:11:49 +02:00
Eldad Fux 6ce8781af1 Fixed email escaping 2024-04-01 19:39:26 +02:00
Khushboo Verma 3469ebf7b0 Add var_dump to debug flaky test 2024-04-01 23:07:11 +05:30
Steven Nguyen 955eb297ab Merge pull request #7681 from appwrite/1.5.x-api-descriptions
Email attachment example
2024-04-01 09:50:54 -07:00
Eldad Fux 713928cff3 Couroutines test
<!--
Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to appwrite here: https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md

Happy contributing!

-->

## What does this PR do?

(Provide a description of what this PR does and why it's needed.)

## Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)

## Related PRs and Issues

- (Related PR or issue)

## Checklist

- [ ] Have you read the [Contributing Guidelines on issues](https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md)?
- [ ] If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?
2024-04-01 18:40:35 +02:00
Khushboo Verma 7f038ec704 Merge branch 'refactor-usage-sn' into fix-deployment-not-found-error 2024-04-01 22:10:00 +05:30
Eldad A. Fux 532ed5b340 Merge pull request #7893 from appwrite/fix-oauth-error-code
Fix OAuth error code
2024-04-01 18:36:55 +02:00
Christy Jacob 4e08c6d02d Merge pull request #7882 from appwrite/feat-configurable-collections
Feat configurable collections
cl-billing-76
2024-04-01 21:35:47 +05:30
Vincent (Wen Yu) Ge 96b89809b9 remove package lock 2024-04-01 14:35:30 +00:00
Vincent (Wen Yu) Ge 2e2c38871d Update app/controllers/api/messaging.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-04-01 10:30:12 -04:00
Vincent (Wen Yu) Ge 0ef562ef4d Update app/controllers/api/messaging.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-04-01 10:30:06 -04:00
Khushboo Verma e7e85bfb76 Update response code 2024-04-01 19:37:51 +05:30
Khushboo Verma a3a7763340 Created failed execution for build errors 2024-04-01 19:07:17 +05:30
Eldad A. Fux 61f04d5340 Merge pull request #7897 from appwrite/fix-authdesk-refresh-var
Fixed wrong refresh var for Autodesk
2024-04-01 15:25:07 +02:00
Eldad Fux 45a140c1f7 Fixed wrong refresh var for Autodesk 2024-04-01 15:10:43 +02:00
Eldad A. Fux 0f321421c1 Merge pull request #7895 from appwrite/feat-use-system-for-env
Updated getEnv to use system lib
2024-04-01 14:58:12 +02:00
Eldad Fux bbf8b96931 Fixed default format 2024-04-01 14:41:17 +02:00
Khushboo Verma ec930bf125 Add request headers 2024-04-01 17:18:42 +05:30