Re: Image manipulation code: unit testing approach

2010-08-19 Thread Dominic Watson
Perfect, thanks guys :) Dominic On 18 August 2010 21:18, Alan Rother alan.rot...@gmail.com wrote: You should have a set of baseline images that you know the source of. Things you made in Photoshop using your digital camera, that you can validate the color space and dimensions of. I would

Re: High ASCII characters and jQuery

2010-08-19 Thread Mack
On Thu, Aug 19, 2010 at 6:37 AM, Rick Root rick.r...@gmail.com wrote: The jquery calls are going directly to a cfc method with returntype=JSON .. when viewed in firebug, I see the space, but in the HTML output I see the funky block questionmark. Rick, It might help if you set the charset

SOT: Don’t be programmed to resis

2010-08-19 Thread John M Bliss
Interesting. A non-CFer goes to CFUnited: http://www.cw.ua.edu/2010/08/19/dont-be-programmed-to-resist/ -- John Bliss IT Professional @jbliss (t) / http://www.brandiandjohn.com ~| Order the Adobe Coldfusion Anthology now!

Re: Alternatives to CFFM?

2010-08-19 Thread David McGraw
You can right click the alert pop up, then click on select all, copy the text and paste it into dreamweaver or something else and then let that render it, it will show you what it is. My best guess is that you have some kind of authneitcation scheme going on that the upload script isn't part

Re: Alternatives to CFFM?

2010-08-19 Thread Mike Kear
I think you might be right, David, except that there is no right click menu on that popup. That's the problem. I tried doing that about 8 weeks ago when I first encountered the problem. But based on Kym Kovan's advice that they messed around with this same thing for ages and ages until they

Re: Alternatives to CFFM?

2010-08-19 Thread John M Bliss
FWIW, I messed around with this same thing for a bit and was seeing an error that looked like yours and got it working. Unfortunately, I can't for the life of me remember exactly what the problem/fix was. I do think I remember some issue with CFFM where it was attempting to do a CreateObject or

RE: Alternatives to CFFM?

2010-08-19 Thread Paul Vernon
I think you might be right, David, except that there is no right click menu on that popup. That's the problem. I tried doing that about 8 weeks ago when I first encountered the problem. Mike, *LEFT* click on the error, press CTRL + A to select all, CTRL+C to copy and then open your

Re: High ASCII characters and jQuery

2010-08-19 Thread Rick Root
On Thu, Aug 19, 2010 at 5:22 AM, Mack mrsmith.w...@gmail.com wrote: On Thu, Aug 19, 2010 at 6:37 AM, Rick Root rick.r...@gmail.com wrote: The jquery calls are going directly to a cfc method with returntype=JSON .. when viewed in firebug, I see the space, but in the HTML output I see the

Re: Alternatives to CFFM?

2010-08-19 Thread Michael Grant
From the looks of the screeners that ISN'T a pop-up, it's a javascript alert. There is no context menu. On Thu, Aug 19, 2010 at 8:40 AM, Paul Vernon paul.ver...@web-architect.co.uk wrote: I think you might be right, David, except that there is no right click menu on that popup. That's

Re: Alternatives to CFFM?

2010-08-19 Thread Rick Root
Sorry, I simply haven't had time for my open source projects and that includes any kind of support on my open source projects. Going to cf-talk is the right thing of course. #1 - the screenshot posted is a javascript alert, not really a popup, so you can't right or left click on it and select

RE: Alternatives to CFFM?

2010-08-19 Thread Paul Vernon
At no point do the instructions I gave use a context menu. They do however work for me when debugging errors that appear in javascript alert boxes... Paul -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, August 19, 2010 1:55 PM To: cf-talk Subject:

RE: Alternatives to CFFM?

2010-08-19 Thread Paul Vernon
Sorry, I simply haven't had time for my open source projects and that includes any kind of support on my open source projects. Going to cf-talk is the right thing of course. #1 - the screenshot posted is a javascript alert, not really a popup, so you can't right or left click on it and

Re: High ASCII characters and jQuery [spamtrap bayes][spamtrap heur]

