Commit graph

128 commits

Author SHA1 Message Date
shimon
0791b68149 adding external messages usage 2024-09-17 11:45:07 +03:00
Christy Jacob
c7dd8574e4
Merge pull request #8648 from appwrite/phone_auth_metric_rename
Phone auth metric rename
2024-09-09 17:42:11 +04:00
shimon
de8e82926a sms messages rename 2024-09-09 14:54:32 +02:00
Jake Barnby
c58fa78962
Remove tenant in filter 2024-09-05 14:25:11 +12:00
loks0n
ab4401992c Revert "feat: use param instead"
This reverts commit 72cca45d6d.
2024-05-30 16:36:05 +01:00
loks0n
72cca45d6d feat: use param instead 2024-05-30 16:34:43 +01:00
loks0n
c6a520909e feat: support twilio messaging service sid 2024-05-30 16:23:15 +01:00
Christy Jacob
cd5f6f58a2 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main 2024-05-24 12:43:56 +00:00
shimon
074eab3d63 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into feat-sms-locale
 Conflicts:
	composer.json
	composer.lock
2024-05-22 15:51:24 +03:00
Binyamin Yawitz
ab0d6f7c19
refactor(messaging worker): Refactoring local device to worker only 2024-05-21 15:48:53 -04:00
Steven Nguyen
d54986dc75
fix(messaging): fix TextMagic class name
The class name in utopia-php/mssaging is TextMagic so use the same here
to prevent an error like:

> Class "Utopia\Messaging\Adapter\SMS\Textmagic" not found ...
2024-05-16 05:39:46 +00:00
shimon
510f864b06 adding null safety 2024-05-12 19:51:16 +03:00
shimon
15b8aa5b16 composer format 2024-05-12 18:12:40 +03:00
shimon
88e67c8d58 getCountryCode 2024-05-08 14:23:11 +03:00
shimon
17b9f136f1 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into feat-sms-locale
 Conflicts:
	composer.json
	composer.lock
	src/Appwrite/Platform/Workers/Messaging.php
2024-05-08 14:05:14 +03:00
Steven Nguyen
b75f5263a2
Merge branch 'main' into chore-sync-main-into-1.5.x 2024-04-23 23:43:53 +00: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
shimon
fcba25d004 dummy commit 2024-04-07 18:15:46 +03: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
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
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
Jake Barnby
2d03fc1ce0
Fix msg91 params 2024-03-13 15:42:16 +01:00
Jake Barnby
7d896c3155
Add bucketId and fileId to image data 2024-03-07 18:40:45 +01:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Torsten Dittmann
e4e40e2071 chore: run linter 2024-03-05 11:10:03 +01:00
Torsten Dittmann
b8b1d8629f fix: tests 2024-03-05 11:09:19 +01:00
Torsten Dittmann
a53e630536 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x-2 2024-03-05 10:31:51 +01:00
Jake Barnby
f3fa172482
Use a set to avoid message duplication 2024-02-28 01:01:39 +13:00
Jake Barnby
7a8ea7278e
Fix exceptions 2024-02-28 01:00:36 +13:00
Jake Barnby
12e8cc450f
Fix redundant batching 2024-02-28 00:59:40 +13:00
Jake Barnby
e1e9fc6589
Remove redundant checks 2024-02-28 00:56:52 +13:00
Jake Barnby
b862c8ee1e
Query provider type directly for targets 2024-02-28 00:56:23 +13:00
Jake Barnby
4a71e6ef4f
Use array_push instead of array_merge in loops 2024-02-28 00:55:11 +13:00
Jake Barnby
11e9f43982
Allow setting APNS to sandbox mode 2024-02-24 13:34:08 +13:00
loks0n
b2e1c162d2 chore: fmt 2024-02-21 16:27:37 +00:00
loks0n
e3c261b9e4 fix: msg91 2024-02-21 16:24:55 +00:00
Jake Barnby
942847cf3a
Merge remote-tracking branch 'origin/main' into 1.5.x
# Conflicts:
#	app/config/collections.php
#	app/config/errors.php
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/account.php
#	app/controllers/api/teams.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/init.php
#	app/worker.php
#	composer.json
#	composer.lock
#	docker-compose.yml
#	src/Appwrite/Extend/Exception.php
#	src/Appwrite/Platform/Services/Tasks.php
#	src/Appwrite/Platform/Tasks/Maintenance.php
#	src/Appwrite/Platform/Workers/Certificates.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Platform/Workers/Messaging.php
#	src/Appwrite/Platform/Workers/Usage.php
#	src/Appwrite/Platform/Workers/UsageHook.php
#	src/Appwrite/Specification/Format/OpenAPI3.php
#	src/Appwrite/Specification/Format/Swagger2.php
#	tests/e2e/Services/Account/AccountConsoleClientTest.php
2024-02-22 01:29:28 +13:00
Jake Barnby
ad8450af32
Merge remote-tracking branch 'origin/1.5.x' into feat-push-images 2024-02-21 03:29:00 +13:00
Jake Barnby
379c79dae9
Consistent naming for device resources 2024-02-21 03:10:51 +13:00
Jake Barnby
2667d1fb07
Inject always local file device 2024-02-21 02:50:44 +13:00
Jake Barnby
439e7b1ccf
Merge remote-tracking branch 'origin/feat-remove-callback-resources' into feat-email-attachments
# Conflicts:
#	app/worker.php
#	src/Appwrite/Platform/Workers/Messaging.php
2024-02-21 02:00:46 +13:00
Jake Barnby
bbce53cda5
Auto trigger messaging events 2024-02-21 01:06:35 +13:00
Jake Barnby
4bc6c202d9
Use compound ID for push notification image 2024-02-20 18:25:57 +13:00
Jake Barnby
d15e85d1f6
Fix injecting invalid resource 2024-02-20 17:27:35 +13:00
Jake Barnby
710e08c109
Make sure to clear cache if file was downloaded from remote source 2024-02-20 00:11:10 +13:00
Jake Barnby
022c4678ec
Allow attaching files from storage to emails 2024-02-20 00:08:57 +13:00
shimon
ad44c7a430 Addressed comments 2024-02-15 16:43:58 +02:00
Shimon Newman
44ead217ac
Update src/Appwrite/Platform/Workers/Messaging.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-02-15 16:28:02 +02:00
shimon
62ee10493b usage sms per country code count 2024-02-15 10:10:01 +02:00
Jake Barnby
afba7f75f0
Update appropriate total count when mutating topic 2024-02-15 17:23:30 +13:00