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

fix: add benchmark tests, fix reference msgs #1089

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

Aman035
Copy link
Member

@Aman035 Aman035 commented Feb 5, 2024

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Copy link

github-actions bot commented Feb 5, 2024

File: packages/restapi/src/lib/chat/helpers/crypto.ts

  1. There is an extra import statement for get from '../../user' at line 15. Please remove it.

  2. There is a missing closing curly brace '}' at the end of the file. Please add it.

  3. There is a missing import statement for pgpDecrypt from 'pgpHelper' at line 91. Please add it.

  4. There is a missing import statement for aesDecrypt from './aes' at line 93. Please add it.

  5. There is a missing closing parenthesis ')' at the end of the decryptMessageObj function at line 156. Please add it.

  6. There is a typo in the comment near line 170. It should be 'Decrypt messageObj' instead of 'Decrypt message'.

  7. There is an extra semicolon ';' at the end of the decryptMessage function at line 187. Please remove it.

  8. There is a typo in the comment near line 195. It should be 'Decrypt messageContent' instead of 'Decrypt messageObj'.

  9. There is an extra semicolon ';' at the end of the decryptMessageObj function at line 203. Please remove it.

  10. There is an extra closing parenthesis ')' at the end of the decryptMessageObj function at line 212. Please remove it.

  11. There is a missing closing curly brace '}' at the end of the file. Please add it.

@mohammeds1992 mohammeds1992 merged commit 2001963 into main Feb 5, 2024
1 check passed
mishramonalisha76 added a commit that referenced this pull request Feb 13, 2024
* feat(video-v2): add highlevel video class

* feat(video): add video stream

* fix(sendnotification): modify rules.access.data to be an object & code cleanup

* fix(video): remove signer from input, throw err if signer, decrypted pgp key  not found

* feat(video): add sendNotification calls in connect, disconnect methods

* fix(videonotificationrules): typo in VideoNotificationRules interface

* add: useStream.ts video-v2-example-app

* add: videoV2.tsx in video-v2-example-app

* feat(video stream): handle connect, retry internally from the SDK

* feat(video connect): remove the connect method from the videov2 SDK

* fix(videov2): create push signer instance to get chain id in initialize()

* fix(videov2-example): refactor react example component & remove useStream hook

* fix(video stream): add backwards compatibilty to rules object for older SDK versions

* fix(video stream): fix bug in rules object creation

* fix(video stream): call connect() for ApproveVideo event

* feat(example-video-1.5): video v2  example app  implementation

* feat(sdk-frontend): few ui changes

* fix(video-v2-example-app): initialisevdeo call after a call ends

* feat(video stream): add request, deny evennt handlers

* feat(sdk-frontend and sdk-frontend-react): added video-v2 example implementation

* fix: few fixes

* refactor: refator and remove console logs

* fix: fix import error

* feat(video): update param names for video.initialize()

* fix: param name changes

* chore: added few comments

* chore: ui toast added

* fix(video example): remove pushprotocol sdk direct dir reference for initVideoCallData

* fix(video example): import React in examples & update SDK version in sdk-frontend

* feat(video example): replace video events from CONSTANTS obj

* Edited video example to make it more versatile

* Update index.js

* fix: fixed message parsing (#1051)

* Minor fixes and improvements in video v2 (#1062)

* feat(video v2): add VIDEO constants and types

* feat(video v2): modify approve, deny to use internally stored peerInfo

* fix(video constants): rename DEFAULT_DATA to INITIAL_DATA

* 1050 update video example implementation in sdk-frontend (#1070)

* fix: use latest imports in example app

* feat: use  latest rainbowkit library

* chore: use latest restapi package

* chore: remove unnecessary libs

* fix: fixed signer bug (#1073)

* fix: send intent in history and latest. (#1069)

* fix: send intent in history and latest.

* fix: get chat info API sdk changes

* fix: stream helper functions

* fix: caching implementation on user profile API (#1053)

* fix: caching implementation on user profile API

* fix: cache code review comments

* fix: fix public key in read mode (#1074)

* fix: added notification widget layout

* fix: fixed naming convention

* fix: added layout for hyperlink

* Pub key cache to speed up chat messages verification (#1081)

* fix: minor fixes

* fix: cache implementation for public keys

* fix: fix encV1 key decryption (#1088)

* fix: add benchamark tests, fix reference msgs' (#1089)

* fix: added resuables

* bolierplate examples

* bolierplate examples

* bolierplate examples

* fix: added connect button

* fix: fixed lint

* fix: v2 user creation / upgrades / downgrades (#1099)

* fix: fix v2 user

* test: remove only

* Add filter for subscription (#1102)

* fix: added parsing for settings

* fix: minor fixes

* fix: added manage notifiction

* fix: added channel setting parse logic (#1107)

* fix: fixed css

* added user downgrade example

* fix: fixed lint

* fix: fixed connect modal

* fix: added readmode

* fix: fixed readMode

---------

Co-authored-by: Madhur Gupta <madhur@push.org>
Co-authored-by: Siddesh Sankhya <79219618+Siddesh7@users.noreply.github.com>
Co-authored-by: Siddesh <siddeshsankhya@gmail.com>
Co-authored-by: harshrajat <harsh@epns.io>
Co-authored-by: Harsh | Push <harsh@push.org>
Co-authored-by: Aman Gupta <guptaaman200115@gmail.com>
Co-authored-by: Mohammed S <shoaib@push.org>
Co-authored-by: Ashis Kumar Pradhan <38760485+akp111@users.noreply.github.com>
Co-authored-by: Mohammed S <shoaibmohammed92@gmail.com>
@Aman035 Aman035 deleted the benchmark-parse-ref-msg branch March 6, 2024 08:41
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.

2 participants