From 57455db88b7a9e27403a9d05c9bc2a2eee1f70cd Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 29 Oct 2020 12:58:35 +0200 Subject: [PATCH 1/2] Updated changlog --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 6263aa0d9e..9aadc06e46 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -44,6 +44,8 @@ ## Breaking Changes (Read before upgrading!) - **Deprecated** `first` and `last` query params for documents list route in the database API - **Deprecated** Deprectaed Pubjabi Translations ('pn') +- **Deprecated** `PATCH /account/prefs` is now updating the prefs payload and not just merging it +- **Deprecated** `PATCH /users/:userId/prefs` is now updating the prefs payload and not just merging it - Switched order of limit and offset params in all the SDKs `listDocuments` method for better consistency - Default `limit` param value in all the SDKs `listDocuments` method is now 25 for better consistency From 6bf8be791253fd558ff3fcc486a4154e1a16c580 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 29 Oct 2020 12:58:48 +0200 Subject: [PATCH 2/2] Added missing SDK command --- Dockerfile | 1 + app/config/events.php | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9a1003cba6..1503f2a364 100755 --- a/Dockerfile +++ b/Dockerfile @@ -158,6 +158,7 @@ RUN chmod +x /usr/local/bin/doctor && \ chmod +x /usr/local/bin/install && \ chmod +x /usr/local/bin/migrate && \ chmod +x /usr/local/bin/schedule && \ + chmod +x /usr/local/bin/sdks && \ chmod +x /usr/local/bin/ssl && \ chmod +x /usr/local/bin/test && \ chmod +x /usr/local/bin/vars && \ diff --git a/app/config/events.php b/app/config/events.php index aeee6849f2..34c4a4f2de 100644 --- a/app/config/events.php +++ b/app/config/events.php @@ -55,4 +55,16 @@ return [ 'storage.files.delete' => [ 'description' => 'This event triggers when a storage file is deleted.', ], + 'users.create' => [ + 'description' => 'This event triggers when a user is created from the users API.', + ], + 'users.update.status' => [ + 'description' => 'This event triggers when a user status is updated from the users API.', + ], + 'users.delete' => [ + 'description' => 'This event triggers when a user is deleted from users API.', + ], + 'users.sessions.delete' => [ + 'description' => 'This event triggers when a user session is deleted from users API.', + ], ]; \ No newline at end of file