similar to: customizing global request handler

Displaying 20 results from an estimated 3000 matches similar to: "customizing global request handler"

2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation has been filled in for both. To upgrade: gem install camping --source code.whytheluckystiff.net And, here is a complete changelog: == Camping 1.5 * Camping::Apps stores an array of classes for all loaded apps. * bin/camping can be given a directory. Like: <tt>camping examples/</tt> * Console mode -- thank
2007 Oct 05
8
Cookie session handling?
Hi, I and a few folks on #camping thought it would be nice to have either cookie based or file based session handling. This would eliminate the need for creating a sessions table in the database (or a sequence), which feels too heavy for a lightweight framework like Camping anyway. Plus, we can more easily avoid nasty adapter errors. :) The general consensus was to create a separate
2007 Sep 23
12
Next camping release
Dear camping users, having been contacted by Julian Tarkhanov, I am willing to prepare the next camping release. _why has given me his friendly approval, with the reserve that camping.rb should be lower than 4k. He also told me that he wanted to remove the ActiveSupport and Markaby dependencies. I am writing here to get the users input so that I don''t do any mistake. So far, my plans
2008 Jan 10
14
Keeping Camping going
Hello all, I''m not sure who Camping''s steward is at this point(zimbatm? _why?), but I haven''t seen much activity in quite some time. I really like Camping, and I understand open source projects can fall by the wayside. So, I''d be willing to take over maintenance and releasing. I have experience maintaining my own open source projects, and a history of
2006 Jul 26
10
get/post bug
I''m not sure if its a bug in the blog example or in the framework but each time I hit edit, both get and post get called, no matter of the actual http method. anyone encounter that bug? -- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has set it up so that
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers! Is it just me or does Camping init the session twice on a redirect? If I have an app and when the user visits it for the first time, a session is generated. Afterwards I redirect the user in a service (that basically does auth) and he gets bounced to the login page - but when I arrive at the login page my SID somehow has changed :-( so there is a stale session dangling
2006 Jul 25
3
[UHH] any blogs sprung from camping?
Hal Fulton has been e-mailing me about putting together a simple blogging package for Camping. Perhaps start with the blog in the examples and add a few things. Does anyone here want to collaborate with him? Or do any of you have your own works to offer? He''s mentioned he wants something with its own template syntax, but I think he could hack that in. _why
2007 Oct 05
11
Session handling busted on Oracle
Hi, Ruby 1.8.6 (one-click) Camping 1.5 I''d submit this as a bug, but the tracker says I''m forbidden, so here you go. The first problem is that the sql to create the sessions table is broken. This is what it tried to send: CREATE TABLE sessions ( id NUMBER(38) NOT NULL PRIMARY KEY (38), --> Problem here hashid VARCHAR2(32), created_at DATE, ivars CLOB DEFAULT
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb 23 sudo mv camping-unabridged.rb camping.rb when running into problems, the abridged version of camping is rather difficult to debug. so I''m moving to unabridged, but I''m getting this error. [Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2007 May 04
22
CampingConf?
Campers -- In a few weeks there will be a bunch of people in Portland, OR, for a conference. A long time ago some campers mentioned that might be a good time for us to get together and hold a mini CampingConf for a few hours. Is anyone interested? Does anyone want to organize it? I''m thinking Wednesday night, May 16. We could possibly get a spot at FreeGeek (not likely since they are
2007 Sep 25
16
putting away HashWithIndifferentAccess
Hey, campineros. And many good handshakes to zimbatm for getting some patches applied. So, yeah, I''d really like to get rid of any serious dependancies with this 1.6 release. Anything that''s not in stdlib has to go. Of course, camping-omnibus will still assume the whole ActiveRecord, Markaby, Mongrel setup that''s in the history books. Metaid can be removed and
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping 1.4.143 anyone using Apache/FastCGI in here? does not seems to be possible to use with Camping. anyone got better luck? this is my postamble if __FILE__ == $0 Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database => ''examples.db'' Blog::Models::Base.logger =
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody, I would like to use ruby2ruby in a caming project, but there seems to be an incompatibility with camping, ruby2ruby and markaby. Unfortunately I receive strange Markaby::InvalidXhtmlErrors. To demonstrate, that only combination of all three components causes the problem I added the following code. I relies on Markaby and ruby2ruby only and works fine (a.k.a. as expected).
2006 Jul 27
2
more on file upload
well, so File upload seems to be only working under mongrel. I have not tried it, but Camping crash extracting the request parameters on both CGI and FastCGI. I''m looking at rails code for inspiration, but it''s a bit outside of my knowledge..... not sure what to do with a FCGI::Stream object ..... this is what rails do for CGI, I''m not sure if it works the same for
2007 Nov 18
14
css image url''s and :img problem
Hi, i have this controller class to serve static files. It works well for the stylesheet file under a /static directory, locating it, but the images referenced in the stylesheet do not appear. They are in the same /static folder, next to the stylesheet.css file. link :rel => ''stylesheet'', :href => R(Static, ''stylesheet.css''), :type =>
2008 May 21
32
Rack, Camping 2.0++
=== 1. Camping on Rack === I''ve just finished rewriting Camping to use Rack in the "core". I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb & mongrel.rb). bin/camping does now only provide WEBrick, Mongrel and console-support and should only be used in development. It uses Rack::ShowExceptions to catch
2006 Jul 26
9
file upload
I''m looking for file upload documentation on the wiki, cant find anything. I only found the changeset that supports file upload. should the file be part of ''input'' ? please help. thanks -- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has
2008 Mar 12
6
Are we ready for a release ?
Hi campers, what do you think of releasing the current trunk as camping-1.6 ? Nothing much has moved since a while and apart from FastCGI, I believe most bugs where ironed out. After the gem release, I propose putting some effort on documentation and how to use Rack''s FastCGI. When that''s done, we''ll have a Rubyforge announcement and such. /me is waiting for community
2006 Jul 15
6
camping - inspiring new way to write applications
hi all, curious about your input on this latest design experience i''ve had with camping. none of that developing a traditional html ui, a ruby backend, and ajax-ifying the application after being built. - i started straight off with a camping-based json api (for the model). - next step was writing the controller in pure js - no dom interactions here. - then finishing off with a view
2006 Nov 14
3
[UHH] any blogs sprung from camping?
Hello, I just joined the camping list. I was trolling the archives when I saw this: -- The biggest problem in Camping is authentication. This is a problem I propose to solve by providing an extension. That little bit of code uses the path to allow/disallow urls. That way it is unobstrusive. In the future I would also like to make an OpenID client and server for Camping. -- I was wondering if