Commit graph

34 commits

Author SHA1 Message Date
Christy Jacob
d5028e601e feat: update datetime description 2022-09-05 01:26:16 +04:00
Jake Barnby
c531213a5f Doc updates 2022-08-27 15:19:00 +12:00
Jake Barnby
f904698d66 Add permissions doc links to model rule descriptions 2022-08-26 16:34:05 +12:00
Jake Barnby
86f209800a Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	composer.json
#	composer.lock
#	src/Appwrite/Utopia/Response/Model/AttributeDatetime.php
2022-08-15 16:43:47 +12:00
Jake Barnby
6a5de3e0b6 Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/config/collections.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/api/teams.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Account/AccountBase.php
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
#	tests/e2e/Services/Storage/StorageBase.php
#	tests/e2e/Services/Storage/StorageCustomClientTest.php
#	tests/e2e/Services/Storage/StorageCustomServerTest.php
#	tests/e2e/Services/Teams/TeamsBase.php
#	tests/e2e/Services/Webhooks/WebhooksBase.php
#	tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
#	tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
#	tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
fogelito
9b9f2fe428 global const for TYPE_DATETIME_EXAMPLE 2022-08-14 13:27:07 +03:00
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Jake Barnby
9a182d615a Refactor databases to use new permissions 2022-08-02 21:18:49 +12:00
fogelito
ba40ac4e90 Change models Class name 2022-07-28 13:26:22 +03:00
fogelito
b58c04c28b Add attribute datetime 2022-07-25 11:53:41 +03:00
fogelito
203b3058a2 providerAccessTokenExpiry 2022-07-05 16:06:55 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03: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
Torsten Dittmann
bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Matej Baco
e065470ffc Merge branch 'feat-database-indexing' into feat-health-api-response-models 2021-12-20 12:09:50 +01:00
Matej Baco
ea7b5970c3 Post-PR review fixes 2021-12-15 11:19:29 +01:00
Torsten Dittmann
6c6992a3f7 feat(database): add colection enable/disable 2021-12-13 13:42:04 +01:00
Torsten Dittmann
1fd4e6c3c8 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing 2021-10-25 16:01:07 +02:00
kodumbeats
1b4beb5ea2 Ensure enum attribute has proper response model 2021-10-06 22:25:03 -04:00
Asmit2952
5a729e0932 Fixed PSR issues in Utopia Library
Signed-off-by: Asmit2952 <asmitbm2952002@gmail.com>
2021-10-06 19:52:38 +05:30
Torsten Dittmann
c3d1dad82c fix stdClass usage 2021-10-05 17:39:39 +02:00
kodumbeats
dc06e42348 Remove standard lib imports 2021-10-05 09:16:27 -04:00
Torsten Dittmann
0992576e52 introduce response type array 2021-09-14 10:26:16 +02:00
kodumbeats
8d7b4a9c2d Get proper attribute models in collection document 2021-08-27 19:42:24 -04:00
Eldad Fux
6943380118 Updated data structures for attribute 2021-08-21 07:48:28 +03:00
kodumbeats
12b58b00ac
Update descriptions/examples for docs
Applied suggestions from code review

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-30 11:10:45 -04:00
kodumbeats
8aecf3cf6a Use response models for attirbute types 2021-06-11 11:27:51 -04:00
kodumbeats
2d974edce9 Update document and collection response models 2021-06-10 14:19:10 -04:00
Eldad Fux
764672e15e Updated default values 2021-01-13 17:06:36 +02:00
Eldad Fux
dcac44372f Updated old specs 2020-11-16 10:37:43 +02:00
Eldad Fux
4d3c5a39cc Updated constants 2020-11-08 00:14:48 +02:00
Eldad Fux
0450604d27 Added external swoole lib and extended response class 2020-10-29 15:07:56 +02:00