1
0
Fork 0
mirror of synced 2024-07-08 16:06:02 +12:00
Commit graph

309 commits

Author SHA1 Message Date
Bhaskar Singh 7a4cea9f79 Removed ENV_VARIABLE_INCORRECT_SETUP 2023-03-08 17:21:37 +05:30
Bhaskar Singh 7f3000439a Updated ENV_VARIABLE_INCORRECT_SETUP to DOMAIN_VARIABLE_INCORRECT 2023-03-08 17:15:55 +05:30
Steven Nguyen 85a2d623a6
Update APIs to check X-Appwrite-Timestamp header
Appwrite will refer to the X-Appwrite-Timestamp header for when the
request was originally sent and reject the request if the Timestamp
is older than the updatedAt timestamp of the document.
2023-03-07 10:54:52 -08:00
Bhaskar Singh eaf31fdb78 Updated the error to 501 error code for custom
domain when _APP_DOMAIN and _APP_DOMAIN_TARGET is setup incorrectly
2023-03-05 14:35:47 +05:30
yatharth b5f02bd6c8 fix error description for duplicate user 2023-02-25 20:36:09 +05:30
Matej Bačo 068acef0f6 Add unique url generator 2023-02-22 16:07:34 +01:00
Matej Bačo eea635fe4b Basic implementation for Open Runtimes V2 2023-02-09 15:27:11 +01:00
Christy Jacob 4142ffdb70 feat: update account codes 2023-01-19 17:26:41 +05:30
Damodar Lohani f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
Christy Jacob e3a2135515 feat: linter fixes 2023-01-10 20:18:45 +05:30
Jake Barnby b6723b7c83
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-12-06 20:38:09 +13:00
Vincent (Wen Yu) Ge 7f95ff31bd Updated the error descriptions for better SEO. 2022-11-21 15:37:34 +00:00
Jake Barnby 444c68e07e
Remove redundant error 2022-10-14 13:23:21 +13:00
Jake Barnby 44e4f1e05b
Make param errors consistent 2022-10-14 13:18:08 +13:00
Jake Barnby 8cd36b2721
Fix custom entity list 2022-09-22 22:48:22 +12:00
Jake Barnby 6aee9e0ddb
Update errors 2022-09-21 21:11:05 +12:00
Jake Barnby 144e723431
Update error handling 2022-09-21 18:36:43 +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
Matej Bačo 3fc2e70007 updateVariable 'key' param marked as required 2022-08-31 07:33:43 +00:00
Matej Bačo cb6a186c5d PR review changes 2022-08-24 15:07:18 +00:00
Bradley Schofield 0d81918685 Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-19 11:25:39 +01:00
Jake Barnby c1c3a7c7ae Remove redundant exception 2022-08-19 20:31:19 +12:00
Jake Barnby cb6fc7f618 Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	.gitignore
#	app/config/collections.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	composer.lock
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby bbf7f8d8c3 Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	src/Appwrite/Extend/Exception.php
2022-08-16 20:30:00 +12:00
Eldad Fux 22c38a484f Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param 2022-08-14 19:43:53 +03:00
Eldad Fux 25f176875d Changed provider name from phone to sms 2022-08-14 16:43:41 +03:00
Christy Jacob a5bc0a61ca feat: exceptions on more files 2022-08-14 12:26:12 +05:30
Christy Jacob 662bfe0ab8 feat: address issues on projects.php 2022-08-14 11:39:46 +05:30
Christy Jacob c6f0b14e92 feat: address issues on init.php 2022-08-14 11:05:25 +05:30
Jake Barnby 89dd4be9f1
Update app/config/errors.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-08-14 17:06:48 +12:00
Christy Jacob 5296e61d35 feat: address issues on accounts controller 2022-08-13 20:45:19 +05:30
Christy Jacob 8b23dcd69e fix: update constructor, remove account entity, add missing ID error 2022-08-13 20:14:04 +05:30
Jake Barnby bdc8202422 Bad request for create permission on document/file 2022-08-14 02:24:28 +12:00
Bradley Schofield e3a3ca4c0d Translate more errors
+ Fixed an issue where some errors that should use 401 uses 400 error codes

