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
|
|
Not 1.8.7, too, since 1.8.7 strings respond to :bytesize
each_byte iterators and j.next seem to make 1.8.7 unhappy
|
|
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.
|
|
This reverts commit 4770ea6d7a6eaf00cc19bc4fb2afd59071e8cf66.
|
|
We'll be pulling in other JS files, too, so avoid pulling
in too much.
|
|
config.ru is more obvious and easier to use with non-Rails
applications. This is true especially if you want to share
the Upr::Monitor object/connection with the upcoming
Upr::Streaming JSON application.
|
|
Rails 2.3.4 screwed up cookie sessions under Ruby 1.9
ref: https://rails.lighthouseapp.com/projects/8994/tickets/3144
|
|
Less delay gives better interactive response
|
|
This lets us finish up connections by setting seen == length
when the client is finished uploading.
|
|
Making the demo look better? It's called "marketing" :)
|
|
Explain what the user will be seeing.
|
|
Also show size uploaded and better output with proper
line breaks
|
|
|