Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Robert Talamantez
    @Talamantez
    it just returns 'null'
    .null
    Greg Prisament
    @gregulator
    interesting
    Robert Talamantez
    @Talamantez
    This message was deleted
    also I was wondering if you have an endpoint for user/devices, current documentation says
    GET /api/me/devices?
        filter=<FILTER>
        &sort=<SORT>
        &limit=<LIMIT>
    Greg Prisament
    @gregulator
    no not yet
    Robert Talamantez
    @Talamantez
    cool, thanks
    it is responding with 200 ok, however
    I mean 200
    Greg Prisament
    @gregulator
    What URL are you sending the request to?
    endpoint is the UUID
    I pushed the current version
    Greg Prisament
    @gregulator
    Ok I need to fix the /get/api/device/ID endpoint
    Probably can't get it fixed now.
    Tomorrow maybe.
    Robert Talamantez
    @Talamantez
    cool
    nbd, I can keep putting tests together
    Greg Prisament
    @gregulator
    BTW, Tim is coming over tomorrow @10am if you want to hang out here
    (no obligation)
    Robert Talamantez
    @Talamantez
    I think I need to stay in Oakland tomorrow, if that's alright
    Greg Prisament
    @gregulator
    yeah np
    Robert Talamantez
    @Talamantez
    got a show with Kat tomorrow night in Alameda
    Greg Prisament
    @gregulator
    let's talk on phone
    Robert Talamantez
    @Talamantez
    sounds good
    I have a call at 11, but I'm otherwise free
    Greg Prisament
    @gregulator
    right now I mean
    real quick
    Greg Prisament
    @gregulator
    Ugh... These response times are terrible.
    Frisby Test: auth/basic-auth-user_spec: BASIC AUTH user POST login  - 320 ms
    
        [ POST https://dev02.canopy.link/api/login ] - 319 ms
    
    Frisby Test: CREATE USER-LINKED DEVICE users/session-login-create-device_spec:Create - 989 ms
    
        [ POST https://dev02.canopy.link/api/create_user ] - 988 ms
    
    Frisby Test: CREATE USER-LINKED DEVICE users/session-login-create-device_spec:Create - 949 ms
    
        [ POST https://dev02.canopy.link/api/create_user ] - 949 ms
    
    Frisby Test: LOGIN/LOGOUT users/session-login-logout_spec: Create - 954 ms
    
        [ POST https://dev02.canopy.link/api/create_user ] - 954 ms
    
    Frisby Test: UPDATE users/session-login-update_spec: Create - 956 ms
    
        [ POST https://dev02.canopy.link/api/create_user ] - 956 ms
    
    Frisby Test: LOGIN/VERIFY  users/session-login-verify_spec: Create - 863 ms
    
        [ POST https://dev02.canopy.link/api/create_user ] - 863 ms
    Robert Talamantez
    @Talamantez
    well, each one contains like 6 tests
    Greg Prisament
    @gregulator
    ok, then it's not quite as bad as i thought
    Robert Talamantez
    @Talamantez
    aight - I got to head out - talk to you tomorrow man!
    Greg Prisament
    @gregulator
    sounds good, ttyl
    Greg Prisament
    @gregulator
    GET /api/device/ID should be working now
    Robert Talamantez
    @Talamantez
    thanks man!
    also - thanks for the code review - I'm moving all of the logic to a test object to keep things modular
    Robert Talamantez
    @Talamantez
    Hey Greg - here are the current failing tests:
      1) Frisby Test: ** FAIL TEST: REGISTER WITH EMAIL W/0 "@" SYMBOL ** *** REGISTERING USER user45020751 
        [ POST https://dev02.canopy.link/api/create_user ]
       Message:
         Error: Expected undefined 'undefined' to match string 'internal_error' on key 'error_type'
    
      2) Frisby Test: ** FAIL TEST: REGISTER WITH EMAIL W/0 "@" SYMBOL ** *** REGISTERING USER user45020751 
        [ POST https://dev02.canopy.link/api/create_user ]
       Message:
         Expected 200 to equal 500.
    
      3) Frisby Test: ** FAIL TEST: REGISTER WITH TOO SHORT EMAIL ** *** REGISTERING USER user58426986 
        [ POST https://dev02.canopy.link/api/create_user ]
       Message:
         Error: Expected undefined 'undefined' to match string 'internal_error' on key 'error_type'
    
      4) Frisby Test: ** FAIL TEST: REGISTER WITH TOO SHORT EMAIL ** *** REGISTERING USER user58426986 
        [ POST https://dev02.canopy.link/api/create_user ]
       Message:
         Expected 200 to equal 500.
    
      5) Frisby Test: ** FAIL TEST: REGISTER USER WITH USERNAME THAT STARTS WITH NUMBER ** *** REGISTERING USER 9user24774439 
        [ POST https://dev02.canopy.link/api/create_user ]
       Message:
         Error: Expected undefined 'undefined' to match string 'internal_error' on key 'error_type'
    
      6) Frisby Test: ** FAIL TEST: REGISTER USER WITH USERNAME THAT STARTS WITH NUMBER ** *** REGISTERING USER 9user24774439
    Greg Prisament
    @gregulator
    sweet, good catches!
    Greg Prisament
    @gregulator
         that.user.register({
            "username" : undefined,
            "expectedStatus" : 200
        }, that.login);
    Robert Talamantez
    @Talamantez
    hey man, this object method is working great
    Robert Talamantez
    @Talamantez
    I've updated all the current tests to use this object oriented method.
    Greg Prisament
    @gregulator
    Looks beautiful. Great work!
    Robert Talamantez
    @Talamantez
    cool - thanks for the code review!
    Greg Prisament
    @gregulator
    FYI I added the test filename to frisbyRequest's verbose output
    Greg Prisament
    @gregulator
    I also turned off verbose by default for npm test
    Robert Talamantez
    @Talamantez
    Makes sense - thanks
    softytantraa
    @softytantraa
    Hey guys
    Let’s say I have 2 KB of RAM of which 1 KB is already being used and 32 KB of flash of which 20 KB is already occupied. (Max Frequency 20 MHz)
    Can I use canopy EDK in this scenario?
    Jeff Schroeder
    @SEJeff
    Has anyone tried to hook up an ESP8266 embedded microcontroller (semi-arduino compatible) to Canopy?
    I'm looking to build a small sensor network with a few thousand deployed sensors and want to host my own cloud service. This seems like a perfect backend
    Sanyaade Adekoya
    @sanyaade_twitter
    Looks like Canopy is being abandon. Can I take over it with your blessing and continue to maintain it instead of creating fork. Its well documented and very small, C based that I think I can manage. Hear from you soon