Code Monkey home page Code Monkey logo

tea-messenger-web's Introduction

Tea Messenger Web

Web based Tea Messenger Client. Secure, fast and simple chat app.

tea-messenger-web's People

Contributors

ammarfaizi2 avatar ddx-owo avatar virusphp avatar hrwn avatar dependabot[bot] avatar louvian avatar dvlwj avatar dark-bring avatar ppabcd avatar azazel404 avatar

Stargazers

 avatar Faiz Jazadi avatar  avatar Iqbal Rifai avatar  avatar Guns avatar  avatar  avatar  avatar Azhe Kun avatar

Watchers

James Cloos avatar Rizkie Yudha Pratama avatar  avatar Irfan avatar devitridwan avatar  avatar  avatar  avatar

tea-messenger-web's Issues

lodash leads to CVE-2019-10744 and GHSA-p6mc-m468-83gw

[CVE-2019-10744]
Vulnerable versions: < 4.17.12
Patched version: 4.17.12
Ref: https://nvd.nist.gov/vuln/detail/CVE-2019-10744
Severity: critical
Affected versions of lodash are vulnerable to Prototype Pollution.
The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

=======================

[GHSA-p6mc-m468-83gw]
Vulnerable versions: < 4.17.19
Patched version: 4.17.19
Ref: GHSA-p6mc-m468-83gw
Severity: low
Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The function zipObjectDeep allows a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires zipping objects based on user-provided property arrays.

This vulnerability causes the addition or modification of an existing property that will exist on all objects and may lead to Denial of Service or Code Execution under specific circumstances.

Potential security vulnerability in one of our dependencies.

The GitHub notification service noticed me that there is a vuln in one of our dependencies.

Refer to CVE-2019-8331
https://nvd.nist.gov/vuln/detail/CVE-2019-8331

Vulnerable versions: >= 4.0.0, < 4.3.1
Patched version: 4.3.1

In Bootstrap 4 before 4.3.1 and Bootstrap 3 before 3.4.1, XSS is possible in the tooltip or popover data-template attribute.

For more information, see: https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/

I leave the selection of dependencies to you. If you think it shouldn't be a security vuln, then just close this issue.

Add edit user info feature in the user's profile

The users need to edit their profile info such as first_name, last_name, email, and many more including their profile picture.

We have to make the API for this one first before making its view.

Bad Frontend View

Tea Messenger

I'm not good at frontend designing, so the view looks bad. Therefore I would welcome the pull request from frontend team.
Thanks.

Related files :
https://github.com/TeaInside/Tea-Messenger-Web/blob/master/public/assets/css/chat.css
https://github.com/TeaInside/Tea-Messenger-Web/blob/master/app/Views/user/chat_end.tea.php

If you aren't an expert in backend modification you can use dummy file to prevent inhibit backend development process.
https://github.com/TeaInside/Tea-Messenger-Web/blob/master/public/dummy.html

`required` attribute doesn't work on login page due to button type issue.

As we could see here, the form doesn't validate that the inputs are not filled.

sdvsdv

Why does it happen?
There are some possibilities as far as I know:

  1. The sign in button type is not "submit". (The current button type is "button").
  2. A related event listener does not listen to the form. It should be onsubmit event which listened to <form> tag, not an onclick event which listened to <button> tag.

Take a look here
https://github.com/TeaInside/Tea-Messenger-Web/blob/master/src/components/login/login.component.html#L45

CC: @dwzzzl

[question] How to deploy in production mode?

I want to update our site with the current views (https://messenger.teainside.org)

How can I deploy in production mode?
What command should I use to do it?
Do we need an npm running instance in production server?

I would prefer to static files which served with nginx instead of npm. But, if a running npm instance is needed, I don't have any objection to it, we can use the nginx proxy.

Thanks.

Use Sass for styling

Maybe it's a good idea if we use CSS Preprocessors like Sass (or Less) for styling the user interface

Create homepage view

Homepage view in /home path.
When the user does log in, the page should be shown first is the homepage.
What are the contents of the homepage? Not discussed yet.

Looking for continuous integration

Does frontend side need continuous integration like backend side?

If it does, what is the continuous integration service should we use?

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.