Commit Graph

16715 Commits

Author SHA1 Message Date
Jessica McKellar 4a6402f23c Use the correct MIME type for the JSON we are sending and receiving.
http://www.ietf.org/rfc/rfc4627.txt
http://www.iana.org/assignments/media-types/application/index.html

(imported from commit d37e46a9db5077e2c7b1f39534875216df237e3c)
2012-08-28 16:46:02 -04:00
Jessica McKellar f6819d09d5 Add basic personals functionality.
(imported from commit a4fecbe40672f34295b1e908526b6c45056bcb7f)
2012-08-28 16:35:04 -04:00
Jessica McKellar 2b9a3205be Switch zephyrs to the notion of a "Recipient", which is either a class or user.
(imported from commit edc46267dab9cc972358b6020ca28b009e15d8c5)
2012-08-28 16:34:23 -04:00
Tim Abbott 75ae3a3ac5 Add basic setup-server script.
(imported from commit d3f0ef6101ec43807b852b9496384af976cf5325)
2012-08-28 12:45:39 -04:00
Jessica McKellar 67212f2e7a Add manage.py (oops).
(imported from commit ee314b56312527adcd13e08cd515c3e643cfee2e)
2012-08-28 12:45:35 -04:00
Jessica McKellar 39f5bb609a Don't hardcode a full path to TEMPLATE_DIRS, so it can be deployed anywhere.
(imported from commit 35deb40218d1626d38e00924a787234ec13732e3)
2012-08-28 12:45:32 -04:00
Jessica McKellar 80a47ca2bc POST the pointer location on narrows (since the pointer moves).
Ideally this would be expressed as an event handler bound to the
in every place that the pointer changes, but I haven't found a way to
do that yet (this is easy for *inputs* but not arbitrary DOM
elements).

(imported from commit c190e23f5ed5fd3e3a4823b763682d611ec5b446)
2012-08-28 12:45:28 -04:00
Jessica McKellar 2bf27af375 Have the pointer track the highlighted zephyr on instance narrow.
(imported from commit b19e7950bb5e77067b9a24bcf9ee762fdc23b5ad)
2012-08-28 12:45:24 -04:00
Jessica McKellar 2c7a35596b Have the pointer track the highlighted zephyr on narrow/unnarrow.
(imported from commit 0fff361f08cf7849a751bcd533757a18fe752398)
2012-08-28 12:45:20 -04:00
Jessica McKellar c6fd3df60a Detect keydown instead of keypress, so holding the arrow down scrolls.
(imported from commit 8c3a9a2c22ced942d4a86845a9e0bf2f67dea795)
2012-08-28 12:45:16 -04:00
Jessica McKellar 342b2a13ac Add a management command to populate the database.
It will drop the relevant account and zephyr tables and populate them
with canned data. Run the command with:

python manage.py populate_db

(imported from commit 69ddea0a405c3a34c83cbae2f65373e12142c9fb)
2012-08-28 12:45:10 -04:00
Jessica McKellar e509cc8a85 Autofill class and instance and move focus to textbox on 'r'.
(imported from commit f06b82539dbd0ef9ae46bf3c368a877947e3df19)
2012-08-28 12:45:06 -04:00
Jessica McKellar abbb9ee95d Add narrowing by instance.
(imported from commit e927192ded358dc3771c7add2b7c4c62e8be4452)
2012-08-28 12:45:01 -04:00
Jessica McKellar d90e8f6ec5 Initial Django commit: basic account, zephyr stream, narrowing, etc.
(imported from commit 3cd40521171a4020c19021eda0d20ee9f802af41)
2012-08-28 12:44:51 -04:00
Tim Abbott ea43d2e40e Initial commit of sqlalchemy models.
(imported from commit 8f4763da55bd3f2bbea090d196c6d7850e2b2c71)
2012-08-28 12:41:50 -04:00