Giter VIP home page Giter VIP logo

forsta-web-messenger's Introduction

forsta-web-messenger

Forsta web messaging app.

Change Log

Building

make

Running

make run

Dev

The UI must be built for proper function. To avoid having to call make repetitively you can use make watch to automatically rebuild and install the changed sources.

Embedded Client [NEW]

See the forsta-messenger-client for details on embedding a custom messenger into your applications.

Embedded Client [DEPRECATED]

For installation in 3rd party sites you can include an <iframe> of our embedded client. The user is /@embed and takes various parameters to tune the session. The only required argument is token which must match an organizational ephermeral-user-token.

For example:

<iframe src="http://localhost:1080/@embed?token=TESTING&first_name=Demo&[email protected]&to=@support:forsta.io"></iframe>

And with calling support (NOTE the allow attribute required for new browsers):

<iframe allow="camera; microphone" src="https://app.forsta.io/@embed?token=TESTING&allowCalling"></iframe>

Query Arguments

  • to: Distribution (tags) to start thread with.
  • token: Ephemeral user token for the organization.
  • theme: Theme for interface (e.g. minimal, dark, pink, plaid).
  • first_name: First name of ephemeral user.
  • last_name: Last name of ephemeral user.
  • email: Email of ephemeral user.
  • phone: Phone of ephemeral user.
  • allowCalling: Enables video calling support (no value required).
  • forceScreenSharing: Forces video calling support to ONLY support screen sharing (no value required).
  • threadId: Hardcode the threadId in UUID format (EXPERT USE ONLY).
  • disableHeader: Disable top header panel.
  • disableCommands: Disable user commands like /help.
  • logLevel: Optional filter for console.[debug, info, warn, error].
  • salt: Optional identifier which can be set or changed to force new user creation.

License

Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html

  • Copyright 2015-2016 Open Whisper Systems
  • Copyright 2017-2019 Forsta Inc.

forsta-web-messenger's People

Contributors

2-4601 avatar arlolra avatar athenp avatar benkline avatar brobinson15 avatar codedust avatar cowlicks avatar dsesclei avatar eppfel avatar grandchild avatar irdan avatar james-firth avatar jerkey avatar karelbilek avatar liliakai avatar mad-de avatar mayfield avatar mcavoybn avatar mcginty avatar mdescalzo avatar ms2300 avatar odysseaskr avatar rileyjshaw avatar rpicard avatar s0 avatar thebluematt avatar trolldemorted avatar whitef0x0 avatar zach-richardson avatar zmanian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

forsta-web-messenger's Issues

Needs search capability

No apparent method to search previous messages to find those that contain a match for a keyword.

Can't delete conversation

Can't delete conversation. Also, "close" conversation is ambiguous. Would expect "delete" conversation for clarity.

To reproduce

  • select close conversation
    Actual
  • leaves conversation
    Expected
  • delete conversation

close conversation
left conversation

Windows 10, Chrome

can't start new conversation

Can't start new conversation. After selecting recipients in web app, new conversation is verified on Android app and nothing happens in web app.

  • New Conversation button
  • select recipients
  • hit arrow

image

new conversation

Windows 10, Chrome
Droid Mini, Android 4.4.4

conversations display inconsistently across web app & android

Conversations appear differently in Web App and Android - not in same order and not all conversations appear in both places.

Steps to reproduce

  • view conversations in web app and android

Actual result:

  • conversations appear in different order and not all conversations appear in both places

Expected result:

  • conversations displayed in web app and android match

Windows 10
Chrome

conversations
screenshot_2017-07-12-11-48-23

leave conversation still active

Leaving conversation still active after leaving conversation. Expect inactive option, option no longer lsited or "join conversation."

  • leave conversation
  • go to more menu
    leave conversation still available

Windows 10, Chrome

Can't link to web app

Can't link to web app. Stuck in Generate Keys step of process.

  • select link to web app from drop down in android app
  • add device button
  • scan QR code

stuck in link to web app process

Windows 10, Chrome
Droid Mini, Android 4.4.4

Adding new people individually

Saving new person doesn't clear form or allow access to Add New Person button to allow for next individual addition. Expect ease of adding multiple individuals facilitated by form clear or Add New Person button.

  • select green add new person button
  • enter required fields and hit save

saving new users

Droid Mini, Android 4.4.4

Web App reports all messages in all three pipeline stages?

Looks like regardless of the superman number and the stage I am logged into I am seeing all the messages posted to the web apps in every stage. Is this normal??

Here, I am on Stage but I am getting the messages exchanged between Pat and I on Prod:
screen shot 2017-04-17 at 7 27 33 pm

deleting first character when creating new tag

Can't delete all characters when creating new tag. Expect to be able to edit first character without a workaround (highlighting and entering new character allows an edit).

  • Go to Domain Profile
  • Create New Tag
  • enter text, backspace or highlight to delete

creatign new tag

Windows 10, Chrome

Put destination tag slug in message metadata

We do not have a way to identify what tag a user sends to for a group message (eg: @dev-team)

Right now we only get a list of Destination Devices in the message meta data - with no way to see what the name of the list/distribution is - either for username tags OR group tags.

Add the destination tag slug into the message metadata so we can properly display the destination to the dash users.

missing conversation tag

Can't tell who this conversation is with and can't see conversation history in web app.

who is this conversation with

conversation with cori

image

Windows 10, Chrome

can see conversations from another domain

