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

446 commits

Author SHA1 Message Date
Torsten Dittmann f04cb72cfb Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-main-rebase 2021-12-01 14:19:41 +01:00
Torsten Dittmann f11a6325ff fix(api): use constant for maximum offset range 2021-12-01 14:05:01 +01:00
Damodar Lohani a2ef59df47 update file naming 2021-11-30 13:49:19 +05:45
Damodar Lohani ba8598cc8b remove dumps 2021-11-30 13:46:32 +05:45
Damodar Lohani e7f7ce0e70 Merge branch 'feat-storage-buckets' into feat-sb-uis 2021-11-25 13:41:12 +05:45
Damodar Lohani ec9d4599c4 Merge branch 'feat-storage-buckets' into feat-s3-integration 2021-11-25 13:38:40 +05:45
Damodar Lohani 8728668e21 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-11-25 13:33:55 +05:45
Damodar Lohani a19934db2b metadata for s3 chunked upload 2021-11-25 10:32:40 +05:45
Damodar Lohani 7147a7dc6f Merge branch 'feat-storage-buckets' into feat-sb-uis 2021-11-19 15:49:10 +05:45
Damodar Lohani eb0be63b5d Merge branch 'feat-storage-buckets' into feat-s3-integration 2021-11-19 15:34:27 +05:45
Damodar Lohani 328ef5adf9 inject mode 2021-11-19 15:30:42 +05:45
Damodar Lohani 0b0f14ef88 allow operating with disabled bucket from console 2021-11-19 15:27:09 +05:45
Damodar Lohani 956d26bada do support and other fixes 2021-11-19 11:43:06 +05:45
Damodar Lohani a6fc5820cc checks for if bucket is disabled 2021-11-18 20:43:18 +05:45
Damodar Lohani 385ee837bc fix issues with creating and viewing files 2021-11-14 20:22:04 +05:45
Damodar Lohani d914c7ecd7 skip antivirus if non-local device 2021-11-14 18:56:52 +05:45
Damodar Lohani c9595b40dd fix api to account for non-local storage 2021-11-14 18:50:51 +05:45
Damodar Lohani 436f6b7c77 merge fixes 2021-11-14 18:43:48 +05:45
Damodar Lohani e337fe3aca Merge branch 'feat-large-file' into feat-s3-integration 2021-11-14 18:13:43 +05:45
Damodar Lohani 692cbe1899 fix return 2021-11-14 18:08:45 +05:45
Damodar Lohani 73aea7387c Merge branch 'feat-storage-buckets' into feat-large-file 2021-11-14 16:53:52 +05:45
Aditya Rana 07bdd3e26b Converting negative angle values to their postive counterpart. 2021-11-11 19:37:37 +05:30
Damodar Lohani 2de39155b6 use external db for files storage 2021-11-11 12:05:52 +05:45
Damodar Lohani 2fcbc49a7a bucket usage 2021-11-09 16:05:47 +05:45
Damodar Lohani 44437f5c8b fix storage usage 2021-11-09 11:52:01 +05:45
Damodar Lohani 1694601974 update usage storage 2021-11-09 10:55:19 +05:45
Damodar Lohani 3b290e1042 handling bucket enforced permissions 2021-11-07 12:20:49 +05:45
Damodar Lohani 7f548ba150 remove components 2021-11-07 11:39:22 +05:45
Damodar Lohani cad73af84d more strict comparison 2021-11-07 11:36:18 +05:45
Damodar Lohani b68311755f using strict comparison 2021-11-07 11:35:21 +05:45
Damodar Lohani c192df1cf1
Merge branch 'feat-storage-buckets' into feat-large-file 2021-10-28 16:48:36 +05:45
Damodar Lohani 3f0e0d6867
Update app/controllers/api/storage.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-10-28 16:44:53 +05:45
Damodar Lohani cb6873af95 fix removed gravity 2021-10-28 16:43:49 +05:45
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 7224520fa8 fix all usage ui 2021-10-26 15:19:28 +02:00
Damodar Lohani 10c93cb62e fix code 2021-10-25 11:26:10 +05:45
Damodar Lohani c1aa49747a Merge branch 'feat-storage-buckets' into feat-large-file 2021-10-17 12:59:09 +05:45
Damodar Lohani cecc863717 fix storage tests 2021-10-17 12:57:59 +05:45
Damodar Lohani 89d9feaa99 fir list storage after pagination 2021-10-17 12:39:34 +05:45
Damodar Lohani fdfb3b9493 fix list files 2021-10-17 12:35:08 +05:45
Damodar Lohani 68361364b3 file search attribute 2021-10-17 12:29:35 +05:45
Damodar Lohani b282ee7c18 Merge branch 'feat-storage-buckets' into feat-large-file 2021-10-17 12:00:16 +05:45
Damodar Lohani da068085ef add search field in storage buckets 2021-10-17 11:51:13 +05:45
Damodar Lohani d029c94bc8 Merge branch 'feat-storage-buckets' into feat-large-file 2021-10-17 11:45:45 +05:45
Damodar Lohani 3e78abfc85 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-10-17 11:38:33 +05:45
Torsten Dittmann 8685c09c13 fix functions and users 2021-10-08 10:39:37 +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
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 33699ea2c4 feat(controllers): implement before cursor pagination 2021-10-05 12:30:33 +02:00
Damodar Lohani cb73c43965 remove duplicates 2021-10-04 15:24:25 +05:45
Damodar Lohani 7b6a637301 fix view method 2021-09-30 15:32:53 +05:45
Damodar Lohani 18dc0f6a90 moved range parser to framework 2021-09-30 15:31:45 +05:45
Damodar Lohani 08b3cadd49 Merge branch 'feat-large-file' of github.com:lohanidamodar/appwrite into feat-large-file 2021-09-30 15:23:27 +05:45
Damodar Lohani d267c8965b const for output chunk size 2021-09-30 14:26:29 +05:45
Damodar Lohani 070d3d5e4d Merge branch 'feat-storage-buckets' into feat-large-file 2021-09-30 14:21:07 +05:45
Damodar Lohani 1ab0b6ccb6
Update app/controllers/api/storage.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-09-30 14:19:02 +05:45
Damodar Lohani 5475bd104b update bucket permission model similarly to collections permission model 2021-09-30 12:30:14 +05:45
Damodar Lohani ddd5335fb0 Merge branch 'feat-storage-buckets' into feat-large-file 2021-09-30 12:10:28 +05:45
Damodar Lohani 96749afe7c update permission validator 2021-09-30 12:08:19 +05:45
Damodar Lohani 6c494e8439 fix undefined param 2021-09-27 12:17:41 +05:45
Damodar Lohani 311f07ddde get ID from header 2021-09-27 11:49:17 +05:45
Damodar Lohani a9cbbdf4e2 Merge branch 'feat-storage-buckets' into feat-large-file 2021-09-23 13:05:34 +05:45
Damodar Lohani 49cfddae1e
Update app/controllers/api/storage.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-09-15 10:40:30 +05:45
Damodar Lohani ccae13ac19 fix bucket delete 2021-09-15 10:39:49 +05:45
Damodar Lohani 0bb13e9251
Apply suggestions from code review
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-09-14 11:50:34 +05:45
Damodar Lohani 1ec3bcd498 view endpoint supports range headers too 2021-09-13 12:34:35 +05:45
Damodar Lohani cc65339a01 fix range header and test 2021-09-13 12:07:27 +05:45
Damodar Lohani 547302c80c fix range header support for streaming 2021-09-13 12:02:45 +05:45
Damodar Lohani b0bdcebd15 fix file custom ID 2021-09-12 15:52:19 +05:45
Damodar Lohani 9052d34b33 fix range header 2021-09-12 15:14:40 +05:45
Damodar Lohani f924ead8f8 range support fix and passed test 2021-09-12 14:35:43 +05:45
Damodar Lohani 40898ae313 download with range header 2021-09-12 12:48:25 +05:45
Damodar Lohani 8caa06ef88 remove multiple imports 2021-09-12 12:05:18 +05:45
Damodar Lohani c48ea44ac4 Merge branch 'feat-storage-buckets' into feat-large-file 2021-09-12 12:03:47 +05:45
Damodar Lohani 6d3a78f7a9 check if bucket exists in usage endpoint 2021-09-12 11:59:40 +05:45
Damodar Lohani 2f9849f957 buckets related metrics 2021-09-10 14:34:16 +05:45
Damodar Lohani 2b55e50c68 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-09-10 14:15:13 +05:45
Damodar Lohani be811e2366 added new fields for large file support 2021-09-08 14:11:37 +05:45
Damodar Lohani 380ebdc62d Merge branch 'feat-storage-buckets' into feat-large-file 2021-09-08 13:47:05 +05:45
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
Damodar Lohani 5ea98b65a2 fix create files collection per bucket 2021-09-02 16:51:54 +05:45
Damodar Lohani 95fb93057c separate files collection per bucket 2021-09-02 16:34:07 +05:45
Damodar Lohani f230c5b340 storage after pagination test 2021-09-02 15:56:10 +05:45
Damodar Lohani 1edf1a7ba1 custom ID and after pagination 2021-09-02 14:15:10 +05:45
Damodar Lohani 91e13572a8 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-09-02 13:37:40 +05:45
Christy Jacob ac0ff8ea0f feat(response): use recursive function for swagger/openapi spec generation 2021-09-01 02:25:13 +05:30
Damodar Lohani 6524d00b08 update audit resource 2021-08-29 17:51:33 +05:45
Christy Jacob 66294445ce feat(tests): added tests for users usage 2021-08-29 14:24:50 +05:30
Christy Jacob f7d657cc38 feat(model): use the new authorization skip methods 2021-08-28 21:55:48 +05:30
Christy Jacob 6835124af8 feat(usage): rename all usage response models 2021-08-27 23:04:43 +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 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 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
Damodar Lohani 0d47dea97f Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-19 11:12:49 +05:45
Damodar Lohani bc05c4d3a5 update custom id description on all services 2021-08-19 10:37:36 +05:45
Eldad Fux 89f55a1727 Re-orgenized controller flow 2021-08-18 16:42:03 +03:00
Damodar Lohani ee048caf93 fix usage small issues 2021-08-17 12:18:32 +05:45
Damodar Lohani 1e9f3e38b2 storage stats 2021-08-16 13:10:20 +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
Torsten Dittmann 1061dc6366 fix(after-pagination): updated descriptions 2021-08-11 15:30:25 +02: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
Torsten Dittmann 8e6c415d01 feat(storage): add after pagination 2021-08-06 14:36:27 +02:00
Damodar Lohani bfb2b217ec Merge branch 'feat-storage-buckets' into feat-large-file 2021-07-28 11:31:41 +05:45
Damodar Lohani 035a1d2113 fix storage bucket update 2021-07-28 11:30:59 +05:45
Damodar Lohani 1e1b483ffd fix responses 2021-07-27 16:04:39 +05:45
Damodar Lohani 062e22a708 Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-27 11:45:26 +05:45
Damodar Lohani 10155d89ba Merge branch 'feat-storage-buckets' into feat-large-file 2021-07-27 11:42:29 +05:45
Damodar Lohani 08ba825077 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-07-27 11:40:00 +05:45
Eldad Fux 13c1bb045d Cleanup old db library 2021-07-25 17:47:18 +03:00
Damodar Lohani be3eda31f4 support custom id for file 2021-07-21 13:58:00 +05:45
Damodar Lohani c1b1e76c79 fix download 2021-07-15 17:30:26 +05:45
Damodar Lohani d3b9765d65 fix upload 2021-07-15 17:19:05 +05:45
Damodar Lohani 05674b29a4 updates and refactor 2021-07-15 16:20:08 +05:45
Damodar Lohani 77e7de6304 use range parser from framewwork 2021-07-15 15:25:41 +05:45
Damodar Lohani e5e6425a3d Merge branch 'feat-large-file' of github.com:lohanidamodar/appwrite into feat-large-file 2021-07-13 16:47:09 +05:45
Damodar Lohani eab5bd4d5d
Update app/controllers/api/storage.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-07-13 16:46:00 +05:45
Damodar Lohani 3c16d18f2e more improvement 2021-07-13 14:01:24 +05:45
Damodar Lohani 654b8bbadd refactor and code improvements 2021-07-13 13:43:16 +05:45
Damodar Lohani b8e853493f Merge branch 'feat-large-file' of github.com:lohanidamodar/appwrite into feat-large-file 2021-07-13 13:35:11 +05:45
Damodar Lohani 2c12e19628 request is not required yet 2021-07-13 13:34:45 +05:45
Damodar Lohani 40129ebc41 view and download code improvements 2021-07-13 13:34:19 +05:45
Damodar Lohani 35184f3ba0
Apply suggestions from code review
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-07-13 13:27:03 +05:45
Damodar Lohani 12ba957614 support large file download and view 2021-07-12 16:08:01 +05:45
Damodar Lohani fc96625fd5 upload large file using chunks 2021-07-08 17:11:11 +05:45
Damodar Lohani 5db04e09f9 first working POC of large file upload 2021-07-07 15:52:11 +05:45
Damodar Lohani cd53af5375 route aliases for backward compatibility 2021-07-05 13:52:45 +05:45
Damodar Lohani fdfe5c62e5 Merge branch 'feat-storage-buckets' into feat-sb-backward 2021-07-05 13:46:37 +05:45
Damodar Lohani 8c98c5f6ae Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-07-05 13:30:41 +05:45
Eldad Fux 14909a04f2 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-04 17:14:06 +03:00
Damodar Lohani c8b4abfebd fix gravity for buckets 2021-07-04 18:22:00 +05:45
Damodar Lohani aff1013ee8 Merge branch 'feat-storage-buckets' into feat-sb-backward 2021-07-04 18:15:11 +05:45
Damodar Lohani c008a9e360 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-07-04 18:14:20 +05:45
Eldad Fux 57bc8c75e0 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-07-03 09:21:07 +03:00
Damodar Lohani 949b2a21c3 add gravity to cache key 2021-07-02 16:31:46 +05:45
Christy Jacob ebc08be20c feat: revert integer validator to numeric 2021-06-28 20:54:37 +05:30
Damodar Lohani d82594cfcd update and delete backward compatibility 2021-06-28 11:38:25 +05:45
Damodar Lohani ee580add1a create file backward compatibility 2021-06-28 11:38:25 +05:45
Damodar Lohani 8c458383d3 backward compatibility for get requests 2021-06-28 11:38:25 +05:45
Damodar Lohani 5442c4b767 proper error message 2021-06-28 11:37:45 +05:45
Eldad Fux 03ff844291 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-26 22:47:53 +03:00
Damodar Lohani 79bee417ae throw 500 when bucket size limit is larger than system's storage limit 2021-06-24 12:55:21 +05:45
Damodar Lohani 5dae32d56f
Apply suggestions from code review
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-24 12:46:29 +05:45
Damodar Lohani 378be8363a using getGravityTypes method to get list of supported gravity 2021-06-24 12:15:52 +05:45
Damodar Lohani 497d391412 update image library and gravity param 2021-06-23 13:59:35 +05:45
Damodar Lohani 9a955e0244 file extension validation 2021-06-22 17:57:46 +05:45
Damodar Lohani 9bdc4a5147 fix encryption and compression checks 2021-06-22 14:21:44 +05:45
Damodar Lohani af04bc0ac6 remove extra whitespace 2021-06-21 13:51:08 +05:45
Damodar Lohani 93902d2c73 check storage before bucket 2021-06-21 13:50:11 +05:45
Damodar Lohani 181b56eb75 updates 2021-06-20 17:10:48 +05:45
Damodar Lohani fe0bdf0799 preview, view, download, update, delete endpoints and tests 2021-06-20 17:05:35 +05:45
Damodar Lohani 18a8392c9b update suggestions 2021-06-20 16:40:24 +05:45
Damodar Lohani df5cd22bb9
Apply suggestions from code review
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-20 16:34:10 +05:45
Damodar Lohani 07e32f1311 get bucket file and test 2021-06-18 15:18:00 +05:45
Damodar Lohani 7427e9dfad list bucket files and test 2021-06-18 15:09:16 +05:45
Damodar Lohani 29cb5e9fef create file with bucket 2021-06-18 14:21:19 +05:45
Damodar Lohani 3c4ba79103 skipping file type validation for now 2021-06-18 14:20:46 +05:45
Damodar Lohani 71a69a1dd8 fix human readable descriptions 2021-06-18 14:20:14 +05:45
Damodar Lohani 9850141128 updated param description 2021-06-18 13:33:57 +05:45
Damodar Lohani d097c9603c update params and description 2021-06-18 13:19:52 +05:45
Damodar Lohani d7a6c47b98 create file for bucket and test 2021-06-17 15:55:58 +05:45
Damodar Lohani e530d633dc
Update app/controllers/api/storage.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-06-17 15:32:45 +05:45
Damodar Lohani 696b133881
Update app/controllers/api/storage.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-17 14:14:02 +05:45
Damodar Lohani abdbdeef35
Update app/controllers/api/storage.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-17 14:12:40 +05:45
Damodar Lohani db85577f4f delete storage bucket webhook test 2021-06-17 14:08:21 +05:45
Damodar Lohani 7ec21d5c5e remove adapter 2021-06-17 13:46:19 +05:45
Damodar Lohani 7829ac09b3 prevent adapter update 2021-06-17 13:36:29 +05:45
Damodar Lohani f92fa47c0c fix event 2021-06-17 13:34:49 +05:45
Damodar Lohani 8c30043bd3 delete bucket endpoint and test 2021-06-17 12:39:56 +05:45
Damodar Lohani 1a82529e49 fixes 2021-06-17 12:39:56 +05:45
Damodar Lohani dca5c3491b update bucket endpoint and test 2021-06-17 12:39:56 +05:45
Damodar Lohani 0c5072e8a4
Apply suggestions from code review
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-17 11:13:27 +05:45
Damodar Lohani 6c2117a750 removed extra whitespace 2021-06-16 13:25:49 +05:45
Damodar Lohani 928b083bcc updated to more in sync with collections 2021-06-16 11:35:54 +05:45
Damodar Lohani 491720183a update descriptions 2021-06-16 11:28:59 +05:45
Damodar Lohani bf077e2f9b Merge branch 'feat-sb-id-get' into feat-sb-list 2021-06-16 11:26:41 +05:45
Damodar Lohani 988004e27f suggested updates 2021-06-16 11:16:07 +05:45
Damodar Lohani 94c91cc52a
Apply suggestions from code review
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-16 11:11:34 +05:45
Damodar Lohani 62f7373e77 fix get bucket with new db 2021-06-15 14:24:36 +05:45
Damodar Lohani 8265884fb9 Merge branch 'feat-sb-list' into feat-sb-id-get 2021-06-15 14:22:52 +05:45
Damodar Lohani b7eb26bc96 fix list bucket with new db 2021-06-15 14:22:23 +05:45
Damodar Lohani 017da96eb0 Merge branch 'feat-sb-create' into feat-sb-list 2021-06-15 14:20:12 +05:45
Damodar Lohani 6939002932 create bucket fixing with new db 2021-06-15 14:19:49 +05:45
Damodar Lohani 11670642af Merge branch 'feat-sb-list' into feat-sb-id-get 2021-06-15 13:39:15 +05:45
Damodar Lohani 49374f57bf Merge branch 'feat-sb-create' into feat-sb-list 2021-06-15 13:38:44 +05:45
Damodar Lohani 5ff4781574 Merge branch 'feat-storage-buckets' into feat-sb-create 2021-06-15 13:38:03 +05:45
Damodar Lohani 0bb5718b2f get bucket endpoint and test 2021-06-15 13:33:59 +05:45
Damodar Lohani 081d3ecbde list buckets endpoint 2021-06-15 13:08:22 +05:45
Damodar Lohani 1917381379 fix create bucket issue 2021-06-15 12:28:10 +05:45
Damodar Lohani d0f7ab7a19 create bucket endpoint 2021-06-14 17:44:47 +05:45
Damodar Lohani a5eb89fc1b wip 2021-06-14 17:29:15 +05:45
Eldad Fux fe5de87563 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-12 13:21:28 +03:00
Eldad Fux b929084b8b Updated var name 2021-06-11 21:23:31 +03:00
Damodar Lohani 4ea0d627f4 remove int conversion 2021-06-11 18:11:04 +05:45