+ Updated error messages and tests for multiple exceptions
2022-07-27 14:47:35 +01:00
Bradley Schofield 96c6c0ff00 Migrate all exceptions to new signature 2022-07-26 15:24:32 +01:00
Bradley Schofield 40022decb4 Start working on simplifying exceptions 2022-07-22 15:38:06 +01:00
Matej Bačo 183a18f618 Implement functions CRUD operations 2022-07-20 07:18:49 +00:00
Jake Barnby 4f5c7ddada Add invalid query exception 2022-07-14 15:57:51 +12:00
Jake Barnby 4ee7f80433 Add too many queries exception 2022-07-14 15:57:34 +12:00
Jake Barnby 9d134a949f Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/general.php
#	app/init.php
#	composer.json
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
2022-07-01 00:05:44 +12:00
Christy Jacob 43f834c0bd feat: add new errors for phone auth 2022-06-24 12:49:00 +02:00
Jake Barnby 09c89ecd12 Test updates 2022-06-20 13:15:02 +12:00
Jake Barnby e865f77a6b Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
#	app/config/errors.php
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/init.php
#	composer.json
#	composer.lock
2022-06-20 11:15:22 +12:00
Everly Precia Suresh 19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Jake Barnby dbb49ac7bf
Async resolution fixes 2022-04-26 19:49:36 +12:00
Matej Bačo 4c82810d61 PR review changes 2022-04-25 09:12:43 +00:00
Matej Baco 6141080449 Fix code in exception 2022-04-20 10:10:39 +02:00
Matej Bačo 4110709874 PR review changes 2022-04-05 16:57:22 +00:00
Matej Bačo 45e9040fa5 Disallow HTTP communication if required 2022-03-21 14:23:56 +00:00
Christy Jacob 21ea0f0f0f
Update app/config/errors.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2022-02-27 21:14:04 +04:00
Christy Jacob f8a445294c feat: add missing error codes 2022-02-27 15:57:41 +04:00
Christy Jacob ca2bee015a feat: add new error codes for storage 2022-02-17 02:55:54 +04:00
Christy Jacob da7512e050 Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-add-error-codes 2022-02-17 02:25:29 +04:00
Christy Jacob ca2cf23a74 feat: support mock endpoints 2022-02-16 19:28:37 +04:00
Christy Jacob 5fee7378ad feat: add test for error message 2022-02-13 13:12:16 +04:00
Christy Jacob 9af621c8c2 feat: update error messages 2022-02-13 12:37:14 +04:00
Christy Jacob 1ab27083c4 feat: update cursor errors 2022-02-09 02:56:11 +04:00
Christy Jacob debf882d02 feat: address review comments 2022-02-09 02:47:48 +04:00
Christy Jacob d5dd6a17b8 feat: move query errors to general category 2022-02-09 01:34:26 +04:00
Christy Jacob 0833662606 feat: move oauth errors to projects 2022-02-09 01:25:52 +04:00
Christy Jacob 12794f4214 feat: update descriptions of projects errors 2022-02-08 03:23:07 +04:00
Christy Jacob d504ef2607 feat: update descriptions of database errors 2022-02-08 03:17:52 +04:00
Christy Jacob e7cfa206e5 feat: update descriptions of functions errors 2022-02-08 03:04:06 +04:00
Christy Jacob 4934736e2d feat: update descriptions of storage errors 2022-02-08 03:01:28 +04:00
Christy Jacob e600fc9483 feat: update descriptions of avatars errors 2022-02-08 02:58:20 +04:00
Christy Jacob 35cd17290e feat: update descriptions of temas errors 2022-02-08 02:48:05 +04:00
Christy Jacob 97c7513faa feat: update descriptions of oauth errors 2022-02-08 02:44:02 +04:00
Christy Jacob 40977d82a9 feat: update descriptions of users errors 2022-02-08 02:39:53 +04:00
Christy Jacob f65b3ca18d feat: update descriptions of general errors 2022-02-08 02:27:46 +04:00
Christy Jacob 073ab5565f feat: rename default to unknown 2022-02-08 02:17:23 +04:00
Christy Jacob 196e038ecc feat: update error order 2022-02-08 02:10:49 +04:00
Christy Jacob 4649653d9f feat: add invalid argument error 2022-02-08 02:08:05 +04:00
Christy Jacob e0e5f24ddb feat: rearrange errors 2022-02-08 01:10:36 +04:00
Christy Jacob 847abadd39 feat: add type attribute to returned error 2022-02-07 01:46:47 +04:00
Christy Jacob a5b706f64b feat: adjust formatting 2022-02-07 01:37:11 +04:00
Christy Jacob 42e424b70a feat: remove unused error 2022-02-07 01:33:48 +04:00
Christy Jacob 30c5d3c264 feat: use general server errors in general API controller 2022-02-07 01:27:16 +04:00
Christy Jacob 6d343abcb1 feat: use general server errors in teams API 2022-02-07 01:00:06 +04:00
Christy Jacob 3cdccf0024 feat: use general server errors in storage API 2022-02-07 00:58:40 +04:00
Christy Jacob 6e88817831 feat: use general server errors in health API 2022-02-07 00:55:45 +04:00
Christy Jacob 1613b3f79e feat: use general server errors in functions API 2022-02-07 00:53:26 +04:00
Christy Jacob 8189dba42c feat: use general server errors in database API 2022-02-07 00:49:21 +04:00
Christy Jacob c1aed2b64b feat: use general server errors in avatars API 2022-02-07 00:38:14 +04:00
Christy Jacob 49bfb25df6 feat: use general server errors in accounts API 2022-02-07 00:36:15 +04:00
Christy Jacob adf103730b feat: update error codes in the health API 2022-02-06 21:27:13 +04:00
Christy Jacob 78a4091f62 feat: update error codes in the projects API 2022-02-06 21:13:14 +04:00
Christy Jacob d7f31231e3 feat: update error codes in the database API 2022-02-06 20:56:30 +04:00
Christy Jacob 7e200253ea feat: update error codes in the database API 2022-02-06 20:50:48 +04:00
Christy Jacob 1ca2cc7bc0 feat: update error codes in the functions API 2022-02-06 20:12:15 +04:00
Christy Jacob 7160364902 feat: update error codes in the teams API 2022-02-06 19:57:15 +04:00
Christy Jacob c3369dec50 feat: update error codes in the teams API 2022-02-06 19:38:15 +04:00
Christy Jacob 5fc751a9dd feat: update error codes in the teams API 2022-02-06 19:17:19 +04:00
Christy Jacob d756a9b972 feat: update error codes in the teams API 2022-02-06 18:52:21 +04:00
Christy Jacob 9ad151006b feat: update error codes in the storage API 2022-02-06 18:44:48 +04:00
Christy Jacob 4905792bb5 feat: update error codes in the storage API 2022-02-06 18:40:22 +04:00
Christy Jacob d9fbe80317 feat: update error codes in the storage API 2022-02-06 18:38:59 +04:00
Christy Jacob 6a8401dfe5 feat: update error codes in the storage API 2022-02-06 18:35:17 +04:00
Christy Jacob 2c14abb143 feat: update error codes in the storage API 2022-02-06 18:32:28 +04:00
Christy Jacob 42fcb291d4 feat: update error codes in the avatars API 2022-02-06 18:21:03 +04:00
Christy Jacob f6599f545e feat: update error codes in the avatars API 2022-02-06 18:19:10 +04:00
Christy Jacob c7e1050ce5 feat: update error codes in the avatars API 2022-02-06 18:17:26 +04:00
Christy Jacob fd46cdc412 feat: update error codes in the accounts API 2022-02-06 18:16:14 +04:00
Christy Jacob 66a4c2b877 feat: update error codes in the accounts API 2022-02-06 18:13:16 +04:00
Christy Jacob bc3454928b feat: update error codes in the avatars API 2022-02-06 18:10:16 +04:00
Christy Jacob d9714e8a5e feat: update error codes in the accounts API 2022-02-06 17:59:45 +04:00
Christy Jacob 696709c46c feat: update error codes in the accounts API 2022-02-06 17:54:40 +04:00
Christy Jacob d3efbc1ef5 feat: update error codes in the accounts API 2022-02-06 17:40:31 +04:00
Christy Jacob b16faed83a feat: update error codes in users API 2022-02-06 16:49:01 +04:00
Christy Jacob 6f4b53ad72 feat: fix tests 2022-02-01 12:39:07 +04:00
Renamed from app/config/errorCodes.php (Browse further)