2010-08-19 Thread Paul Hastings
On 8/19/2010 10:37 AM, Rick Root wrote: One of our users has some odd characters in their data... trailing ASCII 160s. In the standard CF output, these show up as spaces, which is apparently fine.. but in the jquery method, they show up as funky question mark/block characters - in all

Re: Alternatives to CFFM?

2010-08-19 Thread Michael Grant
Correct. My mistake. On Thu, Aug 19, 2010 at 9:04 AM, Paul Vernon paul.ver...@web-architect.co.uk wrote: At no point do the instructions I gave use a context menu. They do however work for me when debugging errors that appear in javascript alert boxes... Paul -Original

Re: High ASCII characters and jQuery

2010-08-19 Thread Michael Grant
If you can't get it sorted you could always just replace CHR(160) with a space or zero len string? On Thu, Aug 19, 2010 at 8:40 AM, Rick Root rick.r...@gmail.com wrote: On Thu, Aug 19, 2010 at 5:22 AM, Mack mrsmith.w...@gmail.com wrote: On Thu, Aug 19, 2010 at 6:37 AM, Rick Root

Re: Alternatives to CFFM?

2010-08-19 Thread Rick Root
On Thu, Aug 19, 2010 at 9:09 AM, Paul Vernon paul.ver...@web-architect.co.uk wrote: #1 - the screenshot posted is a javascript alert, not really a popup, so you can't right or left click on it and select anything. Rick, just FYI, I can and do get the data out of those alert boxes on a

RE: Alternatives to CFFM?

2010-08-19 Thread Andrew Scott
For what it is worth, if you use firebug in FireFox any HTTP request returned from the server and post information can be easily seen. I wish developers would use this more it is invaluable tool to have. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Paul

Re: Alternatives to CFFM?

2010-08-19 Thread Rick Root
On Thu, Aug 19, 2010 at 9:36 AM, Andrew Scott andr...@andyscott.id.au wrote: For what it is worth, if you use firebug in FireFox any HTTP request Firebug rocks. I don't think I could do jQuery development without firebug. I'd go insane.

Journaling

2010-08-19 Thread Stephens, Larry V
The project I'm working on requires Journaling, i.e., track changes made to the data. I'm hoping to do this as a blackbox. My beginning plan is to duplicate the query that loads the form to a session variable. Then, when the form submits, compare the submitted data to the original data and

Re: Journaling

2010-08-19 Thread Michael Grant
If you know the column names you just do form.columnName to get it. If you don't know the column names you can dynamically compare them by looping through form.fieldNames to get the value name. Then just do an eval to get it's value. On Thu, Aug 19, 2010 at 10:02 AM, Stephens, Larry V

Re: Journaling

2010-08-19 Thread Martin Franklin
cfdump var=#FORM# cfdump var=#qName# - Original Message - From: Stephens, Larry V steph...@indiana.edu To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, August 19, 2010 7:02 AM Subject: ***SPAM*** Journaling The project I'm working on requires Journaling, i.e., track changes

Re: Journaling

2010-08-19 Thread Ian Skinner
cfloop collection=form item=field cfoutput#form[field]#cfoutput /cfloop cfloop query=query cfloop list=#query.columinlist# index=column cfoutput#query[column]#/cfoutput /cfloop /cfloop But I think if I was in your shoes, I would be looking at a database solution. Something done with

Re: Licensing on CKEditor - included?

2010-08-19 Thread Adrocknaphobia
No. The CKEditor is not currently licensed with ColdFusion. -Adam On Wed, Aug 18, 2010 at 11:51 PM, Mike Kear afpwebwo...@gmail.com wrote: Is this true? - we can replace the existing FCKEditor in our ColdFusion with the updates to CKEditor because it's already licensed to Adobe as part of

Re: Alternatives to CFFM?

2010-08-19 Thread Raymond Camden
And as a side note - if you switched to Chrome because it's 100x faster then Firefox (grin), it has similar tools built in. On Thu, Aug 19, 2010 at 8:53 AM, Rick Root rick.r...@gmail.com wrote: On Thu, Aug 19, 2010 at 9:36 AM, Andrew Scott andr...@andyscott.id.au wrote: For what it is worth,

cfpdf and cffileupload

