Commit Graph
15760 Commits
Author SHA1 Message Date
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
shimon 574035d638 sms country code 2024-04-07 18:20:42 +03:00
shimon 7df94fcee6 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into feat-sms-locale
 Conflicts:
	composer.json
	composer.lock
2024-04-07 18:17:16 +03: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 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 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
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
Khushboo Verma f66a65f27b Comment timer tick 2024-04-03 22:54:14 +05:30
Eldad Fux bd57955168 Enabled coroutines 2024-04-03 13:43:20 +02: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 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
Damodar Lohani 026f5dde2d set http version to 1.1 for do spaces 2024-04-02 08:35:14 +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 A. FuxandGitHub 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
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
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
Eldad A. FuxandGitHub 532ed5b340 Merge pull request #7893 from appwrite/fix-oauth-error-code
Fix OAuth error code
2024-04-01 18:36:55 +02: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
Eldad A. FuxandGitHub 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
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
ItzNotABug f2305c2b6c update: remove the redundant call to fetch the topic document again. 2024-04-01 13:46:09 +05:30
Khushboo Verma 75d8cc3327 Updated error code for OAuth error 2024-04-01 13:27:44 +05:30
Damodar Lohani 00c45c2507 new environment for certificates and security emails 2024-03-31 03:32:55 +00:00
Steven NguyenandGitHub 5ee5ffb288 refactor: remove var_dump calls 2024-03-29 21:24:05 +00:00
Vincent (Wen Yu) Ge acd7f6ef02 Add same updates for push notifications 2024-03-29 15:59:35 +00:00
Christy Jacob f8c44c8a50 chore: linter 2024-03-29 10:18:33 +00:00
Matej Bačo 5275d0b021 Merge branch 'refactor-usage-sn' into feat-configurable-collections 2024-03-29 10:48:11 +01:00
xueandGitHub 6af209b733 Merge branch 'main' into feat-7868-missing-country-for-locale-endpoint-user-inquiry-regarding-addition-of-taiwan-to-countries-list 2024-03-29 03:22:47 +03:00
bhc 020a4bb49c Add Taiwan country code 2024-03-29 03:14:55 +03:00
Steven NguyenandGitHub ffbf3c0058 Merge pull request #7764 from jgentes/main
Removed redundant commas
2024-03-28 16:25:30 -07:00
bhc 1bd213830b Add translations for Taiwan in multiple languages 2024-03-27 23:50:21 +03:00