1
0
Fork 0
mirror of synced 2024-06-10 23:04:45 +12:00
Commit graph

362 commits

Author SHA1 Message Date
Eldad Fux d7eabe3347 init 2021-08-10 21:03:32 +03:00
Torsten Dittmann 8296021b63 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-after-pagination 2021-08-09 12:03:15 +02:00
Eldad Fux 034d6db8c3 UI - work in progress 2021-08-09 10:08:49 +03:00
kodumbeats ae95d1b83a Fix logic for known indexes 2021-08-08 19:46:14 -04:00
kodumbeats e609954659 Fix logic for finding matching attribute 2021-08-08 18:07:59 -04:00
Torsten Dittmann dac093c645 feat(database): add after pagination 2021-08-06 14:35:57 +02:00
Torsten Dittmann fb1546cfcc rename orderAfter to after 2021-08-06 12:34:42 +02:00
Torsten Dittmann 01d0ce6988 feat(database): after pagination 2021-08-05 21:01:00 +02:00
Damodar Lohani 201d7114ec Merge branch 'feat-database-indexing' into feat-custom-id 2021-08-04 12:27:19 +05:45
Damodar Lohani 136681df27 Merge branch 'feat-database-indexing' into feat-custom-id 2021-08-03 13:34:02 +05:45
kodumbeats 3846d66868 Use sdk.auth instead of sdk.platform 2021-08-02 16:11:24 -04:00
kodumbeats 7b2f33d861 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-create-attribute-routes 2021-08-02 15:31:44 -04:00
Eldad Fux b24225b92c Updated Console SDK 2021-07-31 23:40:34 +03:00
Damodar Lohani 68ea2e2ab1 re introduce name attributes 2021-07-29 13:54:24 +05:45
kodumbeats 432a1a7f5c Parse min and max as proper types 2021-07-27 15:12:24 -04:00
kodumbeats 1eae5490df Encode format as json string 2021-07-27 14:19:37 -04:00
Damodar Lohani 062e22a708 Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-27 11:45:26 +05:45
kodumbeats b9fea89e73 Use refactored attribute function 2021-07-26 21:00:36 -04:00
kodumbeats c0b48ec247 Remove references to old db responses 2021-07-26 19:11:25 -04:00
kodumbeats df5703022b Create custom formats via callback in structure validator 2021-07-26 19:10:39 -04:00
kodumbeats 58f335feff Merge remote-tracking branch 'origin/feat-database-indexing' into feat-create-attribute-routes 2021-07-26 16:48:22 -04:00
Eldad Fux 13c1bb045d Cleanup old db library 2021-07-25 17:47:18 +03:00
kodumbeats e22d4e1db9 Add support for min and max for numeric attributes 2021-07-23 17:38:14 -04:00
kodumbeats ff2fd8a381 Set format structure validators on app init 2021-07-23 10:59:55 -04:00
kodumbeats aea2d2ffa5 Accept format on createAttribute for document structure validation 2021-07-22 16:38:42 -04:00
Damodar Lohani b86b2e8430 collection update name attribute 2021-07-22 11:54:57 +05:45
Damodar Lohani e88450268b depricate name params 2021-07-22 10:57:01 +05:45
kodumbeats 97b7c863a8 Validate default value only when not null 2021-07-21 10:26:50 -04:00
kodumbeats b64202043d Renamed import due to reserved keyword conflicts 2021-07-21 10:26:08 -04:00
kodumbeats 6fc5bf0a71 Add createAttribute routes for each primitive type 2021-07-21 09:23:12 -04:00
kodumbeats 9ac2a4f94c Remove outdated comments 2021-07-21 09:22:34 -04:00
Damodar Lohani 6511d63726 Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-20 11:12:54 +05:45
Eldad A. Fux c1a67fc718
Merge branch 'feat-database-indexing' into fix-db-sync-with-master 2021-07-19 21:20:29 +03:00
Damodar Lohani d8dc30b08a custom id on database 2021-07-19 15:10:53 +05:45
Eldad Fux bbc20dad10 Merge branch 'master' of github.com:appwrite/appwrite into fix-db-sync-with-master 2021-07-18 17:17:29 +03:00
Eldad Fux 5ec5649603 Fixed wrong paths 2021-07-18 11:19:23 +03:00
kodumbeats 2619157dd0 Add inline todos 2021-07-16 09:53:55 -04:00
kodumbeats acc4bbb052 Deletes worker no longer needed for collections 2021-07-12 12:45:30 -04:00
Torsten Dittmann f158980963
fix(database): default value for empty rules 2021-07-07 13:46:44 +02:00
kodumbeats 06c276d855 Tighten up validation 2021-07-05 16:27:20 -04:00
kodumbeats 64d1913a03 Keep search param in listCollections 2021-07-05 15:19:18 -04:00
kodumbeats 4a90076013 Cleanup code comments 2021-07-05 15:15:39 -04:00
Torsten Dittmann d9986cb205 fix(database): properly cast to int 2021-07-05 11:33:47 +02:00
kodumbeats 860a2c7616 Fix index and attribute routes for tests 2021-07-02 20:20:09 -04:00
kodumbeats 50a3493d69 Use attribute size as index length 2021-07-02 18:23:58 -04:00
kodumbeats dfa7516b15 Add missing typehint 2021-07-02 18:22:49 -04:00
kodumbeats bafde0aa29 Remove unneeded param from callback 2021-07-02 16:21:06 -04:00
kodumbeats 145203663d Pass default param where required 2021-07-02 13:29:03 -04: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 4c81d6b490 Remove unnecessary params from new attribute and index routes 2021-06-23 10:21:32 -04:00
kodumbeats ea46b7b783 Use stricter validators for params 2021-06-22 15:34:42 -04:00
kodumbeats 2e0b7fe471 Support queries for listCollections 2021-06-18 15:27:16 -04:00
kodumbeats 9aad04b484 Accept default permissions from Utopia for now 2021-06-18 15:27:03 -04:00
kodumbeats b1a6302311 Use database worker to remove attributes and indexes 2021-06-18 14:27:14 -04:00
kodumbeats afd347ca6f Create attributes and indexes using database worker 2021-06-18 12:13:37 -04:00
kodumbeats 3c7b7d21f5 Add reminder to filter results from listCollections 2021-06-17 14:22:43 -04:00
kodumbeats 160330675a Add whitelist of filters to createAttribute 2021-06-17 13:09:40 -04:00
kodumbeats 435f6879f2 Remove unused imports 2021-06-17 13:03:24 -04:00
kodumbeats a54af88a38 Address todo items for attributes and index routes 2021-06-17 11:53:06 -04:00
kodumbeats 2530341bf9 Fix updateCollection and clean up code 2021-06-16 16:36:18 -04:00
kodumbeats 0e7c55c17c Fix tests for deleteDocument 2021-06-15 10:24:51 -04:00
kodumbeats a62c46cc44 Fix tests for update and delete document 2021-06-15 09:38:24 -04:00
kodumbeats 33d07c2ba4 Move listDocuments to new db 2021-06-14 15:55:36 -04:00
kodumbeats f7d3b726fd Remove erroneous use 2021-06-11 16:21:54 -04:00
kodumbeats e35d883c56 Test for creating collections and documents 2021-06-11 16:06:54 -04:00
kodumbeats 1885a9632d Fix tests for create/delete collection 2021-06-11 14:07:05 -04:00
kodumbeats 3510bc88b4 use isEmpty document method to check for empty collection 2021-06-11 10:25:52 -04:00
kodumbeats 7138dbd34f Use new db for collections and documents 2021-06-10 14:19:42 -04:00
kodumbeats e9d93ce95e Throw 404 when collection not found 2021-06-10 09:15:00 -04:00
kodumbeats 6f3b331069 Align index and attribute routes to db and models 2021-06-09 17:11:51 -04:00
kodumbeats be79eb76c6 Use new db for attribute endpoints 2021-06-08 16:12:14 -04:00
kodumbeats 2342d84de3 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-08 12:47:59 -04:00
Eldad Fux 26d0d5d3dc Implemented search 2021-05-27 13:09:14 +03:00
Eldad Fux ce8b3686d8 Replaced sdk.security with sdk.auth 2021-04-16 10:22:17 +03:00
Eldad Fux 7a0ff7699a Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-jwt-support-for-sdks 2021-04-16 10:20:12 +03:00
Eldad Fux 994dd3164f Merge branch 'dev' of github.com:appwrite/appwrite into 0.8.x 2021-04-14 12:02:17 +03:00
Torsten Dittmann 3ff66179c5 feat: add document response model that extends any type 2021-04-08 10:39:23 +02:00
kodumbeats d4b107bf1d
Merge branch '0.8.x' into refactor-event-payload-to-data 2021-03-29 15:32:14 -04:00
kodumbeats 9f8e7358d4 Refactor event $payload to $eventData 2021-03-29 14:00:10 -04:00
Eldad Fux 8ea83b24c3 Added new JWT as SDK auth method 2021-03-29 00:22:12 +03:00
kodumbeats c10d9b6701 Outline remaining routes 2021-03-25 15:52:57 -04:00
kodumbeats 7a07ff58d7 Outline index and attributes routes 2021-03-24 11:40:33 -04:00
kodumbeats 48b12152e3 Outline createIndex 2021-03-23 17:19:19 -04:00
Eldad Fux 46c465b80e Added some fixes and dedicated tests 2021-03-22 09:34:51 +02:00
Eldad Fux b5846f5a79 Updated default permissions 2021-03-22 00:17:20 +02:00
Eldad Fux b69deb594d Allow permission reset 2021-03-15 00:33:59 +02:00
Eldad Fux e704cc82b5 Remove content type when no content 2021-02-02 08:02:35 +02:00
Eldad A. Fux de70f71114
Merge pull request #766 from christyjacob4/feat-na-maintenance-task
feat: starter for maintenance task
2020-12-30 15:42:04 +02:00
Christy Jacob c7306053d1 fix: use orderType in DB query 2020-12-30 01:00:49 +05:30
Christy Jacob e77abfe706 Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-na-maintenance-task 2020-12-27 23:30:59 +05:30
Eldad Fux acc9bd7a91 Updated database controller 2020-12-26 17:05:04 +02:00
Christy Jacob 5e686183c6 Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-na-maintenance-task 2020-12-24 20:10:03 +05:30
Christy Jacob b40b586342 patch: review comments and some fixes 2020-12-21 23:45:52 +05:30
Christy Jacob 62885aa13a patch: deletes worker refactoring 2020-12-18 19:35:20 +05:30
Christy Jacob 1ecbf8bc5d patch: refactor delete worker invocation 2020-12-18 17:58:08 +05:30
Christy Jacob e3a6c899c3 patch: delete based on collection 2020-12-18 16:38:58 +05:30
Eldad Fux c10817859d Minimized all direct API filters 2020-12-13 01:22:55 +02:00
Eldad Fux e3c58361d9 Merged all system events 2020-12-07 00:14:57 +02:00
Christy Jacob d44c2ead0e feat: delete documents using delete worker 2020-12-05 02:17:02 +05:30
Eldad Fux afd20d96f8 Updated routes lables 2020-11-11 23:02:24 +02:00
Eldad Fux 4211c3159e Updated docs 2020-11-05 18:02:25 +02:00
Eldad Fux 1e1e1a431f Minor cleanups 2020-10-31 10:42:41 +02:00
Eldad Fux e81fb88736 First commit 2020-10-30 21:53:27 +02:00
Eldad Fux 07b79c3103 Updated docs 2020-10-29 15:50:49 +02:00
Eldad Fux 0450604d27 Added external swoole lib and extended response class 2020-10-29 15:07:56 +02:00
Eldad Fux 95cafb9f1b Updated controllers and workers 2020-10-15 00:34:57 +03:00
Eldad Fux ca95ee803e Test preloading of all validators 2020-09-10 17:40:14 +03:00
Eldad Fux e399b13639 [BUG] case sensitive country flag code
Fixes #526
2020-09-09 23:29:39 +03:00
Eldad Fux 1d218b213c Updated docs 2020-09-08 00:36:13 +03:00
Eldad Fux 77667be404 Changes all name attributes length to max
of 128 chars
2020-09-08 00:28:40 +03:00
Eldad Fux 79ee6c04e8 Updated error message 2020-08-30 07:49:24 +03:00
Eldad Fux 7391f39798 Fix for nested docs structure error #514 2020-08-26 18:54:07 +03:00
Eldad Fux 1b897b4223 Merge branch 'master' of github.com:appwrite/appwrite into swoole 2020-07-11 21:38:51 +03:00
Eldad Fux abdae9b095 Fixed permission updating bug 2020-07-11 19:18:04 +03:00
Eldad Fux d2f676f41f Fixed DB input order 2020-07-08 17:28:01 +03:00
Eldad Fux 0b384765e8 Added some consistency to DB API 2020-07-08 17:13:15 +03:00
Eldad Fux 969441bf47 Fixed queues var names 2020-07-05 17:19:59 +03:00
Eldad Fux 218bbdcad8 Updated controllers 2020-06-30 18:46:42 +03:00
Eldad Fux 3e808d3bf4 Removed global vars 2020-06-30 00:43:34 +03:00
Eldad Fux 655aecd29d Cleaned up globals 2020-06-28 22:28:18 +03:00
Eldad Fux 4f7d5aa132 Merge branch 'master' of github.com:appwrite/appwrite into remove-globals 2020-06-28 22:07:18 +03:00
Eldad A. Fux c64cf7f160
Merge branch 'master' into deprecated-first-and-last 2020-06-28 21:53:16 +03:00
Eldad Fux ed4ba66723 List Documents undefined behavior
Fixes #429
2020-06-28 21:35:03 +03:00
Eldad Fux 00e3632c59 Upgraded FW 2020-06-28 20:31:21 +03:00
Eldad Fux efc8fd12dc Merge branch 'master' of github.com:appwrite/appwrite into deprecated-first-and-last 2020-06-26 17:43:21 +03:00
Eldad Fux ff6078fd7e Unified include calls 2020-06-25 22:53:36 +03:00
Eldad Fux 539ea96ca0 Adding group support, upgraded FW 2020-06-25 21:32:12 +03:00
Eldad Fux 86e9d03e07 Removed isDev global param 2020-06-25 00:10:52 +03:00
Eldad Fux c7366c7453 Updated coding standards 2020-06-24 23:59:04 +03:00
Eldad Fux a3aeecfd0d Removed first and last params 2020-06-21 15:12:13 +03:00
Eldad Fux 1b549092c4 Added support for "loose" boolean in query strings 2020-06-21 14:56:42 +03:00
Eldad Fux 569560d456 Unused imports 2020-06-21 10:41:44 +03:00
Eldad Fux 0dec176bb8 Updated first and last description 2020-06-21 10:40:50 +03:00
Eldad Fux 8c33a729bc Same for app directory 2020-06-20 14:20:49 +03:00
Eldad A. Fux 0425edc9e1
Merge branch 'master' into eldadfux/issue424 2020-06-19 23:18:03 +03:00
Eldad Fux 7495097390 Merge branch 'master' of github.com:appwrite/appwrite 2020-06-19 21:55:14 +03:00
Eldad Fux 0c8ece309f Updated docs 2020-06-19 21:55:08 +03:00
Eldad Fux 41aeba0d11 Uncaught error with non JSON object creation of document
Fixes #424
2020-06-19 21:04:12 +03:00
Eldad Fux 0266e1a667 Updated env to mode 2020-06-19 02:07:41 +03:00
Eldad Fux fea55375d8 Same fix for doc update 2020-06-18 23:52:59 +03:00
Eldad Fux 48d30d71d6 Uncaught error with non JSON object creation of document
Fixes #424
2020-06-18 23:13:03 +03:00
Eldad Fux 392801f07a Added support for default values in the DB 2020-04-18 16:57:28 +03:00
Eldad Fux c41dc2cd1b Updated new document form 2020-04-18 01:19:02 +03:00
Eldad Fux 7d7c2adbde Merge branch 'master' of github.com:appwrite/appwrite into database-ui 2020-04-16 21:46:39 +03:00
Eldad Fux 61a3131338 Fixed typo 2020-04-16 07:59:44 +03:00
Eldad Fux c73188ccf9 Merge branch '0.6' of github.com:appwrite/appwrite into database-ui 2020-03-28 18:23:29 +03:00
Eldad Fux f35258b9c5 Merge branch 'master' of github.com:appwrite/appwrite into database-ui 2020-03-27 01:56:57 +02:00
Eldad Fux 7b1dd6b2c3 Updated all the REST API query params to be in camelCase 2020-03-25 22:19:19 +02:00
Eldad Fux 8d3465e29f Added a vendor namespace to all local libs 2020-03-24 19:56:32 +02:00
Eldad Fux e3c9fd5807 Updated docs 2020-03-18 19:52:04 +02:00
Eldad Fux 5eedfdd3fe Better error handling 2020-03-08 17:38:51 +02:00
Eldad Fux 46cfa9ee92 Updated $uid to $id 2020-02-17 09:16:11 +02:00
Eldad Fux 9c201f5f6e Updated param docs 2020-02-10 07:54:26 +02:00
Eldad Fux 29c5e5e560 Updated email verification 2020-02-09 23:37:28 +02:00
Eldad Fux 242cbcbf1a Updated DB routes platforms 2020-02-08 08:06:40 +02:00
Eldad Fux a510bfb3c1 Resorted routes for docs 2020-02-01 00:34:07 +02:00
Eldad Fux f4d09c76ea Fixed DB new path errors 2020-01-30 20:22:55 +02:00
Eldad Fux 1beaa237f0 Updated SDK examples 2020-01-30 18:18:46 +02:00
Eldad Fux 76e09fb78f Updated SDK platforms 2020-01-27 08:14:14 +02:00
Eldad Fux a9abf52da9 Added webhooks event and audit logs for resources 2020-01-04 17:45:28 +02:00
Eldad Fux 6ab90cd01e Fixed paths 2019-12-16 21:35:33 +02:00
Eldad Fux 178c476109 Changed controllers location 2019-12-16 06:55:05 +02:00
Renamed from app/controllers/client/database.php (Browse further)