Giter Club home page Giter Club logo

wifilocator's People

Contributors

alex-kwan avatar jrf2 avatar mikeklemarewski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wifilocator's Issues

add Events table

push notification, search event at near by zones

/getevents/zone_name
columns:
name (str),
organization (str),
time (datetime),
zone (Area - Key),
detail (str)

Droid app : Hide Twitter secret info

Put constant strings in another file, and reference the strings in that class in your twitter activity. Then do a git ignore on the file with the constant strings.. kkthx :D

Friend Relationship Remains after User is Deleted

Need to remove the friend relationship from the database when a user is deleted, otherwise it will cause the getfriendlist request to crash when one of the friends has been deleted.

Note: I think this issue is probably something that should be handled by the delete user method, rather than the getfriendlist method. Although, maybe we should also add a check to the getfriendlist method.

server should catch OverQuotaError

try:
mail.SendMessage(to='[email protected]',
from='[email protected]',
subject='Test Email',
body='Testing')
except apiproxy_errors.OverQuotaError, message:

Log the error.

logging.error(message)

Display an informative message to the user.

self.response.out.write('The email could not be sent. '
'Please try again later.')

URL re-structure for better format and privacy

update server getmap feature to serve new map images to clients

now that map images have been created for each zone we need to have the get map method return the correct file name of the image associated with a zone. The get map function already exists so I believe this should involve just be a simple updating of the database tables. Also we need to find and document the image url for the client users.

json responses for failed post requests

for many of our post requests we have simply handled error cases by returning a plain text debug message (ex. "request_not_found"). These messages should be changed to json format to make the response formats more uniform.

The proposed format is:
{ "status" : 1, "message": "request_not_found"}
the status integer value is a return code with 0 meaning success and higher numbers associated with standard errors. The message field is a short plain text message which is useful for debugging, but can be removed for the final production version.

Droid app: After authenticating the first time, back button causes app to crash

When a user first authenticates, they must enter their username and password in the browser to get an access token and save it to persistent storage. After they log in successfully, trying to navigate back to the main activity causes the app to crash. To test, reinstall a fresh version of the app on your device and log into twitter, then hit back.

Send requests only on wifi

Since this whole application requires the use of the sfu wifi points, we should make sure that we are only running on wifi

Add FriendRequest

FriendRequest: (user_id, friend_id)

and also:
POST sendrequest - BODY: {user_id: 123, user_id: 456}
GET getrequest/user_id RETURN: {frind_name: mike, friend_request_id: 111}
POST acceptrequest/friend_request_id BODY: {}

Remove pin oauth from BB app

Currently the bb client does a PIN style based oauth to gain access to twitter. Switch out of out of band method

expand logging to cover all methods

so far we have logging on a couple of the important methods, it would be useful to expand the logging to cover all of our server methods.

finish regression test cases

so far I have created regression test cases for two functions ("setuser" and "setfriend"). We need to create test for the other methods.

QR scanning for adding friends

for A to add B

A ask for B's QR code - Triggers pulling friend list for 5 mins
A scans B and A's device send POST sendRequest to server to create a friend request
B's device fetch list of requests. GET getRequest/user_id
B accepts: POST acceptRequest/friend_request_id
Server creates two new entries in Friends table
A and B are friends! and their friend list should be updated.

Test if its faster to draw on client or send whole map

Since we are on wifi we dont need to care about data usage , but we do need to care about battery.

It is relaly important to see if its more efficient to draw something 1000 times or send 1000 maps with distinct zones

Server sends invalid response for valid friend request

When I send a post request to the server with a valid friend id I get:

Traceback (most recent call last):

When I send a request with an invalid friend id I get a proper response:

{"Status": 2, "request_id": "unknown"}

Timestamps returned should not be full format

Instead of getting the exact time, day, hour , minute, month, date. We should juts get
2 days ago.. or 3 hours ago... or 5 minutes ago.. This more user friendly and should be handled on the server

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.