summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-21Update configure checksꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
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-20Can't compare iss & destꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Revert "Revert "No cURL verbose for now""ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit 4ffe8d1d44c8b6f5f8668720d3da1ea645f216a2.
2022-09-20Fix bug content type wouldn't changeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Change POST header orderꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Revert "No cURL verbose for now"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit 5b8cfb927d07f925c5a2b4b1d49a70fcf8c4e705.
2022-09-20Fix content type to graphqlꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20No cURL verbose for nowꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Free params & dec_host only when there are paramsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20No more cURL verbose when getting access tokenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-20Validate iss though won't be valid yetꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Rename vars for consistency.
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-19Reduce buffer size for unsigned char arraysꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
They're not strings, so no need for extra byte for the terminating NUL.
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ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-19Assign newly reallocated pointer to sessions backꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
to the container.
2022-09-19Sessions array is not globalꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-19Free the params after useꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-19The WASM is run before JS getTokenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Prepare for processing Authorization header.
2022-09-19The HTML is to be filled with app URL, key & hostꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-18Move MHD access handler to the libraryꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
so the code on the app side is much simpler. Also prepare for accessing the GraphQL Admin API.
2022-09-17Rename FRAME_HEADER to EMBEDDED_HEADERꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-17Capitaliseꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-16Rename EMBED_URL to EMBEDDED_URLꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-16Shorten var namesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-16Shorten macro namesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-16Shop & HMAC retrieval lines made fewerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-16State and nonce comparison lines made fewerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-16Move the char * casting when facing gnutlsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-15Remove wrong slashꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-15Change crypt_getnonce char * argument typeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Rename it to char buf[], to make it clearer how it should be used.
2022-09-15const qualifiers for argumentsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
when there won't be any more memory allocated for them. The redirect inline function params are swapped a bit.
2022-09-15ampersand -> ampersand_lenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-15Generalise the struct comparisonꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Both structs have char * as their first elements. Pointers to the structs are pointers to each of their first elements. (https://beej.us/guide/bgc/html/split/structs-ii-more-fun-with-structs.html#fake-oop) So, they would be char ** (not char *, as they're pointers to char *). We then take the objects they point to, to get char *, so that we can compare them with strcmp.
2022-09-15More clarity on query buildingꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
though less efficient
2022-09-15Nonce string size uses formulaꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Less efficient, but it's more about clarity for now. Variable name shortened a bit. Nonce size made static.
2022-09-14Fix previous commitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