8361 Commits

Author SHA1 Message Date
Steven e26062ca87 Prepare 1.3.8 release 2023-07-18 22:21:58 +00:00
Steven Nguyen ca6e9a7f1e Update get logs by user to pass user internal id
The userId in audit is actually the userInternalId.
2023-07-12 10:56:24 -07: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
Steven Nguyen f5a3a8f339 Update Appwrite to save internal id as audit user id
It's important to use userInternalId so that if a user is recreated
with the same ID, lookups for the user will not return the data
of the old deleted user.

We will still store userId in data so that it can be pulled out and
returned for the log API calls.
2023-07-12 10:24:42 -07:00
Christy Jacob 596998000b chore: update console 2023-06-03 20:15:40 +05:30
Christy Jacob 329b6b93bf chore: update changelog 2023-06-03 20:11:01 +05:30
Christy Jacob 8b01c61de3 chore: update utopia-php/framework 2023-06-03 20:06:17 +05:30
Steven Nguyen 092f0cfcaf Fix the routing for the default OAuth2 pages 2023-06-03 20:05:45 +05:30
Torsten Dittmann 21b41c475d chore: prepre 1.3.6 2023-06-02 15:21:05 +02:00
Torsten Dittmann a664363525 fix: trailing wildcards 2023-06-02 15:20:58 +02:00
Christy Jacob a3474f8a3b feat: prepare 1.3.5 release 2023-05-30 16:15:13 +00:00
Jake Barnby e44e4e7766 Merge pull request #5603 from appwrite/hotfix-route-mismatch
Update framework to fix route mismatches
2023-05-30 23:33:17 +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 3dd67cb17f Fix visibility
(cherry picked from commit b092405b04)
2023-05-30 18:29:13 +12:00
Torsten Dittmann 67ad856490 Merge pull request #5497 from appwrite/fix-bucket-permissions
Fix bucket permissions
2023-05-04 19:32:44 +02: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
Torsten Dittmann bb7891b5bf Merge pull request #5492 from appwrite/fix-update-document
Fix update document merging existing data after pre-processing
2023-05-04 15:28:05 +02:00
Steven Nguyen d7bbfb55ed Prepare 1.3.4 release 2023-05-03 13:39:05 -07:00
Steven Nguyen 4dd6a7977e Update create and update bucket APIs
Ensure the permissions and document security are updated in the
metadata collection.
2023-05-03 12:15:37 -07:00
Bhaskar Singh a4299a69ef Refactored the condition for strict inequality 2023-05-02 23:47:50 +05:30
Jake Barnby 2eafda4ee2 Fix update document merging existing data after pre-processing instead of before 2023-05-02 19:53:11 +12:00
Torsten Dittmann 84c06a8ece Merge pull request #5456 from appwrite/1.3.x
Sync master with 1.3.x
2023-04-28 21:42:32 +02:00
Steven Nguyen 1e5dc3ad6f Bump version to 1.3.3 2023-04-28 12:29:46 -07:00
Steven Nguyen 206553bac7 Bump sdk-generator and specs 2023-04-27 17:00:12 -07:00
Torsten Dittmann b2c8e182a5 Merge pull request #5442 from appwrite/fix-project-deletion-leftovers
fix: project deletion leftovers
2023-04-27 20:19:09 +02:00
Torsten Dittmann 7529f02bd6 fix: also delete webhooks on project deletion 2023-04-27 17:41:14 +02:00
Torsten Dittmann 31e65d954b fix: deletes worker for projects 2023-04-27 17:37:14 +02:00
Torsten Dittmann e1cf068652 fix: platforms query 2023-04-27 17:36:00 +02:00
Bhaskar Singh 7064f884aa Refactor usage init hook to remove unecessary
inject
2023-04-27 19:32:05 +05:30
Torsten Dittmann d45bc5e60f chore: upgrade console 2023-04-27 15:54:07 +02:00
Torsten Dittmann fb507ad83b Merge pull request #5432 from appwrite/chore-sync-1-3-x
chore: sync 1.3.x with master
2023-04-26 18:16:21 +02:00
Torsten Dittmann e9e83ae8ec Merge branch 'master' of https://github.com/appwrite/appwrite into chore-sync-1-3-x 2023-04-26 12:30:14 +02:00
Christy Jacob 0e5e3f6f6f Merge pull request #5362 from appwrite/update-cli
feat: update cli version
2023-04-25 23:49:29 +05:30
Torsten Dittmann 4ceae33a5a Merge pull request #5163 from yatharth1706/fix-5147-fix-error-description-in-case-of-duplicate-user
fix error description for duplicate user
2023-04-25 15:45:59 +02:00
Christy Jacob 1c4dc6a424 Merge pull request #3696 from appwrite/fix-event-multi-execution
Fix: event multi-execution
2023-04-25 17:31:45 +04:00
Torsten Dittmann 4ebe485f05 remove: leftover from http.php 2023-04-24 13:11:39 +02:00
Torsten Dittmann 5ee3c592a4 chore: release 1.3.2 2023-04-24 13:10:28 +02:00
Torsten Dittmann ff82a24a4b feat: migration 2023-04-24 13:00:23 +02: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
Christy Jacob 62bdc77b93 Merge pull request #5377 from appwrite/fix-function-timeout-desc
Update description for _APP_FUNCTIONS_INACTIVE_THRESHOLD
2023-04-17 22:55:14 +04:00
Vincent (Wen Yu) Ge b6c43e2ccf Update app/config/variables.php 2023-04-17 14:02:11 -04:00
Steven Nguyen d41df04b6a Ensure vars are not lost during upgrade
Using a reference on an array element while iterating over it caused
some unexpected behavior. Instead of using a reference, this change
uses a key to allow us to edit the array element.

For reference on the problem, see https://stackoverflow.com/questions/70691375/foreach-with-reference-causing-arrays-last-element-to-repeat.
2023-04-14 16:18:31 -07:00
Vincent (Wen Yu) Ge 166b446fe7 Update description for _APP_FUNCTIONS_INACTIVE_THRESHOLD 2023-04-14 14:31:22 -04:00
Jake Barnby 0dea80c9da Cache whether relation is a list 2023-04-14 22:03:16 +12:00