Chirag Aggarwal
4ef43aacd9
Simplify country code span logging for internal SMS messages
...
Internal SMS always has a single recipient, so remove the unnecessary
count-based tracking and simplify to just log the country code directly.
2026-02-04 15:28:27 +05:30
Chirag Aggarwal
91c1572318
log
2026-02-04 12:23:55 +05:30
Chirag Aggarwal
345d8f2db5
fix: use individual span attributes for country codes
...
Replace stringified JSON countryCodes attribute with individual
countryCode_{code} attributes to improve LogQL query compatibility.
2026-02-04 10:15:36 +05:30
Chirag Aggarwal
4c08cb36a8
chore: safeguard span finish
2026-02-03 18:30:51 +05:30
Chirag Aggarwal
ae720c3462
Fix country code extraction using locale config
...
Use the existing locale-phones config to accurately extract country
codes from phone numbers. Sorts codes by length descending to match
longer codes first (e.g., 1868 Trinidad before 1 USA).
2026-02-03 12:36:46 +05:30
Chirag Aggarwal
e14a026415
Add country code extraction for external SMS messages
...
Extract country codes from target identifiers for external SMS
messages to match the behavior of internal SMS messages.
2026-02-03 12:32:21 +05:30
Chirag Aggarwal
52cb8a9c56
Improve span data with detailed metrics
...
Add richer span data for better observability:
- External messages: messageId, topic/user/target counts, recipient total,
provider details, delivery stats (delivered/errors), final status
- Internal SMS: recipient count, country codes extracted from phone numbers,
sender number, delivery status and count
2026-02-03 12:27:27 +05:30
Chirag Aggarwal
787e7aed43
Add Span tracing to Messaging worker
...
Replace Console logging with Span tracing in the Messaging worker
for better observability. Initialize Span storage and exporter in
worker.php to enable tracing in all workers.
2026-02-03 11:59:49 +05:30
Chirag Aggarwal
52174816b2
chore: update messaging worker logging
2026-02-02 15:39:12 +05:30
Chirag Aggarwal
c7fd31285d
chore: lazy init sms adapter + late static binding
2025-12-16 10:46:40 +05:30
Chirag Aggarwal
a280a565f6
feat: resend adapter
2025-10-23 19:06:11 +05:30
Chirag Aggarwal
97f448f984
comma
2025-10-14 17:19:08 +05:30
Chirag Aggarwal
07727298f7
remove default recepient
2025-10-14 17:18:44 +05:30
Chirag Aggarwal
752520470d
fix: param
2025-10-14 09:27:50 +05:30
Chirag Aggarwal
128cd68ec8
chore: use bcc only emails for smtp
2025-10-14 09:23:31 +05:30
Matej Bačo
bda9adc52e
Fix sms mock endpoint
2025-06-26 20:04:56 +02:00
Matej Bačo
f07abce6f8
Merge branch '1.7.x' into feat-use-first-class-callable-syntax
2025-06-25 16:46:30 +02:00
Khushboo Verma
6530d31e7a
Use ->action(...))
2025-06-04 14:07:43 +05:30
Jake Barnby
3158c15111
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# app/controllers/api/functions.php
# app/controllers/api/project.php
# app/controllers/api/proxy.php
# app/controllers/api/storage.php
# app/controllers/api/vcs.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/init/database/filters.php
# composer.json
# composer.lock
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Migration/Version/V15.php
# src/Appwrite/Migration/Version/V16.php
# src/Appwrite/Migration/Version/V17.php
# src/Appwrite/Migration/Version/V18.php
# src/Appwrite/Migration/Version/V19.php
# src/Appwrite/Migration/Version/V20.php
# src/Appwrite/Migration/Version/V21.php
# src/Appwrite/Platform/Tasks/Migrate.php
# src/Appwrite/Platform/Workers/Builds.php
# src/Appwrite/Platform/Workers/Deletes.php
# src/Appwrite/Platform/Workers/Functions.php
# src/Appwrite/Platform/Workers/StatsResources.php
# src/Appwrite/Platform/Workers/StatsUsage.php
2025-05-27 13:36:23 +12:00
Jake Barnby
86f7489640
Internal ID -> sequence
2025-05-26 17:42:11 +12:00
Christy Jacob
28d2ed1baa
Revert "Feat sequence"
2025-05-23 21:39:56 +04:00
Jake Barnby
71e3446498
Change internal ID to sequence
2025-05-23 02:55:29 +12:00
Matej Bačo
ac6450c726
Merge branch '1.6.x' into 1.7.x
2025-05-15 18:03:15 +02:00
Chirag Aggarwal
f62979cfa8
feat: inforu adapter ( #9620 )
...
* chore: update utopia messaging library
* chore: init inforu adapter
* chore: use dev message
* chore: update composer
* chore: fix ordering
* chore: use user for senderId
2025-05-14 12:11:21 +02:00
Khushboo Verma
42cd1df77d
Remove duplication from workers
2025-03-12 15:24:52 +05:30
Damodar Lohani
63c07a456f
Merge branch '1.6.x' into feat-logs-db
2025-02-02 07:08:25 +05:45
Damodar Lohani
cb31e7954e
refactor rename
2025-01-30 04:53:53 +00:00
Christy Jacob
419f3bee1d
chore: fix tests
2025-01-28 13:32:10 +05:30
Christy Jacob
5593682c3d
chore: review comments
2025-01-28 12:24:16 +05:30
Christy Jacob
8ceb6e2c25
chore: review comments
2025-01-28 12:23:18 +05:30
Christy Jacob
6cef099890
chore: linter
2025-01-28 11:51:11 +05:30
Christy Jacob
dfbe3220d8
chore: linter
2025-01-28 11:49:29 +05:30
Christy Jacob
bbe52db4ff
feat: add geosms adapter
2025-01-28 11:29:15 +05:30
Christy Jacob
303f7d4845
feat: add fast2SMS adapter
2025-01-24 21:34:00 +05:30
Christy Jacob
458b7bb877
Merge branch '1.6.x' of github.com:appwrite/appwrite into chore-optimise-events-payloads
2025-01-17 10:42:16 +05:30
Christy Jacob
de6fced412
feat: optimise events payloads
2025-01-16 11:35:22 +05:30
Jake Barnby
6e7997a8a8
Merge remote-tracking branch 'origin/1.6.x' into feat-apns-content-available
...
# Conflicts:
# composer.lock
2025-01-15 15:01:55 +13:00
ChiragAgg5k
ff056fa145
chore: shifted authphone usage tracking to api calls
2025-01-08 17:01:01 +05:30
Jake Barnby
f2b202aa52
Update push message builder
2024-12-10 22:53:40 +13:00
Jake Barnby
44d3a4f223
Update specs
2024-12-09 15:42:20 +13:00
Jake Barnby
526f54cf06
Update src/Appwrite/Platform/Workers/Messaging.php
...
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2024-12-05 21:09:52 +13:00
Jake Barnby
98149f56b5
Default empty title and body
2024-12-05 17:20:20 +13:00
Jake Barnby
a461198547
Add critical and priority params
2024-12-04 19:27:55 +13:00
Jake Barnby
fa49244b4b
Fix param type
2024-12-03 22:50:40 +13:00
Jake Barnby
ab900d16d4
Allow apns content available
2024-12-03 17:19:06 +13:00
Bradley Schofield
40b8af0671
Further cleanup code now findOne returns empty doc
2024-10-31 17:13:23 +09:00
shimon
7e2fde3a0a
update validation
2024-10-01 22:53:08 +03:00
shimon
32dbafa353
update validation
2024-10-01 22:00:45 +03:00
shimon
3cb27d7b2c
update validation
2024-10-01 21:01:48 +03:00
shimon
2af4ef705d
composer
2024-10-01 19:09:43 +03:00