Displaying 20 results from an estimated 700 matches similar to: "Setting cookies in service overloader thingo"
2008 May 24
19
Camping 2.0 - What''s left?
I''ve just sent a pull-request to _why with my changes[1] and here is some
things that I think needs to be done before a (possible) release:
* The cookie session is named Camping::Session and is placed in
camping/session.rb. Maybe this should be called Camping::CookieSession or???
* The ActiveRecord session is named Camping::ARSession and is placed in
camping/ar/session.rb. Maybe it
2008 May 05
14
[poll] What was your primary language before you started coding in Ruby?
This is an informal poll.
If you are primarily a Ruby programmer,
- What was your primary language before you started coding in Ruby?
Else,
- What''s your current programming language of choice?
I''ll start:
Perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 May 15
3
Squatting
Hey Campers,
I liked Camping so much that I had to "port" it to Perl. My framework is
called Squatting (as in http://en.wikipedia.org/wiki/Squatting), and you can
get it from the following places:
http://search.cpan.org/dist/Squatting/
http://github.com/beppu/squatting/tree/master
It''s not a straight port of the Camping code, because Camping uses some
weird Ruby idioms that
2009 Aug 17
6
hi all! can''t open github!!
hi all!
can''t open github (http://github.com/why/camping/tree/master)
What''s going on?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/camping-list/attachments/20090817/bba31d63/attachment.html>
2008 Jun 03
8
@@state_secret
I was having some issue getting the class variables in
Camping::Session to work with some old apps, so I''ve changed
@@state_secret to a method.
module Blog
include Camping::Session
def state_secret; "kxxxx" end
end
Also, merged some of zimbatm''s patches. And trying to revive the
Junebug wiki <http://github.com/why/junebug> since it''s still
2008 Mar 10
2
Camping is a winner at SXSW-i
Last night, a little Camping application I wrote called
MetaNotes<http://www.metanotes.com/>won the Experimental
division in the SXSW Web
Awards<http://2008.sxsw.com/interactive/web_awards/finalists/>
.
MetaNotes is a site that lets you (and many other people) simultaneously
place colorful post-it notes on a wide canvas. If you get lucky, you may
see notes move in the background as
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
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
=>
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).
2008 Jun 06
7
Attention Judofyr: Broken cookies in 2.0
Hey Judofyr! Fix this! When someone sets a cookie using
@cookies.something = ''data'' it should be set with the path going to
the camping app''s root, not with no path, otherwise only that
controller with the same parameters will ever see the cookie again!
Please change this code:
> @cookies.each do |k, v|
> @response.set_cookie(k, v) if o[k] != v
> end
2010 Jun 08
1
camping-oauth is now available
I finally put together the final touches on the first version of the
camping-oauth gem.
It allows you to make a Camping web app into an OAuth provider. It
leverages ruby-oauth and the oauth-plugin.
An example of a use case is a web service built with Camping (using
json/xml with/without REST).
You can find it on GitHub: http://bit.ly/campingoauth
I also wrote a blog post on how to use it (and
2008 May 22
2
Camping-list Digest, Vol 23, Issue 8
Removed 25% of the framework? Gosh, I wish _why wasn''t so darn verbose...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/camping-list/attachments/20080522/7612c03e/attachment.html>
2008 May 08
1
query strings built by R method can''t handle multiple values from checkbox selections
query strings built by R method can''t handle multiple values from checkbox
selections
R(SomeRoute, :reply_status=>%w{1 2 4})
should return
query_string="
http://localhost:3301/someroute/?reply_status_id=1&reply_status_id=2&reply_status_id=4
"
qsp(query_string) -> {"reply_status_id"=>["1", "2", "4"]}
from
2006 Mar 03
3
Ajax.InPlaceEditor - disabling the yellow highlight?
Is there a way to disable Ajax.InPlaceEditor''s yellow rollover highlight?
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
2008 May 19
6
Sample Code, quick simple openid auth
You''ll need to install the ''openid'' gem for this, and require it in
your camping app:
class Login < R ''/login''
def get
this_url = ''http:'' + URL(''/login'').to_s
unless input.finish.to_s == ''1''
# start doing the auth here
begin
2012 May 02
17
ChillDB License
A few of you sounded interested in using it. I haven''t explicitly put a software license on it, so I guess it''s not technically FOSS yet. What licenses are good? BSD? Public Domain?
?
Jenna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/camping-list/attachments/20120502/96b87580/attachment.html>
2011 Dec 06
3
Riak on Camping
Good day, does anyone here have a clue on how to make use of the NoSQL
database "Riak" with Camping?
I am building my website and Riak seems like pretty much the ultimate
database!
This would probably ruin every little feature in ActiveRecord, I don''t
think I''d be able to do any has_many''s or belongs_to
but I''d LOVE to be proven wrong. As far as
2006 Mar 07
1
Minor fix for Ajax.InPlaceEditor
controls.js line 471:
Where it says:
new Effect.Highlight(element, {startcolor: this.options.highlightcolor});
can we change it to:
new Effect.Highlight(element, {startcolor:
this.options.highlightcolor, endcolor:
this.options.highlightendcolor});
.
Otherwise, it''ll use the default #FFFFFF to finish the highlight which
doesn''t look right when #FFFFFF doesn''t match
2008 May 23
8
An issue for consideration
We''ve just come across an issue for consideration. I am avoiding some
words which would allow people to find this message in an internet
search who have questionable intentions, but wish to communicate a
strong sense of caution. Consider someone who adds extra methods to
their controller which they use in their main get/post methods to do
things or to get secret data. Consider