Jake Barnby
275c6bb3a0
Set databaseId for all nested documents
2023-03-27 15:42:36 +13:00
Jake Barnby
64ee75e80d
Revert "Extract $options on get attributes list"
...
This reverts commit 0ef6f32a10
.
2023-03-27 12:18:47 +13:00
Jake Barnby
9ac08b496b
Merge remote-tracking branch 'origin/feat-relations-2' into feat-relations-2
2023-03-27 12:18:29 +13:00
fogelito
0ef6f32a10
Extract $options on get attributes list
2023-03-26 19:39:26 +03:00
Jake Barnby
d76d573e7c
Update attribute subquery to flatten relationship attributes
2023-03-25 16:28:07 +13:00
Jake Barnby
48b018fd9d
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
2023-03-24 20:53:41 +13:00
Jake Barnby
6cddb38290
Fix for count
2023-03-24 20:30:41 +13:00
Jake Barnby
1885f9e87c
Add graphql tests
2023-03-24 18:08:50 +13:00
Jake Barnby
24d1163703
Fix params
2023-03-24 16:57:56 +13:00
Jake Barnby
b6cfe43681
Clean up
2023-03-24 16:46:02 +13:00
fogelito
969cff5e41
New Queries Activation
2023-03-23 16:08:38 +02:00
Torsten Dittmann
010481bafc
feat: change url for updating attributes
2023-03-23 11:25:40 +01:00
Jake Barnby
7a089f8861
Use specific document validator for select queries on get document
2023-03-23 17:59:23 +13:00
Jake Barnby
2e44434ab8
Parse queries after validation
2023-03-23 17:55:31 +13:00
Jake Barnby
f974477ecc
Use plain param to allow validating against collection attributes
2023-03-23 17:32:44 +13:00
Jake Barnby
0643a94b12
Update signatures
2023-03-23 16:58:41 +13:00
fogelito
60c54e2d10
Select Validator
2023-03-22 23:10:47 +02:00
fogelito
34467de87d
Update relationship get Attribute
2023-03-22 18:44:12 +02:00
fogelito
a824b46df0
Update relationship
2023-03-22 17:49:08 +02:00
fogelito
e06e890279
query validators ignore nested
2023-03-21 14:32:05 +02:00
fogelito
a5f3af62bd
Extract model options
2023-03-20 13:20:24 +02:00
Torsten Dittmann
d59b4d17bb
fix: update attribute review
2023-03-20 10:13:23 +01:00
fogelito
eee29940bb
Some tests
2023-03-19 19:09:17 +02:00
Bhaskar Singh
ac2085ffa8
Updated error when _APP_USAGE_STATS is disabled
...
for usage
2023-03-18 22:12:36 +05:30
fogelito
79bfa025cb
Merge branch 'feat-database-update-attribute' of github.com:appwrite/appwrite into feat-relations-2
...
Conflicts:
app/controllers/api/databases.php
composer.json
composer.lock
2023-03-16 12:14:37 +02:00
fogelito
44de884ee5
convert relatedOptions to options
2023-03-16 09:31:48 +02:00
fogelito
40152fbd6c
Model relationshipOptions
2023-03-14 15:18:30 +02:00
fogelito
f255484fd4
Model relationship
2023-03-14 10:24:53 +02:00
fogelito
b1cc4ada4c
relationType
2023-03-13 12:11:38 +02:00
fogelito
f5f51c4fc9
Worker $relatedCollection
2023-03-13 11:46:03 +02:00
fogelito
5fc3f5bc3a
Worker
2023-03-13 11:34:41 +02:00
fogelito
b6c279b576
add relatedCollectionInternalId
2023-03-13 10:45:54 +02:00
fogelito
b116d24486
Document options
2023-03-13 10:33:07 +02:00
fogelito
ba6439375c
create attribute function
2023-03-13 10:22:01 +02:00
fogelito
f525104963
create relationship
2023-03-12 17:06:56 +02:00
fogelito
ca3efdf562
create relation
2023-03-12 16:04:18 +02:00
Torsten Dittmann
2178bfc126
Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-database-update-attribute
2023-03-10 18:39:11 +05:30
Torsten Dittmann
077ad544b6
fix: database responses
2023-03-10 18:36:34 +05:30
Torsten Dittmann
cb065e4228
fix: openapi specification
2023-03-10 15:36:10 +05:30
Steven Nguyen
85a2d623a6
Update APIs to check X-Appwrite-Timestamp header
...
Appwrite will refer to the X-Appwrite-Timestamp header for when the
request was originally sent and reject the request if the Timestamp
is older than the updatedAt timestamp of the document.
2023-03-07 10:54:52 -08:00
Torsten Dittmann
5df53e3e76
fix: http status codes for udpating attributes
2023-03-02 12:15:10 +05:30
Torsten Dittmann
6e5b8fab4b
fix: implement new framework changes
2023-03-01 17:30:36 +05:30
Jake Barnby
d2c55afdcf
Merge pull request #5145 from appwrite/feat-remove-index-requirements
...
Remove indexed attribute query requirement
2023-03-01 21:42:29 +13:00
Torsten Dittmann
fb3a7bc0e9
fix: update attribute endpoints params
2023-02-27 13:15:11 +05:30
Torsten Dittmann
ec7e28b3e7
fix: databases update attributes events
2023-02-26 21:14:22 +05:30
Torsten Dittmann
740e1956b5
revert: style changes
2023-02-26 18:07:44 +05:30
Torsten Dittmann
8ae974e6dd
feat: database update attribute endpoints
2023-02-26 18:03:18 +05:30
Steven Nguyen
c5ebcbab2b
Add offline support labels on endpoints
2023-02-23 14:47:45 -08:00
Jake Barnby
6635ebf27f
Remove indexed attribute query requirement
2023-02-20 19:29:25 +13:00
Damodar Lohani
5acd78463a
Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync
2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1
Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync
2023-02-16 00:29:37 +00:00
Damodar Lohani
71d2c45a92
Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync
2023-02-14 04:35:19 +00:00
Jake Barnby
f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
...
# Conflicts:
# composer.lock
2023-02-14 14:22:08 +13:00
shimon
794f566fae
addressing comments
2023-02-06 16:03:45 +02:00
shimon
5850a454e0
addressing comments
2023-02-05 22:07:46 +02:00
shimon
1ac935077b
addressing comments
2023-02-02 20:16:01 +02:00
shimon
abdd5f016a
addressing comments
2023-02-02 13:55:23 +02:00
Christy Jacob
e5a6db6133
Merge pull request #4890 from appwrite/doc-clarify-permission
...
Update permission and ID param descriptions for grammar and clarity.
2023-01-28 04:15:20 +05:30
Vincent (Wen Yu) Ge
b25dc38a63
clarify custom ID vs unique ID
2023-01-20 22:22:16 +00:00
fogelito
c4ae047833
Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
...
Conflicts:
app/init.php
composer.json
composer.lock
2023-01-16 10:24:37 +02:00
Vincent (Wen Yu) Ge
45aea5b941
Update branch with master
2023-01-13 14:53:54 -05:00
Vincent (Wen Yu) Ge
92a384e31c
Fix descriptions for ID and regen 1.2.x specs
2023-01-13 14:27:08 -05:00
Bradley Schofield
31b718d829
Replace Appwrite Validators with backported Utopia ones
...
+ Updated Utopia Framework to 0.26.0
+ Replaced Appwrite Validators with Utopia ones
2023-01-13 15:28:04 +00:00
Damodar Lohani
f41e3b1e8f
Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync
2023-01-12 07:25:23 +00:00
shimon
20f9b0c655
refactor usage worker
2022-12-22 15:02:41 +02:00
Vincent (Wen Yu) Ge
8239113b95
Grammarly check
2022-12-20 21:43:55 +00:00
Vincent (Wen Yu) Ge
37fc5114ab
Update permission param descriptions for grammar and clarity.
2022-12-20 21:39:41 +00:00
Bradley Schofield
c0daed3644
Refactor names and cleanup code
2022-12-20 16:11:30 +00:00
shimon
7601c9047b
e2e tests
2022-12-15 11:45:43 +02:00
shimon
285bfe9fd7
e2e tests
2022-12-15 09:56:06 +02:00
fogelito
8ade726932
Changing Role + Permissions namespace
2022-12-14 18:04:06 +02:00
fogelito
f96128e14f
Changing Id
2022-12-14 17:42:25 +02:00
shimon
ba04f845da
databases usage
2022-12-11 11:00:00 +02:00
Eldad Fux
95e835a902
Deprecated Usage stats
2022-11-23 19:08:42 +02:00
Christy Jacob
080abbbb79
Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console
2022-11-17 20:26:10 +05:30
Jake Barnby
f9d2976c1d
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
...
# Conflicts:
# CHANGES.md
# 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/init.php
# app/tasks/sdks.php
# composer.lock
# docker-compose.yml
2022-11-16 19:37:35 +13:00
Bradley Schofield
3c71164741
Merge branch '1.1.x' into feat-implement-session-length-api
2022-11-14 15:30:38 +00:00
Christy Jacob
f5484d4548
feat: update mariadb images
2022-11-07 19:54:50 +05:30
Jake Barnby
a47bfe71bf
Merge remote-tracking branch 'origin/1.2.x' into feat-graphql-support
...
# Conflicts:
# CHANGES.md
# composer.json
# composer.lock
# tests/e2e/Services/Functions/FunctionsCustomServerTest.php
2022-11-04 21:32:57 +13:00
Eldad Fux
1ff53bc82a
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-fixes-for-pools
2022-11-04 07:26:35 +02:00
Eldad Fux
f6ae1fedd2
Fixed broken call
2022-11-03 22:24:03 +02:00
Christy Jacob
503bd53a47
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-mysql-test
2022-10-25 13:48:59 +00:00
Jake Barnby
2f444ead34
Revert "Review revert unrelated change"
...
This reverts commit bf064fa5c9
.
2022-10-25 18:31:51 +13:00
Jake Barnby
bf064fa5c9
Review revert unrelated change
2022-10-25 15:44:19 +13:00
Vincent (Wen Yu) Ge
9a1f54baf1
Merge branch 'master' into doc-unique-id
2022-10-21 17:43:52 -04:00
Jake Barnby
a2b1941a47
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# CONTRIBUTING.md
# composer.json
# composer.lock
# docs/references/teams/list-teams.md
2022-10-19 13:17:56 +13:00
Damodar Lohani
f78cb09694
Merge remote-tracking branch 'origin/master' into feat-usage-refactor
2022-10-17 06:55:01 +00:00
Damodar Lohani
be3743e227
fix renamed function
2022-10-14 11:24:37 +00:00
Damodar Lohani
f86a5b5fcd
fix renamed methods
2022-10-14 11:12:59 +00:00
Jake Barnby
bf194c30e9
Review updates
2022-10-11 13:38:06 +13:00
Jake Barnby
575b882b30
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# .github/workflows/tests.yml
# composer.lock
2022-10-10 18:41:40 +13:00
Damodar Lohani
9b2db20b3b
fix backfill
2022-10-09 06:33:14 +00:00
Damodar Lohani
22b00c019d
update usage period on get for databases
2022-10-09 06:30:26 +00:00
Vincent (Wen Yu) Ge
4cee87273c
Merge branch 'master' into doc-unique-id
2022-10-04 10:51:38 -04:00
Christy Jacob
12b1ecfcf9
feat: mysql support
2022-10-04 17:04:42 +05:30
Vincent (Wen Yu) Ge
ae2100244f
Update unique() to be ID.unique()
2022-10-03 20:22:28 +00:00
Torsten Dittmann
d45464c6c8
fix: boolean attribute default value
2022-09-30 11:27:19 +02: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
Jake Barnby
e9f75d32a1
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# Dockerfile
# app/config/errors.php
# app/config/roles.php
# 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/graphql.php
# app/controllers/shared/api.php
# app/init.php
# composer.lock
# docker-compose.yml
# src/Appwrite/Extend/Exception.php
# src/Appwrite/Migration/Migration.php
2022-09-20 15:43:09 +12:00
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
Torsten Dittmann
3df89e65ca
Merge pull request #3816 from appwrite/feat-consistent-parent-id
...
Update document model
2022-09-14 10:25:36 +02:00
Jake Barnby
5d6fff860e
Merge remote-tracking branch 'origin/0.16.x' into fix-datetime-attr-ui
2022-09-14 18:35:21 +12:00
Steven Nguyen
3da21ff2fc
Update document model
...
1. Rename document.$collection to document.$collectionId
2. Add document.$databaseId
2022-09-14 00:53:37 +00:00
shimon
b86f7689ec
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling
2022-09-13 10:29:16 +03:00
Matej Bačo
8b864324de
Merge remote-tracking branch 'origin/0.16.x' into fix-datetime-attr-ui
2022-09-11 07:34:44 +00:00
Eldad A. Fux
0a9a84e357
Merge pull request #3793 from appwrite/fix-datetime-type
...
Fix $createdAt and $updatedAt so they are datetime instead of string
2022-09-09 07:21:23 +03:00
Steven Nguyen
256f83b7ea
Fix and so they are datetime instead of string
2022-09-08 22:18:36 +00: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
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
4590c464ef
Use write const
2022-09-06 21:17:25 +12:00
Matej Bačo
39434c3fec
Fix datetime attribute default
2022-09-06 09:07:39 +00: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
Christy Jacob
ccabbc4fdf
feat: update datetime descriptions
2022-09-05 01:41:26 +04: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
Jake Barnby
ddcb68c944
Make document/file security optional for create collection/bucket
2022-09-02 15:39:54 +12:00
Matej Bačo
c3d04848f4
Mark permissions optional param
2022-09-01 13:14:15 +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
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
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
Matej Bačo
63c02677a0
PR review changes
2022-08-30 13:55:23 +02:00
Christy Jacob
3da3e2100c
Merge pull request #3727 from appwrite/feat-allow-guest-writes
...
Allow guest write scope for document, file and execution
2022-08-30 13:28:51 +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
cdbfe4ae10
Variabe name bug fix
2022-08-29 10:27:56 +00:00
Matej Bačo
99b95cfb74
Fix bug after merge conflict
2022-08-29 10:05:11 +00: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
Matej Bačo
6b5a0cbd4f
Fix bug after merge comflict
2022-08-29 08:49:00 +00:00
Christy Jacob
f6e7d00b1e
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-list-users-queries
2022-08-27 20:21:51 +00: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
Matej Bačo
281eb2fafe
Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-list-users-queries
2022-08-26 07:40:35 +00:00
Jake Barnby
a679f2f767
Improve permission parameter descriptions
2022-08-26 16:37:06 +12:00
Jake Barnby
8307b2148f
Remove redundant auth exceptions catches
2022-08-26 14:23:23 +12:00
Jake Barnby
b12fc12caa
Fix usage for datetime attributes
2022-08-25 23:49:45 +12:00
Jake Barnby
9ccffe9af2
Inherit permissions after role checks to ensure users can update document permissions created by server with other users roles
2022-08-25 23:46:56 +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
bc73b7bbf0
Fix bugs after merge
2022-08-25 10:28:13 +00: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
7159f9c187
Merge remote-tracking branch 'origin/origin/datetime-attributes' 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
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 20:53:52 +12:00
Matej Baco
c6e614d896
Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries
2022-08-25 10:38:43 +02:00
fogelito
064d538023
Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes
2022-08-25 11:14:48 +03:00
fogelito
c30189f903
Vincent Changes Apply
2022-08-25 11:14:27 +03:00
Shmuel Fogel
c04734048f
Update app/controllers/api/databases.php
...
Co-authored-by: Vincent (Wen Yu) Ge <wenyu1999@hotmail.com>
2022-08-25 11:05:01 +03:00
Jake Barnby
e7298b13b0
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/workers/builds.php
# src/Appwrite/Stats/Usage.php
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:26:30 +12: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
b434dfb6b8
Fix missing check for existing validity on listDocuments
2022-08-25 13:04:47 +12:00
Steven
fc38771d69
Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries
2022-08-24 18:52:39 +00:00
Jake Barnby
0d3c1cba9a
Better database permission checks
2022-08-25 01:24:19 +12:00
Matej Bačo
bd7395cb44
Bug fixing, upgrade tests to new syntax
2022-08-24 09:22:13 +00:00
Jake Barnby
dabaa49f8d
Remove redundant extra permissions checks for document read/update/delete
2022-08-24 20:50:05 +12:00
Matej Bačo
01a57d91ad
Fix listDocument queries validation
2022-08-23 16:33:08 +00:00
Matej Bačo
7fb74027d4
Upgrade listDocuments queries
2022-08-23 15:18:59 +00:00
Matej Bačo
2d82eed4be
Linter fix
2022-08-23 13:10:27 +00:00
Matej Bačo
36903d6358
Upgrade document&collection&database logs queries
2022-08-23 13:03:38 +00:00
Matej Bačo
e068bcdbc1
Upgrade listCollections queries
2022-08-23 12:30:28 +00:00
Matej Bačo
94acd32d69
Upgrade listDatabases queries
2022-08-23 09:40:17 +00:00
Matej Bačo
e780c90dd6
Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries
2022-08-23 08:10:13 +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
Steven
66ff297103
Refactor Queries Validation
2022-08-22 19:16:20 +00:00
Jake Barnby
8841f8fe76
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# app/controllers/general.php
# app/controllers/shared/api.php
# composer.json
# composer.lock
2022-08-22 21:13:29 +12:00
Jake Barnby
eb1476b28b
Apply validator updates to OpenAPI3
2022-08-22 14:27:17 +12:00
Damodar Lohani
77958b465e
update database usage params label
2022-08-21 02:10:21 +00:00
Damodar Lohani
2205ecd9c6
null safety checks
2022-08-20 11:20:31 +00:00
Steven
e70eb61717
Fix bug with list documents and new queries
2022-08-20 00:47:10 +00:00
Steven
2bde7aa02b
Fix databases tests
2022-08-20 00:15:18 +00:00
Matej Bačo
926d1c6459
Fix incorrect endpoint information
2022-08-19 14:14:39 +00:00
Jake Barnby
e4392bdbfb
Merge fixes
...
(cherry picked from commit 24875e352d
)
2022-08-19 17:12:20 +12:00
Jake Barnby
24875e352d
Merge fixes
2022-08-19 17:05:39 +12: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
9819088563
Lint
2022-08-19 16:05:00 +12:00
Jake Barnby
66539bbe3a
Review updates for role helper usage
2022-08-19 16:04:33 +12: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
Christy Jacob
4b0c707fd3
Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime
2022-08-16 20:37:05 +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
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
Jake Barnby
77a28a2de7
Don't use ID helper with existing ID's
2022-08-15 23:24:31 +12:00
Jake Barnby
33970276b2
Self review
2022-08-15 19:20:10 +12:00
Damodar Lohani
c0d05132df
fix usage metric typo in database
2022-08-15 05:50:36 +00:00
Jake Barnby
cb4a256d5f
Merge remote-tracking branch 'origin/feat-ui-datetime' into refactor-permissions-inc-queries-update-datetime-fixes
...
# 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
# composer.lock
# public/dist/scripts/app-all.js
# public/dist/scripts/app-dep.js
# public/dist/scripts/app.js
# public/dist/styles/default-ltr.css
# public/dist/styles/default-rtl.css
# public/scripts/dependencies/appwrite.js
2022-08-15 12:05:52 +12:00
Jake Barnby
613a0f8006
ID and test fixes
2022-08-15 02:22:38 +12:00
Eldad A. Fux
d641fbb635
Merge pull request #3588 from appwrite/feat-simplify-exceptions
...
Simplify Exception Creation
2022-08-14 15:27:52 +03: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
a8698b6065
Lint
2022-08-14 17:24:50 +12:00
Jake Barnby
b2e659bd3f
Review fixes
2022-08-14 17:21:33 +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
560bd97fcd
organize metrics
2022-08-13 05:02:18 +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
Christy Jacob
9693c6e941
Merge branch 'master' of github.com:appwrite/appwrite into 0.16.x
2022-08-12 21:44:36 +05:30
shimon
1af95fcdaa
Tidy up
2022-08-12 16:21:32 +03:00
Jake Barnby
d2b9102f84
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
shimon
90cfac9b52
replace request param extractions
2022-08-12 14:01:12 +03:00
Damodar Lohani
73f675aebe
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-11 01:15:29 +00:00
shimon
5a15d29a22
sync with 0.16.x
2022-08-10 12:22:55 +03:00
shimon
d31c23d25a
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/databases.php
2022-08-10 12:18:05 +03:00
Damodar Lohani
8aa7486e71
database usage stats working via labels
2022-08-10 02:33:46 +00:00
Damodar Lohani
ebf3d813cb
refactor database usage to labels
2022-08-10 02:18:18 +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
Torsten Dittmann
5db5f7217f
Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime
2022-08-09 14:49:08 +02:00
fogelito
db5d737235
Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
...
Conflicts:
tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +03:00
Christy Jacob
6a6c7d4b90
Merge pull request #3547 from appwrite/fix-update-status-codes
...
Use 202 when resources are created asyncronously
2022-08-09 14:42:40 +05:30
Damodar Lohani
bce998cb53
update imports and fix database usage
2022-08-09 06:28:38 +00:00
Jake Barnby
216486a4c6
Fix DB tests
2022-08-09 18:03:41 +12:00
shimon
6e0b7cc650
leftovers
2022-08-08 18:44:11 +03:00
shimon
62ef532801
leftovers
2022-08-08 17:32:54 +03:00
Bradley Schofield
43660d9c8f
Merge branch 'master' into feat-simplify-exceptions
2022-08-08 15:03:01 +01:00
shimon
89f164bdd7
resource namespace
2022-08-08 15:19:41 +03:00
Jake Barnby
20f621d05c
Databases permission check fixes
2022-08-08 22:58:28 +12:00
shimon
a6a9ad8cc0
databases controller
2022-08-08 11:14:27 +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
1ab86c9331
Role reference updates
2022-08-03 16:17:49 +12:00
Jake Barnby
9a182d615a
Refactor databases to use new permissions
2022-08-02 21:18:49 +12:00
Torsten Dittmann
ba65b5a58f
fix duplicates
2022-07-28 14:51:47 +02:00
Torsten Dittmann
a4588cc848
Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api
2022-07-28 14:49:28 +02:00
Torsten Dittmann
e3fee55e3d
Merge branch 'origin/datetime-api' of https://github.com/appwrite/appwrite into origin/datetime-api
2022-07-28 14:45:15 +02:00
Torsten Dittmann
7b95c46cf5
Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api
2022-07-28 14:40:45 +02:00
Torsten Dittmann
bd550f8a1e
feat: ui for datetime attribute
2022-07-28 14:38:54 +02:00
fogelito
ba40ac4e90
Change models Class name
2022-07-28 13:26:22 +03:00
Bradley Schofield
e3a3ca4c0d
Translate more errors
...
+ Fixed an issue where some errors that should use 401 uses 400 error codes
+ Updated error messages and tests for multiple exceptions
2022-07-27 14:47:35 +01:00
Steven
723c6f5436
Fix incorrect databases links
2022-07-26 23:16:47 +00: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
fogelito
b58c04c28b
Add attribute datetime
2022-07-25 11:53:41 +03:00
Jake Barnby
ca62d67d37
Merge remote-tracking branch 'origin/master' into feat-graphql-support
2022-07-19 11:55:29 +12:00
Bradley Schofield
74a53af316
Fix Tests
2022-07-18 14:22:23 +01:00
Bradley Schofield
35c546782f
Change more status codes to 202
2022-07-18 10:43:51 +01:00
Ishan Vyas
af167a58a8
Fix SDK response type for get & update database call
...
Signed-off-by: Ishan Vyas <isvyas@gmail.com>
2022-07-17 12:44:37 +05:30
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
Bradley Schofield
5f0032bb7f
Use 202 when resources are created asyncronously
2022-07-14 10:52:55 +01: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
Jake Barnby
7259f21cf1
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# composer.lock
2022-07-12 09:18:58 +12:00
fogelito
7e08575245
builds, stats
2022-07-11 18:12:41 +03:00
Torsten Dittmann
648b6f2038
Merge pull request #3532 from appwrite/fix-permission-array-lengths
...
Fix: Permissions validator max-length
2022-07-11 13:16:55 +02:00
Torsten Dittmann
bddd477bd7
Merge pull request #3511 from appwrite/fix-attribute-dbid
...
Fix attribute databaseId
2022-07-11 12:13:35 +02:00
Matej Bačo
aae7ec6146
Upgrade to use new permissiosn validator features
2022-07-10 17:25:27 +00:00
Jake Barnby
da71aec774
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# app/controllers/api/databases.php
# composer.lock
2022-07-08 17:50:16 +12:00
Jake Barnby
5b3c4921d6
Add schema group shutdown hook to set dirty flag in register
2022-07-08 17:43:20 +12:00
Torsten Dittmann
9bdd1087ba
Merge pull request #3500 from appwrite/fix-internal-dates-update
...
Fix: createdAt bug after updating document
2022-07-06 12:54:50 +02:00
Jake Barnby
937240f244
Fix attribute databaseId
2022-07-06 17:13:29 +12:00
Jake Barnby
8bbe5abd72
Fix attribute databaseId
2022-07-06 17:11:26 +12:00
Steven Nguyen
ee4aff0ca4
Fix get collection usage alias
2022-07-06 04:07:53 +00:00
Jake Barnby
bc098d73fa
Databases API fixes
2022-07-06 15:50:27 +12:00
Matej Bačo
9f364bb9dd
Fix document date
2022-07-05 16:07:07 +00:00
fogelito
6d46332f96
changing datetime from timestamp to datetime
2022-07-01 15:05:14 +03:00
Torsten Dittmann
f438d4695d
Merge pull request #3405 from appwrite/fix-internal-indexes
...
Feat: Allow internal indexes
2022-06-28 14:21:27 +02:00
Torsten Dittmann
e83cf382fd
fix: all sdks and specs
2022-06-28 13:21:28 +02:00
Vincent (Wen Yu) Ge
9ceef4c096
Merge branch '0.15.x' into database-layer-docs
2022-06-24 12:39:06 -04: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
dfbb9b2b3b
fix-response-model-for-database-list
2022-06-24 12:51:21 +05:45
Torsten Dittmann
cf7d10046c
Merge pull request #3421 from appwrite/fix-createdat-lock
...
Fix: Lock $createdAt
2022-06-23 13:09:36 +02:00
Matej Bačo
c19a2484c3
Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes
2022-06-23 09:22:54 +00:00
Damodar Lohani
1a034d45f6
alias
2022-06-23 08:50:11 +00:00
Matej Bačo
3f8ab486c2
Lock createdAt
2022-06-23 08:17:02 +00:00
Vincent (Wen Yu) Ge
9c68e68125
Database Layers API docs updated
2022-06-22 16:28:09 +00:00
Matej Bačo
336127da55
Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes
2022-06-22 14:22:46 +00:00
Matej Bačo
72278b4f0f
More database UI bug fixes
2022-06-22 13:30:35 +00:00
Matej Bačo
f069719ef3
Code cleanup
2022-06-22 13:08:15 +00:00
Matej Bačo
a049b13741
Fix database UI names
2022-06-22 13:03:55 +00:00
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