summaryrefslogtreecommitdiff
path: root/shopify.c
AgeCommit message (Collapse)Author
2022-09-29Move the carrier service codeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-29Revert "Replace break with return now that there's more"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit 89fdfbac7d827f50c9d2b8e85e739a178367c7db.
2022-09-29Replace break with return now that there's moreꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-29char code[] wouldn't live outside the scopeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-29First attempt to support carrier servicesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Make get_hs256 inlineꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Reuse api_key_lenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Common lines for getting HS256 is now a functionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Might as well use l8w8jwt to decode base64 tooꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
cause that was all we needed gnutls for. Now we can reduce 1 dependency.
2022-09-22Free the signatureꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Verify the session token's signatureꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Rename some varsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22More exact types instead of intꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Use static const char * instead of macroꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Reorder some linesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Rename keycmp to compareꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge sessiontoken.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Missed this on prev commitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge regex.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge common.h & graphql.cꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge request_gettokenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22cURL calls are spread among filesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Fix query lengthꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Wrong key in prev commitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge crypt.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge accesstoken.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Revert "Merge regex.h, as it's only called 1 time"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit 3d51ee82115b8e6e619ba817ba8d48672c413845.
2022-09-22Merge regex.h, as it's only called 1 timeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge config.h as it's too smallꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Fix previous commitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-22Merge base64.h to shopify.c cause it's too smallꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-21Pass upload data when method is POSTꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-21Now lib user decides what to pu in indexꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Add .data content typeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Revert "Expects the index to not need app URL any more"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit abda7366211a0edfe989325fb091850f9f89fc20.
2022-09-20Use from_buffer insteadꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Somehow I couldn't make from_fd work. Add method check, must be GET.
2022-09-20Expects the index to not need app URL any moreꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20JS, WASM and data files are served staticallyꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Add path to JavaScript directory parameterꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20The callback params in the api struct are strictꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Tidy up a bitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Tidy up a bitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Free params & dec_host only when there are paramsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Fix what's passed to the callbackꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Free unused & nullify what's checked laterꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Start using l8w8jwt instead of libjwtꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Rename some vars & attrs for clarity.
2022-09-19Simplify y shop length retrievalꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-19Rename for consistency & conventionsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-19First attempt to validate session tokenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Function & variable names are changed for consistency & conventions. Tries to print out shop name from referer header, and the session token details.
2022-09-19Add missing breakꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