Giter VIP home page Giter VIP logo

openhive-network / rocket.chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rocketchat/rocket.chat

1.0 1.0 0.0 779.2 MB

OpenHive.Chat is powered by Rocket.Chat: The communications platform that puts data protection first.

Home Page: https://rocket.chat/

License: Other

Shell 0.09% JavaScript 13.71% TypeScript 80.53% CSS 3.67% HTML 1.48% Handlebars 0.01% Smarty 0.01% Batchfile 0.01% Dockerfile 0.14% EJS 0.04% SCSS 0.33%

rocket.chat's People

Contributors

alexbrazier avatar d-gubert avatar dependabot[bot] avatar dougfabris avatar engelgabriel avatar gabriellsh avatar gdelavald avatar geekgonecrazy avatar ggazzo avatar gmsecrieru avatar graywolf336 avatar hudell avatar hugocostadev avatar juliajforesti avatar karlprieb avatar kevlehman avatar lingohub[bot] avatar marceloschmidt avatar marcosspessatto avatar martinschoeler avatar matheusbsilva137 avatar murtaza98 avatar pierre-lehnen-rc avatar renatobecker avatar rodrigok avatar sampaiodiego avatar sing-li avatar tassoevan avatar tiagoevanp avatar yash-rajpal avatar

Stargazers

 avatar

rocket.chat's Issues

When iframe auth integration is enabled, mobile application hangs on "SSO" page after Oauth login

Description:

When iframe auth integration is enabled, mobile application hangs on "SSO" page after Oauth login. This is the same as this issue: RocketChat/Rocket.Chat.ReactNative#2758.

Steps to reproduce:

Expected behavior:

User should be in mobile application after login.

Actual behavior:

User is still in a web view after login, probably is some kind of modal window.

Server Setup Information:

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

Relevant logs:

Rocket Chat application always tries to post message to parent window, when iframe integration is enabled

Description:

When iframe auth integration is enabled, Rocket Chat application tries to post message to parent window, though there is not any parent window, e.g. page isn't displayed in iframe. This causes logging to browser's console error like this:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://condenser.hive.dry.ovh') 
does not match the recipient window's origin ('https://rocket-chat.hive.dry.ovh')

Steps to reproduce:

Expected behavior:

No errors like these in browser's console.

Actual behavior:

Errors are visible in browser's console.

Server Setup Information:

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

Relevant logs:

Rocket Chat creates broken user accounts, sometimes

During our operations related to Hive Blog integration, Rocket Chat (version 6.2.2-hive.5) creates broken user accounts, sometimes. The owners of these accounts cannot login. These accounts haven't role "user". When administrator tries to delete such accounts via application's GUI, application crashes with error Application Error: The application GUI just crashed. When he tries to delete such users via API request, he can see error response {"success":false,"error":"Cannot read property 'includes' of undefined"}. The stack trace coming from this API error is:

20230919T19:56:25 {"level":35,"time":"2023-09-19T19:56:25.657Z","pid":375069,"hostname":"chat","name":"API","method":"POST","url":"/api/v1/users.delete","userId":"YG586LfD4YzqDH4TD","userAgent":"curl/7.68.0","length":"26","host":"openhive.chat","remoteIP":"172.71.123.49",
"err":{"type":"TypeError","message":"Cannot read property 'includes' of undefined",
"stack":"TypeError: Cannot read property 'includes' of undefined\n
    at app/lib/server/functions/deleteUser.ts:83:18\n
    at /home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n
 => awaited here:\n
    at Function.Promise.await (/home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n
    at server/methods/deleteUser.ts:53:52\n
    at /home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n
 => awaited here:\n
    at Function.Promise.await (/home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n
    at packages/meteor.js:367:22\n
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1389:31)\n
    at packages/ddp-server/livedata_server.js:1818:36\n
    at new Promise (<anonymous>)\n
    at Server.applyAsync (packages/ddp-server/livedata_server.js:1817:12)\n
    at Server.callAsync (packages/ddp-server/livedata_server.js:1743:17)\n
    at app/api/server/v1/users.ts:311:17\n
    at /home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n
 => awaited here:\n
    at Function.Promise.await (/home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n
    at app/api/server/v1/users.ts:311:4\n
    at /home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n
 => awaited here:\n
    at Function.Promise.await (/home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n
    at packages/meteor.js:367:22\n
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1389:31)\n
    at app/api/server/api.ts:635:39\n
    at /home/chat/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40"},
"status":400,"responseTime":52,"msg":"Cannot read property 'includes' of undefined"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.