From william.full.moon at gmail.com Fri Dec 1 07:12:54 2006 From: william.full.moon at gmail.com (* William) Date: Fri, 1 Dec 2006 23:12:54 +1100 Subject: [Nitro] Stroustrup speaks -- words to consider In-Reply-To: <55c107bf0611300456w5f802979r4e1eeeff48df1ae7@mail.gmail.com> Message-ID: <021f01c71542$1e412880$0201a8c0@ghostgum> Aloha, Alas it is so. Naturally "most" companies implement several of these activities with a memo and never actually do something. Or as so often happens water down engineering with "cherry picking" side-stepping the difficult bits. Pointy haired folk (by definition) don't do extreme things like "Get your best people into Six Sigma. Then you can give them [stock] options." (Jack Welch) The connection with Stroustrup is that he's saying the same thing I'm saying now. 'Management' makes good processes and good tools like C++ or Ruby or Six Sigma, or TQM, yes even Democracy work. I once read a paper form the Netherlands by a fellow called Jootsen, don't recall when it was written (apologies to Jootsen). When I too some percentages from the numbers it turned out that about 60% of improvement projects did not complete or not succeed. I'm not surprised that ".. companies that used six sigma have trailed the S&P". Some of you may have been to training courses. Only to return to work and have people "resist" doing thing differently, implementing the very training your employer just paid too much money for. May be not. In the case of something like TQM, Six Sigma, or BPR, etc you need to look at the places that really committed to the changes. Say like Japan, 3M, GE, Harley Davison. If I want to win a race, do I consider all the runners and what they do? Or is it better to look at the top three first and beat their results?! Wikipedia ... HYPERLINK "http://en.wikipedia.org/wiki/Six_sigma"http://en.wikipedia.org/wiki/Six_sig ma Recent reports HYPERLINK "BLOCKED::http://ct.bnet.com/clicks?t=20548487-0a60b3c4a458fa58d234fc1bee5c5 150-bf&s=5&fs=0"Six Sigma Still Pays Off At Motorola It may surprise those who have come to know Motorola for its cool cell phones, but the company's more lasting contribution to the world is something decidedly more wonkish: the quality-improvement process called Six Sigma. Source: HYPERLINK "BLOCKED::http://ct.bnet.com/clicks?t=20548488-0a60b3c4a458fa58d234fc1bee5c5 150-bf&s=5&fs=0"BusinessWeek Online I've seen some very cool stuff written in C++, and about 9 x more rubbish code. I think the Dilbert quote can apply as well to C++ or anti-biotics if you look at the press on super-bugs these days. Cheers all, Will. _____ From: Dimitri Aivaliotis [mailto:aglarond at gmail.com] Sent: Thursday, 30 November 2006 23:57 To: william.full.moon at gmail.com; General discussion about Nitro Subject: Re: [Nitro] FW: Stroustrup speaks -- words to consider Importance: Low On 11/30/06, * William wrote: I was reading one of those things about six sigma ... in lay terms six sigma looks for 99.99% correctness. HYPERLINK "http://www.dilbert.com/comics/dilbert/archive/dilbert-20061126.html"six sigma[1], you say? Sorry, couldn't resist. :) - Dimitri [1] HYPERLINK "http://www.dilbert.com/comics/dilbert/archive/dilbert-20061126.html"http:// www.dilbert.com/comics/dilbert/archive/dilbert-20061126.html -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 28-Nov-2006 15:22 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20061201/6682b0ef/attachment.html From noe.rubinstein at gmail.com Sat Dec 2 05:35:56 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sat, 2 Dec 2006 11:35:56 +0100 Subject: [Nitro] where is the documentation? In-Reply-To: <20061130153604.GB15604@oxyliquit.de> References: <017c01c71470$dd915390$0201a8c0@ghostgum> <20061130114928.GA14218@oxyliquit.de> <20061130153604.GB15604@oxyliquit.de> Message-ID: mmmh, is it possible to get the screencast in a non-swf format ? If not, is there a screencast "scenario" available, for modifying it for 0.41 and trying to remake a screencast ? I would maybe take the time to do that. No? Rubinstein. 2006/11/30, Jonathan Buch : > Hi, > > > As a matter of fact, I can't find the videos! > > Thanks to Reid Thompson I now have the three videos. > > For the record, the three screencasts from George will probably only > work with Nitro 0.31 so I tagged the tip accordingly. > > URL again: http://oxyliquit.de/tip/35 > > If you know of more screencasts or just did one yourself yesterday, > please tell me! :P > > Jo > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > From john at oxyliquit.de Sat Dec 2 07:27:36 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Sat, 02 Dec 2006 13:27:36 +0100 Subject: [Nitro] where is the documentation? In-Reply-To: References: <017c01c71470$dd915390$0201a8c0@ghostgum> <20061130114928.GA14218@oxyliquit.de> <20061130153604.GB15604@oxyliquit.de> Message-ID: Hi, > mmmh, is it possible to get the screencast in a non-swf format ? If > not, is there a screencast "scenario" available, for modifying it for > 0.41 and trying to remake a screencast ? > I would maybe take the time to do that. Maybe one could try to 'extract' the video from the flash file? Don't know if that works. :P I find the first video from George highly informative for newbies. And it is even almost 0.40 ready. I just watched it and found only 1 thing which is different in 0.40. That is: `form_for()`, for which the information about the 'translation' is here: http://oxyliquit.de/question/84 . Of course there might be more areas (maybe the admin stuff, which I never used) which could differ. So if you find the time to recreate that video using Nitro 0.40 this would be highly appriciated. Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From james.britt at gmail.com Sat Dec 2 10:47:14 2006 From: james.britt at gmail.com (James Britt) Date: Sat, 02 Dec 2006 07:47:14 -0800 Subject: [Nitro] where is the documentation? In-Reply-To: References: <017c01c71470$dd915390$0201a8c0@ghostgum> <20061130114928.GA14218@oxyliquit.de> <20061130153604.GB15604@oxyliquit.de> Message-ID: <4571A002.20803@gmail.com> Jonathan Buch wrote: > Hi, > >> mmmh, is it possible to get the screencast in a non-swf format ? If >> not, is there a screencast "scenario" available, for modifying it for >> 0.41 and trying to remake a screencast ? >> I would maybe take the time to do that. > > Maybe one could try to 'extract' the video from the flash file? Don't > know if that works. :P VLC (VideoLAN) plays Flash videos. It will also stream whatever it can play, and it can stream to a file, in one of several formats. So it works as a trans coder. -- James Britt "People want simple stories." From noe.rubinstein at gmail.com Sat Dec 2 12:57:30 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sat, 2 Dec 2006 18:57:30 +0100 Subject: [Nitro] [Patch] easy use without run.rb Message-ID: coi rodo I thought it would be better than, if no run.rb (nor any application_file) is found, Nitro just set the templates dir to "." and ran Nitro.start, possibly generating a run.rb. This makes ultra-easy the use of Nitro like a PHP-and-co. And "hello world" is even simpler (echo hello world > index.html ; nitro ) Here is a quick patch. Maybe not the better way to implement it. -------------- next part -------------- A non-text attachment was scrubbed... Name: patch.diff Type: text/x-diff Size: 764 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061202/9a633e57/attachment.bin From noe.rubinstein at gmail.com Sat Dec 2 13:34:46 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sat, 2 Dec 2006 19:34:46 +0100 Subject: [Nitro] [Patch] easy use without run.rb In-Reply-To: References: Message-ID: Sorry. Maybe a darcs-generated patch is better ? Here it is. No? Rubinstein 2006/12/2, No? Rubinstein : > coi rodo > > I thought it would be better than, if no run.rb (nor any > application_file) is found, Nitro just set the templates dir to "." > and ran Nitro.start, possibly generating a run.rb. > This makes ultra-easy the use of Nitro like a PHP-and-co. And "hello > world" is even simpler (echo hello world > index.html ; nitro ) > > Here is a quick patch. Maybe not the better way to implement it. > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-generated-by-darcs.diff Type: text/x-diff Size: 858 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061202/badafd48/attachment.bin From george.moschovitis at gmail.com Sun Dec 3 04:38:21 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sun, 3 Dec 2006 11:38:21 +0200 Subject: [Nitro] [Patch] easy use without run.rb In-Reply-To: References: Message-ID: thanks, -g. On 12/2/06, No? Rubinstein wrote: > Sorry. > Maybe a darcs-generated patch is better ? > Here it is. > > No? Rubinstein > > 2006/12/2, No? Rubinstein : > > coi rodo > > > > I thought it would be better than, if no run.rb (nor any > > application_file) is found, Nitro just set the templates dir to "." > > and ran Nitro.start, possibly generating a run.rb. > > This makes ultra-easy the use of Nitro like a PHP-and-co. And "hello > > world" is even simpler (echo hello world > index.html ; nitro ) > > > > Here is a quick patch. Maybe not the better way to implement it. > > > > > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Sun Dec 3 04:39:25 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sun, 3 Dec 2006 11:39:25 +0200 Subject: [Nitro] [Patch] easy use without run.rb In-Reply-To: References: Message-ID: better do this: darcs send -o bundle tar cvfj bundle.tgz bundle and email the bundle.tgz file to the list (add [PATCH] to the subject of the email) thanks, George. On 12/2/06, No? Rubinstein wrote: > Sorry. > Maybe a darcs-generated patch is better ? > Here it is. > > No? Rubinstein > > 2006/12/2, No? Rubinstein : > > coi rodo > > > > I thought it would be better than, if no run.rb (nor any > > application_file) is found, Nitro just set the templates dir to "." > > and ran Nitro.start, possibly generating a run.rb. > > This makes ultra-easy the use of Nitro like a PHP-and-co. And "hello > > world" is even simpler (echo hello world > index.html ; nitro ) > > > > Here is a quick patch. Maybe not the better way to implement it. > > > > > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://blog.gmosx.com http://nitroproject.org From noe.rubinstein at gmail.com Sun Dec 3 06:12:38 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sun, 3 Dec 2006 12:12:38 +0100 Subject: [Nitro] [PATCH] easy use without run.rb Message-ID: This time the file if good :^p Truly sorry for these problems, next time I'll read a little more doc before sending insanities ;) Thanks for the explanation. (this is a patch wich makes nitro generate, when no run.rb nor any application_file is found, a run.rb setting the templates root to '.' so Nitro can be ultra-easily used like PHP-and-co. This makes the first web page with nitro very easy : "echo hello world > index.xhtml ; nitro". However, this is maybe not the better way to implement it.) No? Rubinstein -------------- next part -------------- A non-text attachment was scrubbed... Name: easy_wo_run_rb.patch.tar.gz Type: application/x-gzip Size: 1850 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061203/67818fbb/attachment.gz From john at oxyliquit.de Mon Dec 4 07:32:47 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Mon, 04 Dec 2006 13:32:47 +0100 Subject: [Nitro] [PATCH] Important DoS vulnerability fix in cgi.rb Message-ID: Hi, attached patch fixes this. Also, minor testcase fix for tc_cgi.rb so it doesn't fail anymore. If you're paranoid, please apply this patch at once to feel cozy. :P Additional notes from me: The vulnerability is again in the multipart parsing. This wasn't mentioned in the article below. The multipart parsing didn't escape the boundaries of the parts and so any regex could be used there. An additional check for validating the end part of the multipart also has been added. Jo If you haven't heard already: ------------------------------------------------------------------------ Another vulnerability has been discovered in the CGI library (cgi.rb) that ships with Ruby which could be used by a malicious user to create a denial of service attack (DoS). This vulnerability is open to the public as JVN#84798830. Please note that the previous patch () does not fix this problem. Impact ------ A specific HTTP request for any web application using cgi.rb causes CPU consumption on the machine on which the web application is running. Many such requests result in a denial of service. Vulnerable versions ------------------- * 1.8 series 1.8.5 and all prior versions * Development version (1.9 series) All versions before 2006-12-04 Solution -------- * 1.8 series Please upgrade to 1.8.5-p2. (4519151 bytes, md5sum: a3517a224716f79b14196adda3e88057) Please note that a package that corrects this weakness may already be available through your package management software. * Development version (1.9 series) Please update your Ruby to a version after 2006-12-04. Article --------- http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/ -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: dosfix2_cgi.patch.tar.bz2 Type: application/bzip2 Size: 14123 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061204/df2ecfeb/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_tc_cgi.patch.tar.bz2 Type: application/bzip2 Size: 13770 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061204/df2ecfeb/attachment-0003.bin From george.moschovitis at gmail.com Mon Dec 4 15:23:43 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 4 Dec 2006 22:23:43 +0200 Subject: [Nitro] [PATCH] Important DoS vulnerability fix in cgi.rb In-Reply-To: References: Message-ID: Argh, this is nasty! thanks, -g. On 12/4/06, Jonathan Buch wrote: > Hi, > > attached patch fixes this. > > Also, minor testcase fix for tc_cgi.rb so it doesn't fail anymore. > > If you're paranoid, please apply this patch at once to feel cozy. :P > > Additional notes from me: > > The vulnerability is again in the multipart parsing. This wasn't > mentioned in the article below. > The multipart parsing didn't escape the boundaries of the parts and so > any regex could be used there. An additional check for validating the > end part of the multipart also has been added. > > Jo > > If you haven't heard already: > > ------------------------------------------------------------------------ > > Another vulnerability has been discovered in the CGI library (cgi.rb) > that ships with Ruby which could be used by a malicious user to create a > denial of service attack (DoS). > > This vulnerability is open to the public as JVN#84798830. > > Please note that the previous patch > () > does not fix this problem. > > Impact > ------ > A specific HTTP request for any web application using cgi.rb causes CPU > consumption on the machine on which the web application is running. Many > such requests result in a denial of service. > > Vulnerable versions > ------------------- > * 1.8 series > 1.8.5 and all prior versions > * Development version (1.9 series) > All versions before 2006-12-04 > > Solution > -------- > * 1.8 series > Please upgrade to 1.8.5-p2. > > (4519151 bytes, md5sum: a3517a224716f79b14196adda3e88057) > Please note that a package that corrects this weakness may already be > available through your package management software. > * Development version (1.9 series) > Please update your Ruby to a version after 2006-12-04. > > Article > --------- > http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/ > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Wed Dec 6 04:29:14 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 6 Dec 2006 11:29:14 +0200 Subject: [Nitro] nitro error pages Message-ID: Dear devs, I would like to improve how nitro handles error pages expecially in live mode. Anyone has any related ideas suggestions that would like to share before I start? -g. -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Wed Dec 6 06:49:14 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 12:49:14 +0100 Subject: [Nitro] nitro error pages In-Reply-To: References: Message-ID: Hi, > I would like to improve how nitro handles error pages especially in > live mode. Anyone has any related ideas suggestions that would like to > share before I start? Yes, two slightly unrelated suggestions: * please write something about caching * please release 0.41 bugfix release before putting your mind to new cool stuff. :) I think there was a thread on error handling before.. Ah yeah, how it's done in IOWA, very neat and flexible approach: http://rubyforge.org/pipermail/nitro-general/2006-October/006157.html This probably would be like a lookup table, if one of the rules matches the thrown exception. If it matches, it uses the given (maybe custom) handler. That handler would probably have to be given the occured exception. The handler might be a class responding to .render_error. I'm not sure if the error handling has to be so fine-grained that controllers can own a custom..... But that certanly could be done quite easily... render.rb, Nitro::Render#render rescue Object => ex if handler = lookup_error_handler(@controller, ex) handler.render_error(ex) else log_error(e1, path, false) print '(error)' end end def lookup_error_handler(controller, ex) if controller has custom error_handler controller.get_error_handler(ex) # custom else Nitro::Render.get_error_handler(ex) # global `setting` end end class CustomErrorHandler def handles_error?(ex); ex.is_a?(ActionError); end def handle_error(ex) raise ArgumentError unless handles_error?(ex) redirect_to '/argument_error_page.html' end end class Nitro::Render setting :error_handlers, :default => [RenderExit => SwallowErrorHandler] end class MyController def self.error_handlers [ArgumentError => CustomErrorHandler] end end or something similar along those lines. I like the idea and it's pretty flexible and easy to implement. What'cha think? Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Wed Dec 6 07:07:51 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 6 Dec 2006 14:07:51 +0200 Subject: [Nitro] nitro error pages In-Reply-To: References: Message-ID: > * please write something about caching please remind me the oxyliquit link for the question. > * please release 0.41 bugfix release ok will do :) -g. -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Wed Dec 6 07:25:09 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 13:25:09 +0100 Subject: [Nitro] nitro error pages In-Reply-To: References: Message-ID: Hi, >> * please write something about caching > > please remind me the oxyliquit link for the question. Aye, here you go. http://oxyliquit.de/question/17 >> * please release 0.41 bugfix release > > ok will do :) Thx! ^_^ Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From john at oxyliquit.de Wed Dec 6 07:30:55 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 13:30:55 +0100 Subject: [Nitro] nitro error pages In-Reply-To: References: Message-ID: Hi, OT, but..... have you realized how FAST the ML is again? It's like .... sw3333333t. ^___^ Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From john at oxyliquit.de Wed Dec 6 09:10:10 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 15:10:10 +0100 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org Message-ID: George, [15:03] membership creation for the wiki is erroring out My bro said this was mentioned already, no luck finding the bug? Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Wed Dec 6 09:20:17 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 6 Dec 2006 16:20:17 +0200 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org In-Reply-To: References: Message-ID: let me work a bit on getting the 0.41 release out, then I will try to give the np.org site some lovin. -g. On 12/6/06, Jonathan Buch wrote: > George, > > [15:03] membership creation for the wiki is erroring out > > My bro said this was mentioned already, no luck finding the bug? > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From lpruszynski at gmail.com Wed Dec 6 10:57:34 2006 From: lpruszynski at gmail.com (Les Pruszynski) Date: Wed, 6 Dec 2006 15:57:34 +0000 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org Message-ID: <404FF377-69ED-4B4E-8579-36AFB130A067@gmail.com> I was able to subscribe after 3rd attempt. Great to hear that 0.41 is on the way. By the way, can I download nitro from the repository? I am unable to locate it. Also will we see more documentation with the next release? Many thanks for your hard work, Les From john at oxyliquit.de Wed Dec 6 11:26:16 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 17:26:16 +0100 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org In-Reply-To: <404FF377-69ED-4B4E-8579-36AFB130A067@gmail.com> References: <404FF377-69ED-4B4E-8579-36AFB130A067@gmail.com> Message-ID: Hi, > I was able to subscribe after 3rd attempt. glad you could join! :P > By the way, can I download nitro from the repository? I am unable to > locate it. The nitro repository is located on http://repo.nitroproject.org On how to use darcs for nitro development: http://oxyliquit.de/tip/18 > Also will we see more documentation with the next release? The next release is a pure bugfix/security release. The amount of documentation is quite unrelated to the release of any nitro version anyhow. :P Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lasso at lassoweb.se Wed Dec 6 12:23:22 2006 From: lasso at lassoweb.se (Lars Olsson) Date: Wed, 06 Dec 2006 18:23:22 +0100 Subject: [Nitro] Redirecting to error action/method Message-ID: <4576FC8A.6050100@lassoweb.se> Hi list! In Nitro 0.31 and earlier all errors raised was automatically redirected to the error action/method . In 0.40, this doesn't work. My error method never get called, some kind of default error page appears instead. Any hints on how to fix this? Sincerely /lasso -- ________________________________________ Lars Olsson lasso at lassoweb.se http://www.lassoweb.se/ From fabian at fabian-buch.de Wed Dec 6 12:46:17 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Wed, 6 Dec 2006 18:46:17 +0100 Subject: [Nitro] [ANN] LoxParts - sharing Nitro parts Message-ID: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> hi all I just released a beta of LoxParts.de (http://loxparts.de/). In other systems you'd maybe call them Plug-ins, but in Nitro they are called "parts". These parts can be dropped into your Nitro Web- Application and extend your Application with fully functional app parts. You could for example add a Blog to your current Application by adding a Blog Part. Lox Parts provides such Parts that aren't in Nitro's standard distribution. And registered user can add their own parts. Just written a CMS in Nitro? Why not share it as part -> http://loxparts.de The Nitro community didn't decide for a name of small, non-part extensions (plug-ins). Once they were called "components" in a discussion. These can be shared via LoxParts too, of course. How to make such Parts, that can be shared on LoxParts, can be read in a tip I created recently on Oxyliquit: http://oxyliquit.de/tip/36 LoxParts is still in "beta", so keep that in mind when using it and please tell me what you think, featurerequest and bugreports. Have fun, Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From john at oxyliquit.de Wed Dec 6 13:00:23 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 19:00:23 +0100 Subject: [Nitro] Redirecting to error action/method In-Reply-To: <4576FC8A.6050100@lassoweb.se> References: <4576FC8A.6050100@lassoweb.se> Message-ID: Hi, > In Nitro 0.31 and earlier all errors raised was automatically redirected > to the error action/method . In 0.40, this doesn't work. My error method > never get called, some kind of default error page appears instead. Any > hints on how to fix this? This still happens with Oxy which also has a custom error page. I don't have an error action, only a `error.xhtml` in my template root dir though. Maybe that does the trick? Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lasso at lassoweb.se Wed Dec 6 13:44:27 2006 From: lasso at lassoweb.se (Lars Olsson) Date: Wed, 06 Dec 2006 19:44:27 +0100 Subject: [Nitro] Redirecting to error action/method In-Reply-To: References: <4576FC8A.6050100@lassoweb.se> Message-ID: <45770F8B.5080206@lassoweb.se> Thanks Jonathan! It was actually a coding error on my part that caused the strange effect I saw. WHY WHY WHY is Nitro::NoActionError renamed to Nitro::ActionError WITHOUT A BIG SIGN declaring the change in the release notes??? Now I hade to go through the darcs changelog to find out...Important API changes need to be documented better!!! /lasso Jonathan Buch skrev: > Hi, > >> In Nitro 0.31 and earlier all errors raised was automatically redirected >> to the error action/method . In 0.40, this doesn't work. My error method >> never get called, some kind of default error page appears instead. Any >> hints on how to fix this? > > This still happens with Oxy which also has a custom error page. > > I don't have an error action, only a `error.xhtml` in my template root dir > though. Maybe that does the trick? > > Jo From fabian at fabian-buch.de Wed Dec 6 13:54:21 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Wed, 6 Dec 2006 19:54:21 +0100 Subject: [Nitro] [ANN] LoxAuth released to public Message-ID: <2E620CBE-81BB-47FD-B659-AC8709EA3A44@fabian-buch.de> LoxAuth 0.6.1 is the first Part released on LoxParts (http:// loxparts.de/part/LoxAuth). It's the Auth system behind Oxyliquit and also LoxParts itself. How LoxAuth works can be read in its README or on Oxyliquit Tip 37 (http://oxyliquit.de/tip/37). Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From localuser at gmail.com Wed Dec 6 14:07:39 2006 From: localuser at gmail.com (Ed Chang) Date: Wed, 6 Dec 2006 13:07:39 -0600 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org In-Reply-To: References: Message-ID: <106a0270612061107s5c8aaebseba44a77dcc00c90@mail.gmail.com> I had problems registering at nitroproject.org because my email address had a non alpha-numeric character that was not url encoded. For example, I registered as a new Nitro Project user with an email like: somedumbguy+nitroproject at gmail.com I then received a verification email with the following hyperlink to complete the registration process: http://www.nitroproject.org/users/create?t=NIIJ8KUhkSeyw;e=somedumbguy+nitroproject at gmail.com If I look at the URL in the web browser it shows that I'm currently viewing a web page at: http://www.nitroproject.org/users/create?t=NIIJ8KUhkSeyw;e=somedumbguy+nitroproject at gmail.com However, the form input fields show the following: I'm guessing that the verification token and email do not match and the frustrated user is directed to a stark error page. Hope that help, Ed On 12/6/06, George Moschovitis wrote: > let me work a bit on getting the 0.41 release out, then I will try to > give the np.org site some lovin. > > -g. > > On 12/6/06, Jonathan Buch wrote: > > George, > > > > [15:03] membership creation for the wiki is erroring out > > > > My bro said this was mentioned already, no luck finding the bug? > > > > Jo > > > > -- > > Feel the love > > http://pinkjuice.com/pics/ruby.png > > _______________________________________________ > > Nitro-general mailing list > > Nitro-general at rubyforge.org > > http://rubyforge.org/mailman/listinfo/nitro-general > > > > > -- > http://cull.gr > http://www.joy.gr > http://blog.gmosx.com > http://nitroproject.org > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > From john at oxyliquit.de Wed Dec 6 14:08:30 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 20:08:30 +0100 Subject: [Nitro] Redirecting to error action/method In-Reply-To: <45770F8B.5080206@lassoweb.se> References: <4576FC8A.6050100@lassoweb.se> <45770F8B.5080206@lassoweb.se> Message-ID: Hi, > Thanks Jonathan! It was actually a coding error on my part that caused > the strange effect I saw. > > > WHY WHY WHY is Nitro::NoActionError renamed to Nitro::ActionError > WITHOUT A BIG SIGN declaring the change in the release notes??? Now I > hade to go through the darcs changelog to find out...Important API > changes need to be documented better!!! > Ayyy... I feel partly responsible for that I guess. ^^; But actually neither George nor I had forseen this internal error be used outside of dispatcher.rb and render.rb I guess.... Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lasso at lassoweb.se Wed Dec 6 14:42:46 2006 From: lasso at lassoweb.se (Lars Olsson) Date: Wed, 06 Dec 2006 20:42:46 +0100 Subject: [Nitro] Redirecting to error action/method In-Reply-To: References: <4576FC8A.6050100@lassoweb.se> <45770F8B.5080206@lassoweb.se> Message-ID: <45771D36.3010503@lassoweb.se> Hi! I actually use it in two kinds of situations: 1. Custom error handler def error error, path = @context.rendering_errors[0] if error.kind_of?(Nitro::ActionError) # Tell user page doesn't exist else # Tell user an internal error occurred # Additional actions (logging etc) end end 2. A simple way to "hide" pages from unauthorized users def some_action if some_condition # Allow user to see page else raise Nitro::ActionError.new end end Kindly /lasso Jonathan Buch skrev: > Hi, > >> Thanks Jonathan! It was actually a coding error on my part that caused >> the strange effect I saw. >> >> >> WHY WHY WHY is Nitro::NoActionError renamed to Nitro::ActionError >> WITHOUT A BIG SIGN declaring the change in the release notes??? Now I >> hade to go through the darcs changelog to find out...Important API >> changes need to be documented better!!! >> > > Ayyy... I feel partly responsible for that I guess. ^^; > > But actually neither George nor I had forseen this internal error be > used outside of dispatcher.rb and render.rb I guess.... > > Jo From john at oxyliquit.de Wed Dec 6 15:07:45 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 21:07:45 +0100 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org In-Reply-To: <106a0270612061107s5c8aaebseba44a77dcc00c90@mail.gmail.com> References: <106a0270612061107s5c8aaebseba44a77dcc00c90@mail.gmail.com> Message-ID: Hi. > http://www.nitroproject.org/users/create?t=NIIJ8KUhkSeyw;e=somedumbguy+nitroproject at gmail.com > Oooh.. this is valuable information, for Oxyliqut as well. The Cgi parsing of parameters unescapes '+' to ' ' for (historical?) reasons. So one better escapes that stuff in case someone uses 'extension' addresses with + .... Anyway, thx for that info. :) Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From john at oxyliquit.de Wed Dec 6 15:13:57 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 06 Dec 2006 21:13:57 +0100 Subject: [Nitro] Redirecting to error action/method In-Reply-To: <45771D36.3010503@lassoweb.se> References: <4576FC8A.6050100@lassoweb.se> <45770F8B.5080206@lassoweb.se> <45771D36.3010503@lassoweb.se> Message-ID: Hi, > I actually use it in two kinds of situations: > > 1. Custom error handler > 2. A simple way to "hide" pages from unauthorized users I hope you hacks there is going to vanish when George gets around implementing my error handling idea. ;D Well, or at least something similar (I will pester George more about this, since I like the idea). :P Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Thu Dec 7 04:44:25 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 7 Dec 2006 11:44:25 +0200 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org In-Reply-To: <404FF377-69ED-4B4E-8579-36AFB130A067@gmail.com> References: <404FF377-69ED-4B4E-8579-36AFB130A067@gmail.com> Message-ID: > Great to hear that 0.41 is on the way. I have updated the repo with an almost final version of 0.41.0. there are 2 test cases that don't pass. Jonathan could you also have a look at them? -g. -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Thu Dec 7 04:45:31 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 7 Dec 2006 11:45:31 +0200 Subject: [Nitro] [ANN] LoxParts - sharing Nitro parts In-Reply-To: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> References: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> Message-ID: thats nice :) congrats! -g. On 12/6/06, Fabian Buch wrote: > hi all > > I just released a beta of LoxParts.de (http://loxparts.de/). > > In other systems you'd maybe call them Plug-ins, but in Nitro they > are called "parts". These parts can be dropped into your Nitro Web- > Application and extend your Application with fully functional app > parts. You could for example add a Blog to your current Application > by adding a Blog Part. > > Lox Parts provides such Parts that aren't in Nitro's standard > distribution. And registered user can add their own parts. Just > written a CMS in Nitro? Why not share it as part -> http://loxparts.de > > The Nitro community didn't decide for a name of small, non-part > extensions (plug-ins). Once they were called "components" in a > discussion. These can be shared via LoxParts too, of course. > > How to make such Parts, that can be shared on LoxParts, can be read > in a tip I created recently on Oxyliquit: http://oxyliquit.de/tip/36 > > LoxParts is still in "beta", so keep that in mind when using it and > please tell me what you think, featurerequest and bugreports. > > Have fun, > Fabian > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Thu Dec 7 04:55:25 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 7 Dec 2006 11:55:25 +0200 Subject: [Nitro] Redirecting to error action/method In-Reply-To: References: <4576FC8A.6050100@lassoweb.se> <45770F8B.5080206@lassoweb.se> <45771D36.3010503@lassoweb.se> Message-ID: Will do it for 0.42.0, I need this feature urgently for my own projects too :) -g. On 12/6/06, Jonathan Buch wrote: > Hi, > > > I actually use it in two kinds of situations: > > > > 1. Custom error handler > > 2. A simple way to "hide" pages from unauthorized users > > I hope you hacks there is going to vanish when George gets around > implementing my error handling idea. ;D > Well, or at least something similar (I will pester George more about > this, since I like the idea). :P > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Thu Dec 7 05:58:11 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 7 Dec 2006 11:58:11 +0100 Subject: [Nitro] Redirecting to error action/method In-Reply-To: References: <4576FC8A.6050100@lassoweb.se> <45770F8B.5080206@lassoweb.se> <45771D36.3010503@lassoweb.se> Message-ID: <20061207105811.GA25931@oxyliquit.de> Hi, > Will do it for 0.42.0, I need this feature urgently for my own projects too :) lol, don't feel pressured, feel free to think of another way to do this. ;) Jo From fabian at fabian-buch.de Thu Dec 7 08:58:52 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Thu, 7 Dec 2006 14:58:52 +0100 Subject: [Nitro] [ANN] LoxParts - sharing Nitro parts In-Reply-To: References: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> Message-ID: how about making Nitroproject.org's blog a little livelier and post a small ann there too? ;) Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From george.moschovitis at gmail.com Thu Dec 7 11:08:45 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 7 Dec 2006 18:08:45 +0200 Subject: [Nitro] [ANN] LoxParts - sharing Nitro parts In-Reply-To: References: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> Message-ID: will do ;-) -g. On 12/7/06, Fabian Buch wrote: > how about making Nitroproject.org's blog a little livelier and post a > small ann there too? ;) > > Fabian > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Thu Dec 7 13:25:25 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 07 Dec 2006 19:25:25 +0100 Subject: [Nitro] [PATCH] important (and not so much) bugfixes Message-ID: Hi, * taggable patch seemed not to be in * speed patch (halves startup time of nitro) * mysql transactions (don't seem to hurt MyISAM) * logging change (George: pleaaaseeee, with sugar on top ;)) * readme from og still claimed to be able to speak Oracle * STI lookup for classes was broken (with tc attached) Enjoy! George, will have a look at the failing tcs, not sure which ones, since my Open4 seems to stall some times and you removed the Reapfiles so I can't run the testcases properly. Will look for another way to run them. Jo Fri Nov 17 11:23:46 CET 2006 Jonathan Buch * Fix bug in taggable, add Tag#tagged module Taggable many_to_many Tag end class User; is Taggable; end class Category; is Taggable; end those two classes share the _SAME_ many_to_many relation object. Worked around that by specifying it in Taggable.included. TODO: check for more possible errors of that kind. Wed Nov 22 13:26:24 CET 2006 Jonathan Buch * speed patch for attributes.rb (2 times faster nitro startup) Tue Nov 28 19:01:02 CET 2006 Jonathan Buch * Add mysql transactions (only does something with InnoDB tables) Wed Dec 6 18:04:14 CET 2006 Jonathan Buch * Change logging configuration use NITRO_MODE for Configuration.mode, CONFIGURATION_mode is deprecated. use NITRO_LOG env for specifying the log destination. Thu Dec 7 19:15:39 CET 2006 Jonathan Buch * README og fix, STI fix, STI tc addition -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: rdmeogfixsti.patch.tar.bz2 Type: application/bzip2 Size: 16215 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061207/4e669d4f/attachment.bin From lasso at lassoweb.se Thu Dec 7 13:49:15 2006 From: lasso at lassoweb.se (Lars Olsson) Date: Thu, 07 Dec 2006 19:49:15 +0100 Subject: [Nitro] action_name attribute Message-ID: <4578622B.20107@lassoweb.se> Hi! Just a quick question. Nitro::Context includes Nitro::Render which exposes the action_name (represents "The name of the currently executing action") attribute. However, this attribute always seems to return nil whenever I call it. I also cannot find any evidence that @context.action_name ever get touched (at least not in render.rb). Is it a bug? A feature? Or a misunderstanding on my part? Kindly /lasso -- ________________________________________ Lars Olsson lasso at lassoweb.se http://www.lassoweb.se/ From john at oxyliquit.de Thu Dec 7 14:57:05 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 07 Dec 2006 20:57:05 +0100 Subject: [Nitro] action_name attribute In-Reply-To: <4578622B.20107@lassoweb.se> References: <4578622B.20107@lassoweb.se> Message-ID: Hi, > Just a quick question. Nitro::Context includes Nitro::Render which > exposes the action_name (represents "The name of the currently executing > action") attribute. However, this attribute always seems to return nil > whenever I call it. I also cannot find any evidence that > @context.action_name ever get touched (at least not in render.rb). Is it > a bug? A feature? Or a misunderstanding on my part? Might be a bug. The compiler should set this attribute in compile_action() which it doesn't. Might be due to the parameter reorganizing. Try using the @action instance variable. George, can you verify that the documentation (first part) above compile_action() ist still like the implementation is meant to be? No need to hurry, this can go into 0.42, but it definitly should be revised. Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From john at oxyliquit.de Thu Dec 7 16:00:22 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 07 Dec 2006 22:00:22 +0100 Subject: [Nitro] [PATCH] Oracle adapter preview Message-ID: Hi, there have been 2 people asking for that on irc, might as well try to implement it. What works: * basic query/exec * creating/dropping tables * automatic sequence generation Note that this is by far not production ready, just something hacked together in a few hours. So, anyone else, who'd be using this besides the two people (who are just evaluating Nitro and Rails if they can use it)? Jo -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: oracle1.patch.tar.bz2 Type: application/bzip2 Size: 19105 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061207/9a701b92/attachment.bin From lasso at lassoweb.se Thu Dec 7 18:31:59 2006 From: lasso at lassoweb.se (Lars Olsson) Date: Fri, 08 Dec 2006 00:31:59 +0100 Subject: [Nitro] Nitro Configuration object Message-ID: <4578A46F.7000305@lassoweb.se> Last request for tonight... Could someone please explain to me how to use the Nitro::Configuration object. It is supposed to replace configuration options in Runner, Server etc, but I cannot find a clue on how it is used...Examples including adapter and mode settings would be most welcome :) Kindly /lasso -- ________________________________________ Lars Olsson lasso at lassoweb.se http://www.lassoweb.se/ From george.moschovitis at gmail.com Fri Dec 8 03:43:46 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 10:43:46 +0200 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: > Reapfiles so I can't run the testcases properly. to run the tests form nitro dir: ruby script/test.rb (runs all tests) ruby script/test.rb og (runs og tests, you can use nitro, og, glue, gen here) -g. > Will look for another way to run them. > > Jo > > Fri Nov 17 11:23:46 CET 2006 Jonathan Buch > * Fix bug in taggable, add Tag#tagged > module Taggable > many_to_many Tag > end > class User; is Taggable; end > class Category; is Taggable; end > > those two classes share the _SAME_ many_to_many relation object. > > Worked around that by specifying it in Taggable.included. > > TODO: check for more possible errors of that kind. > > Wed Nov 22 13:26:24 CET 2006 Jonathan Buch > * speed patch for attributes.rb (2 times faster nitro startup) > > Tue Nov 28 19:01:02 CET 2006 Jonathan Buch > * Add mysql transactions (only does something with InnoDB tables) > > Wed Dec 6 18:04:14 CET 2006 Jonathan Buch > * Change logging configuration > use NITRO_MODE for Configuration.mode, CONFIGURATION_mode is deprecated. > use NITRO_LOG env for specifying the log destination. > > Thu Dec 7 19:15:39 CET 2006 Jonathan Buch > * README og fix, STI fix, STI tc addition > > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Fri Dec 8 03:47:57 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 10:47:57 +0200 Subject: [Nitro] action_name attribute In-Reply-To: References: <4578622B.20107@lassoweb.se> Message-ID: this looks like a bug. strange though, I think I am using action name in some of my projects. -g. On 12/7/06, Jonathan Buch wrote: > Hi, > > > Just a quick question. Nitro::Context includes Nitro::Render which > > exposes the action_name (represents "The name of the currently executing > > action") attribute. However, this attribute always seems to return nil > > whenever I call it. I also cannot find any evidence that > > @context.action_name ever get touched (at least not in render.rb). Is it > > a bug? A feature? Or a misunderstanding on my part? > > Might be a bug. The compiler should set this attribute in compile_action() > which it doesn't. > Might be due to the parameter reorganizing. Try using the @action instance > variable. > > George, can you verify that the documentation (first part) above > compile_action() ist still like the implementation is meant to be? > > No need to hurry, this can go into 0.42, but it definitly should be revised. > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Fri Dec 8 03:48:34 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 10:48:34 +0200 Subject: [Nitro] [PATCH] Oracle adapter preview In-Reply-To: References: Message-ID: thanks for this skeleton :) -g. On 12/7/06, Jonathan Buch wrote: > Hi, > > there have been 2 people asking for that on irc, might as well > try to implement it. > > What works: > > * basic query/exec > * creating/dropping tables > * automatic sequence generation > > Note that this is by far not production ready, just something > hacked together in a few hours. > > So, anyone else, who'd be using this besides the two people (who > are just evaluating Nitro and Rails if they can use it)? > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Fri Dec 8 04:13:19 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Fri, 8 Dec 2006 10:13:19 +0100 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: <20061208091319.GA13611@oxyliquit.de> Hi, > to run the tests form nitro dir: > > ruby script/test.rb > (runs all tests) > > ruby script/test.rb og > (runs og tests, you can use nitro, og, glue, gen here) ah yes, I do know that. :) But my version of that file uses Open4 to present nicely formatted testcase results. I think this was done by manveru. It really looks nice, but Open4 has the tendency to stall sometimes on my computer... But anyway, I will have a look at the tcs today . Jo From john at oxyliquit.de Fri Dec 8 06:15:35 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Fri, 08 Dec 2006 12:15:35 +0100 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: Hi, attached tc fixes. The only testcase which failed was the tc_reldelete.rb one. It relied on my assumption, that relation item is updated automatically, which it isn't. This is the 'uglyness' introduced by not .saving a relation after adding it to the set/parent. Since I forgot about that I spent again quite some time tracking that down. :P And, no testcase is especially tailored to such situations, so we just get bitten by that. :P Reminds me, I forgot to answer on the 'please elaborate' questions on that topic when it came up the last time... Anyway, I just fixed the testcase, we should perhaps think about a more extensive way to test that for the next releases however. Jo -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: reldeltcfix.patch.tar.bz2 Type: application/bzip2 Size: 14555 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061208/16b57da9/attachment-0001.bin From john at oxyliquit.de Fri Dec 8 06:17:00 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Fri, 08 Dec 2006 12:17:00 +0100 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: Oh, yes, forgot to say: All testcases are green now with the last patch (and the taggable patch). Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lasso at lassoweb.se Fri Dec 8 06:11:00 2006 From: lasso at lassoweb.se (Lars Olsson) Date: Fri, 8 Dec 2006 11:11:00 -0000 (UTC) Subject: [Nitro] action_name attribute In-Reply-To: References: <4578622B.20107@lassoweb.se> Message-ID: <44215.192.176.230.1.1165576260.squirrel@webmail.lassoweb.se> Hi! Yes, it's a bit strange. If I'm in an action (or template) self.action_name works, but @context.action_name doesn't. Poke, poke...How about some tips on the Nitro::Configuration object? Kindly /lasso On Fri, December 8, 2006 08:47, George Moschovitis wrote: > this looks like a bug. strange though, I think I am using action name in > some of my projects. > > -g. > > > On 12/7/06, Jonathan Buch wrote: > >> Hi, >> >> >>> Just a quick question. Nitro::Context includes Nitro::Render which >>> exposes the action_name (represents "The name of the currently >>> executing action") attribute. However, this attribute always seems to >>> return nil whenever I call it. I also cannot find any evidence that >>> @context.action_name ever get touched (at least not in render.rb). Is >>> it a bug? A feature? Or a misunderstanding on my part? >> >> Might be a bug. The compiler should set this attribute in >> compile_action() which it doesn't. Might be due to the parameter >> reorganizing. Try using the @action instance variable. >> >> George, can you verify that the documentation (first part) above >> compile_action() ist still like the implementation is meant to be? >> >> No need to hurry, this can go into 0.42, but it definitly should be >> revised. >> >> Jo >> >> >> -- >> Feel the love >> http://pinkjuice.com/pics/ruby.png >> _______________________________________________ >> Nitro-general mailing list >> Nitro-general at rubyforge.org >> http://rubyforge.org/mailman/listinfo/nitro-general >> >> > > > -- > http://cull.gr > http://www.joy.gr > http://blog.gmosx.com > http://nitroproject.org > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > From george.moschovitis at gmail.com Fri Dec 8 06:54:29 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 13:54:29 +0200 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: Ok, thanks :) I will apply your changes and 0.41.0 is ready for release. I will do it on monday (perhaps we will find and fix some more problems over the w/e) regards, -g. On 12/8/06, Jonathan Buch wrote: > Oh, yes, forgot to say: > > All testcases are green now with the last patch (and the > taggable patch). > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Fri Dec 8 06:55:52 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 13:55:52 +0200 Subject: [Nitro] action_name attribute In-Reply-To: <44215.192.176.230.1.1165576260.squirrel@webmail.lassoweb.se> References: <4578622B.20107@lassoweb.se> <44215.192.176.230.1.1165576260.squirrel@webmail.lassoweb.se> Message-ID: ah, you use @context.action_name... interesting... > Poke, poke...How about some tips on the Nitro::Configuration object? i think i have some useful rdoc comments for this in the source code. -g. -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Fri Dec 8 08:06:05 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Fri, 08 Dec 2006 14:06:05 +0100 Subject: [Nitro] [PATCH] template fix Message-ID: Hi, bug report from Rayman: and it didn't eval te #{} attached patch should fix that. Jo -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: tmpltefix.patch.tar.bz2 Type: application/bzip2 Size: 14151 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061208/15a80ed7/attachment-0001.bin From john at oxyliquit.de Fri Dec 8 08:10:15 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Fri, 08 Dec 2006 14:10:15 +0100 Subject: [Nitro] Nitro Configuration object In-Reply-To: <4578A46F.7000305@lassoweb.se> References: <4578A46F.7000305@lassoweb.se> Message-ID: Hi, > Could someone please explain to me how to use the Nitro::Configuration > object. It is supposed to replace configuration options in Runner, > Server etc, but I cannot find a clue on how it is used...Examples > including adapter and mode settings would be most welcome :) usage of Configuration (how I use it, anyway): * put all kinds of stuff in conf/(debug|live).rb example: Og.manager_options = { ... } Nitro::Compiler.mixin_get_parameters = false * call Configuration.load in run.rb right before Og.run/Nitro.run Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From vikingtux at gmail.com Fri Dec 8 08:26:30 2006 From: vikingtux at gmail.com (Alexandre Gravem) Date: Fri, 8 Dec 2006 10:26:30 -0300 Subject: [Nitro] [ANN] LoxAuth released to public In-Reply-To: <2E620CBE-81BB-47FD-B659-AC8709EA3A44@fabian-buch.de> References: <2E620CBE-81BB-47FD-B659-AC8709EA3A44@fabian-buch.de> Message-ID: <40b05ebe0612080526t1cedf937m9ab91bd6d07ecc38@mail.gmail.com> > LoxAuth 0.6.1 is the first Part released on LoxParts (http:// > loxparts.de/part/LoxAuth). It's the Auth system behind Oxyliquit and > also LoxParts itself. > > How LoxAuth works can be read in its README or on Oxyliquit Tip 37 > (http://oxyliquit.de/tip/37). > > Fabian As Oxyliquit this site is GREAT!!! I hope it helps once again the Nitro comunity to grow. A. Gravem -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20061208/a562c8b0/attachment.html From george.moschovitis at gmail.com Fri Dec 8 08:32:53 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 15:32:53 +0200 Subject: [Nitro] [PATCH] template fix In-Reply-To: References: Message-ID: thanks :) -g. On 12/8/06, Jonathan Buch wrote: > Hi, > > bug report from Rayman: > > > and it didn't eval te #{} > > attached patch should fix that. > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Fri Dec 8 09:00:02 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Fri, 08 Dec 2006 15:00:02 +0100 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: On Fri, 08 Dec 2006 12:54:29 +0100, George Moschovitis wrote: > Ok, thanks :) > I will apply your changes and 0.41.0 is ready for release. I will do > it on monday (perhaps we will find and fix some more problems over the > w/e) don't apply the speed patch, it prevents things to work in certain circumstances. Sorry, Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Fri Dec 8 13:08:22 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 8 Dec 2006 20:08:22 +0200 Subject: [Nitro] [PATCH] important (and not so much) bugfixes In-Reply-To: References: Message-ID: ok... -g. On 12/8/06, Jonathan Buch wrote: > On Fri, 08 Dec 2006 12:54:29 +0100, George Moschovitis wrote: > > > Ok, thanks :) > > I will apply your changes and 0.41.0 is ready for release. I will do > > it on monday (perhaps we will find and fix some more problems over the > > w/e) > > don't apply the speed patch, it prevents things to work in certain > circumstances. > > Sorry, > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Sat Dec 9 03:09:14 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sat, 9 Dec 2006 10:09:14 +0200 Subject: [Nitro] [ANN] LoxParts - sharing Nitro parts In-Reply-To: References: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> Message-ID: took a bit longer but here you are now :) -g. On 12/7/06, Fabian Buch wrote: > how about making Nitroproject.org's blog a little livelier and post a > small ann there too? ;) > > Fabian > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From fabian at fabian-buch.de Sat Dec 9 04:49:24 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Sat, 9 Dec 2006 10:49:24 +0100 Subject: [Nitro] [ANN] LoxParts - sharing Nitro parts In-Reply-To: References: <6D6076BE-0434-4132-A691-1F27E78E2208@fabian-buch.de> Message-ID: <17F3AB28-24A5-4B85-BAC6-A181D0326B17@fabian-buch.de> Am 09.12.2006 um 09:09 schrieb George Moschovitis: > took a bit longer but here you are now :) no problem, cool, thanks :) Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From manveru at weez-int.com Mon Dec 11 05:56:57 2006 From: manveru at weez-int.com (Michael Fellinger) Date: Mon, 11 Dec 2006 19:56:57 +0900 Subject: [Nitro] [PATCH] template fix In-Reply-To: References: Message-ID: <200612111956.57623.manveru@weez-int.com> On Friday 08 December 2006 22:06, Jonathan Buch wrote: > Hi, > > bug report from Rayman: > > > and it didn't eval te #{} > > attached patch should fix that. > > Jo * use the proper symbol for postgresql-adapter in the og/test/CONFIG.rb * rewrite of some gsub!s in template.rb, this should speed up the whole process. Also introduced SuperSafe(TM) delimter by using the MD5-hash of rand() (only once on startup, so no big deal) - this should make templating a whole lot more secure * added some tests for template.rb - still not enough... ^manveru -------------- next part -------------- A non-text attachment was scrubbed... Name: bundle.tar.gz Type: application/x-tgz Size: 3042 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061211/ba9e2575/attachment.bin From george.moschovitis at gmail.com Mon Dec 11 07:07:12 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 11 Dec 2006 14:07:12 +0200 Subject: [Nitro] [PATCH] template fix In-Reply-To: <200612111956.57623.manveru@weez-int.com> References: <200612111956.57623.manveru@weez-int.com> Message-ID: Thanks, Jonathan did you sent me some fixes for tc_reldel ant tc_controller? I have some tc errors still. -g. On 12/11/06, Michael Fellinger wrote: > On Friday 08 December 2006 22:06, Jonathan Buch wrote: > > Hi, > > > > bug report from Rayman: > > > > > > and it didn't eval te #{} > > > > attached patch should fix that. > > > > Jo > > * use the proper symbol for postgresql-adapter in the og/test/CONFIG.rb > * rewrite of some gsub!s in template.rb, this should speed up the whole > process. Also introduced SuperSafe(TM) delimter by using the MD5-hash of > rand() (only once on startup, so no big deal) - this should make > templating a whole lot more secure > * added some tests for template.rb - still not enough... > > ^manveru > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Mon Dec 11 08:12:09 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Mon, 11 Dec 2006 14:12:09 +0100 Subject: [Nitro] [PATCH] template fix In-Reply-To: References: <200612111956.57623.manveru@weez-int.com> Message-ID: Hi, > Jonathan did you sent me some fixes for tc_reldel ant tc_controller? > I have some tc errors still. Re: [Nitro] [PATCH] important (and not so much) bugfixes It's in that thread, I guess you overlooked it because I didn't open an extra thread for it. File's called 'reldeltcfix.patch`. Can't find a failing tc in tc_controller though. Guess we're ready to release 0.41 now? When you do it today, you are actually within the promised time! ;D Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Mon Dec 11 11:37:21 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 11 Dec 2006 18:37:21 +0200 Subject: [Nitro] [PATCH] template fix In-Reply-To: References: <200612111956.57623.manveru@weez-int.com> Message-ID: > Guess we're ready to release 0.41 now? When you do it today, you are > actually within the promised time! ;D Yeap, we are ready. Will release tommorow though. I want to do some final testing first. Thanks for your great work. -g. -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From john at oxyliquit.de Mon Dec 11 14:25:36 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Mon, 11 Dec 2006 20:25:36 +0100 Subject: [Nitro] [PATCH] template fix In-Reply-To: References: <200612111956.57623.manveru@weez-int.com> Message-ID: aaand... you were right to wait! :P > Yeap, we are ready. Will release tommorow though. I want to do some > final testing first. Thanks for your great work. I messed up while testing my NITRO_LOG patch. Attached is a fix to make it work. (The logger.rb was not correctly getting valid arguments.) Jo -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: logfix.patch.tar.bz2 Type: application/bzip2 Size: 2323 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061211/62740692/attachment.bin From george.moschovitis at gmail.com Tue Dec 12 01:16:15 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Tue, 12 Dec 2006 08:16:15 +0200 Subject: [Nitro] [PATCH] template fix In-Reply-To: References: <200612111956.57623.manveru@weez-int.com> Message-ID: thanks! -g. On 12/11/06, Jonathan Buch wrote: > aaand... > > you were right to wait! :P > > > Yeap, we are ready. Will release tommorow though. I want to do some > > final testing first. Thanks for your great work. > > I messed up while testing my NITRO_LOG patch. > > Attached is a fix to make it work. (The logger.rb was not correctly > getting valid arguments.) > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://cull.gr http://www.joy.gr http://blog.gmosx.com http://nitroproject.org From george.moschovitis at gmail.com Tue Dec 12 05:56:08 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Tue, 12 Dec 2006 12:56:08 +0200 Subject: [Nitro] [ANN] Nitro + Og 0.41.0 Maintenance release Message-ID: Hello everyone, New versions of Nitro (Web Application Framework) and Og (Object Relational Mapping) were released: Homepage: http://www.nitroproject.org Download: http://rubyforge.org/projects/ nitro Mailing List: http://rubyforge.org/mailman/l istinfo/nitro-general IRC: #nitro on irc.freenode.net Documentation: http://oxyliquit.de Extra parts: http://loxparts.de This is a bug fix release. As it fixes some important bugs of the previous release, including a DOS vulnurability you are strongly advised to update your version. However, you will also find a couple of new features. Special thanks for this release fly to Jonathan/Fabian Buch. Most notable changes: * Extended entity .finder method can now handle relations. Post.find_by_title_and_forum_name(title,forumName) class Forum property :name, String has_many :posts, Post end class Post property :title, String property :message, String belongs_to :forum, Forum end 'forum' is the :forum from belongs_to, 'name' is a property from the relations. It creates a SQL subquery to find the correct forum_oid. * Added a simple call/answer mechanism that may be useful in some cases. Will be improved in future versions. Nitro provides everything you need to develop professional Web applications using Ruby and Javascript. Nitro redefines Rapid Application Development by providing a clean, yet efficient API, a layer of domain specific languages implemented on top of Ruby and the most powerful and elegant object relational mapping solution available everywhere. have fun, Nitro Team -- http://blog.gmosx.com http://nitroproject.org http://cull.gr http://www.joy.gr From john at oxyliquit.de Wed Dec 13 06:18:38 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 13 Dec 2006 12:18:38 +0100 Subject: [Nitro] Roadmap 0.41 Message-ID: Hi, George, we gotta choose a little roadmappy for 0.42 to not fall into disarray. ;) What I'd like to see: * Implement Kirby again Well, not so much kirby as just a way for storing plaintext stuff. That would include creating a plaintext store as opposed to sqlstore, right? And I'd rather see this done by you (george) and not by my grubby little fingers. ;) Attached are a few patches with bugfixes + more oracle stuff. (Anyone who gets bitten by STI (except Rayman)? Apply attached patches and report back.) Have a nice day, Jo -- Feel the love http://pinkjuice.com/pics/ruby.png -------------- next part -------------- A non-text attachment was scrubbed... Name: more_patches.patch.tar.bz2 Type: application/bzip2 Size: 5670 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061213/211af6a1/attachment.bin From john at oxyliquit.de Wed Dec 13 06:29:43 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 13 Dec 2006 12:29:43 +0100 Subject: [Nitro] Roadmap 0.42 In-Reply-To: References: Message-ID: Damn, that had to meant 0.42. Sorry for the disturbance. :P Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From john at oxyliquit.de Wed Dec 13 07:46:22 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Wed, 13 Dec 2006 13:46:22 +0100 Subject: [Nitro] 0.41 with speed patch Message-ID: George, so you _DID_ include my speed patch (mixed together with the log patch). I really hope that noone hits the wall with that one, I can't guarantee anything though. this in attribute.rb (glue): if klass && !serializable_attributes.empty? has to say unless serializable_attributes.empty? I really do hope you tested the first enough that it works under all circumstances.... Anyone tried 0.41 with his app yet, with success? Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Wed Dec 13 08:38:41 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 13 Dec 2006 15:38:41 +0200 Subject: [Nitro] Roadmap 0.41 In-Reply-To: References: Message-ID: > George, we gotta choose a little roadmappy for 0.42 to not fall > into disarray. ;) Ok, I will post my proposed roadmap tommorow. we can prioritize/merge our ideas then. -g. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From george.moschovitis at gmail.com Wed Dec 13 08:39:50 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 13 Dec 2006 15:39:50 +0200 Subject: [Nitro] 0.41 with speed patch In-Reply-To: References: Message-ID: Hm, I thought I hade removed that patch. perhaps this patch got included with another bundle of yours :( This creates not problems for my webapps though. thanks for mentioning this. -g. On 12/13/06, Jonathan Buch wrote: > George, > > so you _DID_ include my speed patch (mixed together with the log patch). > I really hope that noone hits the wall with that one, I can't guarantee > anything though. > > this in attribute.rb (glue): > > if klass && !serializable_attributes.empty? > > has to say > > unless serializable_attributes.empty? > > I really do hope you tested the first enough that it works under all > circumstances.... > > Anyone tried 0.41 with his app yet, with success? > > Jo > > -- > Feel the love > http://pinkjuice.com/pics/ruby.png > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From dan at tastapod.com Wed Dec 13 16:52:14 2006 From: dan at tastapod.com (Dan North) Date: Wed, 13 Dec 2006 21:52:14 +0000 Subject: [Nitro] [ANN] Nitro + Og 0.41.0 Maintenance release In-Reply-To: References: Message-ID: <4580760E.7090602@tastapod.com> Hi George. I'm still getting an (error) with this: http://www.nitroproject.org/videos/nitro4.html I wouldn't want that to be people's first impression of nitro. Cheers, Dan George Moschovitis wrote: > Hello everyone, > > New versions of Nitro (Web Application Framework) and Og (Object > Relational Mapping) were released: > > Homepage: http://www.nitroproject.org > Download: http://rubyforge.org/projects/ nitro > Mailing List: http://rubyforge.org/mailman/l istinfo/nitro-general > IRC: #nitro on irc.freenode.net > Documentation: http://oxyliquit.de > Extra parts: http://loxparts.de > > This is a bug fix release. As it fixes some important bugs of the > previous release, including a DOS vulnurability you are strongly > advised to update your version. However, you will also find > a couple of new features. > > Special thanks for this release fly to Jonathan/Fabian Buch. > > Most notable changes: > > * Extended entity .finder method can now handle relations. > > Post.find_by_title_and_forum_name(title,forumName) > > class Forum > property :name, String > has_many :posts, Post > end > > class Post > property :title, String > property :message, String > belongs_to :forum, Forum > end > > 'forum' is the :forum from belongs_to, 'name' is a property from the > relations. It creates a SQL subquery to find the correct forum_oid. > > * Added a simple call/answer mechanism that may be useful in some > cases. Will be improved in future versions. > > > > Nitro provides everything you need to develop professional Web > applications using Ruby and Javascript. > > Nitro redefines Rapid Application Development by providing a > clean, yet efficient API, a layer of domain specific languages > implemented on top of Ruby and the most powerful and elegant > object relational mapping solution available everywhere. > > > have fun, > Nitro Team > > From george.moschovitis at gmail.com Thu Dec 14 04:38:19 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 14 Dec 2006 11:38:19 +0200 Subject: [Nitro] [ANN] Nitro + Og 0.41.0 Maintenance release In-Reply-To: <4580760E.7090602@tastapod.com> References: <4580760E.7090602@tastapod.com> Message-ID: Ok, this fixed now... -g. On 12/13/06, Dan North wrote: > Hi George. > > I'm still getting an (error) with this: > http://www.nitroproject.org/videos/nitro4.html > > I wouldn't want that to be people's first impression of nitro. > > Cheers, > Dan > > George Moschovitis wrote: > > Hello everyone, > > > > New versions of Nitro (Web Application Framework) and Og (Object > > Relational Mapping) were released: > > > > Homepage: http://www.nitroproject.org > > Download: http://rubyforge.org/projects/ nitro > > Mailing List: http://rubyforge.org/mailman/l istinfo/nitro-general > > IRC: #nitro on irc.freenode.net > > Documentation: http://oxyliquit.de > > Extra parts: http://loxparts.de > > > > This is a bug fix release. As it fixes some important bugs of the > > previous release, including a DOS vulnurability you are strongly > > advised to update your version. However, you will also find > > a couple of new features. > > > > Special thanks for this release fly to Jonathan/Fabian Buch. > > > > Most notable changes: > > > > * Extended entity .finder method can now handle relations. > > > > Post.find_by_title_and_forum_name(title,forumName) > > > > class Forum > > property :name, String > > has_many :posts, Post > > end > > > > class Post > > property :title, String > > property :message, String > > belongs_to :forum, Forum > > end > > > > 'forum' is the :forum from belongs_to, 'name' is a property from the > > relations. It creates a SQL subquery to find the correct forum_oid. > > > > * Added a simple call/answer mechanism that may be useful in some > > cases. Will be improved in future versions. > > > > > > > > Nitro provides everything you need to develop professional Web > > applications using Ruby and Javascript. > > > > Nitro redefines Rapid Application Development by providing a > > clean, yet efficient API, a layer of domain specific languages > > implemented on top of Ruby and the most powerful and elegant > > object relational mapping solution available everywhere. > > > > > > have fun, > > Nitro Team > > > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From george.moschovitis at gmail.com Thu Dec 14 04:42:10 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 14 Dec 2006 11:42:10 +0200 Subject: [Nitro] 0.42.0 Roadmap Message-ID: Here is what I would like to have included in 0.42.0. Due to serious time constraints I will only plan to work on the features that I need for my apps and bug fixes. The proposed KirbyBase code does not fall in this category, so this will have to either wait for a future release or someone else work on this. I would like to hear more opinions on what should be included in the next version. Even better I would like to see some patches preferably with new cool features. regards, George. PS: Btw, I have already started with the improved errors/error pages infrastructure, more or less as proposed by jonathan. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From john at oxyliquit.de Thu Dec 14 05:12:30 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 14 Dec 2006 11:12:30 +0100 Subject: [Nitro] 0.42.0 Roadmap In-Reply-To: References: Message-ID: Lets compress this: Roadmap 0.42 * Bugfixes * Stability * feature: Error page infrastructure * feature: Oracle Adapter (I hope to work on this) * feature: separation of get/post parameters * verify: @context.action_name working? * docs: Nitro::Configuration, how to use * docs: Caching (session,og,template), how to use Anyone has further feature requests? Jo PS: I have some other items on my todo list, so if somebody wants to make him/herself useful... (mostly Og) :P -- Feel the love http://pinkjuice.com/pics/ruby.png From lpruszynski at gmail.com Thu Dec 14 05:13:41 2006 From: lpruszynski at gmail.com (Les Pruszynski) Date: Thu, 14 Dec 2006 10:13:41 +0000 Subject: [Nitro] Can't start app with nitro Message-ID: <88E76B4F-0378-45F4-A53C-881DD480E846@gmail.com> Hello, I'm quite new to nitro and hopefully you'll be able to clarify a few things for me. I tried to find out the answers for myself by so far not so good. 1. A new way to start nitro application is nitro command but unfortunately that does not work for me. I get the following error: xxx:~/Projects/Ruby/nitro/examples/blog xxx$ nitro app.rb:1:in `require': no such file to load -- facet/time/stamp (LoadError) from app.rb:1 Obviously the command cannot find a path to a file. Do you also get the same error as I? 2 . When trying out a blog example from the examples folder I am unable to get to the admin part. The documentation says that the command require 'part/admin' will create admin automatically, but it doesn't. Have I misunderstood the documentation? In fact none of the examples with require 'part/admin' create the part. Any help appreciated. Many thanks, Les From john at oxyliquit.de Thu Dec 14 05:48:49 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 14 Dec 2006 11:48:49 +0100 Subject: [Nitro] Can't start app with nitro In-Reply-To: <88E76B4F-0378-45F4-A53C-881DD480E846@gmail.com> References: <88E76B4F-0378-45F4-A53C-881DD480E846@gmail.com> Message-ID: Hi, I'll try to help with the first question, can't comment on the second as I have no experience with the admin interface. > 1. A new way to start nitro application is nitro command but > unfortunately that does not work for me. I get the following error: > xxx:~/Projects/Ruby/nitro/examples/blog xxx$ nitro > app.rb:1:in `require': no such file to load -- facet/time/stamp > (LoadError) > from app.rb:1 > Obviously the command cannot find a path to a file. > Do you also get the same error as I? This sounds like you don't have rubygems required. http://rubygems.org/read/chapter/3#page70 When you use the RUBYOPT method, you'll never worry about rubygems again. Also make sure that facets 1.4.5 is installed (and that it's the only facets available, don't use newer versions). If you have another facets version installed and want to keep it or you don't want to use the RUBYOPT method for rubygems, use this as 'header' in any of your run.rb/app.rb files: ## app.rb require 'rubygems' # a specific facets version require_gem 'facets', '= 1.4.5' require 'facets' require 'nitro' require 'og' __END__ Hope that helps, Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lpruszynski at gmail.com Thu Dec 14 07:24:55 2006 From: lpruszynski at gmail.com (Les Pruszynski) Date: Thu, 14 Dec 2006 12:24:55 +0000 Subject: [Nitro] Can't start app with nitro Message-ID: <34E0AB74-306B-4425-BD77-AE7D5E8294DB@gmail.com> Hello John, Thank you for trying to help me, but I think I have all the necessary gems installed. Se below: xxx:~/Projects/Ruby/nitro/examples/blog xxx$ gem list --local *** LOCAL GEMS *** actionmailer (1.2.5) Service layer for easy email delivery and testing. actionpack (1.12.5) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.1.6) Web service support for Action Pack. activerecord (1.14.4) Implements the ActiveRecord pattern for ORM. activesupport (1.3.1) Support and utility classes used by the Rails framework. daemons (1.0.3, 0.4.2) A toolkit to create and control daemons in different ways facets (1.4.5) Exceptional collection of extensions and additions. gem_plugin (0.2.1) A plugin system based only on rubygems that uses dependencies only gen (0.41.0) A simple code generation system glue (0.41.0) Utility methods and classes for Nitro + Og mongrel (0.3.13.4) A small fast HTTP library and server that runs Rails, Camping, and Nitro apps. mongrel_cluster (0.2.1) Mongrel plugin that provides commands and Capistrano tasks for managing multiple Mongrel processes. nitro (0.41.0) Everything you need to create Web 2.0 applications with Ruby and Javascript og (0.41.0) State of the art object-relational mapping system rails (1.1.6) Web-application framework with template engine, control-flow layer, and ORM. rake (0.7.1) Ruby based make-like utility. RedCloth (3.0.4) RedCloth is a module for using Textile and Markdown in Ruby. Textile and Markdown are text formats. A very simple text format. Another stab at making readable text that can be converted to HTML. ruby-breakpoint (0.5.1, 0.5.0) ruby-breakpoint lets you inspect and modify state at run time. rubygems-update (0.9.0) RubyGems Update GEM sources (0.0.1) This package provides download sources for remote gem installation syntax (1.0.0) Syntax is Ruby library for performing simple syntax highlighting. wee (0.10.0) Wee is a framework for building highly dynamic web applications. So I'm not sure what the problem is. Les From john at oxyliquit.de Thu Dec 14 07:31:56 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Thu, 14 Dec 2006 13:31:56 +0100 Subject: [Nitro] Can't start app with nitro In-Reply-To: <34E0AB74-306B-4425-BD77-AE7D5E8294DB@gmail.com> References: <34E0AB74-306B-4425-BD77-AE7D5E8294DB@gmail.com> Message-ID: Hi, your list of installed gems looks good, did you try my 'header' approach and it still produces the same error message? Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lpruszynski at gmail.com Thu Dec 14 07:30:58 2006 From: lpruszynski at gmail.com (Les Pruszynski) Date: Thu, 14 Dec 2006 12:30:58 +0000 Subject: [Nitro] Can't start app with nitro Message-ID: <70D09985-C691-4D9D-9582-F6EBC3D6274A@gmail.com> Hello John, I think I wasn't clear first time round. I can indeed launch the examples applications via ruby -rubygems app.rb. That works OK. However, the new command nitro that is supposed to do the same thing does not work for me. I can live without it but was just curious whether anybody else has got the same problem with the nitro command. Les From fabian at fabian-buch.de Thu Dec 14 08:51:18 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Thu, 14 Dec 2006 14:51:18 +0100 Subject: [Nitro] [PATCH] Webfile Controls Message-ID: <032CD1BD-F05E-479E-8EC7-5A2BF8C19B1E@fabian-buch.de> It makes no sense to use text controls for files. Attached patch makes webfile use file control. Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: webfile_controls.patch.gz Type: application/x-gzip Size: 2435 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061214/27325799/attachment-0001.gz -------------- next part -------------- -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From Reid.Thompson at ateb.com Thu Dec 14 08:49:36 2006 From: Reid.Thompson at ateb.com (Reid Thompson) Date: Thu, 14 Dec 2006 08:49:36 -0500 Subject: [Nitro] [ANN] Nitro + Og 0.41.0 Maintenance release In-Reply-To: References: <4580760E.7090602@tastapod.com> Message-ID: <1166104176.32529.47.camel@localhost> On Thu, 2006-12-14 at 11:38 +0200, George Moschovitis wrote: > Ok, this fixed now... > > -g. Broken again. so is http://www.nitroproject.org/videos -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20061214/f45961d7/attachment.html From george.moschovitis at gmail.com Thu Dec 14 12:36:31 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 14 Dec 2006 19:36:31 +0200 Subject: [Nitro] [ANN] Nitro + Og 0.41.0 Maintenance release In-Reply-To: <1166104176.32529.47.camel@localhost> References: <4580760E.7090602@tastapod.com> <1166104176.32529.47.camel@localhost> Message-ID: http://www.nitroproject.org/documentation check the links... there is no link calles videos in the site... -g. On 12/14/06, Reid Thompson wrote: > > > > On Thu, 2006-12-14 at 11:38 +0200, George Moschovitis wrote: > > Ok, this fixed now... > > > > -g. > > Broken again. > > so is http://www.nitroproject.org/videos > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From george.moschovitis at gmail.com Thu Dec 14 12:38:13 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Thu, 14 Dec 2006 19:38:13 +0200 Subject: [Nitro] [PATCH] Webfile Controls In-Reply-To: <032CD1BD-F05E-479E-8EC7-5A2BF8C19B1E@fabian-buch.de> References: <032CD1BD-F05E-479E-8EC7-5A2BF8C19B1E@fabian-buch.de> Message-ID: thanks :) -g. On 12/14/06, Fabian Buch wrote: > It makes no sense to use text controls for files. > Attached patch makes webfile use file control. > > Fabian > > > > > > > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From fabian at fabian-buch.de Fri Dec 15 06:18:41 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Fri, 15 Dec 2006 12:18:41 +0100 Subject: [Nitro] [PATCH] FeedHelper Atom with html content Message-ID: Fri Dec 15 12:06:19 CET 2006 Fabian Buch * FeedHelper Atom with html content Atom can contain html, but only if marked as that. This patch sets the markup type of content to be always html (doesn't hurt if non- markup text is provided). With this change it looks much nicer in many FeedReaders. ATTENTION: changes API: provide markuped content to FeedHelper, it makes no sense that the FeedHelper calls the markup() method, since not everyone uses RedCloth for his/her markup (e.g. Oxy uses BlueCloth). Note: Tests pass and Oxyliquit uses this patch since its redesign. Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From fabian at fabian-buch.de Fri Dec 15 10:46:34 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Fri, 15 Dec 2006 16:46:34 +0100 Subject: [Nitro] [ANN] LoxGallery 0.1.0 released on loxparts.de Message-ID: <3C31817F-F81C-4211-B56E-BCD0A86E780E@fabian-buch.de> I just released LoxGallery 0.1.0 (http://loxparts.de/part/LoxGallery) This is the initial release of LoxGallery. I hope it's mostly bugfree, but if you find any, please report as well as feature requests. Any comment is welcome! For installation instructions see the README file. LoxGallery, mainly developed by Fabian Buch (fabian at fabian-buch.de) is a small photo gallery webapp developed with Nitro which can be used as standalone gallery webapp or as part of other Nitro webapps. Copyright (c) 2006 Fabian Buch under MIT license. See LICENSE file for details. The famous PHP "Gallery" webapp is just too big for me. I like it a little cleaner, with less features, but customized for my needs and maybe also suitable for others, especially if combined with other Nitro applications, like LoxBlog. There's something from Gallery though that I stole and customized it only a little: it's API. Even though it's not perfect, there are lots of apps out there that use it. With some customization (e.g. added Tag functionality) I added it to my LoxGallery and changed Zach Wily's iPhotoToGallery (http://zwily.com/iphoto/) to use my slightly incompatible API for my needs. Attached to LoxGallery is iPhotoToLoxGallery which is an iPhoto Exporter. It's sources are quite big (zipped 29 MB), so if you need them, just mail me. Example Galleries: http://fabian-buch.com/gallery http://vanessa-und-fabian.de/gallery Both styles are included in this Part. Feel free use and alter them for your needs. Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From george.moschovitis at gmail.com Fri Dec 15 11:33:30 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Fri, 15 Dec 2006 18:33:30 +0200 Subject: [Nitro] [ANN] LoxGallery 0.1.0 released on loxparts.de In-Reply-To: <3C31817F-F81C-4211-B56E-BCD0A86E780E@fabian-buch.de> References: <3C31817F-F81C-4211-B56E-BCD0A86E780E@fabian-buch.de> Message-ID: nice, thanks -g. On 12/15/06, Fabian Buch wrote: > I just released LoxGallery 0.1.0 (http://loxparts.de/part/LoxGallery) > > This is the initial release of LoxGallery. I hope it's mostly > bugfree, but if you find any, please report as well as feature > requests. Any comment is welcome! > > For installation instructions see the README file. > > LoxGallery, mainly developed by Fabian Buch (fabian at fabian-buch.de) is a > small photo gallery webapp developed with Nitro which can be used as > standalone gallery webapp or as part of other Nitro webapps. > > Copyright (c) 2006 Fabian Buch under MIT license. > See LICENSE file for details. > > The famous PHP "Gallery" webapp is just too big for me. I like it a > little cleaner, with less features, but customized for my needs and > maybe also suitable for others, especially if combined with other > Nitro applications, like LoxBlog. > > There's something from Gallery though that I stole and customized it > only a little: it's API. Even though it's not perfect, there are lots > of apps out there that use it. With some customization (e.g. added > Tag functionality) I added it to my LoxGallery and changed Zach > Wily's iPhotoToGallery (http://zwily.com/iphoto/) to use my slightly > incompatible API for my needs. > Attached to LoxGallery is iPhotoToLoxGallery which is an iPhoto > Exporter. It's sources are quite big (zipped 29 MB), so if you need > them, just mail me. > > Example Galleries: > http://fabian-buch.com/gallery > http://vanessa-und-fabian.de/gallery > > Both styles are included in this Part. Feel free use and alter them > for your needs. > > Fabian > > > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From george.moschovitis at gmail.com Sat Dec 16 05:56:12 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sat, 16 Dec 2006 12:56:12 +0200 Subject: [Nitro] [PATCH] FeedHelper Atom with html content In-Reply-To: References: Message-ID: there is no patch attached! -g. On 12/15/06, Fabian Buch wrote: > Fri Dec 15 12:06:19 CET 2006 Fabian Buch > * FeedHelper Atom with html content > Atom can contain html, but only if marked as that. This patch sets > the markup type of content to be always html (doesn't hurt if non- > markup > text is provided). With this change it looks much nicer in many > FeedReaders. > ATTENTION: changes API: provide markuped content to FeedHelper, it > makes no > sense that the FeedHelper calls the markup() method, since not > everyone > uses RedCloth for his/her markup (e.g. Oxy uses BlueCloth). > > Note: Tests pass and Oxyliquit uses this patch since its redesign. > > Fabian > > > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From fabian at fabian-buch.de Sat Dec 16 06:06:23 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Sat, 16 Dec 2006 12:06:23 +0100 Subject: [Nitro] [PATCH] FeedHelper Atom with html content In-Reply-To: References: Message-ID: <103886EF-24EC-4C22-83CD-6CBEA1CE149E@fabian-buch.de> oops, now: -------------- next part -------------- A non-text attachment was scrubbed... Name: feedhelper_atom_html.patch.gz Type: application/x-gzip Size: 2695 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061216/0722d12d/attachment.gz -------------- next part -------------- Am 16.12.2006 um 11:56 schrieb George Moschovitis: > there is no patch attached! > > -g. -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From george.moschovitis at gmail.com Sat Dec 16 06:20:09 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sat, 16 Dec 2006 13:20:09 +0200 Subject: [Nitro] [PATCH] FeedHelper Atom with html content In-Reply-To: <103886EF-24EC-4C22-83CD-6CBEA1CE149E@fabian-buch.de> References: <103886EF-24EC-4C22-83CD-6CBEA1CE149E@fabian-buch.de> Message-ID: Ok, thanks. -g. On 12/16/06, Fabian Buch wrote: > oops, now: > > > > > > Am 16.12.2006 um 11:56 schrieb George Moschovitis: > > > there is no patch attached! > > > > -g. > > > > > > -- > Nitro Q&A: http://oxyliquit.de > LoxParts: http://loxparts.de > Blog: http://blog.fabian-buch.de > > > > > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From lpruszynski at gmail.com Sun Dec 17 00:08:44 2006 From: lpruszynski at gmail.com (Les Pruszynski) Date: Sun, 17 Dec 2006 05:08:44 +0000 Subject: [Nitro] Problems downloading LoxGallery Message-ID: Hello Fabian, When trying to download LoxGallery from: http://loxparts.de/part/LoxGallery what gets downloaded is LoxAuth. Can you doublecheck the path to it? Les From george.moschovitis at gmail.com Sun Dec 17 03:53:20 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sun, 17 Dec 2006 10:53:20 +0200 Subject: [Nitro] Nitro dir structure Message-ID: Dear devs, I would like to change the structure of the nitro directory a bit. I would like to remove the /nitro/proto directory. I would like to make /nitro the protoype directory. Ie the nitro directory would be a webapp itself (a hello world webapp). It will contain an app.rb/rub.rb file that would start a simple web app (welcome to nitro + links to info). what do you think? -g. PS: btw, I am working on some of the proposed features for 0.42.0 Would you like me to sync with the public repo daily (so that more people have the chance to comment early on the implementation) or obly commit final, working code? -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From noe.rubinstein at gmail.com Sun Dec 17 03:55:18 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sun, 17 Dec 2006 09:55:18 +0100 Subject: [Nitro] [PATCH] Separate get_params and post_params Message-ID: This patch separates GET params and POST params. request.post_params # now returns POST params request.get_params # now returns GET params request.params # Compatibility method returning the result of post_params.merge(get_params) From noe.rubinstein at gmail.com Sun Dec 17 04:21:57 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sun, 17 Dec 2006 10:21:57 +0100 Subject: [Nitro] [PATCH] Separate get_params and post_params In-Reply-To: References: Message-ID: Oooops, forgotten the patch itself. 2006/12/17, No? Rubinstein : > This patch separates GET params and POST params. > request.post_params # now returns POST params > request.get_params # now returns GET params > request.params # Compatibility method returning the result of > post_params.merge(get_params) > -------------- next part -------------- A non-text attachment was scrubbed... Name: separate_post_and_get_params.bz2 Type: application/x-bzip2 Size: 2673 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061217/189fd7c9/attachment.bz2 From fabian at fabian-buch.de Sun Dec 17 04:32:08 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Sun, 17 Dec 2006 10:32:08 +0100 Subject: [Nitro] Problems downloading LoxGallery In-Reply-To: References: Message-ID: <804F2010-B806-494A-B2E0-DF7CF406CF11@fabian-buch.de> Am 17.12.2006 um 06:08 schrieb Les Pruszynski: > Hello Fabian, > When trying to download LoxGallery from: > http://loxparts.de/part/LoxGallery > what gets downloaded is LoxAuth. > Can you doublecheck the path to it? > Les Thanks for reporting. It wasn't a wrong path. It was me not selecting the right file when I uploaded it. I'm truly sorry. Be sure to download the file from the Germany (slow) mirror for now, since the mirrors will take a while to have the just newly uploaded file. Sorry again, and for this mistake I'll implement tag-search into LoxGallery later today and release a new version :). Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From george.moschovitis at gmail.com Sun Dec 17 04:35:27 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sun, 17 Dec 2006 11:35:27 +0200 Subject: [Nitro] [PATCH] Separate get_params and post_params In-Reply-To: References: Message-ID: Interesting, I will have a look at this... -g. On 12/17/06, No? Rubinstein wrote: > This patch separates GET params and POST params. > request.post_params # now returns POST params > request.get_params # now returns GET params > request.params # Compatibility method returning the result of > post_params.merge(get_params) > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From fabian at fabian-buch.de Sun Dec 17 04:37:23 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Sun, 17 Dec 2006 10:37:23 +0100 Subject: [Nitro] Nitro dir structure In-Reply-To: References: Message-ID: <00B3C7A5-BE72-4E1A-8F76-64CD029AC4B7@fabian-buch.de> Am 17.12.2006 um 09:53 schrieb George Moschovitis: > I would like to change the structure of the nitro directory a bit. I > would like to remove > the /nitro/proto directory. I would like to make /nitro the protoype > directory. Ie the nitro directory would be a webapp itself (a hello > world webapp). It will contain an app.rb/rub.rb file that would start > a simple web app (welcome to nitro + links to info). Two thoughts: - where do you put the error.xhtml then? - why not make a part of proto and put it into the part/ directory? just a thought Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From noe.rubinstein at gmail.com Sun Dec 17 05:01:07 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sun, 17 Dec 2006 11:01:07 +0100 Subject: [Nitro] [PATCH] Separate get_params and post_params In-Reply-To: References: Message-ID: Same but with post precedence other get to prevent from hacking. (thanks manv) 2006/12/17, George Moschovitis : > Interesting, > > I will have a look at this... > > -g. > > On 12/17/06, No? Rubinstein wrote: > > This patch separates GET params and POST params. > > request.post_params # now returns POST params > > request.get_params # now returns GET params > > request.params # Compatibility method returning the result of > > post_params.merge(get_params) > > _______________________________________________ > > Nitro-general mailing list > > Nitro-general at rubyforge.org > > http://rubyforge.org/mailman/listinfo/nitro-general > > > > > -- > http://blog.gmosx.com > http://cull.gr > http://www.joy.gr > http://nitroproject.org > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -------------- next part -------------- A non-text attachment was scrubbed... Name: post_precedence_over_get.bz2 Type: application/x-bzip2 Size: 2704 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061217/639ac75e/attachment.bz2 From noe.rubinstein at gmail.com Sun Dec 17 05:28:17 2006 From: noe.rubinstein at gmail.com (=?UTF-8?Q?No=C3=A9_Rubinstein?=) Date: Sun, 17 Dec 2006 11:28:17 +0100 Subject: [Nitro] [PATCH] Separate get_params and post_params In-Reply-To: References: Message-ID: Same but params and params= are now post_params and post_params= if method is POST, get_params and get_params= otherwise. (thanks Kashia) Sorry for the flood. 2006/12/17, No? Rubinstein : > Same but with post precedence other get to prevent from hacking. (thanks manv) > > 2006/12/17, George Moschovitis : > > Interesting, > > > > I will have a look at this... > > > > -g. > > > > On 12/17/06, No? Rubinstein wrote: > > > This patch separates GET params and POST params. > > > request.post_params # now returns POST params > > > request.get_params # now returns GET params > > > request.params # Compatibility method returning the result of > > > post_params.merge(get_params) > > > _______________________________________________ > > > Nitro-general mailing list > > > Nitro-general at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/nitro-general > > > > > > > > > -- > > http://blog.gmosx.com > > http://cull.gr > > http://www.joy.gr > > http://nitroproject.org > > _______________________________________________ > > Nitro-general mailing list > > Nitro-general at rubyforge.org > > http://rubyforge.org/mailman/listinfo/nitro-general > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: params_is_method_params.bz2 Type: application/x-bzip2 Size: 2792 bytes Desc: not available Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061217/2f6d3fa9/attachment-0001.bz2 From john at oxyliquit.de Sun Dec 17 05:38:07 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Sun, 17 Dec 2006 11:38:07 +0100 Subject: [Nitro] Nitro dir structure In-Reply-To: References: Message-ID: Hi, > I would like to change the structure of the nitro directory a bit. I > would like to remove > the /nitro/proto directory. I would like to make /nitro the protoype > directory. Ie the nitro directory would be a webapp itself (a hello > world webapp). It will contain an app.rb/run.rb file that would start > a simple web app (welcome to nitro + links to info). > > what do you think? Not so sure about that... Can you explain the use case? What we would have then, is an incompatibility with gen (what would it copy, the whole nitro tree?) So, what would this 'standard help app' be used for? You can't copy it to modify it and make your own app with it (without having lots of baggage attached). It is not self contained (in case you wanted that) in case it uses Og, and there's still glue. If it's about 'ease of first use' for a newbie, then I would also argue against it, gen is easy enough (gem is used as the premier install method anyway so it gets installed just like that). * side note: One could perhaps think of merging the gen functionality to the `nitro` command (`nitro --gen [-g] app test_app`) so only a single command is used for all nitro commands... So, about helping new users, documentation is all around more helpful than a 'self running nitro dir' for most kinds of people (imo). > PS: btw, I am working on some of the proposed features for 0.42.0 > Would you like me to sync with the public repo daily (so that more > people have the chance to comment early on the implementation) or obly > commit final, working code? I think I would prefer you just pushing the code you have, it's the dev repo after all. :) This will prevent any merge issues, in case someone works in the same area. Someone not wanting those patches can just chose to not pull them thanks to the power of darcs. Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Sun Dec 17 06:09:51 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sun, 17 Dec 2006 13:09:51 +0200 Subject: [Nitro] Nitro dir structure In-Reply-To: <00B3C7A5-BE72-4E1A-8F76-64CD029AC4B7@fabian-buch.de> References: <00B3C7A5-BE72-4E1A-8F76-64CD029AC4B7@fabian-buch.de> Message-ID: > Two thoughts: > - where do you put the error.xhtml then? i put it in: nitro/template static files from proto go to: nitro/public > - why not make a part of proto and put it into the part/ directory? well this is an alternative, but I think nitro as a webapp is cooler? what do others think? -g. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From george.moschovitis at gmail.com Sun Dec 17 06:12:41 2006 From: george.moschovitis at gmail.com (George Moschovitis) Date: Sun, 17 Dec 2006 13:12:41 +0200 Subject: [Nitro] Nitro dir structure In-Reply-To: References: Message-ID: > * side note: One could perhaps think of merging the gen functionality > to the `nitro` command (`nitro --gen [-g] app test_app`) so only a > single command is used for all nitro commands... yeah, i want to do that. nitro --gen could copy part of the nitro directory, or even the whole directory. When I deploy my apps on the live server I copy the whole nitro framework in a lib directory inside the webapp directory. This way, each web app can use a different version of the nitro framework. > I think I would prefer you just pushing the code you have, it's the dev > repo after all. :) ok, will push some stuff tommorow then ;-) -g. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org From john at oxyliquit.de Sun Dec 17 08:56:28 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Sun, 17 Dec 2006 14:56:28 +0100 Subject: [Nitro] Nitro dir structure In-Reply-To: References: Message-ID: Hi, > yeah, i want to do that. nitro --gen could copy part of the nitro > directory, or even the whole directory. When I deploy my apps on the > live server I copy the whole nitro framework in a lib directory inside > the webapp directory. This way, each web app can use a different > version of the nitro framework. One of the things I love about Nitro is, that the standard is to have very few files in the project directory. I remember rails creating lotsa files there... IMO a little too much baggage, even if it's more convenient in certain deployment scenarios... I see that this can have advantages... can we let the proto dir (as a kind of minimal 'how a nitro app looks like') alone and push the functionality of putting the whole nitro app into a lib/ dir into --gen ? nitro --gen --include-nitro --include-og newproject This would of course add glue as well. It maybe could create a run.rb with $:.unshift(File.dirname(__FILE__)+'/lib')... How about it? >> I think I would prefer you just pushing the code you have, it's the dev >> repo after all. :) > > ok, will push some stuff tommorow then ;-) nice :) Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From lists at zarac.com Sun Dec 17 11:51:04 2006 From: lists at zarac.com (Ric Turley) Date: Sun, 17 Dec 2006 09:51:04 -0700 Subject: [Nitro] [BUG] Can't create new member on nitroproject.org In-Reply-To: Message-ID: I can't get registered. Entered email address, got confirmation email and entered token, but get a page with only '(error)' after entering name and password: http://www.nitroproject.org/users/create?e=ric%40zarac.com&t=NI2bNK5BD%2F2KQ Thanks! Ric Turley > From: "George Moschovitis" > Reply-To: General discussion about Nitro > Date: Thu, 7 Dec 2006 11:44:25 +0200 > To: "General discussion about Nitro" > Subject: Re: [Nitro] [BUG] Can't create new member on nitroproject.org > >> Great to hear that 0.41 is on the way. > > I have updated the repo with an almost final version of 0.41.0. there > are 2 test cases that don't pass. Jonathan could you also have a look > at them? > > -g. > > -- > http://cull.gr > http://www.joy.gr > http://blog.gmosx.com > http://nitroproject.org > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > > From fabian at fabian-buch.de Sun Dec 17 12:33:16 2006 From: fabian at fabian-buch.de (Fabian Buch) Date: Sun, 17 Dec 2006 18:33:16 +0100 Subject: [Nitro] [ANN] LoxGallery 0.2.0 released Message-ID: notable changes: Tag-Search download: http://loxparts.de/part/LoxGallery Fabian -- Nitro Q&A: http://oxyliquit.de LoxParts: http://loxparts.de Blog: http://blog.fabian-buch.de From transfire at gmail.com Sun Dec 17 14:08:47 2006 From: transfire at gmail.com (transfire at gmail.com) Date: Sun, 17 Dec 2006 19:08:47 -0000 Subject: [Nitro] Nitro dir structure In-Reply-To: References: Message-ID: <1166382527.366073.65930@80g2000cwy.googlegroups.com> George Moschovitis wrote: > Dear devs, > > I would like to change the structure of the nitro directory a bit. I > would like to remove > the /nitro/proto directory. I would like to make /nitro the protoype > directory. Ie the nitro directory would be a webapp itself (a hello > world webapp). It will contain an app.rb/rub.rb file that would start > a simple web app (welcome to nitro + links to info). > > what do you think? slightly aside but it may be helpful in this consideration. for all my projects i have moved to a model of website over repository. ie. my project layout looks like this: myproject/ index.html js/ css/ repo/ ProjectInfo bin/ lib/ pkg/ and so on. the great thing about this is that I can upload my website and everying goes with it repository and all. (and is why I asked Tom Copeland to implement rsync on rubyforge. super yea that he did!) the only downside is that my webpages aren't part of my repo's version control, but that's not that big a deal. so perhaps this pattern would work for nitro too? but in nitro's case the distribution (and versioning) actually includes this website container as the starter app? in other words maybe the proto app should exist over the nitro system rather than under or parallel to it. just a thought. (hmm... i see maybe some other advantages too... the repo dir (or whatever you want to call it) could be soft linked to a shared location and the proto app could be a "reconfigurable" app, ie. a gen-based web app. yes, i'm a dreamer ;-) t. From john at oxyliquit.de Sun Dec 17 15:27:46 2006 From: john at oxyliquit.de (Jonathan Buch) Date: Sun, 17 Dec 2006 21:27:46 +0100 Subject: [Nitro] Nitro dir structure In-Reply-To: <1166382527.366073.65930@80g2000cwy.googlegroups.com> References: <1166382527.366073.65930@80g2000cwy.googlegroups.com> Message-ID: Hi, > so perhaps this pattern would work for nitro too? but in nitro's case > the distribution (and versioning) actually includes this website > container as the starter app? in other words maybe the proto app should > exist over the nitro system rather than under or parallel to it. just a > thought. This layout would imply that the whole tree (app source) would be accessable from the outside (browser) if you don't deny access to that folder by using an Apache .htaccess file or other configuration options provided by the webserver. > (hmm... i see maybe some other advantages too... the repo dir (or > whatever you want to call it) could be soft linked to a shared location > and the proto app could be a "reconfigurable" app, ie. a gen-based web > app. yes, i'm a dreamer ;-) Well, as Nitro (meaning the nitro app) is practically your server (even if cgi based), the application can reside anywhere. The only thing the webserver (any proxy, mongrel, fcgi client, etc) has to know (besides the nitro app server) is the path to the public files. So the public/ folder is completely decoupled from the nitro app. Your proposed folder layout is doable, but it's 'upside down' IMO. Jo -- Feel the love http://pinkjuice.com/pics/ruby.png From george.moschovitis at gmail.com Mon Dec 18 06:17:56 2006 From: george.moschovitis at