Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 06 2021 12:53
    marcker closed #1
  • Apr 04 2020 20:44
    DanielRuf closed #48
  • Mar 12 2020 22:28
    sailsbot commented #10
  • Mar 12 2020 22:28
    Sytten opened #10
  • Feb 28 2020 19:06

    rachaelshaw on master

    Switch to @sailshq/request (compare)

  • Dec 19 2019 16:05
    sailsbot commented #9
  • Dec 19 2019 16:05
    ecorona opened #9
  • Nov 06 2019 20:19
    dependabot[bot] labeled #8
  • Nov 06 2019 20:19
    sailsbot commented #8
  • Nov 06 2019 20:19
    dependabot[bot] opened #8
  • Nov 06 2019 20:19

    dependabot[bot] on npm_and_yarn

    Bump eslint from 3.19.0 to 6.6.… (compare)

  • Nov 06 2019 20:19
    dependabot[bot] labeled #4
  • Nov 06 2019 20:19
    dependabot[bot] opened #4
  • Nov 06 2019 20:19

    dependabot[bot] on npm_and_yarn

    Bump eslint from 3.19.0 to 6.6.… (compare)

  • Oct 08 2019 21:55
    marcker synchronize #1
  • Oct 08 2019 21:26
    marcker opened #1
  • Jul 19 2019 15:15
    shackbarth closed #49
  • May 03 2019 19:59

    mikermcneil on master

    remove unused require Fix node 10 tests to correctly … Eliminate deprecation warning t… and 2 more (compare)

  • May 02 2019 15:25
    mikermcneil commented on c179232
  • May 02 2019 01:16

    mikermcneil on master

    -0 is broken in Node 10, so ski… (compare)

Roberto Wesley Overdijk
@RWOverdijk
I was being facetious
@mikermcneil I have some feedback, it's not about treeline but is probably largely caused by treeline. :)
VoidVolker
@VoidVolker
ah, ok ) don't scary me so ))
yes-yes, me to have some feedback
Travis
@rockacola
Hi
Mike McNeil
@mikermcneil
@rockacola hi!
VoidVolker
@VoidVolker
how to host treeline app at relative path?
Mike McNeil
@mikermcneil
if you're hosting at a relative path, you'll be behind some kind of other server-- there has to be an entry point of some point that the DNS is pointed to. What's the server living at /?
VoidVolker
@VoidVolker
@mikermcneil we discuss this via email and you have my detailed report; it is not comfortable to host sails app in relative path and sub domain is easy
JSMap
@JSMap
Hi, i would like to use a Machinepacks in my sailsjs project ? is it possible ?
César
@ICesarI
@Geocloud, just follow the instructions that every machinepack has and that's it.
JSMap
@JSMap
@ICesarI thank you
Offline Connection
@joewhat
can some one outline for me how to use this machine for creating sails new with gulp? http://node-machine.org/machinepack-sailsgulpify
John Tomaselli
@johntom

@Geocloud I wrote the mp for authorize.net and yelp. In controller

