Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x
2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2
2023-08-04 13:55:07 -07:00
Steven Nguyen
611524476b
Merge branch 'master' into feat-master-to-1.4.x
2023-07-26 13:33:49 -07:00
Prateek Banga
f7c02d9308
removes extra db call and uses document find method
2023-07-24 23:41:49 +05:30
Prateek Banga
7d412b4741
adds get db call and get collection call
2023-07-24 12:02:28 +05:30
Prateek Banga
d569c17764
Merge branch 'master' of https://github.com/appwrite/appwrite into change-use-find-instead-iterating-index-array
2023-07-21 00:49:15 +05:30
Prateek Banga
b700336d45
fix get index route to use find
2023-07-20 14:52:05 +05:30
Steven Nguyen
187f3dc6ff
Update get logs APIs to return userId from data
...
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-19 22:49:51 -07:00
Prateek Banga
8328dac86b
lint issues
2023-07-19 14:08:02 +05:30
Prateek Banga
131e9658a5
change to use findOne instead of iterating index array
2023-07-19 14:04:35 +05:30
Damodar Lohani
4fd5c72f34
Merge branch 'master' into feat-1.4.x-with-1.3.x-master
2023-07-19 07:39:37 +00:00
Steven Nguyen
300d916621
Update get logs APIs to return userId from data
...
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-12 10:27:57 -07:00
Damodar Lohani
f59d3563f4
Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync
2023-07-10 03:06:48 +00:00
Prateek Banga
f24cf729c3
fixed relationship update bug in two way type
2023-07-07 23:50:06 +05:30
faisalill
7e8f6f748a
fixed incorrect audity activity on document create
2023-06-17 00:20:37 +05:30
Jake Barnby
95b06c660a
Add index validator
2023-06-15 17:29:03 +12:00
Damodar Lohani
57411db2d3
upadate to use refactored collections config
2023-06-15 00:34:12 +00:00
Jake Barnby
031f8270ff
Merge remote-tracking branch 'origin/1.4.x' into validator-mv
...
# Conflicts:
# composer.lock
2023-06-15 12:28:32 +12:00
Jake Barnby
b7f4f57521
Add new error message to differentiate between missing data and missing data + permissions for document updates
2023-06-07 13:51:24 +12:00
Jake Barnby
d2bfe46fca
Set min length to 0 for default value when creating or updating a string attribute
...
(cherry picked from commit c61e54f69b
)
2023-05-30 19:42:13 +12:00
Jake Barnby
c61e54f69b
Set min length to 0 for default value when creating or updating a string attribute
2023-05-30 14:52:59 +12:00
Bishwajeet Parhi
68c56daba1
add extra check for admin modes
2023-05-26 17:08:09 +05:30
Bishwajeet Parhi
2873918cc5
Update databases.php
...
fix: tests
2023-05-24 22:56:58 +05:30
Bishwajeet Parhi
e496419572
remove formatting updates
2023-05-24 22:24:57 +05:30
Bishwajeet Parhi
6fc176d508
chore: add admin mode assertion for create collection
2023-05-24 17:58:40 +05:30
Bishwajeet Parhi
4706e6580d
chore: add new checks
2023-05-24 15:39:08 +05:30
Bishwajeet Parhi
c2a13b079e
chore: lowercase
2023-05-19 12:54:07 +05:30
Bishwajeet Parhi
40f70faa89
Feat: Add enable param in Database and Collection
2023-05-18 18:55:22 +05:30
fogelito
aae6b932d3
remove unnecessary hint
2023-05-16 17:49:12 +03:00
fogelito
f6153b7626
Use array instead of variadic
2023-05-16 15:56:20 +03:00
fogelito
d55dc7a5b2
Merge branch 'master' of github.com:appwrite/appwrite into validator-mv
2023-05-07 12:23:02 +03:00
Christy Jacob
60f51580a7
Merge pull request #5246 from singhbhaskar/fix-4960-Database-usage-screen-shows-500-error-when_APP_USAGE_STATS-is-disabled
...
Fix: Updated error when _APP_USAGE_STATS is disabled
2023-05-04 20:47:50 +05:30
fogelito
c51d4b386b
Merge branch 'master' of github.com:appwrite/appwrite into validator-mv
...
Conflicts:
composer.json
composer.lock
2023-05-03 14:56:03 +03:00
Jake Barnby
2eafda4ee2
Fix update document merging existing data after pre-processing instead of before
2023-05-02 19:53:11 +12:00
fogelito
5e4ff01568
getByType
2023-05-01 12:18:50 +03:00
fogelito
36dee1f345
Alias change
2023-04-27 15:10:07 +03:00
fogelito
9e5af4c046
Alias change
2023-04-27 15:01:40 +03:00
fogelito
0460b59cdc
Namespace Changes
2023-04-27 14:59:05 +03:00
fogelito
e631453e3b
documents name changes
2023-04-27 09:59:55 +03:00
fogelito
9dcf4c0984
validations changes
2023-04-25 14:35:49 +03:00
Bhaskar Singh
3865f48d32
Moved check for _APP_USAGE_STATS
...
to create init hook for App
2023-04-21 23:09:01 +05:30
Steven Nguyen
3f72b738fa
Fix related creates
2023-04-20 18:44:53 -07:00
Steven Nguyen
e8dee9296c
Fix update document not merging existing data
2023-04-20 10:10:51 -07:00
Steven Nguyen
4113ae7ca5
Allow updating document with read-only relationship
...
A user should be able to update a document without touching the
relationship.
Relates: https://github.com/appwrite/appwrite/issues/5404
2023-04-19 17:21:41 -07:00
Steven Nguyen
37afb82d1c
Delegate permissions check to database layer
2023-04-19 17:21:41 -07:00
Steven Nguyen
611dd9b86c
Return 404 if a user doesn't have access to a collection
...
It is better to return 404 so that an end user doesn't know if the
collection actually exists but they don't have access or they really
don't have access.
2023-04-19 17:21:41 -07:00
Steven Nguyen
50bb69290f
Ensure collections are created with permissions and documentSecurity
2023-04-19 17:21:41 -07:00
Jake Barnby
0dea80c9da
Cache whether relation is a list
2023-04-14 22:03:16 +12:00
Jake Barnby
975b044de0
Iterate relation by reference on update
2023-04-13 16:08:53 +12:00
Jake Barnby
c7317b0468
Fix auto-setting custom ID on nested documents
2023-04-13 15:59:57 +12:00