Date | Commit message (Collapse) |
|
Update all documentation and comments to reflect that.
|
|
|
|
We can't have Rack::Deflater compressing long-pulling JS
|
|
UprStatus.incr now returns the value incremented to
be compatible with Upr::Monitor.incr
|
|
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...
|
|
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.
|
|
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...
|
|
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.
|
|
We'll be pulling in other JS files, too, so avoid pulling
in too much.
|
|
This lets us finish up connections by setting seen == length
when the client is finished uploading.
|
|
Explain what the user will be seeing.
|
|
Also show size uploaded and better output with proper
line breaks
|
|
|