http://coldfusion.com logo
Join Slack
Powered by
# taffy
  • m

    mauzer

    07/16/2024, 3:35 PM
    did the trick! AWESOME! thanks @aliaspooryorik 🙏
  • d

    Daniel Mejia

    08/17/2024, 1:59 AM
    @Daniel Mejia has left the channel
  • g

    gavinbaumanis

    09/18/2024, 3:39 AM
    @atuttle at taffy,io the documentation section has Documentation is mostly available at docs.taffy.io, with the more detailed guides remaining in the GitHub wiki for now. The docs.taffy.io page has a link to download v3.3 -= despite 3.6 being the latest.
  • a

    atuttle

    09/18/2024, 12:32 PM
    sorry about that. PR’s welcome to fix that. 😅
  • a

    atuttle

    09/18/2024, 12:34 PM
    https://github.com/atuttle/taffydocs
  • s

    smulholland

    09/23/2024, 2:29 PM
    Brand new to taffy, installed it without issue and have it running, added a couple resources and these all work great from the Taffy dashboard at https://www.mydomain.com/api/ When I try calling them from code via cfhttp, i.e. url="https://www.mydomain.com/api/resourceName" I get a Connection Failure. "Connect Exception: Connect to www.mydomain.com:443 [www.mydomain.com/127.0.0.1] failed: Connection refused: no further information" It seems to me like its a port/permission issue but was wondering if anyone had any more info to point me in the right direction? I want to be able to provide my host with more info before I have them check it out. Thanks!
  • a

    atuttle

    09/23/2024, 2:29 PM
    sounds like you’re missing your SSL certificate. try http instead of https, see if that works.
  • s

    smulholland

    09/23/2024, 2:35 PM
    Thanks Adam, looks like that was it - removed the https and then monkeyed with the end point and its working now. I have the SSL through Cloudflare so I'll need to see how that is currently set. One question, I had to change it to https://www.mydomain.com/api/index.cfm/resourceName to get it to run, I do recall seeing that in the docs. Is there a way to get these calls to run without the index.cfm in the endpoint url?
  • a

    atuttle

    09/23/2024, 2:46 PM
    requires URL rewriting https://github.com/atuttle/Taffy/wiki/URL-Rewrite-Rule-Examples
  • s

    smulholland

    09/23/2024, 2:48 PM
    Thanks again Adam, really love Taffy so far!
  • a

    atuttle

    09/23/2024, 2:49 PM
    👍
  • s

    Stewart McGuire

    10/03/2024, 2:45 PM
    @atuttle Is Taffy not in active development at this point? I noticed that the latest version 3.6 was released 2.5 years ago!
  • a

    atuttle

    10/03/2024, 2:45 PM
    what changes are needed?
  • a

    atuttle

    10/03/2024, 2:46 PM
    I have a to-do list item to implement a couple of changes proposed by @tomchiverton for lucee 6 compatibility, but otherwise it’s just been stable.
  • a

    atuttle

    10/03/2024, 2:47 PM
    My apps still use it in production, as a critical path component to collecting hundreds of thousands of dollars per year (per quarter, by now, maybe?) in e-commerce transactions.
  • s

    Stewart McGuire

    10/03/2024, 2:47 PM
    I saw that lucee 6 compat issue and would welcome it as we are transitioning to Lucee from ACF in the coming months and would love to be on Lucee 6.
  • s

    Stewart McGuire

    10/03/2024, 2:49 PM
    Our biggest issue right now is that if you have a required argument on a request function, then if the argument is not passed in we get an exception thrown. It would be nice for taffy to just trap that exception and return a 417 validation error response. Is there a way to do this currently?
  • a

    atuttle

    10/03/2024, 2:50 PM
    interesting thought. I’ve known about that for a long time but never thought about handling it that way
    👍 1
  • a

    atuttle

    10/03/2024, 2:51 PM
    personally I just mark everything as optional (as far as CF knows) and then do validations in the implementation (param with default, if value is default, then return an error)
  • a

    atuttle

    10/03/2024, 2:51 PM
    would certainly welcome a PR that adds it 😄
  • s

    Stewart McGuire

    10/03/2024, 2:51 PM
    that is what we have been doing but then the arguments are showing up in the taffy dashboard as optional and not required.
  • a

    atuttle

    10/03/2024, 2:51 PM
    yep
  • s

    Stewart McGuire

    10/03/2024, 2:53 PM
    Perhaps I will fork Taffy and see what I can do to improve these areas and if I am successful I will create a PR back to your repo.
  • a

    atuttle

    10/03/2024, 2:54 PM
    cool, let us know how it goes 🙂
  • a

    atuttle

    10/09/2024, 4:07 PM
    So, it appears the clock is ticking on the taffy.io domain: https://every.to/p/the-disappearance-of-an-internet-domain (tldr: the TLD may cease to exist in the next 3-5 years for complex geopolitical reasons, but we don’t know for sure yet) Any suggestions for where it should move, if forced? I have my doubts it will happen — mostly the stuff from the last section of the article, under the heading “the endurance of physical history” rings true to me…
    r
    e
    • 3
    • 2
  • j

    jeremyhalliwell

    11/01/2024, 12:02 PM
    @jeremyhalliwell has left the channel
  • a

    atuttle

    01/23/2025, 1:15 PM
    set the channel description: Discussion and help for http://taffy.io ~The premier REST framework for CFML ~ DOCS: http://docs.taffy.io
  • d

    Darrin Bonikowsky

    01/31/2025, 11:29 PM
    Hi all. Forgive me please, as I suspect that the answer to my question is likely rather simple / obvious, but alas, it has thus far eluded me. I want to disable the Taffy dashboard in production as our users don't need access to it, and because I can do so it just seems like something I'd want to hide. But... I do, from time to time, need to reload the API cache if / when changes are made to those cfc's. One way to do this is for me to: A. change application.cfc to enable the dashboard B. restart CF C. go to the dashboard and click the button to reload the API cache D. change application.cfc to once again disable the dashboard E. restart CF But obviously this isn't terribly "elegant" and 2 CF restarts in production is a little "heavy handed". I've read the documentation on the framework's "reloadKey" and "reloadPassword" options and I suspect that this is exactly what I need to use instead of enabling the dashboard, but... I just don't know how to use those parameters to make the call to re-initialize? Many thanks in advance for your help!
    t
    • 2
    • 9
  • a

    atuttle

    03/25/2025, 1:31 PM
    Hey y’all. Figured I’d drop in to say that I recently released Taffy 3.7.0 that fixed a compatibility issue with Lucee 6. Thanks to @tomchiverton for the report!
    ❤️ 3
    👍 2
    👍🏼 1
  • g

    gundberg

    04/02/2025, 10:54 PM
    FYI: Upgrading to ColdFusion 2025 breaks Taffy API Error message: Attribute validation error for tag CFHEADER. It does not allow the attribute(s) STATUSTEXT. The valid attribute(s) are CHARSET,NAME,STATUSCODE,VALUE. ColdFusion 2025 has removed the statustext attribute of cfheader as noted here: https://www.petefreitag.com/blog/coldfusion-2025-breaking/#:~:text=Removal%20of%20the%20statustext%20attribute%20of%20cfheader&amp;text=You'll%20now%20get%20this,from%20customizing%20the%20status%20text. I fixed my Taffy API by removing the attribute from all <cfheader> tags using it.