about summary refs log tree commit homepage
path: root/examples/rails_app-2.3.4/app
DateCommit message (Collapse)
2009-11-14ry dahl prefers his name lowercased
Update all documentation and comments to reflect that.
2009-11-13examples/rails_app-2.3.4: show links to different interfaces
2009-11-13JSON: set no-transform in headers
We can't have Rack::Deflater compressing long-pulling JS
2009-11-13example/rails_app-2.3.4: UprStatus unit tests
UprStatus.incr now returns the value incremented to be compatible with Upr::Monitor.incr
2009-11-12JSON compatible with Ry Dahl's Ajax.Pull + example
Ry posted about it here: http://rubyforge.org/pipermail/mongrel-users/2007-July/003747.html This is technically superior compared to all the existing interfaces since it only requires only one, long-running client-side HTTP request. I would imagine it's possible for a JavaScript programmer to be capable of even removing the need for an extra request entirely, I'm not that programmer...
2009-11-12Add jQuery-compatible Rails example
This uses the new Upr::JSON class to generate output. Apparently this is the same format used by Apache, nginx, and lighttpd. Hopefully this will help increase upr adoption.
2009-11-12examples/rails: UprStatus reuses expiry in Upr::Monitor
Thou Shalt Not Repeat Thyself. Thou Shalt Not Repeat Thyself. Thou Shalt Not Repeat Thyself. Thou Shalt Not Repeat Thyself. Thou Shalt Not Repeat Thyself. Thou Shalt Not Repeat Thyself. wait...
2009-11-12backends: internal API updates/cleanups
Return values for class methods for Upr::Monitor and UprStatus should synched. Class methods: * error!(upid) method added: sets seen = -1, updates time and returns Status(-like) object * read(upid) no longer updates time * incr(upid, nr) does up increment errored statuses * incr(upid, nr) returns nil on invalid upids * finish(upid) returns nil on invalid upids Additionally the AR example has been updated to include Upr::StatusMethods for instance methods.
2009-11-11examples/rails_app-2.3.4: smaller JavaScript footprint
We'll be pulling in other JS files, too, so avoid pulling in too much.
2009-11-11monitor: add "finish" method
This lets us finish up connections by setting seen == length when the client is finished uploading.
2009-11-10demo: links to and from the demo site, cleanup output
Explain what the user will be seeing.
2009-11-10examples/rails: cleanup files when we're done
Also show size uploaded and better output with proper line breaks
2009-11-10initial commit