forked from cliss/accidentalbot
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merges with recent changes, updates package.json, and adds jQuery and moment #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…a file:// address handle this for testing purposes
…st the showbot out of the box
Ignore binary messages
Two small fixes for quick local testing of the webclient open as a file://
We disconnect any IP addresses that sends more than 50 requests in a 5-second window.
Disconnect IP addresses which are flooding requests/messages
making the bot work without a x-forwarded-for
Use JavaScript strict mode, and a few few-character tweaks.
Avoid exposing users' IP addresses.
Moves magic number to the top of file. Reports the length limit back to the user. Cleaned up !s, !suggest command match so it doesn't accidentally match !something else. Trim whitespace from suggestions (start/end, whitespace runs). Fixes some jslint warnings.
Cleanup handling of suggest command.
Conflicts: accidentalbot.js webclient/showbot.html
great work |
voldyman
added a commit
that referenced
this pull request
Jun 24, 2014
Merges with recent changes, updates package.json, and adds jQuery and moment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Nice work, I didn't think that using the same port with
ws
was possible. 😀I've merged recent changes and made a few additions. Is this now complete enough for you to submit a pull request? I think it would be convenient if Casey merged this into the master repo.
ref cliss#1