After creating second domain and logging in to messenger, have access to previous conversations in first domain. Expect to see content specific to current domain only.

  • log out of first domain
  • create second domain
  • see conversations from first domain

forsta domain

forsta domain2

forsta-test-mariah domain

Windows 10, Chrome

Consistency between drop down menus in ccsm-ui and relay web app

Consistency between drop down menus in ccsm-ui and relay web app needed. Expect drop down menus in left and right corners to match. Preference for all drop down menu items in right corner and left corner FORSTA linking to marketing site.

consistent menus

consistent menus2

consistent menus3

Windows 10, Chrome

amazon link in compose input errors out

This link breaks input processing..

https://www.amazon.com/Klipsch-Reference-R-112SW-Subwoofer-Black/dp/B00NVPMJNC/ref=pd_sim_23_5?_encoding=UTF8&psc=1&refRID=3HK1K918M98JEPEG4TE9

image

new conversation button functionality

New Conversation button doesn't work and seems superfluous. Red color looks like it indicates an error or malfunction. As a user, I expect to just start composing a new message or begin by selecting a recipient. This button seems like an extra step.

Steps to reproduce

  • click on New Conversation

Actual result:

  • shows dropdown list of recently used tags

Expected result:

  • Begins new conversation

Windows 10
Chrome

Discover messages from other devices (Sync Now feature)

Message history from Android app MIA after linking to web app. Expect to see entire message history.

  • unlink web app
  • send and receive messages
  • link web app
  • look for messages sent/received from mobile app in messenger and in message history

image

image

message history no show

message history no show2

Windows 10, Chrome
Droid Mini, Android 4.4.4

Announcement

After creating an announcement and pressing the Send button, the message is sent but there is no visual feedback in the web-app that the message was sent, nor does the edit screen go away.

To recreate, open web app. create distribution list (mine was a combination of public and forsta addresses), create title and simple content. Press send button

Console dump:
textsecure.js:307 pre-main prep time: 3 ms
www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-101004742-1&cid=1602541743.1500613923&jid=1338353744&_v=j62&z=1077593976 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
deps.js:17688 Starting Forsta Messenger
deps.js:17688 Opening database ForstaWeb-2-bab52e00-5252-448d-bf25-70f442f0c989 in version #4
deps.js:17688 Websocket connecting: wss://forsta-signalserver-stage.herokuapp.com/v1/websocket/
deps.js:17688 XXX Disabled notifications service for now JM
a.(anonymous function) @ deps.js:17688
deps.js:17688 Routing to: 25b61ce5-0e21-45ab-8652-c285ef82bccc
deps.js:sourcemap:17688 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
(anonymous) @ deps.js:sourcemap:17688
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
deps.js:17688 Refreshing foundation data in background
Failed to load resource
(anonymous) @ VM334:1
deps.js:sourcemap:17688 Refreshing foundation data in background
deps.js:17688 Received Legacy Message!
a.(anonymous function) @ deps.js:17688
deps.js:17688 New remote ephemeral key
deps.js:17688 Deleting chain closed at 1505851789374
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
deps.js:17688 Refreshing foundation data in background
Failed to load resource
(anonymous) @ VM334:1
Failed to load resource
(anonymous) @ VM334:1
deps.js:17688 Refreshing foundation data in background

cannot message contact outside system

Cannot send message to contact outside the system.

Steps to reproduce

  • click on New Conversation

Actual result:

  • shows dropdown list of recently used tags

Expected result:

  • Begin new conversation with option to message contact outside system

Windows 10
Chrome

Stagnant time stamps on the conversation feed

Thread time stamp freeze i.e., threads will show the last received message as "today" in the conversation feed regardless of actually delivery day. It's not throwing a console error that I could find and Im only able to reproduce it post overnight sleep mode. Best guess its tied to a 24 hour cycle and not actually local time.

screen shot - top thread was created today 09/13 10:00. Thread directly below was receiving messages and registering as 09/12, next two threads were from 09/12 but showing as 09/13.

screen shot 2017-09-13 at 11 05 59 am

screen shot 2017-09-13 at 11 06 28 am

Extra steps to create new tag

Superfluous steps in creating new tag. Expect to create tag from initial field I completed. Next, I'd expect new fields to auto-populate with data I've already entered. Neither happens currently.

  • Go to Domain Profile
  • Create New Tag
  • enter text, hit enter
  • new fields appear below, empty
  • complete empty fields

superfluous new tag steps
new tags

Windows 10, Chrome

Superman echo breaking site

  • I have searched open and closed issues for duplicates

Bug description

messages not showing

Steps to reproduce

  • log in
  • send messages to or from android and/or iPhone
  • note that they don't show up.

Screenshots

one - writing text

screen shot 2017-07-05 at 3 59 43 pm

two - after having clicked send

image

Visibility of Conversation History is Browser Dependent

Accessing the Web App from Firefox did not show me my conversation history from the previous day when I was accessing from Chrome. Logging back into the WEb App from Chrome, I was able to see my history/groups/ etc...

GIPHY NOT DISPLAYING CORRECTLY (RANDOMLY)

The G failed to display, resulting in multiple empty frames with G notes. I haven't been able to rep this on demand. I had the thread info side bar on the right open at the time. The G were sent from Jens web app. I've included screen shots.
screen shot 2017-09-08 at 10 31 59 am
screen shot 2017-09-08 at 10 31 16 am
screen shot 2017-09-08 at 10 31 45 am

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.