2010-08-19 Thread Tim Do
I've been working with these tags a lot lately and am currently finding them a little buggy. It works for the most part beautifully but it seems like once in a while when doing a merge, one or more of the merged pdf files get the error insufficient data for an image. It's random as to which

ResolveURL with CFX_HTTP5

2010-08-19 Thread Claude Schnéegans
Hi, Any one here using CFX_HTTP5? I do not see any equivalent for the attribute ResolveURL in the CF CFHTTP tag. Am I missing something? ~| Order the Adobe Coldfusion Anthology now!

RE: ResolveURL with CFX_HTTP5

2010-08-19 Thread Andrew Scott
You mean this CF CFHTTP Tag? cfhttp url = server URL charset = character encoding clientCert = filename clientCertPassword = password columns = query columns delimiter = character file = filename firstrowasheaders = yes|no getAsBinary =

Re: ResolveURL with CFX_HTTP5

2010-08-19 Thread Claude Schnéegans
You mean this CF CFHTTP Tag? No, I mean the Custom Tab CFX_HTTP5 which is supposed to be a replacement for CFHTTP. But there is no RESOLVEURL attribute. By the way, there used to be a bug in previous versions of CF : the RESOLVEURL process was missing links in CSS declarations like images in

Regex question

2010-08-19 Thread Ian Skinner
I need to turn some relative links into absolute links in a string. I have this rereplace() working well to do that. rereplace(links,'(href=)([^]*)','\1http://www.cdpr.ca.gov\2','ALL') But there is one link in the string that is already absolute going to a different domain. Is there an

Re: High ASCII characters and jQuery