var AuthorizeNet = require('machinepack-authorizenet');

 AuthorizeNet.createTransactionRequest({
            transactionKey: 'secret',
            apiLoginId: 'secret',
            amount: paypalOptions.total,
            currency: 'usa',
            cardnumber: paypalOptions.eccnum,
            cardexpmonth: paypalOptions.cbexpdatem,
            cardexpyear: paypalOptions.cbexpdatey,
            cvv2: paypalOptions.ecvc,
            billingFirstName: 'john',
            billingLastName: 'Thomas',
            billingAddress1: "500 5th Ave",
            billingCity: "New York",
            billingState: 'NY',
            billingPostalCode: '10011',
            billingCountry: 'USA'
          }).exec({
            // An unexpected error occurred.
            error: function (err) {
              return res.json(err);
            },
            // OK.
            success: function (newCharge) {
              console.log('Stripe result ', newCharge.id, newCharge.source.id)
              var upstr = ' execute procedure "SP Member EnrollPart3"(%s,%s,%s,%s,%s ,%s,%s,%s,%s,%s ,%s,%s,%s,%s,%s,  %s)';
              var upstr2 = util.format(upstr,
                bq(paypalOptions.memid),
                bq(paypalOptions.payoption),
                bq(paypalOptions.promocode),
                bq(paypalOptions.password),
                bq(paypalOptions.subtotal),
                bq(paypalOptions.processingfee),
                bq(paypalOptions.total),
                bq(paypalOptions.cbcardtype),
                bq(paypalOptions.eccnum),
                bq(paypalOptions.ecvc),
                bq(paypalOptions.cbexpdatem),
                bq(paypalOptions.cbexpdatey),
                bq(paypalOptions.autopayment),
                bq(newCharge.id),
                bq(newCharge.source.id),
                bq(newCharge.status));

HTH

...
Mike McNeil
@mikermcneil
New major versions of machinepack-process, machinepack-fs, and machinepack-mysql are out. (Major caveat is that you can't use them in Treeline yet, but we're working on that).
VoidVolker
@VoidVolker
hey, I released new tool to watch files/directories changes and execute commands: https://www.npmjs.com/package/nano-watcher - it is small and simple, can work on mounted FS and VBox share, can run numerous commands with any arguments in any directory
VoidVolker
@VoidVolker
treeline new myappp isn't creates file treeline.json and application cannot be initialized
@mikermcneil
VoidVolker
@VoidVolker
solved via manual creating...
Custom Website
@customwebsite
Can I get an invite to treeline? I can't wait to give it a go!
@mikermcneil ^^
Miguel Angel Salinas Gancedo
@masalinas
Anybody had used the module node-red-contrib-ui to paint charts??
Robert Kopaczewski
@23doors
machinepack-http is broken in recent release. It shows in docs (http://node-machine.org/machinepack-http/send-http-request) that there are formData and params but they are not specified in input for machinepack anymore. https://runkit.com/582c52bc7f8b590013d4197b/5837191997657a0014e10e38
Mike McNeil
@mikermcneil
What version?
Robert Kopaczewski
@23doors
hm? well, latest.. so. 3.0.
Mike McNeil
@mikermcneil
Hmm weird. Checking it out
Mike McNeil
@mikermcneil
Ah I'm sorry the importer needs an update
Robert Kopaczewski
@23doors
not sure what you mean. examples from http://node-machine.org/machinepack-http/send-http-request do not work so either: docs are wrong or something in package is wrong. breaking backwards compatibility without even updating docs is kinda bad.
Gabriel Alcivar
@galcivar
Agreed with Robert, tried using the machinepack and keeps failing. Will we have some documentation update soon?
Mike McNeil
@mikermcneil
Hey guys, sorry about the inconvenience. The Node-Machine.org (registry) importer is down right now, but we'll have it up again ASAP. machinepack-http@v3 is a breaking change that simplifies the interface and improves usability. I'm at the Node Interactive conference in Austin right now, but as soon as I sit down I'll take a look. In the mean time, if you npm install machinepack-http@^2.0.0, you'll get the version you're expecting.
Mike McNeil
@mikermcneil
Alright, on it
Mike McNeil
@mikermcneil
OK so just about got it sorted out-- the issue has to do with how the registry does its sandboxing. When it reads machine definitions, it prevents access to require to avoid malicious code injection, but to still allow machine definitions to be normal JavaScript. Unfortunately, this also prevents the use of constants, which are handy. Since the machines in question were using constants, they were skipped during import.

To fix this, we added special exception, allowing machines to require from the top-level constants folder in the machinepack.

Note that this restriction is only OUTSIDE of the fn -- you can make any require call you like inside of the fn.

At some point in the future, we might want to formalize this convention further. Realistically, as convenient as it is, I was originally thinking of moving us towards a system where pack metadata is pushed manually (so developers can see errors when things aren't working right). It's just that, to do that, we need a concept of authentication etc. And plus, we could display any warnings/errors on the registry page for the pack. This way, we also stay closely tied to NPM's ecosystem, which is how I'd like to keep things.
Mike McNeil
@mikermcneil

--

redeploying now, sorry about the inconvenience

Mike McNeil
@mikermcneil
Ended up having to roll it back for now to keep it online - will take another look at this in a few hours once Heroku has had a bit of time to cool down from all the extraneous builds -_-
Mike McNeil
@mikermcneil
@/all Alright, the registry is back up and running again, and the latest machines are being synced.
@23doors @galcivar You can see the new usage of sendHttpRequest() in mp-http@v3 here. Also, there are a few new shortcut machines you might want to take advantage of: http://node-machine.org/machinepack-http (same idea as $.get(), $.post(), etc. from jQuery)
Angel D. Munoz
@AngelMunoz
Hey, Hello Is it a bad practice if for example I would like to include a mongo/sql machine as a dependency on other machine?
Mike McNeil
@mikermcneil
Not at all- just use the machinepack as a dep in package.json and require it in the fn
Angel D. Munoz
@AngelMunoz
thanks
Smruti Mandal
@smrutimandal
Folks, i see that the in the postgresql machine pack, 0.4 had machines such as countRecords and listRecords. But in the latest version(1.0.0.10) those machines don't exist anymore and have been replaced with Connectable, Queryable and Transactional machines
I would like to add a few machines from the "Modeled" layer for pgsql. Can someone kindly help with some documentation around creating machines at this layer.
Divyansh Batham
@DivyanshBatham
Hello Everyone :smile:
I need some help with machinepack-hackerrank, can someone help me with it?
Kacper Dela
@kdela
Hi guys! Do you remember node-machines editor with GUI?
Kacper Dela
@kdela
Ah treeline, I found it ;)
Mohamed Chedli Ben Yaghlane
@medchedli
Hi ! Is treeline beta project is still in development ?