1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00
Commit graph

1810 commits

Author SHA1 Message Date
Damodar Lohani 4996a80e22 publicly allow 503 errors 2021-08-31 13:20:51 +05:45
Damodar Lohani 6a3f90a3a4 for endpoints that send mails, throw exception when smtp is disabled 2021-08-31 13:20:04 +05:45
Damodar Lohani ee5745d3ce throw exception if SMTP is not available 2021-08-31 13:17:58 +05:45
Damodar Lohani d67c754dad update descriptions 2021-08-31 12:58:30 +05:45
Damodar Lohani 69f66c62f3 oauth default redirect url to user's instance instead of appwrite.io 2021-08-31 12:49:17 +05:45
Damodar Lohani 45955f0c41 abuse limit by email param 2021-08-31 11:42:07 +05:45
Matej Baco abfe47787b Added TODO 2021-08-30 17:16:42 +02:00
Matej Baco 8009adc11d Migrated project services, providers, domains, webhooks and keys to it's own collection 2021-08-30 16:24:50 +02:00
Damodar Lohani 13ba85036b fix token type for verification 2021-08-30 17:17:05 +05:45
Damodar Lohani 56fdbf9e3e fix scope 2021-08-30 16:54:45 +05:45
Damodar Lohani 22ceb1dc7c create session with magic url 2021-08-30 16:29:52 +05:45
Torsten Dittmann 93c481b24b Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-30 12:08:08 +02:00
Matej Baco 82085df58a Migrated project platforms to it's own collection 2021-08-30 09:33:45 +02:00
Damodar Lohani 6524d00b08 update audit resource 2021-08-29 17:51:33 +05:45
Damodar Lohani bb666810d9 update to use duplicate exception to check email already exists 2021-08-29 17:45:25 +05:45
Damodar Lohani 73c27f9c3d update view 2021-08-29 16:58:58 +05:45
Christy Jacob 66294445ce feat(tests): added tests for users usage 2021-08-29 14:24:50 +05:30
Damodar Lohani dc033b71ab users api update name, email, password methods 2021-08-29 14:23:40 +05:45
Christy Jacob a4e2aeb5e7 feat(usage): added provider metrics to endpoints 2021-08-29 11:00:37 +05:30
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 038aeb01fb feat(usage): added response models for projects API 2021-08-27 01:01:37 +05:30
Christy Jacob 1e30cdba4b feat(usage): added response models for functions API 2021-08-27 00:42:36 +05:30
Christy Jacob b893190ce5 feat(usage): added response models for users API 2021-08-27 00:23:56 +05:30
Christy Jacob 6d6b0ee024 feat(usage): added response models for storage API 2021-08-27 00:14:32 +05:30
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
Torsten Dittmann d69ccf5c6e fix whitespace 2021-08-25 12:22:25 +02:00
Torsten Dittmann 5d430b7b53 fix(usage): use proper projectdb namespace 2021-08-25 12:08:23 +02:00
Torsten Dittmann 8eef572d3e Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-25 10:01:46 +02: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 80fffe0ed4 collections count 2021-08-24 16:15:24 +05:45
Damodar Lohani 218b332b0f fix get url 2021-08-24 15:36:45 +05:45
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
Eldad Fux 74187eb5ce Merge branch 'master' of github.com:appwrite/appwrite into feat-decouple-collections 2021-08-23 13:38:35 +03:00
Eldad Fux 266374899e Fixed tests 2021-08-23 10:27:09 +03:00
Eldad Fux a6c62c95b0 Updated tests 2021-08-23 07:06:53 +03:00
Eldad Fux f1ec1b2a05 Fixed tests 2021-08-22 19:36:26 +03:00
kodumbeats 4d1bb3a07d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-08-22 12:34:10 -04:00
Eldad Fux 31500cd675 Sub query support for indexes 2021-08-22 18:00:00 +03:00
Eldad Fux e39ed9cf9b Fixed some tests 2021-08-22 17:06:59 +03:00
Eldad Fux 555d2f7529 Hardcoded URL size, fixed icons 2021-08-22 15:59:44 +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 c0b86a5d17 Work in progress 2021-08-20 20:02:44 +03:00
Christy Jacob a2a73d87e2 feat(usage): added usage endpoint for database 2021-08-20 17:52:04 +05:30
Christy Jacob e7eb0e7cdf feat(usage): added usage endpoint for storage 2021-08-20 17:47:56 +05:30
Christy Jacob 9ebc5b891b feat(usage): added usage endpoint for storage 2021-08-20 17:47:19 +05:30
Christy Jacob 24925d2eb2 feat(usage): cleanup comments 2021-08-20 17:40:52 +05:30
Christy Jacob c36b5b8b30 feat(usage): cleanup comments 2021-08-20 17:11:13 +05:30
Christy Jacob ae030ebd4f feat(usage): doc fix 2021-08-20 17:10:35 +05:30
Christy Jacob 2468e6e97d feat(usage): added usage endpoint for collections 2021-08-20 17:08:57 +05:30
Christy Jacob 8b393b1165 feat(usage): added usage endpoint for database 2021-08-20 16:53:54 +05:30
Eldad Fux 5ba2ba4c4c SubQuery test 2021-08-20 14:15:17 +03:00
Christy Jacob f3074bc024 feat(usage): some refactoring 2021-08-20 15:34:57 +05:30
Christy Jacob aefbdb0597 feat(usage): added usage endpoint to users api 2021-08-20 15:27:48 +05:30
Christy Jacob 070b7d8270 feat(usage): added usage endpoint to storage api 2021-08-20 14:30:39 +05:30
Christy Jacob d654e4cd09 feat(usage): added usage endpoint to storage api 2021-08-20 14:28:42 +05:30
Christy Jacob cfe49b6892 feat(usage): refactored functions usage endpoint 2021-08-20 13:54:45 +05:30
Eldad Fux 7859f35612 Updated SDK 2021-08-20 09:23:58 +03:00
Damodar Lohani 4b5db30a43
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-08-19 16:58:32 +05:45
Damodar Lohani 2a1ccafb62
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-08-19 16:58:26 +05:45
Damodar Lohani 08bdf089f6 remove unused stats 2021-08-19 14:48:53 +05:45
Damodar Lohani 39d4924fe8 storage total stats 2021-08-19 13:59:23 +05:45
Damodar Lohani 800a76db72 counter stats update 2021-08-19 13:46:22 +05:45
Damodar Lohani e82cf42fe3 refactor usage endpoint 2021-08-19 12:23:56 +05:45
Damodar Lohani 0d47dea97f Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-19 11:12:49 +05:45
Damodar Lohani 69cfe48e79 Merge branch 'feat-database-indexing' into feat-upgrade-framework-new 2021-08-19 10:59:34 +05:45
Damodar Lohani 7b56613b58 update framework 2021-08-19 10:54:55 +05:45
Damodar Lohani 9170f64a75 fix changed getURL to getPath 2021-08-19 10:50:21 +05:45
Damodar Lohani bc05c4d3a5 update custom id description on all services 2021-08-19 10:37:36 +05:45
Damodar Lohani 8cd3ac8587 update custom id param description 2021-08-19 10:35:11 +05:45
Damodar Lohani 6048d371b2 custom id description 2021-08-19 10:25:16 +05:45
Eldad Fux 5811a5680a Work in progress 2021-08-19 07:05:44 +03:00
Eldad Fux 266cce237e Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-decouple-collections 2021-08-18 22:00:26 +03:00
Eldad Fux 89f55a1727 Re-orgenized controller flow 2021-08-18 16:42:03 +03:00
Eldad Fux d5d8ed365c Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-search-attribute 2021-08-18 16:37:39 +03:00
Eldad Fux 4a0d8876df Fixed tests 2021-08-18 15:36:55 +03:00
Eldad Fux ca3bae9259 Updated collectionId 2021-08-18 14:46:05 +03:00
Eldad Fux 3b1facaaa9 Updated collectionId 2021-08-18 14:43:23 +03:00
Eldad Fux c4e5c8ac96 Updated collectionId 2021-08-18 14:41:35 +03:00
Torsten Dittmann eb12a8c26f fix(general): role reference overwrite 2021-08-18 12:20:49 +02:00
Damodar Lohani 4bb911867c more stats from db 2021-08-17 12:18:51 +05:45
Damodar Lohani ee048caf93 fix usage small issues 2021-08-17 12:18:32 +05:45
Eldad Fux 1ecd9c865e Fixed tests removed redundant $collection attribute 2021-08-17 09:24:12 +03:00
Damodar Lohani 0d73ac953d count total number of sessions deleted 2021-08-17 11:08:43 +05:45
kodumbeats 8f24d121f5 Validate attributes and responses 2021-08-16 19:21:00 -04:00
Eldad Fux cacb0f9577 WIP 2021-08-16 22:24:15 +03:00
Eldad Fux 3ffc69b7c4 WIP 2021-08-16 20:28:33 +03:00
Damodar Lohani 62e422b76e project usage from appwrite db (wip) 2021-08-16 19:12:15 +05:45
Damodar Lohani 3e0cc30bdd some comments and small fixes 2021-08-16 18:16:49 +05:45
Torsten Dittmann 3efbad9659 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-16 11:10:48 +02:00
Damodar Lohani 00a1612b24 users and sessions stats 2021-08-16 14:38:34 +05:45
Damodar Lohani b4c794c7ba users usage params 2021-08-16 13:41:18 +05:45
Damodar Lohani 1e9f3e38b2 storage stats 2021-08-16 13:10:20 +05:45
Damodar Lohani 8a207f02a0 project stats and database stats 2021-08-16 12:43:34 +05:45
Eldad Fux adc86fbac5 Fixed pagination 2021-08-16 00:32:27 +03:00
Eldad Fux 826a4527a0 Added documents list 2021-08-16 00:09:40 +03:00
Damodar Lohani cc49cb6a04 set collection Id as param 2021-08-15 17:02:46 +05:45
Damodar Lohani 251f14cd69 usage params in database endpoints 2021-08-15 16:53:32 +05:45
Damodar Lohani 26c4fe7009 Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-15 10:53:53 +05:45
Eldad A. Fux 52132c22b6
Merge branch 'feat-database-indexing' into feat-db-search-attribute 2021-08-14 21:58:56 +03:00
Eldad Fux a7c4edba95 Updated collection structures to support fulltext search 2021-08-14 21:56:28 +03:00
Eldad Fux 9b8b8304ac Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-ui-updates 2021-08-14 13:35:49 +03:00
Eldad Fux 2d7773ff12 Merged collections, attributes and indexes scopes 2021-08-14 13:16:00 +03:00
Eldad Fux 17bbdc3a52 Updated logs screen 2021-08-14 13:13:24 +03:00
Eldad Fux 87a9ce2941 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-ui-updates 2021-08-13 14:37:00 +03:00
Eldad Fux 6618af473e New activity tab 2021-08-13 14:19:16 +03:00
Damodar Lohani d94b203870 add http path to usage request stats 2021-08-13 15:45:25 +05:45
Torsten Dittmann 7a152541e0 Merge branch 'feat-database-after-pagination' of https://github.com/TorstenDittmann/appwrite into feat-database-after-pagination 2021-08-11 15:30:34 +02:00
Torsten Dittmann 1061dc6366 fix(after-pagination): updated descriptions 2021-08-11 15:30:25 +02:00
Torsten Dittmann a2e57a4f33
Merge branch 'feat-database-indexing' into feat-database-after-pagination 2021-08-10 22:20:30 +02:00
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
Eldad Fux b8807cc2fc Merge branch 'feat-add-db-logs' of github.com:appwrite/appwrite into feat-db-ui-updates 2021-08-10 21:04:44 +03:00
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
Eldad A. Fux 328071a8e6
Merge pull request #1457 from appwrite/feat-depricate-usage-worker
feat-depricate-usage-worker
2021-08-09 08:18:40 +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
Eldad Fux 459ebd1510 Removed unused calls 2021-08-08 18:58:23 +03:00
Damodar Lohani 35394e5849 Merge branch 'feat-database-indexing' into feat-depricate-usage-worker 2021-08-08 12:18:31 +05:45
Damodar Lohani fa46f14092 refactor the class 2021-08-08 12:16:20 +05:45
Damodar Lohani ffe9c99157 new statsd class and implementation 2021-08-08 11:21:08 +05:45
Eldad Fux 24614f1fe9 Simplified Permission handling 2021-08-07 15:46:22 +03:00
Eldad Fux c35401c247 Work in progress 2021-08-07 15:45:44 +03:00
Eldad Fux 0dec65f979 Minor fix for missing default key 2021-08-07 08:12:33 +03:00
Eldad Fux 6a22cc92c0 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-project-object-restructuring 2021-08-06 21:59:35 +03:00
Eldad A. Fux 9aa17e5cc4
Merge pull request #1350 from appwrite/feat-custom-id
Feat Custom ID
2021-08-06 18:46:46 +03:00
Eldad Fux 6792cf2823 Updated HTML error handling and minor HTML fixes 2021-08-06 16:04:35 +03:00
Torsten Dittmann af57007612 feat(users): add after pagination 2021-08-06 14:36:48 +02:00
Torsten Dittmann 79971330f2 feat(teams): add after pagination 2021-08-06 14:36:35 +02:00
Torsten Dittmann 8e6c415d01 feat(storage): add after pagination 2021-08-06 14:36:27 +02:00
Torsten Dittmann ca9dafddae feat(projects): add after pagination 2021-08-06 14:36:17 +02:00
Torsten Dittmann a49b12c542 feat(functions): add after pagination 2021-08-06 14:36:05 +02:00
Torsten Dittmann dac093c645 feat(database): add after pagination 2021-08-06 14:35:57 +02:00
Damodar Lohani d6f3567a15 fix account error 2021-08-06 18:15:56 +05:45
Damodar Lohani 4a4bc21755 Merge branch 'feat-database-indexing' into feat-custom-id 2021-08-06 16:55:06 +05:45
Eldad Fux 09fb8327a5 Minor fixes 2021-08-06 13:48:50 +03:00
Damodar Lohani 475002eef8 oauth2 providers in project grouped 2021-08-06 16:20:50 +05:45
Torsten Dittmann fb1546cfcc rename orderAfter to after 2021-08-06 12:34:42 +02:00
Damodar Lohani 87c6fb4055 fix dropping membership ID 2021-08-06 15:37:20 +05:45
Damodar Lohani e0e5e3a818 drop tags custom id support 2021-08-06 15:33:18 +05:45
Damodar Lohani 8c72349a3e drop execution custom id support 2021-08-06 15:22:27 +05:45
Damodar Lohani bcce7bc88e drop custom id support on sessions 2021-08-06 15:20:28 +05:45
Damodar Lohani f1745049d6 remove custom id support from project object childs (platform, domain, webhook, key) 2021-08-06 15:10:21 +05:45
Damodar Lohani ebf306f814 group auth limit inside auths 2021-08-06 14:19:17 +05:45
Damodar Lohani 6f540fec0f restructuring auth method keys 2021-08-06 13:46:53 +05:45
Damodar Lohani 851a00e438 group auth methods 2021-08-06 13:27:31 +05:45
Damodar Lohani 2459844e97 fix merge sideeffect 2021-08-06 12:50:20 +05:45
Torsten Dittmann edf4cd2e8f Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-after-pagination 2021-08-05 21:02:39 +02:00
Torsten Dittmann 01d0ce6988 feat(database): after pagination 2021-08-05 21:01:00 +02:00
Eldad Fux c2a396d244 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-custom-id 2021-08-05 11:46:22 +03:00
Eldad Fux 3712eca2cc Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-08-05 11:25:36 +03:00
Damodar Lohani 2030efee08 fix error 2021-08-05 10:51:38 +05:45
Damodar Lohani 3c20404e71 account endpoint custom id 2021-08-05 10:47:55 +05:45
Damodar Lohani 6ac8a9f667 fix membership 2021-08-04 13:14:10 +05:45
Damodar Lohani c6ff54bfdc get membership by id 2021-08-04 12:42:30 +05:45
Damodar Lohani 201d7114ec Merge branch 'feat-database-indexing' into feat-custom-id 2021-08-04 12:27:19 +05:45
kodumbeats d65e808a58 Merge remote-tracking branch 'origin/feat-update-db-to-0.6' into feat-create-attribute-routes 2021-08-03 18:54:12 -04:00
kodumbeats 1b0a59d14a Use new format param for attributes 2021-08-03 16:22:12 -04:00
kodumbeats 1766be331a Change findFirst to findOne 2021-08-03 16:22:03 -04:00
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
Damodar Lohani 3b3df02f80 fix param naming 2021-08-02 16:29:22 +05:45
Eldad A. Fux da426cbb2c
Merge pull request #1436 from appwrite/feat-deprecate-tasks
Removed the tasks service
2021-08-02 13:42:34 +03:00
Damodar Lohani 9ede80f0c2 update mock api validators 2021-08-02 16:23:42 +05:45
Damodar Lohani afe772f8fc fix worker statsd not found issue 2021-08-02 14:51:56 +05:45
Damodar Lohani bc4fede216 refactor usage update and fix functions worker 2021-08-02 12:41:12 +05:45