Commit Graph

2320 Commits

Author SHA1 Message Date
Jake Barnby 39fcbe4d76 Restructure exception 2022-10-12 13:59:35 +13:00
Jake Barnby 4bc44183b6 Restructure type related helpers 2022-10-12 13:57:37 +13:00
Jake Barnby ee2e8fcc23 Generify promises 2022-10-12 13:55:43 +13:00
Jake Barnby bf194c30e9 Review updates 2022-10-11 13:38:06 +13:00
Jake Barnby 62038bd2a9 Passthru JSON objects 2022-10-11 12:32:04 +13:00
Jake Barnby 0716c430d6 Fix getting union implementations 2022-10-11 12:31:12 +13:00
Jake Barnby 96bce27642 Cherrypick empty model rules 2022-10-11 12:28:46 +13:00
Jake Barnby fd8d4f4a1b Add type property to hash algorithms to allow resolving union type implementation 2022-10-11 12:27:03 +13:00
Jake Barnby 575b882b30 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	.github/workflows/tests.yml
#	composer.lock
2022-10-10 18:41:40 +13:00
Torsten Dittmann 5d32ddb408 Merge branch '1.0.x' of https://github.com/appwrite/appwrite into chore-prepare-1-0-2 2022-09-30 14:36:53 +02:00
Torsten Dittmann 0c1222f0f5 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.0.x 2022-09-30 14:23:06 +02:00
Torsten Dittmann e0b9f57d85 Revert "Feat app region" 2022-09-30 12:32:58 +02:00
Torsten Dittmann 757a3f8651 chore: prepare 1.0.2 2022-09-30 12:27:26 +02:00
Torsten Dittmann 1b490233b6 Merge pull request #4038 from appwrite/fix-3949-migrate-audit-time
Fix migration for audit
2022-09-30 11:56:05 +02:00
Jake Barnby 6ac4d4f490 Handle response model union type rules 2022-09-30 19:59:20 +13:00
Jake Barnby 1fbcedec42 Move mapping functions to TypeMapper 2022-09-30 19:58:26 +13:00
Jake Barnby f1429e8155 Move custom types to their own class 2022-09-30 19:51:27 +13:00
Steven Nguyen c97fea37c0 Fix migration for audit
`time` attribute should be a DateTime type rather than int.
2022-09-29 19:15:54 +00:00
Jake Barnby df651c3c78 Match class names instead of strings 2022-09-29 19:28:41 +13:00
Jake Barnby b176929557 Sort schema 2022-09-29 19:27:57 +13:00
Jake Barnby 0471bf1c90 Only allow default values for optional params 2022-09-29 17:54:48 +13:00
Jake Barnby 73d0f033b8 Skip new models with no rules 2022-09-29 17:53:53 +13:00
Jake Barnby e5b9e261c5 Upcase type names 2022-09-29 17:53:07 +13:00
Jake Barnby 6c81069b27 Custom type serialization fixes 2022-09-29 17:51:53 +13:00
Jake Barnby 5e1bb655dc Fix scrypt algo response model rule default types 2022-09-29 16:54:01 +13:00
Eldad A. Fux b575df867e Merge pull request #3789 from appwrite/feat-app-region
Feat app region
2022-09-25 15:04:56 +03:00
Damodar Lohani 8c6ef5b26f pass region in constructors 2022-09-25 05:41:13 +00:00
Eldad A. Fux 80ce2b2464 Merge pull request #3906 from appwrite/fix-phone-secret-hash
fix: hash phone auth code
2022-09-24 17:49:52 +03:00
Damodar Lohani 651ccef328 correct env value 2022-09-23 14:35:50 +05:45
Matej Bačo 46c91899e7 Merge branch '0.16.x' into feat-improve-sms-e2e-tests 2022-09-23 08:23:29 +02:00
Christy Jacob 426f50c69c Merge pull request #3852 from appwrite/fix-response-filters
Fix response filters
2022-09-23 11:28:34 +05:30
Jake Barnby 63a4853563 Fix list complexity calculations 2022-09-23 15:53:25 +12:00
Jake Barnby 318bea760e Fix defualt arg types nullability 2022-09-23 13:52:19 +12:00
Jake Barnby eb818d15e0 Fix custom entity update 2022-09-23 13:49:36 +12:00
Jake Barnby 6e4bad5969 Fix custom entity delete 2022-09-23 13:46:39 +12:00
Christy Jacob 7abb426e3f fix: hash phone auth code 2022-09-23 03:55:17 +05:30
Jake Barnby 8cd36b2721 Fix custom entity list 2022-09-22 22:48:22 +12:00
Jake Barnby 5f0f136e6e Refactor methods for clarity 2022-09-22 20:59:47 +12:00
Jake Barnby 2d1cd7cb50 Add queries validators 2022-09-22 18:54:58 +12:00
Krishna Agarwal 0ddd2f6c77 fixed typo on line 15 2022-09-21 22:53:36 +05:30
Jake Barnby 8af0983274 Handle role validator 2022-09-21 21:12:23 +12:00
Jake Barnby 6aee9e0ddb Update errors 2022-09-21 21:11:05 +12:00
Jake Barnby 6c9ac29f37 Fix attribute unpacking 2022-09-21 19:01:01 +12:00
Jake Barnby 5cefda4ff2 Fix key replacements 2022-09-21 18:24:47 +12:00
Jake Barnby bf0b416183 Update permissions and queries for 1.0 2022-09-20 19:51:22 +12:00
Jake Barnby fd37df5f9c Handle datetime model rules 2022-09-20 19:24:54 +12:00
Jake Barnby e9f75d32a1 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	Dockerfile
#	app/config/errors.php
#	app/config/roles.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/graphql.php
#	app/controllers/shared/api.php
#	app/init.php
#	composer.lock
#	docker-compose.yml
#	src/Appwrite/Extend/Exception.php
#	src/Appwrite/Migration/Migration.php
2022-09-20 15:43:09 +12:00
Steven Nguyen 2f08ec0926 Convert Document $collectionId in 0.15 response
Document $collection was renamed to $collectionId to match the naming
convention of referring to other resource IDs. This ensures backwards
compatibility.
2022-09-20 02:48:40 +00:00
Steven Nguyen 01f77fa993 Ensure empty datetimes are 0 in 0.15 response
Because empty datetimes are invalid, strtotime returned false so the
response was false rather than 0.
2022-09-20 02:48:40 +00:00
Damodar Lohani e80e65946b Merge branch 'master' of https://github.com/appwrite/appwrite into feat-app-region 2022-09-19 12:01:56 +00:00