Skip to content

[Upstream Catchup] Merge RC:master to master#36

Merged
ear-dev merged 24 commits into
masterfrom
master-catchup-e53d94c
Jul 15, 2021
Merged

[Upstream Catchup] Merge RC:master to master#36
ear-dev merged 24 commits into
masterfrom
master-catchup-e53d94c

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 5, 2021

Copy link
Copy Markdown

Weekly Catchup PR to merge RC:master in master.

Part of WideChat/Rocket.Chat#825

d-gubert and others added 15 commits May 31, 2021 15:25
* Add ON_PRE_SETTING_UPDATE hook to apps

* stage

* Add new error type Toast.Error

* Fix unit testing cases

* Apply code review suggestions

* Remove unused imports

* Fix typos and add type annotations

* format

* Update definition

* Fix unit testing

* Use InvalidSettingValueException instead Toast.Error
* Start bridge refactor

* Add description value to IRoom interface (RocketChat#380)

* Remove old permission checkers

* Add new bridge classes

* Remove references to `proxy` code from the permission manager

* Adjust types at bridges

* Change the method for checking permissions and notify the errors

* Rename exposed methods to use the permission methods

* Add internal bridge interfaces

* Cast methods from app manager related

* Adjust spies on unit tests

* Include the `delete room` method in the refactor

* Update indentation based on reviewer's feedback

* Switch from IUserBridge interface to UserBridge abstract class

* Switch from IRoomBridge interface to RoomBridge abstract class

* Switch from IPersistenceBridge interface to PersistenceBridge abstract class

* Switch from ILivechatBridge interface to LivechatBridge abstract class

* Switch from IMessageBridge interface to MessageBridge abstract class

* Switch from IUploadBridge interface to UploadBridge abstract class

* Switch from IHttpBridge interface to HttpBridge abstract class

* Adjust argument type from delete room method

* Switch from IEnvVarBridge interface to EnvVarBridge abstract class

* Switch from IAppApiBridge interface to ApiBridge abstract class

* Switch from IAppSchedulerBridge interface to SchedulerBridge abstract class

* Switch from IAppCommandBridge interface to CommandBridge abstract class

* Switch from IServerSettingBridge interface to ServerSettingBridge abstract class

* Switch from IUiInteractionBridge interface to UiInteractionBridge abstract class

* Switch from IAppDetailChangesBridge interface to AppDetailChangesBridge abstract class

* Switch from IAppActivationBridge interface to AppActivationBridge abstract class

* Rename SettingBridge to ServerSettingBridge

* Adjustments based on linter hints

* Rename permission check methods prefix from 'check' to 'has'

* Adjust tests to work with bridges' abstract classes

* Adjustments based on linter hints

* Fix problems of lack of permissions in test suites

Co-authored-by: thassiov <tvmcarvalho@gmail.com>
* Make the cloud interface a class and adjustmends

* Fix reference of CloudWorkspaceBridge in the `bridges` module

* Fix references of CloudWorkspaceBridge in accessors and tests
@Shailesh351 Shailesh351 marked this pull request as ready for review July 15, 2021 07:26
@Shailesh351 Shailesh351 requested a review from ear-dev July 15, 2021 07:29
@ear-dev

ear-dev commented Jul 15, 2021

Copy link
Copy Markdown

Fantastic! Thanks @Shailesh351

@ear-dev ear-dev merged commit d16e36c into master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants