Torsten Dittmann
0be79cadd8
fix: formatting
2024-03-08 11:25:07 +01:00
Torsten Dittmann
f486767b65
fix: messaging hostname
2024-03-08 11:22:58 +01:00
Jake Barnby
7d3f8a80ea
Push SDKs
2024-03-08 10:58:46 +01:00
Jake Barnby
f6521670d0
Remove permissions validations
2024-03-07 20:45:09 +01:00
Jake Barnby
2d02a7df53
Add JWT preview route for push images
2024-03-07 20:43:20 +01:00
Jake Barnby
7d896c3155
Add bucketId and fileId to image data
2024-03-07 18:40:45 +01:00
Matej Bačo
005a239932
Auth fixes
2024-03-07 18:24:01 +01:00
Matej Bačo
efeb898be1
Import fixes
2024-03-07 15:29:42 +01:00
Torsten Dittmann
0a1d572c72
chore: run formatter
2024-03-06 18:34:21 +01:00
Vincent (Wen Yu) Ge
0cde18ef74
Merge branch '1.5.x' into 1.5.x-api-descriptions
2024-02-27 10:49:29 -05:00
Vincent (Wen Yu) Ge
7914eac0c4
Add attachment ID format
2024-02-27 15:43:25 +00:00
Jake Barnby
7945f1398f
Fix tests
2024-02-27 00:27:35 +13:00
Jake Barnby
1da971ce75
Change status param to draft and base status on draft and scheduledAt params
2024-02-26 23:52:32 +13:00
Jake Barnby
1867dce002
Merge remote-tracking branch 'origin/fix-rescheduling' into feat-remove-status-param
2024-02-26 23:38:09 +13:00
Jake Barnby
564c1df701
Fix rescheduling with existing schedule
2024-02-26 23:37:12 +13:00
Jake Barnby
a89c0540ad
Fix scheduledAt not updated
2024-02-26 18:46:26 +13:00
Jake Barnby
36845edc2f
Rescheduling fixes
2024-02-26 17:14:59 +13:00
Vincent (Wen Yu) Ge
b32d40f3e2
Improve messages
2024-02-26 02:25:45 +00:00
Vincent (Wen Yu) Ge
ab36133a8f
Add descriptions
2024-02-25 22:58:33 +00:00
Jake Barnby
0a37a0dd20
Merge pull request #7645 from appwrite/feat-dev-apns
...
Allow setting APNS to sandbox mode
2024-02-24 14:07:20 +13:00
Jake Barnby
11e9f43982
Allow setting APNS to sandbox mode
2024-02-24 13:34:08 +13:00
Jake Barnby
8742bfaee8
Fix missing subscribe on topic update
2024-02-23 23:56:49 +13:00
Jake Barnby
a877850707
Fix GraphQL tests
2024-02-22 02:26:17 +13:00
Jake Barnby
9498d680fb
Add doc refs
2024-02-21 22:04:27 +13:00
Jake Barnby
3aeb62377c
Fix missed update with image
2024-02-21 17:07:52 +13:00
Jake Barnby
41be4da5c9
Merge remote-tracking branch 'origin/1.5.x' into feat-push-images
2024-02-21 13:01:53 +13:00
Jake Barnby
a9d1aa5bca
Merge pull request #7620 from appwrite/refactor-remove-resource-collection
...
Refactor remove resource collection
2024-02-21 13:00:48 +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
400b28de8a
Replace resourceCollection with switch
2024-02-21 03:25:01 +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
42e1b0dfe3
Merge remote-tracking branch 'origin/feat-email-attachments' into feat-push-images
2024-02-20 18:06:29 +13:00
Jake Barnby
022c4678ec
Allow attaching files from storage to emails
2024-02-20 00:08:57 +13:00
Jake Barnby
7a420000fa
Fix image permissions check and URL
2024-02-19 20:48:52 +13:00
Jake Barnby
1bb75fdd63
Merge remote-tracking branch 'origin/1.5.x' into feat-push-images
...
# Conflicts:
# src/Appwrite/Extend/Exception.php
2024-02-19 20:44:11 +13:00
Jake Barnby
2fffbd93f8
Lint fix
2024-02-15 22:41:45 +13:00
Jake Barnby
d38197380e
Support adding image to push notification via storage file
2024-02-15 22:36:34 +13:00
Jake Barnby
5f59f4c5c8
Fix syntax error
2024-02-15 17:56:06 +13:00
Jake Barnby
afba7f75f0
Update appropriate total count when mutating topic
2024-02-15 17:23:30 +13:00
Jake Barnby
ae7a5c6c9c
Merge pull request #7580 from appwrite/feat-subscribe-permission
...
Feat subscribe permission
2024-02-15 16:47:44 +13:00
Jake Barnby
1f470aecd2
Add subscribe permission to topics
2024-02-13 17:24:31 +13:00
Jake Barnby
01e88e65d6
Fix swapping options/credentials on create/update smtp provider
2024-02-13 15:16:37 +13:00
Jake Barnby
ff1f7e4819
Merge pull request #7569 from appwrite/fix-telesign-params
...
Fix telesign params
2024-02-13 12:38:49 +13:00
Jake Barnby
0bd3fe6473
Merge pull request #7571 from appwrite/fix-updating-message-status
...
Fix updating message status
2024-02-13 12:38:39 +13:00
Jake Barnby
06b15c79ff
Merge pull request #7572 from appwrite/attributes-query-fix
...
fix Indexes
2024-02-13 12:37:59 +13:00
fogelito
ace75b0786
parseQueries
2024-02-12 18:02:04 +02:00
fogelito
2f9cadf4c0
remove var_dump
2024-02-12 15:30:34 +02:00
fogelito
6aae8cbf64
Add cursor test
2024-02-12 15:27:19 +02:00
fogelito
e5bada0493
typo
2024-02-12 12:03:31 +02:00
fogelito
adbe11fd50
fix Indexes
2024-02-12 11:55:45 +02:00
Jake Barnby
3ba6652be8
Only set schedule active is status is scheduled
2024-02-12 16:55:34 +13:00
Jake Barnby
f237e863de
Throw on updating sent, processing, failed message
2024-02-12 16:55:00 +13:00
Jake Barnby
05884e154e
Update telesign credentials
2024-02-12 15:10:18 +13:00
Jake Barnby
66a38898eb
Fix message status values and enums
2024-02-07 23:50:05 +13:00
Jake Barnby
15f433794f
Add missing enum cases
2024-02-05 20:25:34 +13:00
Jake Barnby
499f0a53ea
Update to standard namespacing for enums
2024-02-02 17:53:19 +13:00
Jake Barnby
21f0ce5b82
Set port, username and password to defaults if not provided
2024-02-01 17:45:41 +13:00
Jake Barnby
a6b5734884
Fix encryption type options
2024-02-01 17:44:42 +13:00
Jake Barnby
acc7131c95
Remove redundant key existence check
2024-02-01 17:42:19 +13:00
Jake Barnby
19fdc193b6
Fix credential enabled check
2024-02-01 17:41:24 +13:00
Jake Barnby
d275d36a0b
Fix param order
2024-02-01 02:33:14 +13:00
Jake Barnby
e4194c690f
Merge remote-tracking branch 'origin/1.5.x' into feat-smtp-provider
...
# Conflicts:
# composer.lock
2024-02-01 01:50:36 +13:00
Jake Barnby
d9f53cacfa
Add SMTP provider
2024-02-01 01:30:09 +13:00
Jake Barnby
39312a83ef
Merge pull request #7518 from appwrite/feat-remove-description
...
Feat remove description
2024-02-01 00:33:49 +13:00
Jake Barnby
d7c9f9df59
Merge remote-tracking branch 'origin/1.5.x' into feat-remove-description
2024-01-30 16:58:20 +13:00
Jake Barnby
14a279eb57
Merge remote-tracking branch 'origin/1.5.x' into feat-delete-message
2024-01-30 16:58:04 +13:00
Jake Barnby
afb32b49d5
Throw if status still scheduled and scheduled time before now
2024-01-30 16:33:18 +13:00
Jake Barnby
61dd4a123c
Remove descriptions
2024-01-29 19:29:58 +13:00
Jake Barnby
d94962f086
Add message delete route
2024-01-29 17:20:45 +13:00
fogelito
789e19d26a
Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
2024-01-25 19:06:18 +02:00
Jake Barnby
fc41b08940
Fix email credential checks
2024-01-25 17:59:26 +01:00
Jake Barnby
b3a4722758
Fix validators
2024-01-25 17:59:26 +01:00
Jake Barnby
7a5c226110
Fix tests
2024-01-25 17:59:26 +01:00
Jake Barnby
d405106aaa
Throw on enable if provider credentials are missing instead of ignoring
2024-01-25 17:59:26 +01:00
fogelito
998c4d282d
Fix failing tests
2024-01-25 18:53:51 +02:00
fogelito
a782e20315
Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
...
Conflicts:
app/controllers/api/account.php
composer.json
composer.lock
src/Appwrite/Platform/Tasks/CalcTierStats.php
tests/e2e/Services/Account/AccountBase.php
2024-01-25 17:44:05 +02:00
Steven Nguyen
3938c53256
Add endpoint to list a message's targets
...
This endpoint is needed so that the Console can fetch the associated
targets to display when viewing the details of a message or going in
to edit a message.
2024-01-19 06:03:23 +00:00
Jake Barnby
59c4f5b9e4
Merge pull request #7431 from appwrite/feat-message-scheduling
...
Feat message scheduling
2024-01-19 16:55:49 +13:00
Jake Barnby
fc9cc3aab1
Merge pull request #7381 from appwrite/fix-list-messages-allowed-queries
...
Fix list messages allowed queries
2024-01-19 16:53:22 +13:00
Jake Barnby
c5c832eff6
Merge pull request #7382 from appwrite/feat-search-subscribers
...
Add search param for list subscribers endpoint
2024-01-19 16:31:48 +13:00
Jake Barnby
d292562090
Throw if status scheduled and no schedule set
2024-01-19 16:16:24 +13:00
Jake Barnby
65573adad6
Use status enum
2024-01-19 16:15:54 +13:00
Jake Barnby
a3096bc209
Merge remote-tracking branch 'origin/1.5.x' into feat-message-scheduling
...
# Conflicts:
# app/controllers/api/messaging.php
2024-01-19 15:54:21 +13:00
Jake Barnby
3b7d3e6139
Merge branch '1.5.x' into feat-draft-messages
2024-01-19 14:19:45 +13:00
Steven Nguyen
96de1617ed
Update the content in the subscriber's search attribute
2024-01-18 02:32:32 +00:00
Steven Nguyen
6eeb8c4cac
Update create and update message APIs to support draft messages
2024-01-17 17:30:55 -08:00
Jake Barnby
2f786c03a2
Merge remote-tracking branch 'origin/1.5.x' into feat-message-scheduling
...
# Conflicts:
# tests/e2e/Services/GraphQL/Base.php
2024-01-17 19:07:40 +13:00
Jake Barnby
bc37984cdb
Merge pull request #7430 from appwrite/fix-default-topic-description
...
Default topic description to an empty string instead of null
2024-01-17 19:05:55 +13:00
Steven Nguyen
fae7a758ff
Fix docs for list messages allowed attributes
2024-01-17 02:39:02 +00:00
Jake Barnby
5827c52372
Merge branch '1.5.x' into feat-search-subscribers
2024-01-11 20:04:17 +13:00
Jake Barnby
a40c6fce64
Add resource collection to schedules
2024-01-11 16:00:48 +13:00
Jake Barnby
9063b4e77f
Fix controller scheduling, ensuring created when message updated and none exists
2024-01-11 15:58:24 +13:00
Steven Nguyen
74a7ffbf7a
Default topic description to an empty string instead of null
...
Not using nulls makes things more type safe.
2024-01-11 02:06:56 +00:00
Jake Barnby
513ed9de05
Merge remote-tracking branch 'origin/1.5.x' into scheduling-temp
...
# Conflicts:
# app/controllers/api/messaging.php
# tests/e2e/Services/Messaging/MessagingBase.php
2024-01-11 13:06:15 +13:00
Steven Nguyen
e7d3797234
Remove the endpoint param for APNS providers
...
The endpoint was removed from utopia-php/messaging.
2024-01-09 21:30:56 +00:00
Jake Barnby
baf807d389
Merge remote-tracking branch 'origin/1.5.x' into json-parsing
...
# Conflicts:
# composer.lock
2024-01-09 14:08:39 +13:00
Steven Nguyen
7e9525f0f9
Update validation of topics, users, and targets
...
They should be an array of UID and not just array of Text.
2024-01-05 00:10:57 +00:00
Steven Nguyen
50aab32f0f
Add search param for list subscribers endpoint
2024-01-02 23:39:46 +00:00
prateek banga
5d7eca7c99
lint fix and tests fix
2023-12-19 23:45:20 +05:30
Jake Barnby
23b39fee02
FIx FCM tests
2023-12-17 12:41:20 +13:00
Jake Barnby
121521d7c5
Merge remote-tracking branch 'origin/1.5.x' into json-parsing
...
# Conflicts:
# composer.lock
# src/Appwrite/Platform/Tasks/DeleteOrphanedProjects.php
# src/Appwrite/Platform/Tasks/Hamster.php
2023-12-15 18:22:08 +13:00
Jake Barnby
4e26bdb5df
Update update route params
2023-12-15 03:45:51 +13:00
Jake Barnby
7b99fab512
Use targets for cc/bcc
2023-12-15 03:19:24 +13:00
Jake Barnby
2eace5a627
Merge remote-tracking branch 'origin/1.5.x' into messaging-uniform-logic
...
# Conflicts:
# app/controllers/api/messaging.php
# composer.lock
2023-12-15 02:47:59 +13:00
Jake Barnby
944e474ec4
Fix max array size 1
2023-12-15 02:30:44 +13:00
Prateek Banga
b8aa2faa7b
adds scheduling commit, still need to resolve pools error
2023-12-07 11:25:19 +01:00
fogelito
2fe50717d1
TYPE_CURSOR_AFTER TYPE_CURSOR_BEFORE
2023-12-06 15:10:40 +01:00
Prateek Banga
194bbbb350
review changes
2023-12-05 19:24:55 +01:00
Prateek Banga
e7dca6b2d5
adds uniform logic for worker and extra params for email
2023-12-05 15:01:32 +01:00
Prateek Banga
54f574906c
review changes
2023-12-05 12:22:32 +01:00
Prateek Banga
f9dd40120e
resolve update twilio provider
2023-12-04 15:48:37 +01:00
prateek banga
5ed8bdae35
fix search param in list subscribers endpoint
2023-12-01 03:55:29 +05:30
prateek banga
6ead6f8094
misc changes
...
allow filtering by providerType, userId in subscribers. Adds cancelled status for message status. Validate targets when creating message. delete all targets when user is deleted. fix twilio bug. add db env vars in messaging worker compose.phtml
2023-12-01 03:39:43 +05:30
Jake Barnby
4b58d08fd8
Add providerType to Message
2023-11-29 17:09:44 +13:00
Jake Barnby
82c86c0ae2
deliveryTime -> scheduledAt
2023-11-29 17:08:25 +13:00
prateek banga
858175fe00
adds target object in subscriber model
2023-11-23 14:35:16 +05:30
Prateek Banga
d9826cdce8
makes provider creation fields optional and adds target info in subscriber model
2023-11-23 00:39:55 +05:30
prateek banga
520d19e335
changes TextMagic to Textmagic in all places and uses email validator
2023-11-21 12:35:36 +05:30
prateek banga
b1eaf97806
review changes
2023-11-20 16:21:06 +05:30
prateek banga
5c1cf3a526
adds user name in subscriber response model
2023-11-20 12:34:50 +05:30
prateek banga
c24664f5d9
removes internal provider
2023-11-16 01:30:47 +05:30
prateek banga
2aa8391c5e
review fixes
2023-11-15 12:52:27 +05:30
prateek banga
1870524be5
fixes error name
2023-11-14 21:34:17 +05:30
prateek banga
7ae614fe13
adds provider type in target
2023-11-14 18:14:07 +05:30
prateek banga
c5aaa670a9
adds provider details in message search attribute
2023-11-14 15:20:21 +05:30
prateek banga
f84a00dded
adds search attribute filter
2023-11-14 14:07:52 +05:30
prateek banga
8f53301209
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into more_review_changes
2023-11-14 12:26:35 +05:30
Prateek Banga
76ed15f2a1
adds more assertion in logs tests
2023-11-10 02:20:55 +05:30
Prateek Banga
3654799cc7
links ISO 8601, move params in messaging controllers
2023-11-09 14:53:42 +05:30
Prateek Banga
4c970cbc46
Merge branch '1.5.x' into feat-logs-messaging-api
2023-11-09 13:42:51 +05:30
Prateek Banga
8d5bfdabc6
revert wrong aduits.event label
2023-11-09 12:29:16 +05:30
prateek banga
b9de4a0169
added tests for logs endpoint
2023-11-08 23:26:46 +05:30
Prateek Banga
f97d1fa9e3
adds log api in messaging controller
2023-11-02 18:00:17 +05:30
Prateek Banga
61d46bee5c
Merge branch '1.5.x_review_changes' of https://github.com/appwrite/appwrite into event-label-messaging
2023-11-02 16:53:55 +05:30
Prateek Banga
270e6e7c15
review changes
2023-11-02 16:43:24 +05:30
prateek banga
fda4e6a8bd
fixes typo in event label
2023-11-01 14:33:13 +05:30
Prateek Banga
2aa5c5742b
remove unnecessary injection
2023-11-01 12:09:00 +05:30
prateek banga
f7529140bd
adds event label to remaining messaging api
2023-10-31 23:53:46 +05:30
Prateek Banga
a719c3f46b
adds event label to create providers endpoint
2023-10-31 23:17:58 +05:30
prateek banga
a01d361886
review changes
2023-10-31 01:12:31 +05:30
prateek banga
06daa544e8
review changes
2023-10-30 23:37:57 +05:30
Prateek Banga
bc6df4bab7
add recipients array check in API instead of worker
2023-10-27 13:42:27 +05:30
Prateek Banga
5a9b1f0c24
removes provider from topics
2023-10-26 19:44:06 +05:30
prateek banga
c2cd544948
review changes
2023-10-26 13:46:45 +05:30
Prateek Banga
34b3ed68ee
adds total count for subscribers in topics model
2023-10-26 12:37:39 +05:30
prateek banga
f6f4397aab
Merge branch 'providers-from-attribute' of https://github.com/appwrite/appwrite into review-changes-1.5.x
2023-10-25 23:55:45 +05:30
prateek banga
887eeef585
review changes
2023-10-25 23:09:38 +05:30
prateek banga
fd4a81c4fc
made review changes
2023-10-25 23:03:23 +05:30
prateek banga
b60cbcada5
adds from field in remaining providers
2023-10-24 01:05:46 +05:30