Permalink
Browse files

Add GeoIP support to the chat service and tell clients where the othe…

…r person is from.
  • Loading branch information...
ckknight committed May 26, 2011
1 parent 2f8da54 commit 6844ec67bcd63ea598f7bae22af4e4a6a914e07b
Showing with 3,260 additions and 8 deletions.
  1. BIN GeoLiteCity.dat
  2. +49 −0 node_modules/geoip/.gitignore
  3. +8 −0 node_modules/geoip/.npmignore
  4. +501 −0 node_modules/geoip/LICENCE
  5. +28 −0 node_modules/geoip/benchmark/city.js
  6. +27 −0 node_modules/geoip/benchmark/city.old.js
  7. +56 −0 node_modules/geoip/benchmark/country.js
  8. +28 −0 node_modules/geoip/benchmark/netspeed.js
  9. +28 −0 node_modules/geoip/benchmark/org.js
  10. +28 −0 node_modules/geoip/benchmark/region.js
  11. +47 −0 node_modules/geoip/benchmark/test.js
  12. +16 −0 node_modules/geoip/index.js
  13. +41 −0 node_modules/geoip/package.json
  14. +264 −0 node_modules/geoip/src/city.cc
  15. +59 −0 node_modules/geoip/src/city.h
  16. +259 −0 node_modules/geoip/src/country.cc
  17. +61 −0 node_modules/geoip/src/country.h
  18. +12 −0 node_modules/geoip/src/global.cc
  19. +20 −0 node_modules/geoip/src/global.h
  20. +35 −0 node_modules/geoip/src/init.cc
  21. +187 −0 node_modules/geoip/src/netspeed.cc
  22. +55 −0 node_modules/geoip/src/netspeed.h
  23. +167 −0 node_modules/geoip/src/node_geoip.h
  24. +174 −0 node_modules/geoip/src/org.cc
  25. +55 −0 node_modules/geoip/src/org.h
  26. +176 −0 node_modules/geoip/src/region.cc
  27. +52 −0 node_modules/geoip/src/region.h
  28. +262 −0 node_modules/geoip/src/test.cc
  29. +58 −0 node_modules/geoip/src/test.h
  30. +113 −0 node_modules/geoip/src/utils.cc
  31. +25 −0 node_modules/geoip/src/utils.h
  32. +20 −0 node_modules/geoip/test/city.js
  33. +36 −0 node_modules/geoip/test/country.js
  34. +61 −0 node_modules/geoip/test/neco_test.sh
  35. +19 −0 node_modules/geoip/test/netspeed.js
  36. +21 −0 node_modules/geoip/test/org.js
  37. +21 −0 node_modules/geoip/test/region.js
  38. +76 −0 node_modules/geoip/test/test.sh
  39. +12 −0 node_modules/geoip/test/utils.js
  40. +33 −0 node_modules/geoip/wscript
  41. +68 −6 rooms/models.js
  42. +2 −2 static/chat.js
View
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 6844ec6

Please sign in to comment.