1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00
Commit graph

19557 commits

Author SHA1 Message Date
Steven Nguyen 4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Jake Barnby 90cee54897
Merge pull request #7553 from appwrite/fix-graphql-test
Fix graphql tests
2024-02-08 00:30:21 +13:00
Jake Barnby 5e5a2fb414
Fix graphql tests 2024-02-08 00:08:05 +13:00
Jake Barnby 6fc39827fd
Merge pull request #7549 from appwrite/fix-mfa-user-route-auth-types
Fix user API mfa route auth
2024-02-07 20:13:47 +13:00
Jake Barnby 7014b2c2cd
Fix user API mfa route auth 2024-02-07 18:08:51 +13:00
Jake Barnby f9e8216781
Fix FCM init 2024-02-06 04:13:56 +13:00
Jake Barnby c32545fb49
Fix push message creation warnings 2024-02-06 04:13:35 +13:00
Jake Barnby 6e40973771
Fix response iteration 2024-02-06 04:11:40 +13:00
Jake Barnby 47dec4e187
Remove descriptions from response models 2024-02-06 02:35:15 +13:00
Jake Barnby 987b02083c
Array instead of JSON 2024-02-06 02:22:25 +13:00
Jake Barnby 0a72b37b3e
Fix session response model 2024-02-06 02:17:04 +13:00
Jake Barnby 28ae550853
Update console to 1.5.x 2024-02-06 01:57:38 +13:00
Christy Jacob ad9cc748a5
Merge pull request #7471 from appwrite/fix-empty-user-updates
Fix: Empty values in PATCH of users
2024-02-05 15:54:40 +04:00
Jake Barnby 7ce01deec3
Fix console enum specs 2024-02-06 00:39:52 +13:00
Matej Bačo 25f8702429 Fix formatting 2024-02-05 10:40:53 +00:00
Matej Bačo 7beb9080fa Merge remote-tracking branch 'origin/1.5.x' into fix-empty-user-updates 2024-02-05 10:38:48 +00:00
Eldad A. Fux ca926888f4
Merge pull request #7487 from appwrite/feat-block-countries
Feat block countries from certain regions
2024-02-05 09:47:34 +01:00
Khushboo Verma 8440aad375 Merge branch '1.5.x' into feat-block-countries 2024-02-05 13:44:51 +05:30
Jake Barnby 7322d7f83a
Fix lint 2024-02-05 21:12:57 +13:00
Khushboo Verma e8523e38f7 Merge branch '1.5.x' into feat-block-countries 2024-02-05 13:26:52 +05:30
Khushboo Verma 0f1df4b5bb Fixed tests 2024-02-05 13:25:52 +05:30
Jake Barnby 15f433794f
Add missing enum cases 2024-02-05 20:25:34 +13:00
Jake Barnby c193260335
Fix usage enums 2024-02-05 19:32:05 +13:00
Jake Barnby bb9947bfd3
Remove invalid injection 2024-02-04 04:15:16 +13:00
Jake Barnby 68931c8672
Merge pull request #7538 from appwrite/fix-spec-generation
Fix spec generation
2024-02-03 04:04:00 +13:00
Jake Barnby bcf6d5dbe2
Merge pull request #7540 from appwrite/feat-session-target-delete
Feat session target delete
2024-02-03 04:03:31 +13:00
Jake Barnby 94d82c75c0
Update specs 2024-02-03 03:41:23 +13:00
Jake Barnby f14c0cc0aa
Merge remote-tracking branch 'origin/1.5.x' into fix-spec-generation
# Conflicts:
#	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
2024-02-03 03:35:14 +13:00
Khushboo Verma d40a51b50a Only disallow console requests 2024-02-02 20:01:54 +05:30
Jake Barnby 3816870e19
Fix duplicate routes 2024-02-03 03:26:04 +13:00
Jake Barnby 00eec6b3c5
Update database 2024-02-03 03:12:14 +13:00
Jake Barnby 874e483fb5
Trigger delete of targets associated with sessions when sessions are deleted 2024-02-03 03:06:36 +13:00
Jake Barnby 465bc81071
Add deletes job to delete targets tied to a particular session 2024-02-03 03:06:31 +13:00
Jake Barnby 38f93a3e89
Add session ID + internal ID to targets 2024-02-03 03:06:23 +13:00
Khushboo Verma 52c9109685 Improve error message 2024-02-02 19:35:35 +05:30
Khushboo Verma 7b4f334f31 Update error message 2024-02-02 19:30:54 +05:30
Torsten Dittmann d65a8d05a4
Merge pull request #7346 from appwrite/feat-mfa
feat: mfa
2024-02-02 14:30:51 +01:00
Torsten Dittmann e6ac3d73e8 revert: var_dump 2024-02-02 14:21:10 +01:00
Torsten Dittmann 7cbaf4e961 tests: debug 2024-02-02 14:13:52 +01:00
Torsten Dittmann b462eee183 chore: run formatter 2024-02-02 13:50:41 +01:00
Torsten Dittmann a77526cab1 fix: backup codes 2024-02-02 13:50:18 +01:00
Torsten Dittmann db321db0fb fix: code review 2024-02-02 13:42:15 +01:00
Torsten Dittmann 75fc59931a Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa 2024-02-02 13:30:11 +01:00
Jake Barnby d0cccf72ea
Add spec generation changes for OpenAPI as well 2024-02-03 00:33:48 +13:00
Jake Barnby 0e8e455903
Fix spec generation 2024-02-02 23:54:34 +13:00
Jake Barnby 01d92d3125
Merge pull request #7526 from appwrite/feat-update-containers
Update containers
2024-02-02 22:23:11 +13:00
Jake Barnby df3042dc55
Merge pull request #7536 from appwrite/fix-invalid-usage-labels
Remove redundant usage labels
2024-02-02 22:21:20 +13:00
Jake Barnby 0c921e78ca
Merge pull request #7537 from appwrite/fix-enum-namespacing
Update to standard namespacing for enums
2024-02-02 22:20:48 +13:00
Khushboo Verma d96d84201e Add auth group to create email token endpoint 2024-02-02 14:03:20 +05:30
Khushboo Verma 0ea7b28a6b Resolve merge conflicts 2024-02-02 12:53:25 +05:30