Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    1. Home
    2. Daniel Mulroy
    3. Topics
    • Profile
    • Following 1
    • Followers 2
    • Topics 56
    • Posts 271
    • Best 82
    • Groups 0

    Topics created by Daniel Mulroy

    • Daniel Mulroy

      SOLVED Login cookie/session duration
      General Discussion • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      387
      Views

      Joseph Benguira

      @daniel-mulroy yes using it on multiple computer is probably the source of your issue.
      When using it on multiple computers it's refreshing the token and can cause this issue

    • Daniel Mulroy

      Bug: Updating company columns when time field exists
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      1
      0
      Votes
      1
      Posts
      263
      Views

      No one has replied

    • Daniel Mulroy

      SOLVED Rate limits and external sql databases
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      189
      Views

      Joseph Benguira

      Hey @daniel-mulroy, yes that's correct.
      The alternative would be to connect directly to your external DB from the cloud function using an NPM package

    • Daniel Mulroy

      Redirect web requests without a front-end plan?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      1
      0
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • Daniel Mulroy

      UNSOLVED Filtering by number of days ago not working?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      3
      0
      Votes
      3
      Posts
      357
      Views

      Daniel Mulroy

      @joseph-benguira

      It's the dropdown menu found by clicking the "filter" button on CloudDB

    • Daniel Mulroy

      Error with Appdrag.js after export
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      266
      Views

      Joseph Benguira

      Hey @daniel-mulroy, could you provide more context?

    • Daniel Mulroy

      SOLVED Scheduled Function not running....?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      6
      0
      Votes
      6
      Posts
      635
      Views

      Daniel Mulroy

      @joseph-benguira

      Solved... and I think I know why, very edge case 🙂

      I had a callback at the very end of my function handler, after a bunch of async/await stuff.

      Lambda has a context object:
      "callbackWaitsForEmptyEventLoop"

      From their docs:
      "Set to false to send the response right away when the callback runs, instead of waiting for the Node.js event loop to be empty. If this is false, any outstanding events continue to run during the next invocation."

      Anyway, removing the callback at the end of the function worked. I think lambda was executing the callback without waiting for the inner await'd functions to finish, which killed the running processes and prevented the updates from happening.

      Does "Try" run with a different context object than a scheduled function?

    • Daniel Mulroy

      CloudBackend and CloudDB use different quoting settings for multi-select fields
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      5
      0
      Votes
      5
      Posts
      383
      Views

      Wassim

      Hi,
      Ok I added a fix to handle them even if they're string instead of integers. It will be pushed in production tonight.

    • Daniel Mulroy

      [Bug] Dropdown Multi Field Type - Broken in Cloud DB?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      4
      0
      Votes
      4
      Posts
      312
      Views

      Wassim

      Hello @Daniel-Mulroy ,

      Dropdown & Dropdown Multi Field Type are only in Cloud DB UI.
      To enter content inside you have to create lists and assign a list to the column :

      a82b3288-5f99-4444-b370-1941ae3cba44-image.png

      a0e59966-4279-43e3-819d-a82c086d36eb-image.png

      Then you'll be able to select items from your list
      e554ffdb-1db7-4e70-9e97-c269fe7c58c1-image.png

      It seems you think linked fields and dropdowns are the same but they aren't.

      Linked fields are as their name suggest fields linked to another table Dropdowns are lists you manually create allowing users to select values from it. It can be used only in Cloud DB UI
    • Daniel Mulroy

      Line breaks for blog titles?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      6
      0
      Votes
      6
      Posts
      303
      Views

      Wassim

      It seems it's the best solution for what you're trying to achieve

    • Daniel Mulroy

      [Tutorial] Alternate Blog Article listing layout
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      12
      3
      Votes
      12
      Posts
      1048
      Views

      Daniel Mulroy

      @Academy-for-Certification-Training-Ltd I posted too quickly, didn't even think about that!

    • Daniel Mulroy

      Appdrag CLI tool
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      4
      0
      Votes
      4
      Posts
      231
      Views

      Daniel Mulroy

      I do see that when you sync it down, you have a 'config file' (api.json) with the relevant metadata.

      Here's a sample:

      "appId": "abcd-1234", "funcs": { "/": [ // filepath { "id": 1234, // function ID "name": "myGreatFunction", function Name "description": "", "type": "nodejs12.x", "contentType": "FILE", "method": "PUT", "ram": 128, "timeout": 15, "output": "JSON" }, //etc.

      My suggestion is, maybe the fs pull can (either by default or with an arg) write the APIs in the correct folder structure, with the function names.

      Then, when uploading, it can match the filenames/paths with the JSON config file in order to upload it back to the server in the right place.

      This is a huge difference between something like AppDrag and Netlify or others. I love AppDrag but I'm spending a LOT of time trying to do simple things like sync my code to gitHub or work effectively locally in VS Code without copy/pasting code by hand back and forth.

    • Daniel Mulroy

      Rotating/Changing API Key
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      7
      0
      Votes
      7
      Posts
      445
      Views

      Wassim

      @Daniel-Mulroy said in Rotating/Changing API Key:

      Thanks @Wassim that helps.

      Does that mean the environment vars are 'hardcoded' into the version of the script that is published?

      more info here :
      https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html

      You define environment variables on the unpublished version of your function. When you publish a version, the environment variables are locked for that version along with other version-specific configuration.

    • Daniel Mulroy

      Hybrid PageBuilder / Vue project?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      194
      Views

      Wassim

      Hello,

      It depends what you want to achieve but you can seamlessly upload the dist folder from an npm run build to AppDrag with the CLI.

      I suggest you to create a publish npm rule that would do the build and CLI push if build succeeded

    • Daniel Mulroy

      Sentry.io Error tracking integration
      Features requests • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      201
      Views

      Wassim

      Hello,

      As your function runtime is under AWS Lambda you can use it to debug locally your functions.
      https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-invoke.html

    • Daniel Mulroy

      install.sh when using appdrag-cli tool?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      1
      0
      Votes
      1
      Posts
      107
      Views

      No one has replied

    • Daniel Mulroy

      Is the AppDrag function name (or URL?) available from within an API Function?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      4
      0
      Votes
      4
      Posts
      343
      Views

      Daniel Mulroy

      @Wassim said in Is the AppDrag function name (or URL?) available from within an API Function?:

      Seems a very good and practical way to do it. You can also manually define it in your API functions while setting sentry up no?

      Yes, I could, but I'm looking for reusable / template code I can copy/paste very quickly between functions and/or use in my template library... so I don't want to think about it each time, just want it to work every time 🙂

      For reference, here's my final code to get the function name both during testing "Try" in CloudBackend and also when the function is called 'normally':

      module.exports.getFunctionInfo = (event, context) => { let fInfo = {}; // Try to extrapolate function info // sometimes the from-url is not available, so wrapping this in a try/catch block try { const httpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH"]; var functionHandle = event.HEADERS['from-url'].split('/').slice(-1)[0]; // Get from URL if it's been called from the web for (let method of httpMethods) { // Get from parameters if it's been called from "Try" method, because above method will not work. Could also ignore errors if running from Try Now as they are likely development errors.... if (event[method] && event[method].APPDRAG_FUNCTION_NAME != null) functionHandle = event[method].APPDRAG_FUNCTION_NAME; } fInfo.functionHandle = functionHandle; } catch (e) { fInfo.functionHandle = ""; } fInfo.functionVersion = context.functionVersion; fInfo.functionName = context.functionName; return fInfo; };
    • Daniel Mulroy

      Feed Carousel with data from Cloud Backend?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      3
      0
      Votes
      3
      Posts
      276
      Views

      David Alimi

      Hello @Daniel-Mulroy ,

      Thing promised thing due :), Here is the article.
      I hope that answers what you are looking for.

      Do not hesitate if you have questions.

      Thanks and have a nice day

    • Daniel Mulroy

      Calendly background? Missing plugin options ?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      5
      0
      Votes
      5
      Posts
      444
      Views

      Daniel Mulroy

      @Wassim good enough for me for now 🙂

    • Daniel Mulroy

      Header changing color on scroll... why?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      4
      0
      Votes
      4
      Posts
      229
      Views

      Wassim

      Hi, you're welcome!
      I think we can definitely add a shortcut on the section to access the menu settings when it contains one.

    • Daniel Mulroy

      [BLOG] Can we add date and author metadata/tags?
      Features requests • • Daniel Mulroy

      2
      1
      Votes
      2
      Posts
      203
      Views

      Linda MacDonald

      yes please I second this...would be so good 😉

    • Daniel Mulroy

      [BUG] CloudBackend Inputs doesn't work with Pagebuilder and non-pageBuilder forms on the page
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      194
      Views

      Wassim

      Hi Daniel,
      This is not a bug, you can't miss auto-generated PageBuilder forms with CloudBackend inputs.

    • Daniel Mulroy

      Billing admin / manager?
      Features requests • • Daniel Mulroy

      3
      0
      Votes
      3
      Posts
      197
      Views

      Daniel Mulroy

      Perhaps for some, but Twilio and G-Suite, for example, I can add someone as a billing contact that receives copies of the invoices and is able to log in and change payment details, download past invoices, etc.

    • Daniel Mulroy

      [Bug] - can't share more than one CloudDB folder with an external email address?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      130
      Views

      Wassim

      Hello,
      Exactly, thanks to you for finding this issue!
      This has been corrected, it will be live tomorrow.

    • Daniel Mulroy

      Sliders
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      647
      Views

      Wassim

      Hi,

      I think you can do a lot through the pagebuilders and mix with embed code to put your value sliders.

      Not sure about setting it by default on the Pagebuilder as I rarely see those inputs used on websites. It's way more frequent custom Js library that gives more customization and unified design across all browsers/devices.

    • Daniel Mulroy

      Twitter Cards not working?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      18
      1
      Votes
      18
      Posts
      929
      Views

      Daniel Mulroy

      Bravo! 🤙 😊
      Screen Shot 2021-01-08 at 6.03.42 PM.png

    • Daniel Mulroy

      Blog Search Box
      How-to, Tutorials • • Daniel Mulroy

      25
      5
      Votes
      25
      Posts
      2926
      Views

      Olivier MAGNIN

      Hi Daniel,
      I've placed in a full line (one column) without any padding or margin... Just in a line on top of top of the blog Article list 4.
      I don't know.
      I'll investigate further later.
      Thanks for your help Daniel.

    • Daniel Mulroy

      Cloud Backend Documentation
      Features requests • • Daniel Mulroy

      3
      0
      Votes
      3
      Posts
      280
      Views

      Dick Honing

      @Daniel-Mulroy proper documentation of source code is really helpful and the easier this can be done, the better. Can also be helpful when looking up where certain pieces of code are being used.

    • Daniel Mulroy

      Header changes from black to white on Scroll?
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      1
      0
      Votes
      1
      Posts
      101
      Views

      No one has replied

    • Daniel Mulroy

      Video Galleries
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • video gallery pagebuilder link dynamic • • Daniel Mulroy

      3
      0
      Votes
      3
      Posts
      350
      Views

      Daniel Mulroy

      Brilliant !

      I'll give this a try.

    • Daniel Mulroy

      Support for new image formats? JPEG2000, etc.
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      2
      1
      Votes
      2
      Posts
      120
      Views

      Wassim

      Hello,

      Short answer : https://caniuse.com/jpeg2000

      Long answer : I don't think you can use jpeg2000 format you should maybe aim to .webp and to use it is not just setting the src image. Look at this codepen.

      https://codepen.io/jeremyfrank/pen/pjmJyg

      Second question :
      The image optimizer resizes and compress your image to take less space and improve your page loading speed.

    • Daniel Mulroy

      Data loss? Blank folders after rename.
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      3
      0
      Votes
      3
      Posts
      166
      Views

      Wassim

      Hi,
      Do you have a step by step procedure to replicate the issue you encountered?
      Tried multiple scenarios with no errors. It worked as expected.

    • Daniel Mulroy

      Node v.14 and/or ES2020
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      10
      0
      Votes
      10
      Posts
      942
      Views

      Wassim

      @Daniel-Mulroy Hi, we updated the beautifier library. Should work fine for you now.

    • Daniel Mulroy

      Blog SEO - Blog Titles as H1 and SEO Sitemaps
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      7
      0
      Votes
      7
      Posts
      400
      Views

      Daniel Mulroy

      Thanks Joseph,

      I've added it manually per your recommendation. Merci!

    • Daniel Mulroy

      [BUG] Blog editor removing breaks when saving....????
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      8
      0
      Votes
      8
      Posts
      297
      Views

      Daniel Mulroy

      Three cheers to Joseph!
      💃 👷 😊

    • Daniel Mulroy

      Modifying Blog Templates
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      131
      Views

      Wassim

      Hello,

      They are the 5 blog templates/layout we provide by default it's not customizable.

      I suggest you two ways to work on your blog a very customizable way :

      1 - Create a non published article that you will use as your template and copy paste it (as format is conserved) if you need to work on the same basis.

      2 - Only use titles and paragraphs and don't change font-family, font-size, etc here but do it in your pagebuilder blog article details page using CSS so you're 100% sure it's consistent between your different articles.

    • Daniel Mulroy

      BUG: PageBuilder + Safari = no jQuery/HTML/CSS/JS modal
      Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor) • • Daniel Mulroy

      4
      0
      Votes
      4
      Posts
      178
      Views

      Daniel Mulroy

      Thanks so much! I can confirm it seems like it's working on my end!

    • Daniel Mulroy

      High Volume Email sending - rate limiting? Queueing?
      Cloud Backend (Cloud DB, API Builder) • • Daniel Mulroy

      8
      2
      Votes
      8
      Posts
      479
      Views

      Joseph Benguira

      In fact we have a much larger allowance on AWS SES (few hundreds per sec) and it's shared by all appdrag customers.
      I'll check but I don't think we have any hard limit per user on our side.

    • Daniel Mulroy

      Enable/Disable Documentation for certain functions
      Features requests • • Daniel Mulroy

      2
      0
      Votes
      2
      Posts
      217
      Views

      Joseph Benguira

      Hey Daniel, we do have this option 🙂

      When you edit a cloud function, there is a checkbox to tell if you want to include it in the documentation or not 😉

      421d104b-f97b-4f8e-a5a0-f64434fea026-image.png

    • Daniel Mulroy

      See npm package version
      Features requests • • Daniel Mulroy

      6
      1
      Votes
      6
      Posts
      337
      Views

      Joseph Benguira

      @Daniel-Mulroy In fact not, each time you add/remove a dependency it will redownload/reinstall all the NPM deps ...
      It's only if you do NO changes at all (no add, no remove of package, so in fact nothing ...) that the deps are not rebuilt 😉

      About updating package across all functions, this is clearly an Anti-Pattern in Serverless!
      each micro service must be completely independant and not affected by changes of other functions