1
0
Fork 0
mirror of synced 2024-07-09 00:16:13 +12:00
Commit graph

558 commits

Author SHA1 Message Date
fogelito 7e08575245 builds, stats 2022-07-11 18:12:41 +03:00
Matej Bačo aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +00:00
shimon 59627ea9ef logger moved to App::shutdown 2022-07-09 21:24:28 +03:00
shimon b2b2534dcc logger moved to App::shutdown 2022-07-07 18:06:05 +03:00
shimon a0cfc2110a logger moved to App::shutdown 2022-07-07 17:51:22 +03:00
shimon 27333035c0 restore 2022-07-05 10:48:52 +03:00
shimon 0c2c030b71 restore 2022-07-05 10:46:41 +03:00
shimon 56a21b3968 small fix 2022-07-05 10:37:46 +03:00
shimon 7b429bdcd7 cache cleanup 2022-07-03 12:36:59 +03:00
Torsten Dittmann e83cf382fd fix: all sdks and specs 2022-06-28 13:21:28 +02:00
Torsten Dittmann ef1daf8f1c Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-24 14:15:42 +02:00
Damodar Lohani 2750e60768
fix for ruby and go SDK as file params seems to be string 2022-06-24 15:24:44 +05:45
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 bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Everly Precia Suresh 19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Torsten Dittmann 158ecce959 Merge branch 'master' of https://github.com/appwrite/appwrite into 0.14.x 2022-05-12 20:41:04 +02:00
Torsten Dittmann e69a22042c
Merge pull request #3113 from appwrite/feat-new-event-model
feat: new event model
2022-05-12 19:53:51 +02:00
Torsten Dittmann 9455a7c573
Merge pull request #3144 from appwrite/feat-array-limits
Feat: Array API limits
2022-05-12 19:03:29 +02:00
Matej Bačo 30dfba6238 Bug fix 2022-05-10 10:30:44 +00:00
Matej Bačo cd236bd3ff Merge remote-tracking branch 'origin/0.14.x' into fix-bucket-size-update 2022-05-10 10:28:32 +00:00
Matej Bačo d3560ea91b PR review changes 2022-05-10 10:28:16 +00:00
Torsten Dittmann 18379c25b8 fix: merge issues 2022-05-08 17:49:17 +02:00
Torsten Dittmann 33414b58b1 Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-05-08 17:25:01 +02:00
Torsten Dittmann 773e6d0415 style: fix some styles 2022-05-08 17:10:56 +02:00
Everly Precia Suresh a2091a2572 retrigger build 2022-05-06 15:12:11 +00:00
Everly Precia Suresh 8c4b035dd7 update storage.php with optional parameters 2022-05-06 13:33:44 +00:00
Everly Precia Suresh ceea134579 fix file param 2022-05-04 13:00:12 +00:00
Everly Precia Suresh 5b72d9d48d change file type 2022-05-04 12:49:35 +00:00
Everly Precia Suresh 4e8d9a1da7 refactor storage.php 2022-05-04 12:23:34 +00:00
Matej Bačo 5aa009d843 Rename const 2022-05-01 07:54:58 +00:00
Matej Bačo 4d2d7eddaf PR review changes 2022-05-01 07:53:59 +00:00
Matej Bačo dd8f96ea63 Define const APP_LIMIT_ATTRIBUTE_COUNT 2022-04-26 13:29:23 +00:00
Matej Bačo d36a2602ed Add limits, add docs 2022-04-25 07:23:25 +00:00
Torsten Dittmann 7790d72c0c fix: realtime, tests and webhooks 2022-04-18 18:21:45 +02:00
Torsten Dittmann 8ec435ed1f sync: changes 2022-04-17 22:34:32 +02:00
Torsten Dittmann 443f4c924d Merge branch 'master' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-04-13 14:39:37 +02:00
Torsten Dittmann 87b8fc3c41 feat: event classes for different cases 2022-04-13 14:39:31 +02:00
Matej Bačo 1c59c8d8dd PR review changes 2022-04-01 09:00:31 +00:00
Matej Bačo da6ca5347c Implemented check and tests for bucket size 2022-03-31 13:10:30 +00:00
Damodar Lohani 0a1fbcd23d add missing attribute keys 2022-03-27 08:01:50 +00:00
Damodar Lohani a79c0bec58
Merge pull request #2973 from appwrite/fix-bucket-permission-on-create-file 2022-03-23 07:41:14 +05:45
Damodar Lohani b00b132238 fix missing auth skip while getting bucket 2022-03-20 06:31:34 +00:00
Damodar Lohani ab3db2af1b
add comment 2022-03-20 08:33:40 +05:45
Damodar Lohani 68b1950751
Update app/controllers/api/storage.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-03-20 08:20:52 +05:45
Damodar Lohani e37da6a5f7 code refactor 2022-03-18 11:51:59 +00:00
Damodar Lohani 3a43ef95b1 remove useless code 2022-03-18 11:19:26 +00:00
Damodar Lohani 2da677906b final fixes 2022-03-18 11:18:53 +00:00
Damodar Lohani 46e106ab56 fix content type logic 2022-03-18 11:07:54 +00:00
Damodar Lohani 43f60739d7
Merge branch 'master' into fix-preview-when-no-extension 2022-03-18 16:23:42 +05:45
Torsten Dittmann 0e5dd2def6 Merge branch 'master' of https://github.com/appwrite/appwrite into fix-bucket-permissions 2022-03-15 10:52:11 +01:00
Torsten Dittmann 4244bdedd3 fix: storage bucket permissions 2022-03-15 10:51:51 +01:00
Damodar Lohani d1abd4832f storage preview limit environment variable 2022-03-13 08:09:24 +00:00
Damodar Lohani 7d32f84cc2 fix output type 2022-03-13 07:58:49 +00:00
Damodar Lohani 935430c3e3 fix preview output when no output param and type doesn't exist 2022-03-13 07:52:00 +00:00
Alex Noble 6db28ae417 Fixing issue 2930 2022-03-09 22:49:51 +00:00
Damodar Lohani 30e3814c09
fix storage usage for deployments 2022-03-02 17:39:59 +05:45
Christy Jacob a8b4368397
Merge pull request #2867 from appwrite/fix-storage-providers
Fix executor env vars
2022-03-01 16:39:01 +04:00
Matej Bačo 14c67c2b54
Merge branch '0.13.x' into fix-rename-sum 2022-03-01 13:27:37 +01:00
Matej Bačo 2c34480d1b Fix executor env vars 2022-03-01 11:59:50 +00:00
Damodar Lohani a8f316110d default previews fix when files set on external storage 2022-03-01 11:37:51 +00:00
Matej Baco 56bf7a51df Refactored 'sum' to 'total' 2022-02-27 10:57:09 +01:00
Damodar Lohani 26a2bc8a97 missing method type to file preview 2022-02-27 13:24:33 +05:45
Christy Jacob cf2fee5b6f Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor 2022-02-23 16:25:31 +04:00
Damodar Lohani 7a84fc88a6 fix indentation 2022-02-23 06:09:01 +00:00
Damodar Lohani ae0cac517e fix boolean 2022-02-23 05:50:55 +00:00
Damodar Lohani 6f6c6f3051
Update app/controllers/api/storage.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-02-22 19:04:22 +05:45
Damodar Lohani 0b6bed0515 fix create bucket 2022-02-18 02:14:57 +00:00
Damodar Lohani 5645a003ab use internal id for bucket files tables 2022-02-17 13:48:25 +00:00
Christy Jacob ca2bee015a feat: add new error codes for storage 2022-02-17 02:55:54 +04:00
Christy Jacob da7512e050 Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-add-error-codes 2022-02-17 02:25:29 +04:00
Eldad A. Fux f045adb654
Merge pull request #2786 from appwrite/feat-update-realtime-events
storage realtime event refactor
2022-02-17 00:03:43 +02:00
Damodar Lohani 193426e34b show default image icon for large image files 2022-02-16 10:04:49 +00:00
Damodar Lohani e7a36f4302 error code 2022-02-16 09:44:52 +00:00
Damodar Lohani 947d9dc57a limit preview to 10 MB 2022-02-16 09:39:06 +00:00
Damodar Lohani 8058c66374 fix realtime events for storage 2022-02-16 01:30:27 +00:00
Damodar Lohani bdaba2e34a fix validator 2022-02-11 00:05:57 +00:00
Christy Jacob 1ab27083c4 feat: update cursor errors 2022-02-09 02:56:11 +04:00
Christy Jacob 661630c1c6 Merge branch 'master' of github.com:appwrite/appwrite into feat-add-error-codes 2022-02-08 20:56:03 +04:00
Christy Jacob 42e424b70a feat: remove unused error 2022-02-07 01:33:48 +04:00
Christy Jacob 3cdccf0024 feat: use general server errors in storage API 2022-02-07 00:58:40 +04:00
Christy Jacob 7e200253ea feat: update error codes in the database API 2022-02-06 20:50:48 +04:00
Christy Jacob 1ca2cc7bc0 feat: update error codes in the functions API 2022-02-06 20:12:15 +04:00
Christy Jacob 7085bc81d1 feat: update error codes in the storage API 2022-02-06 18:45:09 +04:00
Christy Jacob 9ad151006b feat: update error codes in the storage API 2022-02-06 18:44:48 +04:00
Christy Jacob 4905792bb5 feat: update error codes in the storage API 2022-02-06 18:40:22 +04:00
Christy Jacob d9fbe80317 feat: update error codes in the storage API 2022-02-06 18:38:59 +04:00
Christy Jacob 6a8401dfe5 feat: update error codes in the storage API 2022-02-06 18:35:17 +04:00
Christy Jacob 2c14abb143 feat: update error codes in the storage API 2022-02-06 18:32:28 +04:00
Damodar Lohani efbfbd6f79 fire event only when final chunks is uploaded 2022-01-31 18:21:45 +05:45
Damodar Lohani e3bc0b48e9 fix removed and reordered attributes 2022-01-31 16:17:29 +05:45
Damodar Lohani 8000f40c9a use human readable formats 2022-01-31 14:20:29 +05:45
Damodar Lohani 1347829470 fix reogranize 2022-01-31 12:52:30 +05:45
Damodar Lohani 64b3a04465 fix remove adapter attribute from storage buckets 2022-01-31 12:50:12 +05:45
Damodar Lohani 0cd03d7ec2 remove unused attributes of buckets 2022-01-31 12:07:28 +05:45
Damodar Lohani 1515ee1825 fix deleting cache dir 2022-01-27 13:19:47 +05:45
Damodar Lohani 1c464274d0
Merge pull request #2685 from appwrite/fix-cache 2022-01-26 14:23:47 +05:45
Damodar Lohani 0d51236f98 Merge branch 'master' into fix-cache 2022-01-26 13:53:18 +05:45
Damodar Lohani 6754adc838 fix storage update 2022-01-25 15:21:43 +05:45
Damodar Lohani 58ec32340f remove cache on file delete 2022-01-25 13:37:11 +05:45
Torsten Dittmann d3150afebc feat: migration for 0.13 2022-01-18 12:05:04 +01:00
Damodar Lohani 24c803e7d9 Merge branch 'feat-storage-buckets' into feat-s3-integration 2022-01-16 18:09:09 +05:45
Damodar Lohani 41051a8979 fix range for offset 2022-01-16 17:24:36 +05:45
Damodar Lohani 16c0a7c544 directory separator 2022-01-16 17:23:02 +05:45
Damodar Lohani 1e3514b7b2 update antiVirus to antivirus for consistency 2022-01-16 13:40:55 +05:45
Damodar Lohani 7e33188f4d fix abort 2022-01-16 13:32:03 +05:45
Vincent Ge a102ee6f14 Wrap unique() in double quotes to better indicate that it's a literal string 2022-01-12 17:19:30 -05:00
Damodar Lohani 2239e4a5e6 Merge branch 'feat-s3-integration' into feat-refactor-storage-resource 2022-01-07 15:47:38 +05:45
Damodar Lohani 6a735ad232 Merge branch 'feat-large-file' into feat-s3-integration 2022-01-06 15:33:44 +05:45
Damodar Lohani d20062f63a Merge branch 'feat-storage-buckets' into feat-large-file 2022-01-06 15:01:21 +05:45
Damodar Lohani ba82839128 Merge branch 'master' into feat-storage-buckets 2022-01-06 13:11:23 +05:45
Matej Baco 69b4d074f5 Migrated all imports to new request class 2021-12-31 16:50:07 +01:00
Damodar Lohani 3452541b6d modify console ui for incomplete uploads and handle proper deletion of incomplete uploads 2021-12-30 17:08:46 +05:45
Torsten Dittmann 693b8c7185 fix: replace internal and external database with project database 2021-12-27 13:45:23 +01:00
Damodar Lohani 535bdee74a update remove sub collection and use the configured collections itself 2021-12-23 14:16:32 +05:45
Matej Baco e065470ffc Merge branch 'feat-database-indexing' into feat-health-api-response-models 2021-12-20 12:09:50 +01:00
Damodar Lohani da72a67687 Merge branch 'feat-s3-integration' into feat-refactor-storage-resource 2021-12-19 13:21:19 +05:45
Damodar Lohani 4de4e87c49 Merge branch 'feat-large-file' into feat-s3-integration 2021-12-19 13:19:54 +05:45
Damodar Lohani c1e8d4527d fix merge issue 2021-12-19 13:02:25 +05:45
Damodar Lohani 879bff2bb1 Merge branch 'feat-storage-buckets' into feat-large-file 2021-12-19 13:01:09 +05:45
Damodar Lohani c8dec74e74 fix merge issues 2021-12-16 12:38:27 +05:45
Damodar Lohani 3f9ba67853 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-16 11:47:51 +05:45
Torsten Dittmann aaf1a71972
Merge pull request #2478 from appwrite/feat-database-controller-docs-refactor
docs(api): reviewed in-line docs of endpoints
2021-12-15 13:03:33 +01:00
Matej Baco 24c2ef67d4 Updated antivirus spelling 2021-12-15 12:02:01 +01:00
Damodar Lohani f3e6dfb71d
Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-15 15:43:14 +05:45
Torsten Dittmann a5a86cc1cd fix: bin2hex() calls 2021-12-14 13:10:38 +01:00
Torsten Dittmann af5fb8751e fix: paginatio docs on endpoints 2021-12-14 12:21:44 +01:00
Torsten Dittmann cb37a69c3e Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-controller-docs-refactor 2021-12-14 12:16:05 +01:00
Damodar Lohani 786f5bfeb4 make permissions optional on create file 2021-12-14 15:27:34 +05:45
Damodar Lohani 6362f18a9a fix param order 2021-12-14 12:08:37 +05:45
Damodar Lohani 2f582f6e18 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-14 11:30:52 +05:45
Damodar Lohani 0f8a3fcea3 fix collection config name 2021-12-14 10:57:48 +05:45
Damodar Lohani 64c719e82c re organize validators 2021-12-13 17:31:59 +05:45
Damodar Lohani 350859d9bd refactor files collection config 2021-12-13 15:02:53 +05:45
Damodar Lohani 80272c528f use storage from resource 2021-12-13 13:53:27 +05:45
Torsten Dittmann aef6c11370 fix(auth): use getRoles instead of static property 2021-12-10 18:52:33 +01:00
Torsten Dittmann b530fd66cd fix(storage): add same permissions check to files uploaded 2021-12-10 17:48:54 +01:00
Torsten Dittmann adffae7cf7 docs(api): reviewed in-line docs of endpoints 2021-12-10 13:27:11 +01:00
Damodar Lohani c63bf70404 Merge branch 'feat-storage-buckets' into feat-large-file 2021-12-10 16:24:33 +05:45
Damodar Lohani 037c0bfbd5 Merge branch 'feat-large-file' into feat-s3-integration 2021-12-10 16:22:35 +05:45
Damodar Lohani 16e686d250 Merge branch 'feat-storage-buckets' into feat-s3-integration 2021-12-10 16:20:27 +05:45
Damodar Lohani 6bc7825089 fix hardcoded chunk size with a const 2021-12-10 16:14:59 +05:45
Damodar Lohani 0bb74c79eb add type for mode 2021-12-10 15:51:37 +05:45
Damodar Lohani 63d3b8e200 more review suggestion fixes 2021-12-09 16:29:44 +05:45
Damodar Lohani 80a89877c1 fix variable 2021-12-09 14:11:30 +05:45
Damodar Lohani eb2968256a Merge branch 'feat-storage-buckets' into feat-large-file 2021-12-09 13:52:53 +05:45
Damodar Lohani a3fa418aa5 update chunks uploaded when all chunks are uploaded 2021-12-09 13:30:52 +05:45
Damodar Lohani 8279a2e208 Merge branch 'feat-large-file' into feat-s3-integration 2021-12-08 14:29:27 +05:45
Damodar Lohani 5fed67a2c2 Merge branch 'feat-storage-buckets' into feat-large-file 2021-12-08 14:28:21 +05:45
Damodar Lohani 6f31a3de09 Merge branch 'feat-storage-buckets' into feat-sb-uis 2021-12-08 14:25:59 +05:45
Damodar Lohani f5e48033ec Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-08 14:24:05 +05:45