http://coldfusion.com logo
Join Slack
Powered by
# box-products
  • l

    lmajano

    10/19/2022, 12:05 PM
    A big thanks to @gpickin and @bdw429s after many months of hard work, the S3SDK gets a big major release. With tons of fixes but also great new features. From Signed PUT urls to upload directly from the user to the s3 bucket securely, to full ACL control via security grants. Here are the full release notes: https://github.com/coldbox-modules/s3sdk/releases/tag/v5.0.0
    👍🏼 2
    👍 8
    🔥 3
    🎉 3
    👍🏻 1
    👍🏾 1
    b
    g
    +2
    • 5
    • 10
  • o

    Ookma-Kyi

    10/21/2022, 8:16 PM
    I have a weird issue with
    redirectback()
    https://github.com/elpete/redirectBack. According to it's description it uses flash storage to redirect back to the previous page. In my login, registration and forgotpassword controllers I am using the following code to redirect back if the user is already logged in to prevent him from creating additional accounts, reset password and log in again:
    Copy code
    if ( auth.isLoggedIn() ) {
    	redirectBack();
    }
    The issue if the user hits the back button on their browser instead of navigating normally, when they try to access the
    "restricted"
    page it redirects them the the last page they accessed normal. So for example: 1. Profile Page 2. Change Password Back Button to Profile Then try to access any of the 3 controllers I listed above via the url, it redirects to the Change Password page instead of Profile which I find weird. Any ideas?
  • e

    elpete

    10/22/2022, 5:11 AM
    This is because the browser back button does not send any new requests to your CFML server. It loads the cached page from the browser.
    o
    • 2
    • 5
  • e

    elpete

    10/22/2022, 5:11 AM
    So the last request your server received was the Change password page
  • j

    jc

    10/23/2022, 2:27 AM
    I have no idea what I am doing wrong but I just started a brand new acf2021 instance using commandbox and it appears the default password for the admin is no longer commandbox, I can not seem to login .. did I miss a memo?
    b
    • 2
    • 6
  • c

    Ciqala Burt

    10/24/2022, 12:28 PM
    hey all. I have a coldbox prehandler that I'm using to validate a submitted form before processing but it's just stopped working in the weirdest way. in the top left you can see the structkeyexists from line 57 is returning true, but immediately after line 60 is saying it doesn't exist. we recently tweaked some of our app environment settings (i couldn't easily tell you what) so I'm wondering is there an obvious config setting that could be culprit behind this maybe? (if i make a new variable and pass that instead of rc it works but then it complains about the next rc value in the arguments and I'd rather find the root issue than work around it).
    ✅ 1
    rubber duck 1
  • c

    Ciqala Burt

    10/24/2022, 12:30 PM
    as is the way, posting that I notice the return value is rc scoped and var'd. think I have my culprit. thanks for being a sounding board... 😆
  • s

    satauros

    10/25/2022, 6:08 AM
    When using TestBox (v4.5.0+5) I all of a sudden get an exception (all it says is
    returntype
    ) (source
    testbox\system\MockBox.cfc:681). Anyone run into this?
    e
    b
    • 3
    • 19
  • g

    gpickin

    10/25/2022, 4:59 PM
    Join Gavin Pickin and Scott Steinbeck for this week's CFML News Podcast

    https://youtu.be/-CdMcz8OGJs▾

  • s

    satauros

    10/25/2022, 6:47 PM
    @bdw429s TestBox is throwing an error of element filetemplate is not defined in local when trying to generate code coverage... Ever ran into this?
    b
    • 2
    • 16
  • d

    Daryl Lackey

    10/26/2022, 4:06 PM
    When using Commandbox, I’m struggling with getting my alias to work. I don’t know if it’s a concept issue I’m struggling with or if I’m trying to make it do something it isn’t supposed to do. I have the webroot on my local c: drive and trying to include a repository of files available for users to download. I don’t want the files as part of the code base so I have it on my d: drive. I thought I could setup an alias:
    server set web.aliases./guides = d:\\guides
    For a test case, I added a dummy image to the d:\guides\image1.jpg and then in my cfm code, I have <img src=“/guides/image1.jpg”> but the image is returning as a broken link. For grins, I move the d:\guides folder to the webroot, updated the server set statement, restarted commandbox but I’m still getting a broken image.
    b
    • 2
    • 38
  • b

    bdeline2

    10/26/2022, 4:52 PM
    Is there a way to have a model in a module reference a module setting without explicitly using the module mapping? For example I have the following app structure: app -- modules ---- mymodule ------ models -------- _BaseComponent.cfc -------- ComponentA.cfc In my ModuleConfig.cfc configure() method, i have a setting named 'myTestSetting'. I know in my _BaseComponent.cfc I can inject that setting like so:
    property name="mySetting" inject="coldbox:moduleSettings:_*mymodule*_:myTestSetting";
    But is there some way to do something like this without actually hardcoding 'mymodule' or some other mechanism besides property injection? My '_BaseComponent.cfc' is a component I use in multiple code bases and I copy it from one code base to another as needed (which isn't very much). I'm trying to help my future self out when I copy it and I forget to update the module name.
    b
    w
    • 3
    • 20
  • t

    Tyler Clendenin

    10/27/2022, 1:58 PM
    question about commandbox, can it be used to manage an existing ColdFusion installation or does it only work with it's embeded server. ex I'd love to use it to manage datasources of an existing cf installation via the CLI
    r
    b
    • 3
    • 10
  • g

    gpickin

    10/28/2022, 4:02 PM
    Starting now - Ortus Webinar with me Gavin - Step up your Testing Game - https://t.co/KmQBJEAcYd
    a
    p
    j
    • 4
    • 11
  • g

    gpickin

    10/28/2022, 9:26 PM
    Those who missed the webinar, here it is. https://cfcasts.com/series/ortus-webinars-2022/videos/gavin-pickin-on-step-up-your-testing Will push the code later today.
  • j

    johnbarrett

    10/28/2022, 11:39 PM
    Has anybody been able to install a server in the ColdFusion Builder extension for VS Code, while running commandbox? In the server home I am using - /Users/johnbarrett/.CommandBox/server/41283A4F601EB1E5A3BFE74A758B4DB9-Documents/adobe-2021.0.04.330004 but it's saying that this is an invalid server home.
    b
    • 2
    • 1
  • p

    Patrick

    10/28/2022, 11:59 PM
    Looking at the Ortus announcements email, noticed a module called cbGenesis but cant seem to find it on forgebox or commandbox install. Is this out yet?
  • g

    gpickin

    10/29/2022, 12:40 AM
    It is in development, I am not sure when it will hit forgebox... but I am excited about it as well @Patrick - we are dog fooding it right now for some clients from what I heard.
  • p

    Patrick

    10/29/2022, 1:03 AM
    @gpickin Ahh just made me interested for a quick starter, that and I have been wanting to try out tailwind for ages now.
  • d

    Daniel Mejia

    10/30/2022, 12:57 AM
    What’s cbGenesis?
    p
    g
    +2
    • 5
    • 11
  • r

    redtopia

    10/31/2022, 6:23 PM
    Question about commandbox embedded server development: I'm porting my dev environment over to a Mac from Win10. I want to use commandbox as my runtime environment, which I have more or less setup. Currently, I can access the site and the Lucee admin, and I'm questioning my next steps. I would like to be as portable as possible and avoid having to manually enter a bunch of stuff in the lucee admin, like caches, datasources, email, etc. I assume I'll use cfconfig, but I'm wondering if I should first manually enter all the lucee stuff in the lucee admin, and then use cfconfig to export that information into a file that can be reused. Or is there a better way to approach this?
    b
    • 2
    • 47
  • j

    johnbarrett

    10/31/2022, 10:36 PM
    can you create a datasource with cfconfig? I know I can list all my datasources, but I am wondering if I can create one using the cli.
    m
    b
    • 3
    • 4
  • g

    garciadev

    11/01/2022, 5:01 PM
    Going Live Now - @gpickin and @djgarcia76 host this weeks CFML News Podcast. Chat and watch live on YouTube: https://t.co/F3zWgw4dFv #cfml #coldfusion #podcast https://t.co/inFGuIQJzF https://t.co/EEBOD4AOL3
  • m

    mithlond

    11/01/2022, 6:26 PM
    Question regarding this thread: https://cfml.slack.com/archives/C06TABBT8/p1667313130243079 We're using the ColdBox docker container, and I'm wondering if this is something we should be concerned about. I thought I read someone saying there was a recent update to the CB container - not sure if that's related
  • j

    johnbarrett

    11/02/2022, 7:59 PM
    Come join us for the Next Hawaii ColdFusion User Group meeting with Brad Wood - Managing All your ColdFusion Servers with CommandBox https://www.meetup.com/hawaii-coldfusion-meetup-group/events/289489609/
    r
    • 2
    • 4
  • l

    lmajano

    11/03/2022, 1:16 PM
    Hey Folks! Our ColdBox Master class is completely FREE until the end of the year! This is our initiative to help the community to start building amazing apps! All we asks is you please follow us, tag us, star our projects, become a patreon or just help spread the word! Together we can truly innovate and modernize! https://www.cfcasts.com/series/cb-master-class
    🎉 6
    👏🏾 1
    🚀 2
    👏 4
    👍 4
    b
    s
    • 3
    • 2
  • w

    websolete

    11/03/2022, 2:33 PM
    what is the threshold, if any, above which it's recommended to have a dedicated web server in front of a commandbox instance? we're considering deployments of commandbox/lucee in a production environment but these apps only face inward (intranet). there's little expectation of a high volume of requests, but would prefer to proactively design a solution that won't have to be subsequently be changed a month down the line
    z
    s
    +3
    • 6
    • 11
  • w

    websolete

    11/03/2022, 2:34 PM
    clearly omitting iis/nginx/apache would simplify things, but wondering at what point it becomes a liability to do so
  • g

    gpickin

    11/04/2022, 3:57 PM
    Ortus Office Hours starting now with Daniel, Grant and Gavin https://us06web.zoom.us/j/88215794668?pwd=Uzl1TDVQNUVkWHlaQkV4a29TREUxQT09
  • o

    Ookma-Kyi

    11/04/2022, 4:48 PM
    Um:
    Copy code
    CommandBox> migrate up
    Migrating: 2000_01_01_000000_create_users_table
    Migrated:  2000_01_01_000000_create_users_table
    Migrating: 2000_01_01_000001_create_belts_table
    Migrated:  2000_01_01_000001_create_belts_table
    Migrating: 2000_01_01_000002_create_characters_table
    
    
    
    ERROR (5.5.2+00578)
    
    Cannot add foreign key constraint
    
    C:\Users\ookma\.CommandBox\cfml\modules\commandbox-migrations\modules\cfmigrations\modules\qb\models\Schema\SchemaBuilder.cfc
    
        CREATE TABLE `characters` (
            `id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
            `userid` INTEGER NOT NULL,
            `deleted` TINYINT(1) NOT NULL DEFAULT 0,
            `active` TINYINT(1) NOT NULL DEFAULT 0,
            `name` VARCHAR(25) NOT NULL UNIQUE,
            `xp` INTEGER NOT NULL DEFAULT 0,
            `belt` INTEGER NOT NULL,
            `wins` INTEGER NOT NULL DEFAULT 0,
            `loses` INTEGER NOT NULL DEFAULT 0,
            `draws` INTEGER NOT NULL DEFAULT 0,
            CONSTRAINT `pk_characters_id` PRIMARY KEY (`id`),
            CONSTRAINT `fk_characters_userid` FOREIGN KEY (`userid`) REFERENCES `users` (`id`) ON UPDATE NO ACTION ON DELETE CASCADE,
            CONSTRAINT `fk_characters_belt` FOREIGN KEY (`belt`) REFERENCES `belts` (`id`) ON UPDATE NO ACTION ON DELETE CASCADE
        )
    Um what?
    b
    • 2
    • 4
1...161718...30Latest