Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Alpha 1.27#423

Merged
d-gubert merged 10 commits into
masterfrom
alpha
Jun 29, 2021
Merged

Alpha 1.27#423
d-gubert merged 10 commits into
masterfrom
alpha

Conversation

@d-gubert

@d-gubert d-gubert commented Jun 1, 2021

Copy link
Copy Markdown
Member

Changelog

d-gubert and others added 4 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
@codecov

codecov Bot commented Jun 1, 2021

Copy link
Copy Markdown

Codecov Report

Merging #423 (95eabb7) into beta (474544d) will decrease coverage by 2.98%.
The diff coverage is n/a.

❗ Current head 95eabb7 differs from pull request most recent head 44bac3f. Consider uploading reports for the commit 44bac3f to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             beta     #423      +/-   ##
==========================================
- Coverage   53.22%   50.24%   -2.99%     
==========================================
  Files          86      111      +25     
  Lines        2914     3481     +567     
  Branches      412      485      +73     
==========================================
+ Hits         1551     1749     +198     
- Misses       1363     1732     +369     
Impacted Files Coverage Δ
src/server/accessors/Reader.ts 92.85% <0.00%> (-7.15%) ⬇️
src/server/misc/Utilities.ts 34.88% <0.00%> (-5.55%) ⬇️
src/server/accessors/Modify.ts 80.00% <0.00%> (-4.62%) ⬇️
src/server/accessors/LivechatRead.ts 8.69% <0.00%> (-0.83%) ⬇️
src/server/managers/AppListenerManager.ts 6.52% <0.00%> (-0.43%) ⬇️
src/server/bridges/index.ts 100.00% <0.00%> (ø)
src/server/bridges/AppBridges.ts 100.00% <0.00%> (ø)
src/server/accessors/RoomExtender.ts 100.00% <0.00%> (ø)
src/server/accessors/MessageExtender.ts 100.00% <0.00%> (ø)
src/server/managers/AppAccessorManager.ts 100.00% <0.00%> (ø)
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93b893e...44bac3f. Read the comment docs.

thassiov and others added 6 commits June 1, 2021 09:51
* Start bridge refactor

* Add description value to IRoom interface (#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
@d-gubert d-gubert marked this pull request as ready for review June 29, 2021 21:25
@d-gubert d-gubert changed the base branch from beta to master June 29, 2021 21:27
@d-gubert d-gubert merged commit cc6e19c into master Jun 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants