[Lift] Re: Lift security vulnerability

2010-03-08 Thread Dano
> x > > } > > (You just need to implement that sripOutBinaryChars function...). > > Cheers Joni > > On Mar 5, 8:26 pm, Dano wrote: > > > > > I think I would like to amend my last post by asking if it is possible > > that the lift-jsonlibrary support the

[Lift] Re: Lift security vulnerability

2010-03-05 Thread Dano
Fri, Mar 5, 2010 at 10:26 AM, Dano wrote: > > I think I would like to amend my last post by asking if it is possible > > that the lift-json library support the ability to strip out binary > > characters since many times an application uses the results of JSON > > opera

[Lift] Re: Lift security vulnerability

2010-03-05 Thread Dano
I think I would like to amend my last post by asking if it is possible that the lift-json library support the ability to strip out binary characters since many times an application uses the results of JSON operations to render back to the client. Thanks. Dan On Mar 5, 9:53 am, Dano wrote: >

[Lift] Re: Lift security vulnerability

2010-03-05 Thread Dano
wrote: > Can you reproduce the vulnerability in your own M3 app? > > - > > Dano wrote: > > I would never claim to be astute.  However, I did observe that > demo.liftweb.net is now built using 2.0-M3 as is clearly listed at the > bottom of

[Lift] Re: Lift security vulnerability

2010-03-05 Thread Dano
t; > > What version is the demo running? > > > - > > Dano wrote: > > > Just saw that Lift 2.0-M3 was released.  I looked to see if the > > vulnerability was still present in demo.liftweb.net and I am still > > able to generate exceptions in the br

[Lift] Re: Lift security vulnerability

2010-03-04 Thread Dano
section. Don't know if this remaining problem is supposed to be handled by the application or framework, but thought I would make a post to alert the group. Dan On Feb 24, 11:49 am, Dano wrote: > The recent scala days conference activity may have cause the updates > to this threa

[Lift] Re: Lift security vulnerability

2010-02-24 Thread Dano
The recent scala days conference activity may have cause the updates to this thread to escape notice. Just wondering if there is concern about the remaining binary character problems I noted in my prior post. Thanks in advance. Dan On Feb 22, 1:34 pm, Dano wrote: > More information on t

[Lift] Re: Lift security vulnerability

2010-02-22 Thread Dano
xamples will generate XML parsing errors. For these problems, I am not sure if the issue if the example or the framework. If the issue is with the example, it would be good to know what Lift apps need to do to avoid getting bitten by binary characters entered into form fields. Thanks in advance.

[Lift] Re: Lift security vulnerability

2010-02-17 Thread Dano
Hello, I was wondering if the fix for the control characters issue was included in 2.0-M2. I just did a test with our Lift application built with 2.0-M2 and I am still seeing problems (i.e. javascript exceptions - NS_ERROR_INVALID_POINTER). Thanks in advance. Dan On Feb 3, 9:08 am, David Poll

[Lift] build issue - javax.mail - is anyone having this problem?

2009-10-27 Thread Dano
Hello, We did a build this morning and are getting an error from maven on the javax.mail dependency (see below). We are currently referencing version 1.4. It seems to get this from the central maven repository (http://repo2.maven.org/maven2). The site appears to be up and has version 1.4. Did

[Lift] Re: **Important** Migration guide Scala Actors -> Lift Actors

2009-10-22 Thread Dano
Thanks to David for the migration guide. It is very useful. Victor Klang had raised the issue of rescheduling the actor in the message handling function (see below). I did not see a reference to this in the migration guide. Is it still necessary? Thanks in advance. Dan Text from Victor Kla

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Dano
Code for our app now compiles. Needed to replace Actor with LiftActor. Also, needed to define the messageHandler partial function. So, George, I think the answer to your question is: object LocalSmtp extends Actor becomes object LocalSmtp extends LiftActor Dan On Oct 22, 11:19 am, Dano

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Dano
22, 10:00 am, Dano wrote: > It would be good to have an example like George's verified as it is > not clear how to convert our Actor code. > > Dan > > On Oct 22, 4:48 am, george wrote: > > > > > ok so.. > > > object LocalSmtp extends Actor >

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Dano
It would be good to have an example like George's verified as it is not clear how to convert our Actor code. Dan On Oct 22, 4:48 am, george wrote: > ok so.. > > object LocalSmtp extends Actor > > should become > > object LocalSmtp extends GenericActor[LocalSmtp] > > ? --~--~-~--~~

[Lift] Re: Cannot build our lift app. Is net.liftweb.util OK?

2009-10-22 Thread Dano
I see that there is a similar issue posted against the thread "New update changed something?". I will monitor the progress of that thread as well. Dan On Oct 22, 9:16 am, Dano wrote: > Hello Lifters, > > After doing my morning build (mvn -U clean install), I am getting

[Lift] Cannot build our lift app. Is net.liftweb.util OK?

2009-10-22 Thread Dano
Hello Lifters, After doing my morning build (mvn -U clean install), I am getting a huge number of errors mostly related to net.liftweb.util (see below). We are building against 1.1-SNAPSHOT. Is anyone else having this problem? Thanks in advance. Dan [INFO] Compiling 113 source files to C:\s

[Lift] Re: SessionVar.remove() not clearing out the variable

2009-09-23 Thread Dano
session variable (i.e. it is Empty when I expect it to have a value). Although I am still interested in a way to reset all values for a SessionVar (especially from application code), I have something that works for me in the short term. Dan On Sep 22, 8:50 pm, Dano wrote: > Marius, > &g

[Lift] Re: SessionVar.remove() not clearing out the variable

2009-09-22 Thread Dano
. Dan On Sep 22, 7:03 pm, "marius d." wrote: > On Sep 22, 8:13 pm, Dano wrote: > > > > > > > Hello Lifters, > > > I am struggling with trying to clear out a SessionVar which holds user > > information which I need to clear out after the user h

[Lift] SessionVar.remove() not clearing out the variable

2009-09-22 Thread Dano
Hello Lifters, I am struggling with trying to clear out a SessionVar which holds user information which I need to clear out after the user has left a 'lobby' page. When I call the remove() function, I verify that the SessionVar is Empty. However, when I click on the URL for the lobby page with

[Lift] Re: Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-17 Thread Dano
t lift webapps send comet requests to: > >http://www.[your-domain].com/comet_request/96624280773/vhbz24xby3vm > > > Could lift instead send comet requests to > > comet[uniqueId].[your-domain].com/[params]? > > > Thanks, > > Xavi > > > On Wed, Sep 16, 2009 a

[Lift] Re: Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-17 Thread Dano
we can't really fight the connection limit, but we should > > be able to specify a frequency to the js if we are going to enter to a > > "polling" policy (instead of long poll)? > > > On Sep 16, 4:49 pm, David Pollak > > wrote: > > > On Wed, Sep 16, 20

[Lift] Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-16 Thread Dano
get some feedback before submitting a bug. Thanks in advance. Dano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe

[Lift] FireFox plug-ins: beware!

2009-09-15 Thread Dano
removed the Skype FireFox plugin and magically my Lift app was cured! Don't know if others have already run into this, but thought I would send a note out just in case. Thanks. Dano --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[Lift] Re: scala-tools.org down?

2009-07-15 Thread Dano
It's now working for me too. Thanks for checking and letting me know. Dano On Jul 15, 9:32 am, Erik Engbrecht wrote: > It's responding for me.  If you use a browser, can you get > tohttp://scala-tools.org? > > On Wed, Jul 15, 2009 at 12:03 PM, Dano wrote: > >

[Lift] scala-tools.org down?

2009-07-15 Thread Dano
Trying to build my scala/lift app and my maven is hung up on scala- tools.org. The machine tied to the domain is pingable but does not service otherwise. Dano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Lift] Re: parameterizing a mapper query clause

2009-07-06 Thread Dano
helps me to connect the dots in my understanding of Lift. Dano On Jul 6, 3:22 pm, Derek Chen-Becker wrote: > Maybe I'm misunderstanding what you're attempting here, but I don't think > that this will work. The major roadblock I see is that the SQL query strings > are tied

[Lift] parameterizing a mapper query clause

2009-07-06 Thread Dano
of the Mapper classes I need to get to work. Does anyone have a quick pointer for a type challenged lifter? Thanks in advance. Dano /* Site analytics code */ val startDate: Box[Date] = parseDate("2009/06/01 00:00") val endDate: Box[Date] = parseDate("2009/07/01 00:00"

[Lift] Re: Is there any eclipse setup that actually works for lift?

2009-06-22 Thread Dano
months ago), debugging was a no-go (although I am sure those IDEs/ plugins have made progress since then). All to the good!! Dan On Jun 22, 3:20 pm, Dano wrote: > Rudi, > > Thanks for posting your Intellij specifics.  Wondering if you are > using the debugger and find that it wo

[Lift] Re: Is there any eclipse setup that actually works for lift?

2009-06-22 Thread Dano
Rudi, Thanks for posting your Intellij specifics. Wondering if you are using the debugger and find that it works for your scala/lift debugging? Dano On Jun 22, 2:57 pm, Rudi Engelbrecht wrote: > I know you are looking for a working Eclipse configuration, but I have   > had great succe

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-22 Thread Dano
t; > > dchenbec...@gmail.com>wrote: > > > > > It seems to me that the pdtPath should be configurable. If other people > > > > agree we should at least open an issue on GitHub to track this. > > > > Sure. > > > > > Derek > > > > &g

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
Resolved. I backed out my override on pdtPath and adjusted my paypal configuration to point to /paypal/pdt and things worked. Moral of the story: Do NOT override pdtPath!! On Jun 18, 12:07 pm, Dano wrote: > Sorry, my post got submitted too early. > > When I commented out the line:

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
Sorry, my post got submitted too early. When I commented out the line: override def pdtPath = "complete" I get the same failure mode as in production. Do I need to set pdtPath or what do I change to work with the default? Thanks. Dan On Jun 18, 12:04 pm, Dano wrote: > Mor

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
More information: In my object which extends PaypalPDT, I had a line which overridded the variable pdtPath: override def pdtPath = "complete" On Jun 18, 11:58 am, Dano wrote: > I trying to get our site (buyafeature.com) live today and ran into a > problem with the paypa

[Lift] lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
I trying to get our site (buyafeature.com) live today and ran into a problem with the paypal feature. I am using the lift-paypal module and things have been working just fine in development. The problem I am seeing is that when I press the "Return to Website" button in paypal, it tries to redire

[Lift] Re: Compile error in TD.scala whith example in "Starting with Lift" HTML guide

2009-04-03 Thread Dano!
I thought I replied to this, apologies if it comes up twice. I found the problem, the HTML shows tildes (~) rather than quotes ("). The PDF is fine (though copy and paste doesn't work as well). I assumed it was a Lift or Scala weirdness. Next question, where to file a bug about t

[Lift] Re: Compile error in TD.scala whith example in "Starting with Lift" HTML guide

2009-04-03 Thread Dano!
r with the HTML? Thanks, Dano! On Apr 3, 3:19 pm, "Dano!" wrote: > Good morning, > > Scala has been getting some interest in the project I work with, and > I've been asked to investigate the Lift framework as a possibility to > migrate our custom coded website to it.

[Lift] Compile error in TD.scala whith example in "Starting with Lift" HTML guide

2009-04-03 Thread Dano!
Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix" Any help would be appreciated, Dano! --~--~-~--~~~---~--~~ You received this message because you are su

[Lift] Re: You guys rock!

2009-03-11 Thread Dano
Late to the party here, but I would second the request for Alex's writeup of his dev environment formula. A link reference would be most appreciated. Thanks very much. Dan On Mar 11, 9:38 am, Alex Boisvert wrote: > On Wed, Mar 11, 2009 at 8:56 AM, Raoul Duke wrote: > > > > Between Scala and

[Lift] Re: Implementing RESTful web services using Lift

2009-02-10 Thread Dano
Chris/David, Thanks very much for the example! Have you two discussed how to mix authorization into this example? When I talked with David about this topic, it seemed that restful services couple credentials with the request. For example, could you use BasicAuth with a username/password as part

[Lift] Re: Menus with Submenus - can I have a top level menu as container only?

2009-02-02 Thread Dano
Did a little more digging into how Loc and MenuItem work together. It looks like the 'kids' of a menu item are not exposed until you click on it. I am looking to see if we can have behavior which exposes the 'kids' of a MenuItem before clicking on it. Dan On Feb 1,

[Lift] Re: Menus with Submenus - can I have a top level menu as container only?

2009-02-01 Thread Dano
l. It has the behavior I want with respect to the top level menu which has submenus (i.e. the top level menu does not redirect, it only shows the sub menu items). Has anyone else tried to do this before? Thanks in advance. Dan On Jan 30, 2:46 pm, Dano wrote: > I have an application with a m

[Lift] Re: Scala-tools.org dns broken

2009-01-31 Thread Dano
Seems like it is working for now. Hope it stays up! Dan On Jan 31, 1:52 pm, David Pollak wrote: > Folks, > The DNS server that serves scala-tools.org's name is down.  If you're having > Maven build issues, they'll resolve once the DNS server is back. > > I'll change the DNS provider to a more

[Lift] Menus with Submenus - can I have a top level menu as container only?

2009-01-30 Thread Dano
click on "Site Admin". Does anyone have a suggestion on how to have the sub-menu items in the above example show when I click on "Site Admin" without requiring that the browser navigate to a new page? Many thanks in advance. Dano --~--~-~--~~~--

[Lift] Re: Does memcache fit in here somewhere?

2009-01-07 Thread Dano
Thanks for posting the presentation. Very informative, plus I love the chalkboard look and feel! Dan On Jan 7, 9:10 am, "David Pollak" wrote: > Ramzi, > > Remote Actors are fragile.  AMQP (RabbitMQ) or ActorD > (http://code.google.com/p/actord/) are better options.  ActorD has the > advantag

[Lift] Re: *** MAJOR BREAKING CHANGES *** LiftRules abstractions

2008-12-15 Thread Dano
LiftRules since the > variables naming is more or less the same. > > If you can not fix your code can you please copy-paste it here ? ... > in this way I may be able to help. > > Br's, > Marius > > On Dec 15, 1:55 am, Dano wrote: > > > Marius, > >

[Lift] Re: *** MAJOR BREAKING CHANGES *** LiftRules abstractions

2008-12-14 Thread Dano
Marius, Is there someway you can communicate what the 'from' and 'to' changes are so that I can have a chance at being able to fix my now broken code? Dan On Dec 13, 12:31 pm, Marius wrote: > All, > > I committed a bunch of changes inLiftRules. In a previous thread > Jorge suggested the abstr

[Lift] Re: maven plugin - scala:console - how to for lift apps - debugging aid

2008-12-10 Thread Dano
ot;).toArray scala> object ConsoleThread extends Thread { override def run = MainGenericRunner.main(args)} scala> ConsoleThread.start() scala> On Dec 10, 3:47 pm, Dano <[EMAIL PROTECTED]> wrote: > Ok.  I got the app to run by adding 'jetty:run' as an argument after

[Lift] Re: maven plugin - scala:console - how to for lift apps - debugging aid

2008-12-10 Thread Dano
Ok. I got the app to run by adding 'jetty:run' as an argument after the Launcher class. However, the interpreter does not return to the command prompt I stop it using -C. Maybe I need to spawn a thread with the expression 'MainGenericRunner.main(args)'. Dan On Dec 10, 3

[Lift] Re: maven plugin - scala:console - how to for lift apps - debugging aid

2008-12-10 Thread Dano
- [ERROR] BUILD FAILURE On Dec 10, 12:25 pm, "Josh Suereth" <[EMAIL PROTECTED]> wrote: > Typo in codehause, it should be org.codehaus.classworlds.Launcher. > > On Wed, Dec 10, 2008 at 2:36 PM, Dano <[EMAIL PROTECTED]> wrote: > > >

[Lift] Re: maven plugin - scala:console - how to for lift apps - debugging aid

2008-12-10 Thread Dano
c 10, 11:12 am, TylerWeir <[EMAIL PROTECTED]> wrote: > What are you attempting? > > if you run: import com.your.classpath.model._ > You should be able to create and play with model objects. > > What are you looking to do? > > On Dec 10, 1:39 pm, Dano <[EMAIL PROTE

[Lift] maven plugin - scala:console - how to for lift apps - debugging aid

2008-12-10 Thread Dano
following: % mvn scala:console jetty:run scala> new bootstrap.liftweb.Boot().boot However, jetty is not running yet and I am not sure how to prod into life. Has anyone tried this or have any suggestions? Thanks in advance. Dano --~--~-~--~~~---

[Lift] Re: a simple screencast for making a sample app

2008-12-09 Thread Dano
Matt, This is great. I am looking forward to your Netbeans screencast. Thanks. Dan On Dec 8, 1:00 am, "Matt Harrington" <[EMAIL PROTECTED]> wrote: > I made a little screencast about creating a sample > "lift-archetype-basic" application.  I hadn't made a screencast > before, and it was actua

[Lift] Re: The first Lift tutorial: a ToDo application

2008-12-08 Thread Dano
I want my view to be testable, should I include an id attribute as well? I really enjoyed the example and will dive in further as time permits. Thanks. Dano On Dec 5, 5:09 pm, "David Pollak" <[EMAIL PROTECTED]> wrote: > Folks, > > I've got a first draft o

[Lift] Re: lift-testkit/REST API test example code

2008-12-04 Thread Dano
Of course! If it had teeth, it would have bit me. I'll dig into that code. Thanks David!! Dano On Dec 4, 1:06 pm, "David Pollak" <[EMAIL PROTECTED]> wrote: > Dan, > > In the Buy a Feature SVN repository, look in the stress_test directory. > It's got

[Lift] Re: lift-testkit/REST API test example code

2008-12-04 Thread Dano
start and I'll keep searching. Thanks. Dano On Dec 4, 12:34 pm, TylerWeir <[EMAIL PROTECTED]> wrote: > Hey Dano, > > For getting examples of how to write tests, the main tree has a bunch > of tests in it:http://github.com/dpp/liftweb/tree/master/lift/src/test > andhtt

[Lift] lift-testkit/REST API test example code

2008-12-04 Thread Dano
Hello Fellow Lifters! I am working on a set of REST APIs for a new Innovation Game and was browsing around the lift group for advice on how this is done. >From one of dpp's posts, I gathered that lift-testkit is what I should use. Has anyone used lift-testkit to test REST api's or know of any s

[Lift] Re: Date and Time Pickers in Lift

2008-11-26 Thread Dano
Should be quite easy to use. > > On Nov 26, 9:59 pm, Dano <[EMAIL PROTECTED]> wrote: > > > Hello Fellow Lifters, > > > I am coding up a form which has separate date and time fields and was > > wondering if there are any picker widgets which can be yoked to the >

[Lift] Re: Date and Time Pickers in Lift

2008-11-26 Thread Dano
<[EMAIL PROTECTED]> wrote: > > > I think JQuery has one. Should be quite easy to use. > > > On Nov 26, 9:59 pm, Dano <[EMAIL PROTECTED]> wrote: > > > > Hello Fellow Lifters, > > > > I am coding up a form which has separate date and time fields an

[Lift] Date and Time Pickers in Lift

2008-11-26 Thread Dano
Hello Fellow Lifters, I am coding up a form which has separate date and time fields and was wondering if there are any picker widgets which can be yoked to the fields to allow the user to pick the date/time rather than type it in. I looked in the lift-widgets directory, but did not find one. Is

[Lift] Re: TextileTestSpec failure with latest lift/scala 2.7.2

2008-11-18 Thread Dano
This is a really curious error. Using identical sources, it passes on my Linux box but fails on my Windows laptop. I cleaned out my maven repository on my laptop just in case, but got the same result. On Nov 17, 1:58 pm, "David Pollak" <[EMAIL PROTECTED]> wrote: > Weird. > > I spent a while th

[Lift] Re: Latest NetBeans plugin and NB 6.5 RC2 is wicked great

2008-11-07 Thread Dano
David, This is probably a newbie question, but I did not see how to enable the Updates tab in the Plugins dialog. Do I have to uninstall and then re-install the Scala Kit plugin to get the update? Thanks. Dan On Nov 7, 10:06 am, "David Pollak" <[EMAIL PROTECTED]> wrote: > Folks, > > I was ha

[Lift] PayPal Example Application

2008-11-07 Thread Dano
I have been working with David Pollak on example code which exercises the Lift paypal library. This exercise is a prelude to using the paypal library within buyafeature.com to allow customers to pay for playing private “Buy A Feature” games. The code for this example can be downloaded from http