Commit graph

69 commits

Author SHA1 Message Date
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
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
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
Christy Jacob
8dfc56cbde feat: remove prefix from general errors 2022-02-08 02:16:02 +04:00
Christy Jacob
f540ebd3d9 feat: update error order 2022-02-08 02:12:26 +04:00
Christy Jacob
e0e5f24ddb feat: rearrange errors 2022-02-08 01:10:36 +04:00
Christy Jacob
44f7d85a64 feat: handle utopia exceptions 2022-02-07 02:55:53 +04:00
Christy Jacob
847abadd39 feat: add type attribute to returned error 2022-02-07 01:46:47 +04:00
Christy Jacob
c861d3c52f feat: adjust docs 2022-02-07 01:42:05 +04:00
Christy Jacob
c46900f067 feat: adjust formatting 2022-02-07 01:39:33 +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
53807ab47c feat: update error codes in the health API 2022-02-06 21:21:47 +04:00
Christy Jacob
44c923144a feat: update error codes in the projectsAPI 2022-02-06 21:11:02 +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