Commit Graph
20485 Commits
Author SHA1 Message Date
Matej Bačo 65115f876c Improve logic for recovery code factor 2024-04-11 07:52:54 +00:00
Matej Bačo b5b8aa5302 Add recovery code as factor 2024-04-10 13:57:36 +00: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
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 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
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
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
Vincent (Wen Yu) Ge 96b89809b9 remove package lock 2024-04-01 14:35:30 +00:00
Vincent (Wen Yu) GeandSteven Nguyen 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) GeandSteven Nguyen 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
Vincent (Wen Yu) Ge acd7f6ef02 Add same updates for push notifications 2024-03-29 15:59:35 +00:00
Torsten Dittmann 29935376f1 Merge pull request #7864 from appwrite/feat-1.5.4-release-prep
Prepare 1.5.4 release
1.5.4
2024-03-25 19:58:58 +01:00
Steven Nguyen 27d960def4 Add 1.5.4 to CHANGES.md 2024-03-25 11:32:55 -07:00
Torsten Dittmann 75f5ebe6c0 Merge pull request #7863 from appwrite/chore-bump-console-4.0.5
Bump console to version 4.0.5
2024-03-25 19:21:42 +01:00
Steven Nguyen 3c68c7e9cf Bump console to version 4.0.5 2024-03-25 10:54:33 -07:00
Steven Nguyen 92cb3ddcc6 Merge pull request #7857 from appwrite/chore-sdk-release
Update SDKs to fix incorrect MSG91 param
2024-03-22 17:37:06 -07:00
Steven Nguyen 82c93fb55d fix(sdks): fix namespace of Exception
Without this, PHP will try to look for an Exception class in the
Appwrite\Platform\Tasks namespace, which doesn't exist.
2024-03-21 17:25:57 -07:00
Steven Nguyen 7eae743a6b chore(sdks): update dart changelog 2024-03-21 17:23:17 -07:00
Steven Nguyen b91fa98dc1 chore(sdks): update msg91 examples 2024-03-21 17:22:55 -07:00
Steven Nguyen c6118c17e7 chore(sdks): bump versions 2024-03-21 17:21:32 -07:00
Steven Nguyen 4f9153fd6e Merge pull request #7846 from appwrite/fix-116-cli-login
Fix CLI login
2024-03-21 11:51:14 -07:00
Steven Nguyen c6cf4c829e deps 2024-03-21 18:39:50 +00:00
Christy Jacob b8077ca665 Merge pull request #7853 from appwrite/fix-functions-domain-permissions-1.5.x
Fix functions domain permissions 1.5.x
2024-03-21 23:43:18 +05:30
Christy Jacob 22652ef4b9 Merge pull request #7824 from appwrite/fix-msg91
Fix msg91 params
2024-03-21 13:12:26 +05:30
Steven Nguyen 7604d35138 fix(functions): fix permissions for function domains
Execution via domain should be blocked if permissions does not contain
any and permissions does not contain guests.
2024-03-20 15:53:41 +00:00
Steven Nguyen 901a1b8b65 fix: remove escaping
It's done automatically when setting the params already.
2024-03-20 15:53:34 +00:00
Steven Nguyen 57533e64b3 chore: remove dead code in error template 2024-03-20 15:53:24 +00:00
Christy Jacob 7f5a890ced Merge pull request #7848 from appwrite/fix-7844-webhooks-failed-connection
Fix webhooks failed connection
2024-03-20 11:23:13 +05:30
Steven Nguyen 7582b63eaa fix(messaging): use _APP_SMS_FROM for template ID
Fallback to using _APP_SMS_FROM for backwards compatibility.
2024-03-19 16:33:58 -07:00
Steven Nguyen 5eff24567f fix(webhooks): add DB env vars to webhook worker
Every worker requires the DB env vars because a connection is created on init.
2024-03-19 23:11:25 +00:00
Steven Nguyen c67b8645c2 chore(sdk-for-cli): bump version to 5.0.1 2024-03-19 22:19:32 +00:00
Christy Jacob 644d078f7f Merge pull request #7804 from appwrite/fix-6362-fix-docker-conflict
Bump executor version to fix docker conflict error
2024-03-20 03:37:43 +05:30
Steven Nguyen 42e0b055b1 chore(sdks): update dependencies to use updated sdk generator 2024-03-19 22:06:09 +00:00
Steven Nguyen c8728c3c10 fix(functions): bump executor version to fix docker conflict error 2024-03-19 21:33:22 +00:00
Jake Barnby d8e949a20d Fix tests 2024-03-13 16:36:16 +01:00
Jake Barnby 2d03fc1ce0 Fix msg91 params 2024-03-13 15:42:16 +01:00
Jake Barnby 536c67f54d Merge pull request #7814 from appwrite/chore-prepare-release
Update version
2024-03-13 11:10:38 +01:00
Jake Barnby c6ce585fcc Update version 2024-03-13 11:08:50 +01:00
Jake Barnby 5946b4d202 Merge pull request #7813 from appwrite/fix-build-commands
Fix function build command
2024-03-13 10:56:05 +01:00
Steven Nguyen 7273d0e117 Escape function build command
The extra trim is neded to because the extra quotes interfere with
additional operations in the executor/orchestration library.
2024-03-13 10:17:37 +01:00
Torsten Dittmann 97261762e7 Merge pull request #7795 from appwrite/feat-1.5.3-release-prep
Prepare 1.5.3 release
1.5.3
2024-03-11 20:36:43 +01:00
Steven Nguyen cbd7d9c568 Add 1.5.3 to CHANGES.md 2024-03-11 18:07:20 +01:00
Steven Nguyen d167fb3650 Bump appwrite version to 1.5.3 2024-03-11 17:59:12 +01:00