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

309 commits

Author SHA1 Message Date
jaivix a6671a5caa fixed team creation response if teamId already exists 2023-07-09 16:50:09 +05:30
Matej Bačo c6e491f2ed Support for external contributors 2023-06-28 10:48:10 +02:00
Torsten Dittmann 1f46d03e8c feat: initial mfa implementation 2023-06-22 15:35:49 +02:00
Jake Barnby 0363993f13
Fix errors 2023-06-15 17:28:35 +12:00
Jake Barnby ed2c1139a7
Update messages 2023-06-09 13:03:19 +12:00
Matej Bačo 5e221e285f Update naming convention, add new VCS endpoints, support silent mode and rootDirectory 2023-06-07 17:50:32 +02:00
Jake Barnby b7f4f57521
Add new error message to differentiate between missing data and missing data + permissions for document updates 2023-06-07 13:51:24 +12:00
Christy Jacob 075ed65a2f
Merge pull request #5572 from appwrite/feat-update-project-creation
Feat update project creation
2023-05-25 22:50:24 +05:30
Steven Nguyen f774721701
Update the error message for blocked users
Remove the "You can unblock the user from the Appwrite console." part
as it is not relevant for the person receiving the error.
2023-05-23 10:40:05 -07:00
Christy Jacob 0839822a66 Apply suggestions from code review 2023-05-23 14:39:26 +00:00
Christy Jacob f0df316b4f fix: throw correct exception when project custom ID already exists 2023-05-23 14:38:33 +00:00
Damodar Lohani 5a9f83c43d validate smtp configuration 2023-05-23 05:09:17 +00:00
Eldad A. Fux b86ce2d233
Merge pull request #5561 from appwrite/fix-delete-account
Update the Update Account Status API to clear the cookie
2023-05-22 23:06:02 +03:00
Steven Nguyen 09b4fbcc21
Update the error message for blocked users
Remove the "You can unblock the user from the Appwrite console." part
as it is not relevant for the person receiving the error.
2023-05-22 12:28:47 -07:00
Matej Bačo 6e515e3cc4 Copy Khushboo's integration from feat-peach-q1-kh 2023-05-22 12:58:13 +02:00
Christy Jacob d630d8772b
Merge pull request #5460 from appwrite/fix-create-project-error
fix: throw correct exception when project ID already exists
2023-05-19 22:48:02 +05:30
Suven-p 582698bd03
Validate value of x-appwrite-id header 2023-05-18 00:41:07 +05:45
Christy Jacob 0d12b13241 feat: update error message 2023-05-14 01:48:51 +05:30
Christy Jacob 12afc294bd feat: add checks for domain 2023-05-13 23:35:05 +05:30
Matej Bačo c63505078d Fix bugs with new versions of utopia 2023-05-13 12:08:02 +02:00
Damodar Lohani f70712865e refactor 2023-05-11 06:52:27 +00:00
Christy Jacob 60f51580a7
Merge pull request #5246 from singhbhaskar/fix-4960-Database-usage-screen-shows-500-error-when_APP_USAGE_STATS-is-disabled
Fix: Updated error when _APP_USAGE_STATS is disabled
2023-05-04 20:47:50 +05:30
Christy Jacob 33d2e94d1d
Apply suggestions from code review 2023-04-30 01:54:45 +05:30
Christy Jacob ac004acbc8 fix: throw correct exception when project custom ID already exists 2023-04-29 12:41:17 +05:30
Damodar Lohani b1bbc9dfbd Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-28 07:11:17 +00:00
Torsten Dittmann 4ceae33a5a
Merge pull request #5163 from yatharth1706/fix-5147-fix-error-description-in-case-of-duplicate-user
fix error description for duplicate user
2023-04-25 15:45:59 +02:00
Damodar Lohani ac9f434c85 more fixes and reset endpoints 2023-04-19 08:44:22 +00:00
Christy Jacob 6f28047feb
Update app/config/errors.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-04-14 04:31:35 +05:30
Christy Jacob 0fb34433b9 feat: personal data filters to enhance password protection 2023-04-14 00:20:03 +04:00
Jake Barnby f00bd7dac7
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
# Conflicts:
#	composer.lock
2023-04-11 17:25:26 +12:00
Jake Barnby 7f8f34793e
Merge remote-tracking branch 'origin/1.3.x' into doc-db-relationships
# Conflicts:
#	composer.lock
2023-04-11 15:57:35 +12:00
Jake Barnby b252fe847f
Add custom delete restricted error 2023-04-06 00:54:44 +12:00
Jake Barnby 578d4d1619
Disallow index creation on relationship attributes 2023-03-31 18:06:50 +13:00
Jake Barnby c7201cc417
Remove HTML from API error messages 2023-03-31 18:05:45 +13:00
Damodar Lohani 41d22fb50b Merge remote-tracking branch 'origin' into feat-db-pools-master-sync-2 2023-03-30 08:02:31 +00:00
Bhaskar Singh 700f4f33ed
Merge branch 'appwrite:master' into fix-4960-Database-usage-screen-shows-500-error-when_APP_USAGE_STATS-is-disabled 2023-03-24 21:33:42 +05:30
Bhaskar Singh 8b5e0e1f1a Updating the exception variable name for easy
readability
2023-03-21 20:33:42 +05:30
Bhaskar Singh ac2085ffa8 Updated error when _APP_USAGE_STATS is disabled
for usage
2023-03-18 22:12:36 +05:30
Matej Bačo 75f935601e Add function entrypoint 2023-03-16 11:07:15 +01:00
Matej Bačo d10c7c7775 Merge branch 'feat-db-pools-master' into feat-executor-v3-sync 2023-03-15 08:59:42 +01:00
Matej Bačo c01fcb130c Merge branch 'feat-db-pools-master' into feat-db-pools-sync 2023-03-14 12:58:54 +01:00
Matej Baco ed610fcdd4 Address TODOs 2023-03-14 11:13:03 +00:00
Matej Bačo 541cb010a6 Changes after dev-mode QA 2023-03-10 20:36:39 +01:00
Matej Baco 2d25514dd8 Improve 409 rule error; update console 2023-03-10 13:36:31 +00:00
Matej Baco 4b0d6d9826 Bug fixes after proxy QA 2023-03-10 12:20:24 +00:00
Matej Baco 04c7db9f7b Bug fixes for proxy rule service 2023-03-10 07:42:52 +00:00
Bhaskar Singh 31a903d144 Updated the error message for target check fails
in custom domain creation
2023-03-10 00:24:33 +05:30
Matej Bačo 83370c21f7 Improve error logs 2023-03-08 20:50:51 +01:00
Matej Bačo 59f5978fa3 Implement rules 2023-03-08 19:30:01 +01:00
Bhaskar Singh b16c789282 Fixing the bracket 2023-03-08 17:23:15 +05:30
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)