Jake Barnby
aa7e326ce9
Allow file uploads from explorer
2022-12-13 15:43:29 +13:00
shimon
4c6b6d00e8
functions api usage
2022-12-07 19:56:38 +02:00
shimon
5d63d2f199
functions api usage
2022-12-07 19:01:25 +02:00
shimon
c9b6b3bf8b
storage api usage
2022-12-07 12:48:18 +02:00
Christy Jacob
77d4627d42
feat: use constants in switch case
2022-11-26 19:45:29 +04:00
Eldad Fux
95e835a902
Deprecated Usage stats
2022-11-23 19:08:42 +02:00
Christy Jacob
71bb70dec4
Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-add-console
2022-11-17 23:27:26 +05:30
Christy Jacob
c4a5c73717
feat: use new storage library
2022-11-17 23:13:59 +05:30
Christy Jacob
080abbbb79
Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console
2022-11-17 20:26:10 +05:30
Christy Jacob
878021b9a3
feat: disable auth on console project
2022-11-17 18:20:17 +05:30
Christy Jacob
b989a35b62
feat: add todos
2022-11-17 08:04:05 +00:00
Christy Jacob
4f31fb5dc8
feat: linter
2022-11-17 07:46:00 +00:00
Christy Jacob
4271e34b39
feat: review comments
2022-11-17 07:44:54 +00:00
Christy Jacob
261830c122
Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-support-dsn
2022-11-17 06:43:49 +00:00
shimon
ee0950449a
Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions
2022-11-15 17:17:58 +02:00
Bradley Schofield
3c71164741
Merge branch '1.1.x' into feat-implement-session-length-api
2022-11-14 15:30:38 +00:00
Bradley Schofield
a19e668d79
Update storage.php
2022-11-14 13:11:43 +00:00
shimon
180262d166
Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions
2022-11-11 13:18:33 +02:00
shimon
f9671ee855
enabling file permissions
...
via cache preview
2022-11-10 12:08:01 +02:00
Bradley Schofield
a0ab934328
Fix another null warning
2022-11-09 13:23:14 +00:00
Bradley Schofield
29c30a361b
Fix null warnings
...
- Fixed Avatars isset operator
- Added isset operator to openSSL data in files
- dns_get_record does not throw errors, instead it logs a warning and returns false. Altered code accordingly. PHP Bug Report: https://bugs.php.net/bug.php?id=73149
-
2022-11-09 11:45:15 +00:00
Christy Jacob
9165da14b7
feat: add support for the new DSN class
2022-10-26 12:16:22 +05:30
Damodar Lohani
dfa35e0a0b
fix periods on usage endpoints
2022-10-21 05:45:25 +00:00
Damodar Lohani
a7e1e5f25f
fix period
2022-10-21 01:40:33 +00:00
Vincent (Wen Yu) Ge
4cee87273c
Merge branch 'master' into doc-unique-id
2022-10-04 10:51:38 -04:00
Vincent (Wen Yu) Ge
ae2100244f
Update unique() to be ID.unique()
2022-10-03 20:22:28 +00:00
Christy Jacob
ba0be549e3
Merge pull request #3881 from appwrite/fix-null-required-param
...
Fix: Null required ID params
2022-09-23 00:37:17 +05:30
Matej Bačo
a983e792d8
Refactor required param values
2022-09-19 10:05:42 +00:00
Steven Nguyen
00a4929301
Fix date format for usage APIs
2022-09-15 23:48:09 +00:00
shimon
5652e2d94f
audits.resource label update
2022-09-08 15:16:54 +03:00
shimon
834e4e03e3
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling
...
Conflicts:
app/controllers/api/storage.php
2022-09-08 15:13:22 +03:00
Jake Barnby
15939bb155
Merge remote-tracking branch 'origin/0.16.x' into fix-storage-audit-resources
2022-09-08 17:24:00 +12:00
Eldad Fux
01fb4045bd
Sync with 0.16
2022-09-07 14:11:10 +03:00
Eldad Fux
1f17fb34e4
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into fix-response-syntax
2022-09-07 14:07:40 +03:00
Eldad Fux
0895a25615
Fixed response syntax with new FW version
2022-09-07 14:02:36 +03:00
Jake Barnby
9665ec09e7
Make storage audit resources consistent with other resources
2022-09-07 20:22:25 +12:00
Jake Barnby
4590c464ef
Use write const
2022-09-06 21:17:25 +12:00
shimon
1362902082
audit event name reformation
2022-09-05 11:00:08 +03:00
Jake Barnby
e55faff0a1
Fix tests
2022-09-05 19:51:33 +12:00
Jake Barnby
5c08e066aa
Fix allowed permissions for documents/files
2022-09-05 13:41:01 +12:00
shimon
5d16c39d5f
account labels
2022-09-04 11:13:44 +03:00
Jake Barnby
1896193718
Fix missed optional updates
2022-09-03 12:44:33 +12:00
Jake Barnby
f4f178d3bf
Merge remote-tracking branch 'origin/rc-qa-matej' into fix-rc-qa
2022-09-03 11:44:14 +12:00
Matej Bačo
ae2826ad1f
Bug fixes
2022-09-02 14:19:36 +00:00
Jake Barnby
ddcb68c944
Make document/file security optional for create collection/bucket
2022-09-02 15:39:54 +12:00
Damodar Lohani
8fe365d66e
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-additional-compression-support
2022-08-31 13:21:45 +00:00
Damodar Lohani
7b5cee8da9
fix description to use markdown for links
2022-08-31 10:24:13 +00:00
Damodar Lohani
d647bdaf9e
update compression attribute description
2022-08-31 09:55:55 +00:00
Christy Jacob
5a58312b53
Merge pull request #3741 from appwrite/refactor-guest-rate-limits
...
Refactor guest rate limits
2022-08-31 10:41:23 +02:00
Jake Barnby
ce28dd8201
Use route method in abuse key for guest writes
2022-08-31 15:58:32 +12:00
Damodar Lohani
594b66c18a
fix missing break
2022-08-31 02:59:51 +00:00
Damodar Lohani
bc7ec3854f
linter fix
2022-08-31 02:56:44 +00:00
Damodar Lohani
63f95c0a5c
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-additional-compression-support
2022-08-31 02:55:26 +00:00
Jake Barnby
190d9684f0
Use consts for rate limit count + period
2022-08-31 11:34:17 +12:00
Jake Barnby
1d4866c5b5
Use IP + User ID as abuse key for create routes
2022-08-31 11:33:19 +12:00
Jake Barnby
b9148d380b
Fix only variables can passed by reference errors
2022-08-31 11:31:43 +12:00
Damodar Lohani
2d1741504a
compression on update bucket endpoint
2022-08-30 13:50:38 +00:00
Damodar Lohani
5fa7d34757
zstd compression support on endpoints
2022-08-30 13:46:55 +00:00
Christy Jacob
7591f68970
Merge pull request #3702 from appwrite/feat-list-endpoints-queries
...
Feat: List endpoint queries
2022-08-30 14:56:09 +02:00
Damodar Lohani
6c04550558
compression attribute on create bucket endpoint
2022-08-30 12:55:26 +00:00
Matej Bačo
63c02677a0
PR review changes
2022-08-30 13:55:23 +02:00
Matej Bačo
2b3dc48bf1
PR review changes
2022-08-30 08:21:34 +00:00
Jake Barnby
938f8394e0
Add abuse limits for create/update/delete document/file
2022-08-30 00:49:01 +12:00
Matej Bačo
889eaff418
Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries
2022-08-29 08:52:28 +00:00
Jake Barnby
ccfd104545
Allow guest write scope for document, file and execution
2022-08-29 17:53:37 +12:00
Jake Barnby
a16cd37f1a
Remove filter_var usage
2022-08-27 15:19:51 +12:00
Jake Barnby
c531213a5f
Doc updates
2022-08-27 15:19:00 +12:00
Matej Bačo
7f0507473d
Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries
2022-08-26 07:47:42 +00:00
Jake Barnby
a679f2f767
Improve permission parameter descriptions
2022-08-26 16:37:06 +12:00
Jake Barnby
57048400dc
Merge branch 'refactor-permissions-inc-console-fix' of github.com:appwrite/appwrite into refactor-permissions-inc-console-fix
2022-08-26 15:01:39 +12:00
Jake Barnby
593c62116c
Review fixes
2022-08-26 15:01:16 +12:00
Jake Barnby
f945ab79ec
Apply suggestions from code review
...
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2022-08-26 14:52:25 +12:00
Jake Barnby
8307b2148f
Remove redundant auth exceptions catches
2022-08-26 14:23:23 +12:00
Jake Barnby
e6e126dff4
Catch AuthorzationExceptions from database to throw 401 instead of 500
2022-08-25 23:30:26 +12:00
Matej Bačo
c85363f355
Fix bugs after merge
2022-08-25 09:59:28 +00:00
Matej Baco
fd1068a600
Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries
2022-08-25 10:56:06 +02:00
Jake Barnby
625608804e
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/workers/builds.php
# src/Appwrite/Stats/Usage.php
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:21:15 +12:00
Jake Barnby
3149a298a7
Aggregate before role checks
2022-08-25 15:51:21 +12:00
Jake Barnby
002b30d110
Fix missing check for existing validity on listFiles
2022-08-25 13:05:31 +12:00
Jake Barnby
d4b270e527
Better storage permission checks
2022-08-25 01:24:54 +12:00
Matej Bačo
2d82eed4be
Linter fix
2022-08-23 13:10:27 +00:00
Matej Bačo
d1f6cb31d6
Upgrade listFiles queries
2022-08-23 08:49:39 +00:00
Matej Bačo
6fcd3757fe
Upgrade listBuckets queries
2022-08-23 08:37:55 +00:00
Jake Barnby
00441885d2
Remove fallback setting for missing permissions
2022-08-23 13:42:53 +12:00
Jake Barnby
e989735e89
Remove permissions processor
2022-08-23 13:42:25 +12:00
Damodar Lohani
c5a8e470c5
update usage labels to match audits labels pattern
2022-08-21 02:03:19 +00:00
Jake Barnby
cb6fc7f618
Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
...
# Conflicts:
# .gitignore
# app/config/collections.php
# app/controllers/api/account.php
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/controllers/api/users.php
# composer.lock
# tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby
7019be987c
Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/account.php
# app/controllers/api/users.php
# app/controllers/shared/api.php
# app/workers/deletes.php
# composer.lock
# docker-compose.yml
# phpunit.xml
# src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Jake Barnby
66539bbe3a
Review updates for role helper usage
2022-08-19 16:04:33 +12:00
Damodar Lohani
3e43424129
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-18 00:49:31 +00:00
shimon
9fc2e4c3a5
sync with 0.16
2022-08-17 17:29:22 +03:00
shimon
cc9a166146
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/storage.php
app/controllers/shared/api.php
2022-08-17 17:08:54 +03:00
shimon
9c68cff317
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
...
Conflicts:
composer.json
composer.lock
2022-08-17 11:16:09 +03:00
Damodar Lohani
80dfa85c82
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-17 00:45:07 +00:00
Jake Barnby
e3ec275a51
Cleaner permission checks
2022-08-16 23:26:38 +12:00
Jake Barnby
1aa36b6b2c
Simplify permission checks
2022-08-16 21:08:14 +12:00
Jake Barnby
326220762e
Exception fixes
2022-08-16 21:07:30 +12:00
Jake Barnby
5d84d6d43f
Lint
2022-08-16 20:33:06 +12:00
Jake Barnby
bbf7f8d8c3
Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# src/Appwrite/Extend/Exception.php
2022-08-16 20:30:00 +12:00
Jake Barnby
fb34ecfa7d
Merge remote-tracking branch 'origin/0.16.x' into datetime-attributes-merge
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/databases.php
# app/controllers/api/functions.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# app/controllers/general.php
# app/controllers/shared/api.php
2022-08-16 19:20:26 +12:00
Jake Barnby
f672269a8c
Handle aggregates per resource type at the controller level
2022-08-16 17:54:44 +12:00
shimon
590c1467bc
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/account.php
app/controllers/api/functions.php
app/controllers/api/users.php
2022-08-15 18:19:59 +03:00
shimon
f12ccfa02a
prefix removed from storage audits label
2022-08-15 16:59:58 +03:00
shimon
df0bdeb8a3
some fixes
2022-08-15 16:55:11 +03:00
Jake Barnby
bf2fa212aa
Fix setting defaults
2022-08-16 01:16:20 +12:00
Jake Barnby
28e7934aeb
Update document/file validator allowed permissions
2022-08-16 01:02:02 +12:00
Jake Barnby
b53f185ec6
Remove permissions processor
2022-08-16 00:56:19 +12:00
shimon
67d12d3120
some fixes
2022-08-15 15:16:32 +03:00
Jake Barnby
77a28a2de7
Don't use ID helper with existing ID's
2022-08-15 23:24:31 +12:00
Jake Barnby
813e9135c6
Review fixes
2022-08-15 22:11:17 +12:00
shimon
0dc485d8d7
some fixes
2022-08-15 12:05:41 +03:00
Jake Barnby
33970276b2
Self review
2022-08-15 19:20:10 +12:00
Damodar Lohani
a5aa20ac5c
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-15 05:35:14 +00:00
shimon
5e476a2e5a
some fixes
2022-08-15 07:29:44 +03:00
shimon
c0d8337417
some fixes
2022-08-14 23:45:05 +03:00
shimon
104e6564f7
some fixes
2022-08-14 23:06:21 +03:00
shimon
cabe989555
some fixes
2022-08-14 22:42:20 +03:00
shimon
1109004727
some fixes
2022-08-14 22:27:43 +03:00
shimon
857803e362
some fixes
2022-08-14 21:02:38 +03:00
shimon
ab27e0a74d
some fixes
2022-08-14 18:01:34 +03:00
Jake Barnby
613a0f8006
ID and test fixes
2022-08-15 02:22:38 +12:00
Jake Barnby
9c260164ef
Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/controllers/general.php
# app/controllers/shared/api.php
# composer.json
# composer.lock
2022-08-14 23:46:34 +12:00
Jake Barnby
6a5de3e0b6
Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/config/collections.php
# app/controllers/api/databases.php
# app/controllers/api/projects.php
# app/controllers/api/teams.php
# composer.json
# composer.lock
# tests/e2e/Services/Account/AccountBase.php
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Functions/FunctionsCustomServerTest.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
# tests/e2e/Services/Storage/StorageBase.php
# tests/e2e/Services/Storage/StorageCustomClientTest.php
# tests/e2e/Services/Storage/StorageCustomServerTest.php
# tests/e2e/Services/Teams/TeamsBase.php
# tests/e2e/Services/Webhooks/WebhooksBase.php
# tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
# tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
# tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95
ID updates
2022-08-14 22:33:36 +12:00
Christy Jacob
8e24dbe22f
feat: update exception class
2022-08-14 13:35:11 +05:30
Christy Jacob
cfab9221f2
feat: exceptions on more files
2022-08-14 12:32:41 +05:30
Christy Jacob
a5bc0a61ca
feat: exceptions on more files
2022-08-14 12:26:12 +05:30
Steven
610ec1a6a4
Update database query syntax
2022-08-14 05:44:55 +00:00
Jake Barnby
ed712fb196
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/controllers/general.php
# composer.lock
2022-08-14 02:31:06 +12:00
Jake Barnby
bdc8202422
Bad request for create permission on document/file
2022-08-14 02:24:28 +12:00
Jake Barnby
68cc919aaa
Test fixes
2022-08-14 02:10:28 +12:00
Jake Barnby
737ebe408c
Don't add create permission to documents/files if missing
2022-08-13 18:34:04 +12:00
Damodar Lohani
c1c325505b
organize metrics
2022-08-13 05:01:43 +00:00
Damodar Lohani
d688187e23
update metrics value
2022-08-13 04:39:01 +00:00
Damodar Lohani
74a159ab99
fix key
2022-08-13 03:44:57 +00:00
Damodar Lohani
be00b64b7e
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-13 03:14:28 +00:00
Jake Barnby
8d4191b1a0
Lint
2022-08-13 02:46:50 +12:00
shimon
1af95fcdaa
Tidy up
2022-08-12 16:21:32 +03:00
Damodar Lohani
c5993ba8b9
storage usage stats via route labels
2022-08-11 02:18:22 +00:00
Damodar Lohani
16fe9e241a
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-10 01:49:27 +00:00
shimon
d2519c9a5b
addressing comments
2022-08-09 17:38:54 +03:00
shimon
092e682591
Merge branch 'master' of github.com:appwrite/appwrite into feat-file-cache-cleanup
...
Conflicts:
app/controllers/shared/api.php
2022-08-09 15:02:29 +03:00
Jake Barnby
3611f9df94
Parameter order fix
2022-08-09 18:58:08 +12:00
Damodar Lohani
bce998cb53
update imports and fix database usage
2022-08-09 06:28:38 +00:00
shimon
62ef532801
leftovers
2022-08-08 17:32:54 +03:00
shimon
89f164bdd7
resource namespace
2022-08-08 15:19:41 +03:00
Jake Barnby
69a79f660f
Storage permission check fixes
2022-08-08 22:58:36 +12:00
shimon
a6a9ad8cc0
databases controller
2022-08-08 11:14:27 +03:00
shimon
c8196c41d4
api::payload
2022-08-07 18:09:37 +03:00
shimon
ec39ff267c
api::parseLabel
2022-08-07 17:30:47 +03:00
shimon
f4c1a5ea35
response::send
2022-08-07 14:01:00 +03:00
Jake Barnby
5e4a422495
Use helpers to process permissions
2022-08-05 18:01:25 +12:00
Jake Barnby
54b07a9446
Handle document/file level security in collections layer
2022-08-04 16:20:11 +12:00
Jake Barnby
d9f0ece812
Remove new properties from DB level
2022-08-04 12:08:16 +12:00
Jake Barnby
4520114780
Refactor storage to use new permissions
2022-08-02 21:19:15 +12:00
shimon
45ad0f6bdf
Reference comments
2022-07-30 22:10:30 +03:00
shimon
5511a93e9c
Expires header returned to the endpoints
2022-07-28 18:24:18 +03:00
Bradley Schofield
3c808ca895
Fix problem with Exception class
2022-07-26 15:56:59 +01:00
Bradley Schofield
96c6c0ff00
Migrate all exceptions to new signature
2022-07-26 15:24:32 +01:00
shimon
d09bf306ce
response changes
2022-07-26 15:50:33 +03:00
shimon
16ed2c1572
tidy up
2022-07-24 18:22:31 +03:00
shimon
f214ead6f6
tidy up
2022-07-24 12:49:51 +03:00
shimon
64050337cf
tidy up
2022-07-24 10:05:24 +03:00
shimon
02907f12f1
cache logic moved to api::init & api::shutdown
2022-07-23 20:42:42 +03:00
Torsten Dittmann
5604a6837f
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes
2022-07-14 14:14:05 +02:00
fogelito
45ac40cc85
change function names
2022-07-13 17:02:49 +03:00
fogelito
f384a3352b
change class from database:: to dateTime::
2022-07-12 16:32:39 +03:00
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