Commit Graph
20496 Commits
Author SHA1 Message Date
Steven NguyenandGitHub 281b3f3e27 Merge pull request #8002 from mbackonja/fix-8001-appwrite-worker-mails-db-connection
Added DB environment variables to appwrite-worker-mails
2024-04-22 14:34:55 -07:00
Milan Bačkonja b6f3d2d3e5 fix(appwrite-worker-mails): Added DB environment variables to appwrite-worker-mails 2024-04-22 12:04:49 +02:00
Eldad A. FuxandGitHub a189abdb0a Merge pull request #7997 from appwrite/fix-missing-apis-attribute
Add missing 'apis' attribute to projects collection
2024-04-19 08:00:19 +02:00
Steven NguyenandGitHub cd16542703 fix(migration): add missing 'apis' attribute to projects collection
This change updates the V20 (1.5.x) migration script to create the
`apis` attribute in the `projects` collection since it was added to the
collections config.
2024-04-19 00:09:48 +00:00
Torsten DittmannandGitHub 0919b2d06a Merge pull request #7981 from appwrite/fix-recovery-challenge-check
fix(auth): fix challenge type check
2024-04-17 11:11:06 +02:00
Steven NguyenandGitHub 2f7aff3a44 fix(auth): fix challenge type check
The factor parameter is case insensitive so we need to make sure
comparing the parameter to the constant is case insensitive too.
2024-04-16 23:44:46 -07:00
Eldad A. FuxandGitHub 05dd17bd55 Merge pull request #7949 from appwrite/fix-factors-recovery-code
Add recovery code to List factors
2024-04-15 10:48:16 +02:00
Eldad A. FuxandGitHub 8dd9b58513 Merge pull request #7950 from appwrite/fix-recovery-code-removal
Fix: recovery code removal
2024-04-11 17:28:15 +02:00
Eldad A. FuxandGitHub 7b2aae5ce2 Merge pull request #7947 from appwrite/fix-mfa-protected-group
Fix: MFA protected group
2024-04-11 11:33:40 +02:00
Matej Bačo 65115f876c Improve logic for recovery code factor 2024-04-11 07:52:54 +00:00
Matej Bačo 860d292df9 Fix recovery code removal 2024-04-10 14:01:25 +00:00
Matej Bačo b5b8aa5302 Add recovery code as factor 2024-04-10 13:57:36 +00:00
Matej Bačo c87a7053b4 Fix bug in MFA protected group 2024-04-10 11:42:20 +00:00
Jake BarnbyandGitHub 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 BarnbyandGitHub 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 BarnbyandGitHub 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 BarnbyandGitHub 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. FuxandGitHub 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 NguyenandGitHub 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 NguyenandGitHub 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
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
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 DittmannandGitHub 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 DittmannandGitHub 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 NguyenandGitHub 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 NguyenandGitHub 4f9153fd6e Merge pull request #7846 from appwrite/fix-116-cli-login
Fix CLI login
2024-03-21 11:51:14 -07:00
Steven NguyenandGitHub c6cf4c829e deps 2024-03-21 18:39:50 +00:00
Christy JacobandGitHub 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 JacobandGitHub 22652ef4b9 Merge pull request #7824 from appwrite/fix-msg91
Fix msg91 params
2024-03-21 13:12:26 +05:30
Steven NguyenandGitHub 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 NguyenandGitHub 901a1b8b65 fix: remove escaping
It's done automatically when setting the params already.
2024-03-20 15:53:34 +00:00
Steven NguyenandGitHub 57533e64b3 chore: remove dead code in error template 2024-03-20 15:53:24 +00:00
Christy JacobandGitHub 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 NguyenandGitHub 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 NguyenandGitHub 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 NguyenandGitHub c67b8645c2 chore(sdk-for-cli): bump version to 5.0.1 2024-03-19 22:19:32 +00:00
Christy JacobandGitHub 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