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

Chore: Add description value to IRoom interface#380

Merged
d-gubert merged 1 commit into
alphafrom
issues/203
Mar 19, 2021
Merged

Chore: Add description value to IRoom interface#380
d-gubert merged 1 commit into
alphafrom
issues/203

Conversation

@lucassartor

Copy link
Copy Markdown
Contributor

What? ⛵

Added the description value to a IRoom interface. The description value refers to a room topic.

Why? 🤔

To allow developers to get the description information from a room.

Links 🌎

Fixes #203

PS 👀

@CLAassistant

CLAassistant commented Feb 18, 2021

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@lucassartor lucassartor changed the title add 'description' to IRoom interface Chore: Add description to IRoom interface Feb 18, 2021
@lucassartor lucassartor changed the title Chore: Add description to IRoom interface Chore: Add description value to IRoom interface Feb 18, 2021
@codecov

codecov Bot commented Feb 18, 2021

Copy link
Copy Markdown

Codecov Report

Merging #380 (69207cf) into alpha (d22f928) will increase coverage by 0.54%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            alpha     #380      +/-   ##
==========================================
+ Coverage   49.69%   50.24%   +0.54%     
==========================================
  Files         100      108       +8     
  Lines        3151     3324     +173     
  Branches      463      464       +1     
==========================================
+ Hits         1566     1670     +104     
- Misses       1585     1654      +69     
Impacted Files Coverage Δ
src/server/errors/PermissionDeniedError.ts 20.00% <0.00%> (-80.00%) ⬇️
src/server/compiler/modules/net.ts 50.00% <0.00%> (-50.00%) ⬇️
...c/server/permissions/checkers/AppInternalBridge.ts 20.00% <0.00%> (-30.00%) ⬇️
...issions/checkers/AppEnvironmentalVariableBridge.ts 30.76% <0.00%> (-29.24%) ⬇️
src/server/permissions/checkers/AppApisBridge.ts 36.36% <0.00%> (-26.14%) ⬇️
...ver/permissions/checkers/AppUiInteractionBridge.ts 44.44% <0.00%> (-22.23%) ⬇️
...server/permissions/checkers/AppActivationBridge.ts 11.11% <0.00%> (-22.23%) ⬇️
src/server/permissions/checkers/AppUploadBridge.ts 25.00% <0.00%> (-21.16%) ⬇️
.../server/permissions/checkers/AppSchedulerBridge.ts 25.00% <0.00%> (-21.16%) ⬇️
src/server/permissions/checkers/AppHttpBridge.ts 57.14% <0.00%> (-17.86%) ⬇️
... and 15 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 d22f928...69207cf. Read the comment docs.

@d-gubert d-gubert merged commit 16423f9 into alpha Mar 19, 2021
d-gubert added a commit that referenced this pull request Jun 1, 2021
* 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>
@d-gubert d-gubert deleted the issues/203 branch May 2, 2024 21:58
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.

Cannot get topic from room retrieved using read.getRoomReader().getById(...)

3 participants