1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00
Commit graph

362 commits

Author SHA1 Message Date
kodumbeats c2f994a02e Pass filters to createAttribute to inherit default value defined in this layer 2021-11-01 20:47:07 -04:00
kodumbeats 92e48e273d Add reminder to check query order 2021-10-27 18:31:25 -04:00
kodumbeats 6e46e2fb0f Use correct key in metrics array 2021-10-27 18:17:51 -04:00
kodumbeats 79b1fceaf3 Rename to prevent collisions 2021-10-27 18:17:15 -04:00
kodumbeats 656471ced2 Backfill usage stats with empty records when required 2021-10-27 15:57:20 -04:00
Torsten Dittmann df1398328c Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-refactor-ui-fixes 2021-10-27 11:01:21 +02:00
kodumbeats 0312b071ce Get integer constant from Range class 2021-10-26 16:51:40 -04:00
kodumbeats 10172f4216 Require minimum size 2021-10-26 16:28:16 -04:00
kodumbeats c6ee3766b7 Prevent default values for array attributes 2021-10-26 16:14:25 -04:00
Torsten Dittmann 7224520fa8 fix all usage ui 2021-10-26 15:19:28 +02:00
kodumbeats 353eb2b057 Respond with proper model on deleteAttribute 2021-10-25 21:12:27 -04:00
kodumbeats 5d0c0b2836 Throw exception if $min > $max 2021-10-25 16:10:39 -04:00
Torsten Dittmann a7d550ba86 fix(database): documents audit logs 2021-10-25 15:03:20 +02: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 d93d2af194 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-ui-fixes 2021-10-13 13:11:06 -04:00
kodumbeats 1f031f1187 Remove legacy method 2021-10-07 14:44:14 -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
kodumbeats f197699523 Throw exception when any enum element is empty 2021-10-07 14:30:52 -04:00
kodumbeats 5b1d7bfa5d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-07 14:08:02 -04:00
kodumbeats 1b4beb5ea2 Ensure enum attribute has proper response model 2021-10-06 22:25:03 -04:00
kodumbeats ec5d2ed591 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-06 20:36:25 -04:00
Torsten Dittmann 8083c182b0 fix leftover 2021-10-06 16:13:55 +02:00
Torsten Dittmann 9941198a7f Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-06 16:11:04 +02:00
Torsten Dittmann 492a83e336 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-search-attribute 2021-10-06 14:48:57 +02:00
Torsten Dittmann 244b62f12d
Merge pull request #1480 from appwrite/feat-enforce-document-collection-permissions
feat(refactor-db) enforce either document or collection permissions
2021-10-05 20:33:23 +00:00
kodumbeats f2c678bf41 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-search-attribute 2021-10-05 11:04:09 -04:00
Torsten Dittmann 349588df12 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-enforce-document-collection-permissions 2021-10-05 16:37:58 +02:00
kodumbeats 0f5931555a Fix issues from merge 2021-10-05 09:57:57 -04:00
Torsten Dittmann 768ab84a17 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-05 15:53:54 +02:00
kodumbeats 35c21e31c8 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-attribute-limits 2021-10-05 09:48:59 -04:00
kodumbeats 481ff1e2f9 Refactor purgeDocument calls to deleteCachedDocument 2021-10-05 09:05:40 -04:00
Torsten Dittmann 580b92227c fix tests 2021-10-05 14:59:58 +02:00
Torsten Dittmann 33699ea2c4 feat(controllers): implement before cursor pagination 2021-10-05 12:30:33 +02:00
kodumbeats d57f7b0a30 Throw exception on index creation if any attribute is not ready 2021-10-04 20:43:27 -04:00
kodumbeats 2aa94e7897 Improve attr/index lifecycle with status stuck when deletion fails 2021-10-04 20:23:15 -04:00
kodumbeats 5cdc330cab Merge remote-tracking branch 'origin/feat-response-models-new-attributes' into feat-db-refactor-api-buxfixes
API Specification updates for varying attributes
2021-09-30 20:26:54 -04:00
kodumbeats 81c0f8c3c1
Merge pull request #1647 from appwrite/feat-database-indexing-openapi-fix
Update API spec generation to support anyOf for AttributeList responses and oneOf for Attribute responses
2021-09-30 15:42:32 -04:00
kodumbeats 7ca035960d Fix attribute response model spec definitions 2021-09-30 15:37:21 -04:00
kodumbeats dd04158ae1 Return oneOf models for getAttribute 2021-09-30 15:03:18 -04:00
kodumbeats 2c2b5f6232 Create docs for api/sdk description 2021-09-27 20:26:33 -04:00
Matej Baco 8e7039ab92 Merge branch 'feat-new-document-usage-log' into feat-db-refactor-ui-fixes 2021-09-27 07:45:41 +02:00
kodumbeats fcb13806be Merge remote-tracking branch 'origin/feat-enforce-document-collection-permissions' into feat-db-refactor-ui-fixes 2021-09-23 21:52:03 -04:00
kodumbeats d457ba1627 Merge remote-tracking branch 'origin/feat-db-attribute-limits' into feat-db-refactor-ui-fixes 2021-09-23 21:51:16 -04:00
kodumbeats c87e686ca2 Fix createUrlAttribute description 2021-09-22 21:29:56 -04:00
kodumbeats 3c05a43ea7 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-attribute-limits 2021-09-20 21:28:54 -04:00
kodumbeats 1b76219f6f Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-09-20 21:27:07 -04:00
kodumbeats cb7c810207 Drop collection table in deletes worker 2021-09-19 11:49:24 -04:00
kodumbeats 5735c5d129 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enforce-document-collection-permissions 2021-09-12 09:14:03 -04:00
kodumbeats b4ad95747a Merge remote-tracking branch 'origin/feat-database-indexing' into feat-delete-collection-attributes-indexes 2021-09-12 09:07:46 -04:00
kodumbeats d32b877347 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-09-12 08:57:02 -04:00
kodumbeats 7fbe95de30 Use enum filter to respond with proper enum model 2021-09-10 16:14:12 -04:00
kodumbeats 9e4343e2ba Create route for enum attribute 2021-09-10 16:09:11 -04:00
kodumbeats f5d69b4b0a Catch exceptions in one block 2021-09-09 13:15:30 -04:00
kodumbeats e1c7e4908b Remove unneeded var 2021-09-09 12:52:56 -04:00
Damodar Lohani 2adac4548a Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-09-07 11:06:12 +05:45
Christy Jacob eccc19e5dc
Apply suggestions from code review
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2021-09-06 12:13:20 +05:30
kodumbeats 84e9881a6a Delete from attribute/index tables on deleteCollection 2021-09-02 12:45:03 -04:00
kodumbeats c49179e6bc Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enforce-document-collection-permissions 2021-09-01 10:52:38 -04:00
kodumbeats ae58a60065 Use checkAttribute to catch index limits 2021-08-31 21:13:58 -04:00
Christy Jacob ac0ff8ea0f feat(response): use recursive function for swagger/openapi spec generation 2021-09-01 02:25:13 +05:30
kodumbeats 656914f8dc Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-08-31 13:55:18 -04:00
kodumbeats 42ca474731 Search for attributes from internal table 2021-08-31 11:35:06 -04:00
kodumbeats 94e330149f Catch limit exception on attributes 2021-08-31 11:11:46 -04:00
Damodar Lohani 6524d00b08 update audit resource 2021-08-29 17:51:33 +05:45
Eldad Fux e862d72cf6 Added a new document-level activity log 2021-08-29 10:43:09 +03:00
Christy Jacob f7d657cc38 feat(model): use the new authorization skip methods 2021-08-28 21:55:48 +05:30
Christy Jacob f00fead07b Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-new-usage-endpoints 2021-08-28 21:39:01 +05:30
Eldad A. Fux 06096b4168
Merge pull request #1498 from appwrite/fix-catch-duplicate-index-exception
fix(refactor-db): catch duplicate exception when creating and updating documents
2021-08-28 07:29:46 +03:00
kodumbeats e9541a9269 Fix tests 2021-08-27 21:46:33 -04:00
kodumbeats 4af81db280 Authorization validator only accepts one argument 2021-08-27 21:45:42 -04:00
kodumbeats a33faab213 Enforce attribute refactored to permission 2021-08-27 21:45:15 -04:00
kodumbeats 2b057c0617 Skip authorization on document routes if collection permissions are met 2021-08-27 20:56:32 -04:00
kodumbeats 5a1ab3b059 Add enforce param to collections 2021-08-27 20:44:32 -04:00
kodumbeats 559fe95b7c Prefer single query to internal DB 2021-08-27 20:32:44 -04:00
kodumbeats c3534b4383 Clean up code 2021-08-27 19:45:18 -04:00
kodumbeats b293c5dd65 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-08-27 16:55:00 -04:00
kodumbeats fb80088286 Create range filter for numeric attributes 2021-08-27 16:27:48 -04:00
Christy Jacob 6835124af8 feat(usage): rename all usage response models 2021-08-27 23:04:43 +05:30
kodumbeats a619c26aff Use database filter to encode default value as JSON string to preseve type 2021-08-27 13:12:16 -04:00
Christy Jacob ad99f8bd24 feat(usage): rename all usage response models 2021-08-27 22:15:08 +05:30
kodumbeats eba9bfa49d Harmonize exception messages 2021-08-27 08:41:22 -04:00
Christy Jacob 3d512e74bf feat(usage): added response models for database api 2021-08-26 23:45:36 +05:30
Christy Jacob 7775daa478 feat(usage): added new response model 2021-08-26 16:30:03 +05:30
Christy Jacob 747827e2a9 Merge branch 'feat-usage-daemon' of github.com:appwrite/appwrite into feat-new-usage-endpoints 2021-08-26 13:52:27 +05:30
kodumbeats 5472415231 Encode attribute default as json string 2021-08-25 16:43:15 -04:00
kodumbeats 1c52b0b4dc Prefer Document array data structure for attributes 2021-08-25 15:37:07 -04:00
kodumbeats 84f9f71b81 Fix race condition between database controller and worker 2021-08-25 15:36:45 -04:00
Damodar Lohani 95a20159a7 fix merge errors 2021-08-25 12:09:02 +05:45
kodumbeats 2f26f8ae4f Count index from internal index table 2021-08-24 19:35:32 -04:00
kodumbeats 1c1312baae Catch exception for index limit 2021-08-24 18:20:04 -04:00
kodumbeats 5c040bd5f3 Add min and max for response model 2021-08-24 14:57:34 -04:00
kodumbeats 7506142ab9 Parse min and max from formatOptions for response model 2021-08-24 14:01:53 -04:00
kodumbeats cc0c3d074e Replace last line that was somehow removed during interactive rebase 2021-08-24 10:03:32 -04:00
kodumbeats 98e15f782a Use 409 response for duplicate exception 2021-08-24 09:53:49 -04:00
kodumbeats 758f8e8eb2 Catch duplicate index exception when creating and updating a document 2021-08-24 09:53:15 -04:00
kodumbeats c4cb72731e Refactor attributeCallback to function createAttribute 2021-08-24 09:49:58 -04:00
kodumbeats 4b0dc9dab3 Use param validation from framework 2021-08-24 09:46:41 -04:00
Damodar Lohani c81ee72c7e Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-24 15:04:07 +05:45
Eldad Fux 5bf7f3f773 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-decouple-collections 2021-08-24 00:25:21 +03:00
kodumbeats 401a57a538 Merge remote-tracking branch 'origin/feat-decouple-collections' into feat-response-models-new-attributes 2021-08-23 14:29:05 -04:00