Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-19 | The WASM is run before JS getToken | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Prepare for processing Authorization header. | |||
2022-09-19 | The HTML is to be filled with app URL, key & host | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-18 | Move 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-17 | Rename FRAME_HEADER to EMBEDDED_HEADER | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-17 | Capitalise | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-16 | Rename EMBED_URL to EMBEDDED_URL | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-16 | Shorten var names | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-16 | Shorten macro names | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-16 | Shop & HMAC retrieval lines made fewer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-16 | State and nonce comparison lines made fewer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-16 | Move the char * casting when facing gnutls | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-15 | Remove wrong slash | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-15 | Change crypt_getnonce char * argument type | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Rename it to char buf[], to make it clearer how it should be used. | |||
2022-09-15 | const 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-15 | ampersand -> ampersand_len | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-15 | Generalise 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-15 | More clarity on query building | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
though less efficient | |||
2022-09-15 | Nonce 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-14 | Fix previous commit | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-14 | The toml & html file paths are handed to the app | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-14 | Fix the shop & hmac params existence checks | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
First the param needs to be checked, and only assign the value if the param exists. This should prevent a crash if anyone sends a GET request without any of those parameters. | |||
2022-09-14 | Reorder functions | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-14 | OAuth part | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
The minimum to pass all authentications and arrive at the embedded app index. This library is to be used with shopify-app-template-c for now, as it assumes the existence of shopify.app.toml in the parent directory, and index.html in the frontend directory. |