2010-08-19 Thread Mack
On Thu, Aug 19, 2010 at 3:40 PM, Rick Root rick.r...@gmail.com wrote: A fine idea... I already had a cfcontent in there so I added the charset        cfcontent reset=Yes type=text/plain; charset=utf-8 (also tried application/json, which is apparently the proper mime type for json return

Re: Regex question

2010-08-19 Thread Ian Skinner
On 8/19/2010 8:32 AM, Ian Skinner wrote: I need to turn some relative links into absolute links in a string. I have this rereplace() working well to do that. rereplace(links,'(href=)([^]*)','\1http://www.cdpr.ca.gov\2','ALL') Thank you Ian, adding the forward slash[/] character in two

Re: Alternatives to CFFM?

2010-08-19 Thread Tony Bentley
you can add this code to the cffm.js: function createErrorWin(msg){ var el = $(document.createElement(div)); $(el).html(msg); $(el).css(zIndex,999); $(body).append(el); } and then do a find and replace for all alerts; find:alert replace:createErrorWin If an error

Re: High ASCII characters and jQuery

2010-08-19 Thread Rick Root
On Thu, Aug 19, 2010 at 11:30 AM, Mack mrsmith.w...@gmail.com wrote: On Thu, Aug 19, 2010 at 3:40 PM, Rick Root rick.r...@gmail.com wrote: A fine idea... I already had a cfcontent in there so I added the charset        cfcontent reset=Yes type=text/plain; charset=utf-8 (also tried

RE: Journaling

2010-08-19 Thread Stephens, Larry V
Thanks. -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, August 19, 2010 10:07 AM To: cf-talk Subject: Re: Journaling If you know the column names you just do form.columnName to get it. If you don't know the column names you can dynamically compare

RE: Journaling

2010-08-19 Thread Stephens, Larry V
Thanks. -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Thursday, August 19, 2010 10:10 AM To: cf-talk Subject: Re: Journaling cfloop collection=form item=field cfoutput#form[field]#cfoutput /cfloop cfloop query=query cfloop list=#query.columinlist#

Re: Journaling

2010-08-19 Thread Rick Root
Larry, I don't know if this interests you, but I have one case where I use a database trigger (in SQL Server) to log ALL changes to the table. Basically, an audit table is created that logs all the data changes .. here's the trigger It's quite generic, you just have to change the database name

RE: Preventing use of remote method by other sites

2010-08-19 Thread UXB Internet
I doubt anyone's going to care to mess with it This assumption all depends on the average age of the visitors to the website and the possible gain there is in messing with it. In my experience the lower the age of the visitors the less actual gain is needed to inspire them to mess with it.

Re: Preventing use of remote method by other sites

2010-08-19 Thread Rick Root
I'm with Ray here, glad to see I'm not the only one that thinks like that. Just because it's unlikely doesn't mean you shouldn't protect yourself against unlikely attacks. It's pretty much impossible to protect a remote method from being called by anyone who wants to call it. If they're trying

Re: Journaling

2010-08-19 Thread Steve Milburn
I'm not sure what database you are using, but SQL Server 2008 has a built-in option for change tracking. You simply specify which table(s) you want to monitor, and SQL Server will automatically track any changes to those tables. On Thu, Aug 19, 2010 at 10:02 AM, Stephens, Larry V

Re: Licensing on CKEditor - included?

2010-08-19 Thread denstar
CKEditor is open source (or dual-tri licensed or some such, for folks that need support). You're going after the file manager plugin that isn't open source, aren't you? =-) :Den -- A wise man sees as much as he ought, not as much as he can. Michel de Montaigne On Wed, Aug 18, 2010 at 9:51

best way to create zip code locator feature

2010-08-19 Thread Nick Gleason
Hi folks, We need to create a search feature that includes a zip code locator such that the searcher can enter their zip code and then get search results within a certain radius (e.g. within 20 miles, etc.). This has no doubt been done many times. Is there a best practice for doing this

RE: best way to create zip code locator feature

2010-08-19 Thread Justin Scott
We need to create a search feature that includes a zip code locator such that the searcher can enter their zip code and then get search results within a certain radius (e.g. within 20 miles, etc.). There are several ways to do this. We generally purchase a database with all of the zip codes

Re: best way to create zip code locator feature

2010-08-19 Thread Rick Root
Nick, We do proximity searches in our application. We bought a zip code database for $5 from teamredline.com and I blogged about the transact-SQL code that we use here: http://www.opensourcecf.com/1/2007/02/Determining-Zip-Code-Proximity.cfm Rick

Re: Licensing on CKEditor - included?

2010-08-19 Thread Mike Kear
G'day Den, Actually I was thinking of updating to the newest CKEditor from my current favourite FCKEditor and using the matching CKFinder. You're right, all i actually NEED right now is a replacement for CFFM, so the CKFinder would do that, but I thought there would probably be some advantages

Re: Alternatives to CFFM?

2010-08-19 Thread Mike Kear
RICK!! Thank you for your response. I am most grateful. I thought we'd lost you. However unless the flash/cookie authentication thing is quick for me to fix, I'm still going to have to move on to another product I'm afraid. Your CFFM is a super application, except for the fact that the

RE: ResolveURL with CFX_HTTP5

2010-08-19 Thread UXB Internet
No, I mean the Custom Tab CFX_HTTP5 which is supposed to be a replacement for CFHTTP. But there is no RESOLVEURL attribute. You are correct that function is not in the CFX library. Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844

Re: Alternatives to CFFM?

2010-08-19 Thread Rick Root
On Thu, Aug 19, 2010 at 6:43 PM, Mike Kear afpwebwo...@gmail.com wrote: By the sound of it,  quite a few people have experienced this same issue, so if you want to keep moving it along, you will probably need to spend some time working out a solution for this sooner or later. Not to be rude,

Re: Alternatives to CFFM?

2010-08-19 Thread Mike Kear
No problem. You dont NEED to do anything. I wasn't trying to tell you what to do. Just saying. If you read what i wrote fully, you'd have seen i put a big IF in the beginning of that sentence.I wrote: ...if you want to keep moving it along, you will probably need to spend some time

Re: Preventing use of remote method by other sites

2010-08-19 Thread Andrew Grosset
and there lies the problem... many people will believe that this is a secure method of preventing access to something, all it does is make it more difficult, it certainly doesn't make it secure. I'm not going to elaborate on how this can be bypassed as several previous comments have already

Re: SOT: Don’t be programmed to resi

2010-08-19 Thread Sean Corfield
Elliott Sprehn's girlfriend. His mom and dad were there too (and came over and chatted to me at the Railo booth). Elliott will soon be a neighbor of mine as he's moving to the Bay Area to work for Google. Yes, he's that smart (and, yes, his mom's *very* proud of him and loved the Swiss chocolate