1
0
Fork 0
mirror of synced 2024-06-17 10:14:50 +12:00
Commit graph

58 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 50e50fa94b feat: use internal ids for database indexes and attributes 2022-06-20 13:21:36 +02:00
Torsten Dittmann 3aa49f773a fix: all of the workers 2022-06-20 11:22:53 +02:00
Torsten Dittmann 4b3a90bb54 Revert "fix: workers"
This reverts commit c89b62a7b4.
2022-06-20 09:37:00 +02:00
Torsten Dittmann c89b62a7b4 fix: workers 2022-06-19 12:54:47 +02:00
Everly Precia Suresh 19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Torsten Dittmann fdb64de616 docs: add comments to events passing 2022-05-09 14:36:29 +02:00
Torsten Dittmann 12557f7143 Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-04-25 16:40:59 +02:00
Torsten Dittmann 25de029992 fix(database): casting of float values 2022-04-21 15:14:01 +02:00
Torsten Dittmann 7790d72c0c fix: realtime, tests and webhooks 2022-04-18 18:21:45 +02:00
Torsten Dittmann 87b8fc3c41 feat: event classes for different cases 2022-04-13 14:39:31 +02:00
Torsten Dittmann 42d0589d32 fix: permissions and collections schema 2022-02-07 13:25:15 +01:00
Torsten Dittmann ce3a647557 fix: add missing collection prefix to cache purging 2022-01-03 13:30:03 +01:00
Torsten Dittmann 693b8c7185 fix: replace internal and external database with project database 2021-12-27 13:45:23 +01:00
kodumbeats 3f43b426fa Prepend "collection_" to collections 2021-12-23 17:51:38 -05:00
Torsten Dittmann e944da2f3e feat(realtime): add console channel 2021-12-06 13:03:12 +01:00
kodumbeats 974788db83 fix(api): allow failed attributes to be deleted 2021-10-27 09:44:10 -04:00
kodumbeats 4a1507ba25 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-api-buxfixes 2021-10-15 09:26:17 -04:00
kodumbeats 6373c4f92d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-api-buxfixes 2021-10-07 14:40:45 -04:00
Torsten Dittmann 8db80e164d Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 12:08:24 +02:00
kodumbeats 31f1c4e1dd Merge remote-tracking branch 'origin/feat-database-indexing' into feat-cleanup-index-on-delete-attribute 2021-10-05 10:14:26 -04:00
kodumbeats 481ff1e2f9 Refactor purgeDocument calls to deleteCachedDocument 2021-10-05 09:05:40 -04:00
kodumbeats 2aa94e7897 Improve attr/index lifecycle with status stuck when deletion fails 2021-10-04 20:23:15 -04:00
Torsten Dittmann 80e0df8a69 fix realtime 2021-09-30 13:18:50 +02:00
kodumbeats c9601160a6 Handle case of duplicate indexes on deleteAttribute 2021-09-20 21:22:08 -04:00
kodumbeats 51ea0aecb1 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-cleanup-index-on-delete-attribute 2021-09-20 13:32:16 -04:00
kodumbeats 31977e462c Clean up indexes when attribute is deleted 2021-09-02 17:38:33 -04:00
Damodar Lohani c81ee72c7e Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-24 15:04:07 +05:45
Eldad A. Fux 8f2e5c3563
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:40:56 +03:00
Eldad A. Fux 0b30691879
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:40:14 +03:00
Eldad A. Fux 9aefe4e360
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:39:42 +03:00
Eldad A. Fux 5de5a38ba0
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:39:24 +03:00
Eldad Fux a6c62c95b0 Updated tests 2021-08-23 07:06:53 +03:00
Eldad Fux 31500cd675 Sub query support for indexes 2021-08-22 18:00:00 +03:00
Eldad Fux fa909e844d Added new delete attribute flow 2021-08-22 11:04:51 +03:00
Eldad Fux c507cd44aa Fixed format options 2021-08-22 00:48:07 +03:00
Eldad Fux 6943380118 Updated data structures for attribute 2021-08-21 07:48:28 +03:00
Eldad Fux 5811a5680a Work in progress 2021-08-19 07:05:44 +03:00
Damodar Lohani 26c4fe7009 Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-15 10:53:53 +05:45
Damodar Lohani 56e3a2bd6c depricate worker.php, use init.php instead 2021-08-13 14:24:46 +05:45
Eldad A. Fux 2fbc434e25
Merge pull request #1475 from appwrite/feat-delete-attribute-index-tests
feat(refactor-db): tests for attribute and index deletion
2021-08-10 21:49:40 +03:00
kodumbeats 4c08097e92 Use system for naming worker constants 2021-08-08 19:42:08 -04:00
Eldad Fux 9ad1917072 Permission fix 2021-08-07 15:49:36 +03:00
kodumbeats 1b0a59d14a Use new format param for attributes 2021-08-03 16:22:12 -04:00
kodumbeats 51449841bf Refactor db methods to worker class instead of worker script 2021-07-25 19:14:19 -04:00
kodumbeats 03288ffbfa Refactor database methods to parent worker script 2021-07-25 18:20:31 -04:00
kodumbeats 30483610f8 Add missing typehint 2021-07-14 15:09:48 -04:00
kodumbeats e9561a68dc Get db and cache from pool via coroutine 2021-07-02 13:29:39 -04:00
kodumbeats 145203663d Pass default param where required 2021-07-02 13:29:03 -04:00
kodumbeats 1454dec6ad Define defaults for getAttribute 2021-06-30 14:33:25 -04:00