aaron235 / messageworks Goto Github PK
View Code? Open in Web Editor NEWA secure and lightweight chat webapp written with Perl and Mojolicious.
License: Apache License 2.0
A secure and lightweight chat webapp written with Perl and Mojolicious.
License: Apache License 2.0
It goes behind the button; the input needs to be less wide.
Big and scary.
Possibly in the same area that the "disconnected from server" message apperars. This should be done with JSON and Websockets, not JavaScript.
This might require a dynamically sized send box, and some modification in websocks.js.
Desperately needs fix.
some simple js.
Proposed solution: Redirect to an error page that suggests you to either create a new room, or join the room that already exists that you just created.
Possibly add a direct file writer for log flies, and have the server accept flags for level of verbosity.
Possibly an embedded chat thingy or a link to the about page or to start a new chat.
Because it's really dumb to not have that
Already fixed, filing an issue on it for consistency
Preferably written in inline POD.
Need a separate database containing a document for each room with values for name, privacy, and open date (or more things), and this database can look up the other rooms by collection name, which will contain a document for each message, housed by nothing.
The best solution is probably to avoid writing any whispers to the database ever because of the private nature of them
Self-explanatory.
Typing @[randID] for a valid randID should create a whisper.
Whisper @NAMEs should be specially formatted [if valid].
Send it like
Bug455
Rug788
Martin
Hug700
or something better. That way user @Formatting and stuff can be done in JS without any additional server queries.
Dragging a file onto the chat window should show an "Add" cursor. The file should be fast-checked a) for file size [shouldn't be bigger than 2mb or so] and b) to be sure it's an image. If both tests pass, the image gets converted to base64 encoding and inserted into the chat as a single message. Otherwise, display an error in the infobar for ~5sec and fade it out.
How to do:
Put the arrow message history navigation and formatting of the user list in this
so it can be tabbed to and stuff and also have an active state and whatever i dunno
Call MongoDB to get the last 128 message lines, and then ws send them to the new user's controller, as JSON, in order.
Might require an 'm.messageworks.com' subdomain, but this needs to be done.
like in every other chat ever except irc and probably some other stuff
Make the background color of the message div the same hue as the user's color, with only 10% saturation. (Or possibly the same hue and saturation with white text instead of black?)
The offending line: app->log->debug( "Users->new: created new user with randString $self->{randString}" );
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.