Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Adding oauth crud on the rocket.chat side #26220

Merged
merged 9 commits into from
Aug 24, 2022

Conversation

AllanPazRibeiro
Copy link
Contributor

Proposed changes (including videos or screenshots)

This PR adds the CRUD bridge of OAuth apps registration, I will be needed for the future Zapier app, this PR comes along with the PR on the Apps.Engine side.

The idea's very simple, the app will be able to create, get (by id and name) delete and purge OAuth registration.
I took as an example the Zapier registration and I added the appId along with it.

It's my first full bridge, so feel free to send any constructive advice/feedback.

PS: I added some unit tests, since I am not too familiar with the Alsatian, it may look too simple.

Issue(s)

Steps to test or reproduce

Further comments

@AllanPazRibeiro AllanPazRibeiro requested review from a team as code owners July 11, 2022 17:50
@AllanPazRibeiro AllanPazRibeiro self-assigned this Jul 11, 2022
@d-gubert d-gubert marked this pull request as draft July 18, 2022 23:15
@d-gubert d-gubert marked this pull request as ready for review August 21, 2022 23:00
@d-gubert d-gubert added this to the 5.1.0 milestone Aug 21, 2022
@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #26220 (861ce4f) into develop (95d24cf) will decrease coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #26220      +/-   ##
===========================================
- Coverage    38.58%   38.41%   -0.17%     
===========================================
  Files          794      794              
  Lines        19002    19002              
  Branches      1937     1937              
===========================================
- Hits          7331     7299      -32     
- Misses       11378    11411      +33     
+ Partials       293      292       -1     
Flag Coverage Δ
e2e 38.41% <ø> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ggazzo ggazzo added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Aug 22, 2022
@kodiakhq kodiakhq bot merged commit 76ed463 into develop Aug 24, 2022
@kodiakhq kodiakhq bot deleted the feat/oauth-bridge-crud branch August 24, 2022 03:24
gabriellsh added a commit that referenced this pull request Aug 24, 2022
…ove/otr-message

* 'develop' of github.com:RocketChat/Rocket.Chat:
  Regression: Add alsoSendThreadToChannel to user settings api (#26663)
  [IMPROVE] Spotlight search user results (#26599)
  [FIX] Slack User CSV importer not working (#26629)
  Chore: Importer rest types, meteor methods to TS and API unit tests (#26284)
  [NEW] Adding oauth crud on the rocket.chat side (#26220)
  [NEW] allow ephemeral messages to receive a specific id (#26118)
  [FIX] MDM content alignment (#26665)
  Chore: Permissions check per endpoint/method (#26419)
  Regression: CI (#26658)
  [FIX] Not allowed error in discussion room with a private parent channel (#26394)
  Chore: Fix grammatical typo when only one message is pruned (#21902)
  [FIX] Agents (with user status offline & omni-status as available) not able to take or forward chat (#26575)
  i18n: Language update from LingoHub 🤖 on 2022-08-22Z (#26645)
  Chore: Add license env var to ee tests (#26650)
  Chore: Move `Card` and related components to `@rocket.chat/ui-client` (#26653)
  Regression: Custom status loading forever in Usercard (#26656)
  [FIX] Current Chat Custom Field Filter (#26200)
  Chore: Migrate modules related to `room` template to TypeScript (#25881)
  Chore: Create teams management tests (#26578)
csuadev pushed a commit that referenced this pull request Aug 26, 2022
Co-authored-by: Douglas Gubert <1810309+d-gubert@users.noreply.github.com>
@murtaza98 murtaza98 mentioned this pull request Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: apps stat: QA skipped stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants