Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-21 | Now lib user decides what to pu in index | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-21 | Update configure checks | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Add .data content type | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Revert "Expects the index to not need app URL any more" | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
This reverts commit abda7366211a0edfe989325fb091850f9f89fc20. | |||
2022-09-20 | Use from_buffer instead | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Somehow I couldn't make from_fd work. Add method check, must be GET. | |||
2022-09-20 | Expects the index to not need app URL any more | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | JS, WASM and data files are served statically | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Add path to JavaScript directory parameter | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | The callback params in the api struct are strict | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Tidy up a bit | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Tidy up a bit | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Can't compare iss & dest | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Revert "Revert "No cURL verbose for now"" | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
This reverts commit 4ffe8d1d44c8b6f5f8668720d3da1ea645f216a2. | |||
2022-09-20 | Fix bug content type wouldn't change | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Change POST header order | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Revert "No cURL verbose for now" | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
This reverts commit 5b8cfb927d07f925c5a2b4b1d49a70fcf8c4e705. | |||
2022-09-20 | Fix content type to graphql | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | No cURL verbose for now | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Free params & dec_host only when there are params | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | No more cURL verbose when getting access token | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Validate iss though won't be valid yet | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Rename vars for consistency. | |||
2022-09-20 | Fix what's passed to the callback | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Free unused & nullify what's checked later | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-20 | Start using l8w8jwt instead of libjwt | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Rename some vars & attrs for clarity. | |||
2022-09-19 | Simplify y shop length retrieval | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-19 | Rename for consistency & conventions | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-19 | Reduce buffer size for unsigned char arrays | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
They're not strings, so no need for extra byte for the terminating NUL. | |||
2022-09-19 | First 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-19 | Add missing break | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-19 | Assign newly reallocated pointer to sessions back | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
to the container. | |||
2022-09-19 | Sessions array is not global | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-09-19 | Free the params after use | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
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. |