Commit graph

95 commits

Author SHA1 Message Date
Jake Barnby
444c68e07e
Remove redundant error 2022-10-14 13:23:21 +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
Krishna Agarwal
0ddd2f6c77
fixed typo on line 15 2022-09-21 22:53:36 +05:30
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
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
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
Christy Jacob
fb81627b83 feat: update exception class 2022-08-14 12:49:19 +05:30
Christy Jacob
a5bc0a61ca feat: exceptions on more files 2022-08-14 12:26:12 +05:30
Christy Jacob
c2f7cd6d19 feat: remove logger as an entity 2022-08-14 11:06:04 +05:30
Christy Jacob
c6f0b14e92 feat: address issues on init.php 2022-08-14 11:05:25 +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
3c808ca895 Fix problem with Exception class 2022-07-26 15:56:59 +01:00
Bradley Schofield
96c6c0ff00 Migrate all exceptions to new signature 2022-07-26 15:24:32 +01:00
Bradley Schofield
4da9273b28 Move default message and code handling into exception 2022-07-25 23:54:08 +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
10a5c24a63 Format and lint 2022-07-12 09:52:00 +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
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02: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
Torsten Dittmann
372939c727 Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-03 11:09:14 +02:00
Everly Precia Suresh
d41aff1861 fix linting issues 2022-06-02 13:03:37 +00:00
shimon
d39e6a842c Merge branch 'master' of github.com:appwrite/appwrite into feat-expire-key
 Conflicts:
	app/controllers/general.php
2022-06-01 09:34:34 +03:00
shimon
8bca5cd13e api keys 2022-05-31 18:41:12 +03:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Matej Bačo
1a96105d92 Merge remote-tracking branch 'origin/0.14.x' into feat-https-redirect-exception 2022-04-26 09:59:57 +00:00
Christy Jacob
66d68a786b
Update src/Appwrite/Extend/Exception.php 2022-04-26 12:22:01 +03: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
Damodar Lohani
f6d4526217 customId console, reserved project 2022-04-17 10:18:00 +00: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
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
cb922827a4 feat: update cursor errors 2022-02-09 03:08:23 +04:00
Christy Jacob
1ab27083c4 feat: update cursor errors 2022-02-09 02:56:11 +04:00
Christy Jacob
d5dd6a17b8 feat: move query errors to general category 2022-02-09 01:34:26 +04:00
Christy Jacob
d410dc5f3d feat: move oauth errors to projects 2022-02-09 01:26:02 +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
073ab5565f feat: rename default to unknown 2022-02-08 02:17:23 +04:00