Skip to content

Commit

Permalink
Merged udacitychat into subdirectory /tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony committed Aug 31, 2012
2 parents c9513e2 + 524b093 commit f2aaa07
Show file tree
Hide file tree
Showing 6 changed files with 1,042 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tools/LICENSE.md
@@ -0,0 +1,22 @@
##License
Released under the MIT (Expat) license:
Copyright (C) 2012 Jin Koo Niersbach

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
38 changes: 38 additions & 0 deletions tools/README.md
@@ -0,0 +1,38 @@
upluschat
=========

Collaborative Social Network Realtime Chat

#Readme
This is a realtime chat server and client designed to run on Google App Engine.
It is part of the collaborative Udacity Plus project.

## Bugs
- privmsg doesn't show for the sender (not sure whether to implement at client or server level)
- probably server
- need to find a way to clear user after a certain amount of time if they did not connect (but did log in)
- maybe at the login phase, check if user exists (if they are not connected and session is X seconds old, delete the old user)
- remove arguments from XHR post (use jQuery's .ajax() function)
- the Channel will expire after 2 hours, must add a reconnect feature
- check syntax/format compliance on server side (yawn)

## Todos (not yet implemented features)
- fix bugs
- connect to channel on join
- name changing
- ping/pong/timeouts
- UI option to close tabs for users/channels
- topics, op, voice
- options pane below the chatarea
- scrolling (to new content): always, never, auto


## Dependencies
### Server
- Jinja2
- Webapp2
- Google AppEngine API

### Client
- Twitter Bootstrap
- jQuery
20 changes: 20 additions & 0 deletions tools/app.yaml
@@ -0,0 +1,20 @@
application: chatudacity
version: 1
runtime: python27
api_version: 1
threadsafe: true

libraries:
- name: jinja2
version: latest

builtins:
- appstats: on

inbound_services:
- channel_presence

handlers:
- url: /.*
secure: always
script: main.app

0 comments on commit f2aaa07

Please sign in to comment.